Skip to main content

fieldtheory

The unifying field theory of the GenesisAeon stack.

CI Coverage Python 3.11+ License: GPLv3-or-later Docs License: CC BY 4.0 PyPI DOI

Derives the full Lagrangian from S∝A/S∝V duality, applies medium-modulation, detects cosmic-moment collapse events and exports to entropy-table.


Install

pip install fieldtheory
# with full GenesisAeon stack integration:
pip install "fieldtheory[stack]"

Usage

# Run the unified field simulation
ft simulate --steps 100

# Show the symbolic Euler-Lagrange equation
ft lagrangian

# Override field parameters
ft simulate --s-a 1.0 --s-v 1.618 --depth 0.5 --threshold 0.618

Python API

from fieldtheory.core import simulate_field, derive_lagrangian, modulated_entropy

# Numerical simulation
result = simulate_field(steps=200, threshold=0.618)
print(result["S_mod_mean"])      # mean modulated entropy
print(result["cosmic_moments"])  # number of collapse events

# Symbolic Lagrangian + Euler-Lagrange equation
eqs = derive_lagrangian()
print(eqs["lagrangian"])        # S_A*S_V/(S_A + S_V) - (delta + 1)/t**2
print(eqs["euler_lagrange"])    # d/dt(∂L/∂Ṡ) - ∂L/∂S = 0

# Entropy-table export
from fieldtheory.entropy_table_bridge import FieldtheoryBridge
bridge = FieldtheoryBridge()
bridge.add_relation("S_mod_mean", result["S_mod_mean"])
bridge.export("domains.yaml")

Architecture

fieldtheory/
├── core.py                  # Unified Lagrangian, EL derivation, simulation
├── cli.py                   # ft simulate / ft lagrangian / ft version
└── entropy_table_bridge.py  # Export to entropy-table (optional stack dep)

The Lagrangian encodes the S∝A/S∝V duality:

L = S_A·S_V / (S_A + S_V)  −  (1 + δ) / t²
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
    harmonic duality balance     collapse potential

When medium-modulation, cosmic-moment, and entropy-governance are installed (pip install "fieldtheory[stack]"), their implementations are used transparently. Without them the package falls back to internal implementations — all tests pass either way.

License

fieldtheory is dual-licensed:

See LICENSE for details.


DOI: 10.5281/zenodo.19025145 PyPI: pip install fieldtheory (oder pip install "fieldtheory[stack]" für den vollen GenesisAeon-Stack)

Built with SymPy · NumPy · Typer · Rich

Metadata

Release files for fieldtheory 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fieldtheory 1.0.1
File Size Uploaded Provenance
fieldtheory-1.0.1.tar.gz 73.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for fieldtheory 1.0.1
File Interpreter ABI Platform
fieldtheory-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 82.9 kB

Release files / fieldtheory-1.0.1.tar.gz

Download URL fieldtheory-1.0.1.tar.gz
Size 73.0 kB
Tags Source
SHA-256 checksum
How to use checksums
87a2fd94c89d9b5e9d47237b743c4db4ad823ca5b4f0cd0b696a6be22e7dc222
BLAKE2b-256 checksum
How to use checksums
dc05583d81f6b459f95a5b5bc90679bc7e1925612f65e7fe85fe093912b2062e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 16, 2026.

Transparency log

Release files / fieldtheory-1.0.1-py3-none-any.whl

Download URL fieldtheory-1.0.1-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7969c91b926bd6de1898eacee6aee50e800cab82ca729c3e3822feecba34296
BLAKE2b-256 checksum
How to use checksums
3baabd213c4eeac95c4618c3f1d49bd77ddc3e2c2b4108aed48c97ae2b5b5da9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 16, 2026.

Transparency log

Security for fieldtheory 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for fieldtheory-1.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page