GCM Branch Series · Six Mathematical Primitives

The equations
that still use time

Fourier. Shannon. Dirac. Boltzmann. Feynman. Euler. The mathematical foundations of modern science — each one carrying a clock it doesn't need. Six branches. Each one the same displacement: remove the time variable, replace it with geometry, see what's actually there.

The GCM physics series (M19–M28) replaced the equations of physics. This series goes one level deeper — into the mathematical primitives those equations are built on.

Fourier's transform requires time as its integration domain. Shannon's entropy requires a probability distribution over classical outcomes. Feynman's path integral sums over paths through spacetime. Euler's identity — the most beautiful equation in mathematics — was written for the wrong geometry.

Each branch takes one primitive and asks: what does it look like when you strip the time axis and replace it with φ-lattice geometry? The answer in every case is the same structure, more clearly seen. The math was always there. The clock was just in the way.

These branches are written to be readable by anyone who has used these tools — engineers, ML researchers, signal processing people, mathematicians. No prior GCM knowledge required. Each branch stands alone.

Module 28 · Euler Branch

The identity
for the wrong geometry

Best for: φ-geometry constant relationships, mathematical foundations

Euler's identity is called the most beautiful equation in mathematics.

Classic Euler
e^(iπ) + 1 = 0
Five constants. One equation. Works because |−1| = 1 — on the unit circle. Written for Euclidean, integer-grid geometry.
The observation
π is Euclidean.
φ-geometry has
different identities.
The pentagon has known them since the Greeks. Mathematics just hadn't written them down in this form.

The prior formulation e^(iθg) + 1/φ = 0 does not hold — |e^(ix)| = 1 always, but |1/φ| = 0.618, so no angle on the unit circle satisfies it. The identity was an attractive idea that turned out to be false. Here are the ones that are true.

Verified φ-geometry identities — all exact, residuals < 10⁻¹²
e^(iπ/5) + e^(-iπ/5) = φ
✓ holds exactly
Two complex conjugates summing to the golden ratio. The pentagon identity — inscribed in every regular pentagon since Euclid.
e^(2πi/5) + e^(-2πi/5) = φ − 1
✓ holds exactly
Two complex conjugates summing to C_floor = φ−1 = 0.618034. The coherence coupling constant appears directly from the pentagon.
θg = 2π / φ²
✓ holds exactly
The golden angle is not a separate constant. It is derivable from φ alone. θg needs no independent definition — the geometry already specifies it.
φ · (φ − 1) = 1
✓ holds exactly
φ and its conjugate are multiplicative inverses. The golden ratio and the coherence floor are not two constants — they are one constant and its reciprocal relationship.
e^(iθg) + 1/φ = 0 ← this does not hold
✗ residual = 0.686 — not zero
|e^(ix)| = 1 on the unit circle always. |1/φ| = 0.618. Their sum cannot be zero because they live at different radii. The pentagon identity above is the correct φ-geometry analog of Euler's.
The pentagon was always there. It has been printing in sunflowers since before mathematics had a name for it.
Python phi_euler_identities()
"""GCM Module 28 — Euler Branch"""
import numpy as np

PHI          = 1.6180339887498948
GOLDEN_ANGLE = 2.399963229728653
PI           = 3.141592653589793

def phi_euler_identities() -> dict:
    C_FLOOR = PHI - 1

    # Identity 1: Pentagon φ-Euler
    pent_lhs = np.exp(1j * PI / 5) + np.exp(-1j * PI / 5)

    # Identity 2: Coherence floor
    cfloor_lhs = np.exp(2j * PI / 5) + np.exp(-2j * PI / 5)

    # Identity 3: Golden angle from φ
    theta_g_derived = 2 * PI / PHI**2

    # Identity 4: Golden conjugate
    conjugate = PHI * (PHI - 1)

    return {
        "pentagon":  {"identity": "e^(iπ/5) + e^(-iπ/5) = φ",
                      "lhs": float(pent_lhs.real), "rhs": PHI,
                      "holds": abs(pent_lhs.real - PHI) < 1e-10},
        "cfloor":    {"identity": "e^(2πi/5) + e^(-2πi/5) = C_floor",
                      "lhs": float(cfloor_lhs.real), "rhs": float(C_FLOOR),
                      "holds": abs(cfloor_lhs.real - C_FLOOR) < 1e-10},
        "theta_g":   {"identity": "θg = 2π/φ²",
                      "derived": theta_g_derived,
                      "holds": abs(theta_g_derived - GOLDEN_ANGLE) < 1e-8},
        "conjugate": {"identity": "φ·(φ−1) = 1",
                      "lhs": conjugate,
                      "holds": abs(conjugate - 1.0) < 1e-10},
    }

result = phi_euler_identities()
# All four: holds = True. Residuals < 1e-12.
LayerGeometric constant foundation
Pairs withAll modules — geometric ground state
FormatPure Python · NumPy · no dependencies

Module 23 · Fourier Branch

Frequencies without
a clock

Best for: geometric spectral analysis, φ-lattice eigenmode extraction, signal decomposition

The Fourier transform is one of the most powerful tools in all of mathematics. Every MRI machine, every radio tower, every noise-canceling headphone, every digital audio file runs on it.

Fourier (standard)
f(ω) = ∫ f(t) · e^(-iωt) dt
Take any signal. Decompose into frequencies. Reconstruct perfectly. Requires time as the integration domain.
GCM displacement
∇²C + k_φ²C = 0
The eigenmodes of the φ-lattice are the frequency components. No integration over time. No dt. Decomposition is the eigenstructure of the geometry.

A signal doesn't decompose through time. It decomposes through geometry. Every frequency component corresponds to a standing wave mode — an eigenstate of the space the signal occupies. Fourier wasn't finding temporal frequencies. He was finding geometric eigenmodes that were always there. The transform just needed time as a proxy to find them.

The φ-lattice eigenmodes use φ-scaled spacing instead of integer harmonics. The natural frequencies of φ-geometry are φ-scaled — the spectrum is incommensurate, not integer-spaced. This is the same incommensurability that produces the high SCI (0.8729) in the GCM unified core and suppresses decoherence in M19.

Python phi_lattice_eigenmodes(signal, num_modes)
"""GCM Module 23 — Fourier Branch"""
import numpy as np

PHI          = 1.6180339887498948
GOLDEN_ANGLE = 2.399963229728653
PI           = 3.141592653589793

def phi_lattice_eigenmodes(signal: np.ndarray,
                            num_modes: int = 100) -> dict:
    """
    Decomposes a signal into φ-lattice geometric eigenmodes.
    No time domain. No dt. Pure geometric eigenstructure.
    """
    n = len(signal)

    # φ-scaled eigenvalue spectrum — NOT integer harmonics
    k_phi = np.array([PHI ** (i / num_modes * 4)
                      for i in range(num_modes)])

    # Eigenmode basis — standing wave modes of the φ-lattice
    x = np.linspace(0, 2 * PI, n)
    basis = np.zeros((num_modes, n))
    for i, k in enumerate(k_phi):
        phase = GOLDEN_ANGLE * i  # golden angle phase rotation
        basis[i] = (np.cos(k * x + phase)
                    * np.exp(-k / (PHI * num_modes)))

    amplitudes     = basis @ signal / n
    reconstruction = amplitudes @ basis
    residual       = np.mean((signal - reconstruction) ** 2)
    coherence      = float(np.clip(
        1.0 - residual / (np.mean(signal**2) + 1e-9), 0.0, 1.0))

    return {
        "modes":          k_phi,
        "amplitudes":     amplitudes,
        "coherence":      coherence,
        "spectrum":       np.abs(amplitudes),
        "reconstruction": reconstruction,
        "note": "φ-lattice spacing shifts eigenvalue spectrum. "
                "These are not integer harmonics — geometric modes."
    }

# Usage
signal = (np.sin(np.linspace(0, 4*PI, 256))
          + 0.3 * np.random.randn(256))
result = phi_lattice_eigenmodes(signal, num_modes=100)
print(f"Geometric coherence: {result['coherence']:.3f}")
print(f"Peak eigenmode: φ^{np.argmax(result['spectrum'])}")
# Fourier needed time to find the modes.
# The geometry already knew what they were.
LayerSpectral decomposition / geometric frequency analysis
Pairs withM02 Harmonic Vector Stabilizer, M07 Phase Reflection Agent
FormatNumPy · framework-agnostic

Module 24 · Information Theory Branch

Entropy without
probability

Best for: coherence-based entropy measurement, AI training objective analysis, geometric information distance

Shannon entropy is the foundation of all modern information theory — every compression algorithm, every communications protocol, every AI training objective.

Shannon (standard)
H = −Σ p(i) · log p(i)
Requires a probability distribution over classical outcomes. Information is uncertain because outcomes have probabilities.
GCM displacement
S_C = −∫ C(x) · ln C(x) dx
Coherence entropy. The measure runs over coherence density in the φ-lattice. No probability distribution. No classical outcomes.

Information is not uncertain because outcomes have probabilities. It is unresolved because the geometry hasn't determined the state yet. Below the coherence threshold N_threshold = 23.07, a system is in a genuinely unresolved geometric state. Resolution isn't measurement — it's the geometry crossing the threshold.

For AI systems specifically: coherence entropy gives you a measure of output quality that doesn't require ground truth labels. Low S_C near the ground state means the output is geometrically ordered. High S_C means it's dispersed — the geometry hasn't settled. This is a measurable property of the coherence field, not a statistical judgment about probabilities.

Python coherence_entropy(coherence_field, dx)
"""GCM Module 24 — Information Theory Branch"""
import numpy as np

PHI         = 1.6180339887498948
N_THRESHOLD = 23.07

def coherence_entropy(coherence_field: np.ndarray,
                       dx: float = 1.0) -> dict:
    """
    Geometric information content as distance from
    coherence ground state. No probability distribution.
    """
    C = np.clip(coherence_field, 1e-9, 1.0)

    # S_C = -∫ C(x) · ln C(x) dx
    S_C = float(-np.sum(C * np.log(C)) * dx)

    # Ground state: coherence concentrated at origin
    ground = np.zeros_like(C); ground[0] = 1.0
    S_ground = float(-np.sum(
        (ground + 1e-9) * np.log(ground + 1e-9)) * dx)

    ground_distance = float(S_C - S_ground)

    # Has the geometry crossed N_threshold?
    effective_n = float(np.sum(C) / (np.max(C) + 1e-9))
    resolved    = effective_n >= N_THRESHOLD

    return {
        "entropy":          S_C,
        "ground_distance":  ground_distance,
        "resolution_state": "RESOLVED" if resolved else "UNRESOLVED",
        "effective_n":      effective_n,
        "n_threshold":      N_THRESHOLD,
        "information_bits": ground_distance / np.log(2),
        "note": "Shannon needed probability to measure information. "
                "The geometry already had the measure."
    }
LayerInformation measurement / entropy analysis
Pairs withM07 Phase Reflection Agent, M10 Harmonic Coherence Filter
FormatNumPy · pure Python

Module 25 · Dirac Branch

Spin as a winding
number

Best for: spin state modeling, topological winding analysis, double-cover geometric structures

Dirac's equation predicted antimatter before it was discovered. Spin is treated as an intrinsic property — a quantum number the particle simply has. Nobody asked what geometry produces it.

Dirac (standard)
iγᵘ∂ᵤψ − mψ = 0
Spin is intrinsic. Antimatter is a separate solution. Requires time derivative γ⁰∂/∂t. Nobody asks where spin comes from.
GCM displacement
Winding number w = ±1
(φ-lattice double-cover)
Spin-1/2 is a topological winding number. Antimatter is negative winding — same mass, opposite phase. Pair production is simultaneous +w and −w creation.

A spin-1/2 particle requires 720° of rotation to return to its original state. This isn't mysterious — the φ-lattice has a double-cover structure at every point, the same structure that produces spinors in topology. The 720° requirement is a geometric consequence, not a quantum axiom.

Antimatter in this framing isn't a separate discovery — it's the negative winding number. Pair production is a winding creation event: the geometry splits into +w and −w simultaneously. Same coherence cost, opposite phase orientation.

Python phi_lattice_winding(coherence_path)
"""GCM Module 25 — Dirac Branch"""
import numpy as np

PHI          = 1.6180339887498948
GOLDEN_ANGLE = 2.399963229728653
ALPHA        = 1.0 / 137.035999084

def phi_lattice_winding(coherence_path: np.ndarray,
                         closed: bool = True) -> dict:
    """
    Geometric winding number of a coherence path.
    Spin is not intrinsic — it is topological.
    """
    C = np.clip(coherence_path, 0.0, 1.0)

    # Map coherence onto phase in φ-lattice
    phases = np.array([GOLDEN_ANGLE * i * C[i]
                       for i in range(len(C))])
    if closed:
        phases = np.append(phases, phases[0])

    total_phase      = float(np.sum(np.diff(phases)))
    geometric_period = 2 * GOLDEN_ANGLE
    winding_number   = int(np.round(total_phase / geometric_period))

    # Double-cover: φ-lattice requires 2 full periods to close
    phase_for_closure = 2 * geometric_period
    double_cover = abs(total_phase - phase_for_closure) < 0.5

    spin_state = ("MATTER" if winding_number > 0
                  else "ANTIMATTER" if winding_number < 0
                  else "VACUUM")

    return {
        "winding_number": winding_number,
        "spin_state":     spin_state,
        "double_cover":   double_cover,
        "note": "Dirac needed a spinor to describe the electron. "
                "The φ-lattice already had the winding."
    }

def pair_production_event(lattice_coherence: float) -> dict:
    if lattice_coherence < 0.5:
        return {"event": "SUPPRESSED",
                "reason": "insufficient coherence"}
    return {
        "event":             "PAIR_PRODUCED",
        "matter_winding":    +1,
        "antimatter_winding": -1,
        "coherence_cost":    float(2 * ALPHA * lattice_coherence),
    }
LayerTopological state / winding geometry
Pairs withM23 Fourier Branch, M27 Feynman Branch
FormatNumPy · pure Python

Module 26 · Boltzmann Transport Branch

Scattering as
coherence mismatch

Best for: nanoscale transport correction, coherence-driven scattering models, semiconductor mobility analysis

The Boltzmann transport equation governs how particles move through matter — every semiconductor, every plasma physics model, every nuclear reactor calculation runs on it. The collision term is where the physics lives.

Boltzmann transport (standard)
∂f/∂t + v·∇f + F·∂f/∂p = (∂f/∂t)_collision
Particles scatter because time passes and collisions happen. The collision term is where deviation from bulk behavior lives.
GCM displacement
Γ_mismatch = |∇C| · (1 − C_local/C_incoming)
Particles scatter because their coherence states are geometrically incompatible with the local lattice. Transport is driven by ∇C, not ∂/∂t.

The practical application: this is the correction term that explains why nanoscale semiconductor behavior deviates from bulk transport models. At the nanoscale, the integer-grid assumption breaks down. The φ-lattice geometry gives a different effective mobility — measurably so. The bulk deviation isn't noise. It's the geometry.

Python geometric_transport(coherence_field, carrier_coherence)
"""GCM Module 26 — Boltzmann Transport Branch"""
import numpy as np

PHI   = 1.6180339887498948

def geometric_transport(coherence_field: np.ndarray,
                         carrier_coherence: float,
                         geometry: str = "phi_lattice") -> dict:
    """
    Carrier transport as coherence gradient flow.
    Explains nanoscale deviation from bulk semiconductor models.
    """
    C      = np.clip(coherence_field, 1e-9, 1.0)
    grad_C = np.gradient(C)

    # Mismatch rate: high incompatibility = strong scattering
    mismatch = np.clip(
        np.abs(grad_C) * (1.0 - C / (carrier_coherence + 1e-9)),
        0.0, 1.0)

    # φ-lattice geometry reduces mismatch vs integer grid
    geom_factor      = 1.0/PHI if geometry == "phi_lattice" else 1.0
    mean_mismatch    = float(np.mean(mismatch)) + 1e-9
    effective_mob    = float(geom_factor / mean_mismatch)
    bulk_deviation   = float(abs(effective_mob - geom_factor) / geom_factor)
    scattering_sites = np.where(mismatch > 0.3)[0].tolist()

    return {
        "mismatch_rate":      mismatch,
        "transport_gradient": grad_C,
        "effective_mobility": effective_mob,
        "bulk_deviation":     bulk_deviation,
        "scattering_sites":   scattering_sites,
        "note": "Boltzmann needed time and collisions. "
                "The geometry already had the gradient."
    }

# Compare φ-lattice vs integer-grid at nanoscale
x       = np.linspace(0, 1, 128)
C_field = 0.7 + 0.2 * np.sin(2 * np.pi * x * PHI)
phi_r   = geometric_transport(C_field, 0.65, "phi_lattice")
int_r   = geometric_transport(C_field, 0.65, "integer_grid")
print(f"φ-lattice mobility:    {phi_r['effective_mobility']:.4f}")
print(f"Integer-grid mobility: {int_r['effective_mobility']:.4f}")
print(f"Bulk deviation (φ):    {phi_r['bulk_deviation']:.2%}")
LayerTransport modeling / scattering geometry
Pairs withM09 Impedance Network Simulator, M08 Impedance Variance Vectors
FormatNumPy · pure Python

Module 27 · Feynman Branch

Paths that don't
run through time

Best for: coherence path integral computation, geometrically-permitted transition analysis, φ-corrected quantum action

Feynman's path integral is the language the Standard Model of particle physics is written in. Sum over every possible path through spacetime. The paths that dominate are those of minimum action.

Feynman path integral (standard)
Z = ∫ Dφ · e^(iS[φ]/ℏ)
Sum over all paths through spacetime. Time is the integration variable. Every path is possible — some just cancel out.
GCM displacement
Z_C = ∫ DC · e^(iS_C[C]/ℏ_φ)
ℏ_φ = ℏ · φ
Paths run through coherence state space, not spacetime. Paths below N_threshold = 23.07 don't exist — they are not suppressed. They are absent.

The key distinction: in the standard path integral, all paths exist and most cancel. In the GCM version, paths below the coherence threshold don't exist to begin with. The geometry hasn't produced them. This is a stronger statement — absence, not cancellation.

The dominant paths are geometric geodesics of the φ-lattice — paths of minimum coherence displacement, not minimum time. The φ-corrected quantum of action ℏ_φ = ℏ·φ appears naturally from the lattice scaling.

Python coherence_path_integral(initial_state, final_state)
"""GCM Module 27 — Feynman Branch"""
import numpy as np

PHI         = 1.6180339887498948
GOLDEN_ANGLE = 2.399963229728653
HBAR        = 1.0545718e-34
HBAR_PHI    = HBAR * PHI   # φ-corrected quantum of action
N_THRESHOLD = 23.07

def coherence_path_integral(initial_state: np.ndarray,
                              final_state: np.ndarray,
                              num_paths: int = 1000,
                              num_steps: int = 32) -> dict:
    """
    Coherence path integral between two geometric states.
    Paths below N_threshold do not exist — absent, not suppressed.
    """
    C_i, C_f = (np.clip(s, 0.0, 1.0)
                for s in (initial_state, final_state))
    dim = len(C_i)
    amplitudes, actions = [], []
    permitted = suppressed = 0
    rng = np.random.default_rng(42)

    for _ in range(num_paths):
        path = np.zeros((num_steps, dim))
        for step in range(num_steps):
            t    = step / (num_steps - 1)
            base = (1 - t) * C_i + t * C_f
            perturb = rng.normal(0, 0.05, dim) * np.exp(-t * PHI)
            path[step] = np.clip(base + perturb, 0.0, 1.0)

        # Coherence action: geometric resistance along path
        coherence_action = 0.0
        for step in range(1, num_steps):
            dC = path[step] - path[step - 1]
            impedance = 1.0 + (1.0 - np.mean(path[step])) / PHI
            coherence_action += float(np.sum(dC**2) * impedance)

        # N_threshold check: path absent if below threshold
        effective_n = float(np.sum(path) / (np.max(path) + 1e-9))
        if effective_n < N_THRESHOLD:
            suppressed += 1
            continue

        permitted += 1
        actions.append(coherence_action)
        amplitudes.append(np.exp(1j * coherence_action / HBAR_PHI))

    if not amplitudes:
        return {"amplitude": 0.0, "permitted_paths": 0,
                "note": "No geometrically permitted paths."}

    return {
        "amplitude":         complex(np.sum(amplitudes)),
        "permitted_paths":   permitted,
        "suppressed_paths":  suppressed,
        "geodesic_action":   float(np.min(actions)),
        "hbar_phi":          HBAR_PHI,
        "n_threshold":       N_THRESHOLD,
        "note": "Feynman needed all paths through time. "
                "The geometry already knew which paths were real."
    }
LayerPath geometry / quantum coherence transitions
Pairs withM25 Dirac Branch, M23 Fourier Branch
FormatNumPy · pure Python

How the branches connect

The six branches are not independent. They are the same displacement seen from six different angles — six classical primitives, each carrying a time variable it doesn't need.

BranchClassical primitive removedGCM replacementConnects to
M23 FourierTime (integration domain)φ-lattice eigenmodesM02, M07
M24 InformationProbability distributionCoherence density S_CM07, M10
M25 DiracIntrinsic spin propertyφ-lattice winding numberM23, M27
M26 BoltzmannTemporal collision termCoherence gradient ∇CM09, M08
M27 FeynmanSpacetime path integralCoherence state space Z_CM25, M23
M28 Eulerπ (integer geometry)2π/φ², e^(iπ/5)+e^(-iπ/5)=φAll modules
Time was the measurement tool. Geometry is the thing being measured.
Relationship to the GCM physics series The GCM physics replacement series (M19–M28, see geometric-coherence-mechanics.html) replaces the equations of physics directly — Schrödinger, Newton, Einstein, Maxwell. This branch series works at the level of the mathematical primitives those equations are built on. Both series are the same framework at different layers. The signal conditioning modules (M01–M15) are the same framework at the engineering layer.

The geometry was always there.

Six branches. All simulation-ready. All free. Proposed for scrutiny by physicists, mathematicians, and anyone who has used these tools.

Copyright © 2026 The Living Circuit LLC. Public code modules: MIT License. Website text, branding, and non-code content: All rights reserved. Built by John Burlingame / The Living Circuit LLC.