Skip to content

Latest commit

 

History

History
307 lines (235 loc) · 15.6 KB

File metadata and controls

307 lines (235 loc) · 15.6 KB

SGC Verified Core Manifest

Formal Verification Status

Field Value
Date January 22, 2026
Status ✅ VERIFIED CORE (100%) + ⚠️ AXIOMATIC EXTENSIONS + 🧪 OBSERVABLES (Phase 1)
Lean Version Lean 4
Mathlib v4.25.2

Architectural Distinction

This library, constructed in the style of a verified physics paper, has a two-tier architecture:

  1. Verified Core (✅): The discrete algebraic theory—spectral stability, functorial preservation, thermodynamic decomposition—is fully machine-checked with zero sorries.

  2. Axiomatic Extensions (⚠️): The continuum limit (Belkin-Niyogi convergence) is axiomatized as an input assumption, not a claimed output. This is an "axiomatic interface" pattern common in mathematical physics formalization.

What we have proved: "IF the Manifold Hypothesis holds, THEN the discrete stability results apply to the continuum."

What we have NOT proved: The Manifold Hypothesis itself (a multi-year formalization project).


Core Modules (VERIFIED)

This commit represents the verified algebraic core of the SGC formalism.

Foundation

Module Path Description Theoretical Basis
Geometry src/SGC/Axioms/Geometry.lean L²(π) inner product structure Chentsov (1982)

Spectral Pillar (Geometry)

Module Path Key Theorem Theoretical Basis
Spectral src/SGC/Spectral/ Heat kernel bounds, spectral gap theory Levin & Peres (2017)

Renormalization Pillar (Scale Invariance)

This pillar has a two-layer structure:

Layer Module Path Status
Foundational Core Lumpability src/SGC/Renormalization/Lumpability.lean ✅ Fully Verified (zero axioms)
Effective Theory Approximate src/SGC/Renormalization/Approximate.lean ✅ Verified (axiom-supported)

Foundational Core (Lumpability.lean): Pure algebraic proofs of Dirichlet form preservation. Key theorem: dirichlet_gap_non_decrease. No axioms—every step is machine-checked.

Note on Reversibility: The theorem dirichlet_gap_non_decrease is algebraically valid for ALL generators. However, the interpretation as "spectral gap preservation" requires L to be self-adjoint in L²(π) (reversible/detailed balance). For non-reversible systems, this bounds the coercivity constant, not the eigenvalue gap. See the docstrings in the code for details.

Effective Theory (Approximate.lean): Bound specifications for approximate systems. Key theorems: trajectory_closure_bound, NCD_uniform_error_bound (valid for ALL generators). Uses analysis axioms (Duhamel bounds) to bridge to standard functional analysis.

This structure creates a firewall: the algebraic core is unassailable, while the effective theory explicitly declares its modeling assumptions.

Approximate Lumpability (Effective Theory — Axiom-Supported)

The Approximate.lean module implements the verified theorem stack for approximate lumpability. Status: Zero Sorries (Axiom-Supported)

Theorem Status Scope Description
trajectory_closure_bound ✅ Verified All L Trajectory error O(ε·t) — THE CORE VICTORY
NCD_uniform_error_bound ✅ Verified All L Uniform-in-time O(ε/γ) for NCD systems
propagator_approximation_bound ✅ Verified All L Operator norm bound via trajectory closure
spectral_stability_reversible ⚠️ Reversible L = L* Eigenvalue tracking via Weyl (requires self-adjoint)
pointwise_implies_opNorm_approx ✅ Verified All L Bridge: row-sum bounds → operator norm
NCD_spectral_stability 🚫 Aborted Disproved (Secular Growth)

Reversibility Caveat: The spectral_stability_reversible theorem and its underlying Weyl_inequality_pi axiom are ONLY valid for reversible (self-adjoint) generators. For non-reversible systems, eigenvalues can be complex and Weyl's inequality fails due to pseudospectral instability. The trajectory-based results (trajectory_closure_bound, NCD_uniform_error_bound) are the foundation for non-reversible theory and the physics of emergence.

NCD Spectral Stability — A Physical Insight: The proof assistant correctly identified that NCD_spectral_stability is false. While vertical error is uniformly bounded (O(ε/γ)), horizontal phase drift grows as O(ε·t). This demarcates the validity horizon of effective theories: they work for t ≪ 1/ε but break down at t ~ 1/ε. This is not a bug—it's physics!

Analysis Axioms (Standard Library Debt)

These axioms encode standard functional analysis results. They are "library debt"—mathematically sound but requiring substantial boilerplate to connect with Mathlib infrastructure.

Axiom Mathematical Content Used By Standard Reference
HeatKernel_opNorm_bound Semigroup operator norm bound on [0,T] All trajectory bounds Hille-Yosida theory
Duhamel_integral_bound MVT for vertical defect integral trajectory_closure_bound Engel & Nagel (2000)
Horizontal_Duhamel_integral_bound Trajectory comparison via Duhamel formula trajectory_closure_bound Standard ODE theory
Weyl_inequality_pi Eigenvalue perturbation bound spectral_stability Weyl (1912), Kato (1966)
rowsum_to_opNorm_bound Finite-dim norm equivalence pointwise_implies_opNorm_approx Standard functional analysis
PropagatorDiff_eq_proj_trajectory_diff Propagator difference identity spectral_stability Semigroup algebra
NCD_defect_split Algebraic decomposition L = L_fast + εL_slow NCD_uniform_error_bound Simon & Ando (1961)
NCD_slow_defect_bound Bounded defect for slow generator NCD_uniform_error_bound Finite-dim operator theory
NCD_integral_bound Uniform-in-time integral bound NCD_uniform_error_bound Semigroup theory
norm_pi_smul_abs Scaling property for π-weighted norm NCD_uniform_error_bound Normed space axioms

Discharge Path: Each axiom can be proven from Mathlib primitives by establishing norm equivalences between norm_pi and standard NormedAddCommGroup infrastructure.

Key Achievement: The entire approximate lumpability theory is fully verified. The "null result" on NCD spectral stability reveals physical limitations of coarse-graining.

Observables Pillar (Phenomenology)

The Observables pillar connects the algebraic core to measurable quantities.

Module Path Key Theorem Status
EnergyUnification EnergyUnification.lean energy_unification_triangle ✅ Axiom-Supported
EnergyUnification EnergyUnification.lean zero_defect_implies_constant_curvature ⚠️ Reversible (Scoped)
TopologicalPersistence TopologicalPersistence.lean expected_persistence_time_pos ✅ Verified
TopologicalPersistence TopologicalPersistence.lean persistence_cost_ratio_constant ✅ Verified
ValidityHorizon ValidityHorizon.lean autocorrelation_decay_from_sector ✅ Verified (Spectral Bridge)
ValidityHorizon ValidityHorizon.lean validity_horizon_lower_bound_param ✅ Axiom-Interface

Phenomenological Axioms

These axioms define the physical modeling assumptions connecting different pillars. They are distinct from "Analysis Axioms" (which are mathematical debt).

Axiom Scope Meaning
defect_bounded_by_assembly General Geometry constrains Dynamics (Defect ≤ C · Assembly)
assembly_bounded_by_defect Restricted (Reversible) Dynamics determines Geometry (Assembly ≤ C' · Defect)
assembly_bounded_by_entropy Conjecture Connection to thermodynamics
autocorrelation_decay_param Interface Parametric wrapper for verified autocorrelation_decay_from_sector

Zero Emergence Theorem: The equivalence Defect = 0 ⟺ Constant Curvature is proven using the Restricted axiom assembly_bounded_by_defect. This correctly reflects that non-normal systems (shear flows) can have Defect > 0 (transient growth) even with Assembly ≈ 0 (flat spectrum).

Topology Pillar (Structure)

Module Path Key Definitions
Blanket src/SGC/Topology/Blanket.lean BlanketPartition, IsLinearBlanket

Thermodynamics Pillar (Stochastic Heat)

Module Path Key Theorems Theoretical Basis
DoobMeyer src/SGC/Thermodynamics/DoobMeyer.lean doob_decomposition, stochastic First Law Doob (1953)

Variational Pillar (Least Action)

Module Path Key Theorems
LeastAction src/SGC/Variational/LeastAction.lean least_action_maximizes_drift, variational_drift_optimality

Bridge Pillar (Discrete Framework)

Module Path Key Definitions
Discretization src/SGC/Bridge/Discretization.lean GapConsistent, DiscretizationTheorem

Observables Pillar (Measurable Emergence) — NEW (January 2026)

This pillar connects abstract theory to experimentally measurable quantities.

Module Path Key Theorems Status
ValidityHorizon src/SGC/Observables/ValidityHorizon.lean autocorrelation_decay_from_sector (Spectral Bridge) ✅ Verified
TopologicalPersistence src/SGC/Observables/TopologicalPersistence.lean expected_persistence_time_pos, persistence_cost_ratio_constant ✅ Verified
EnergyUnification src/SGC/Observables/EnergyUnification.lean zero_defect_implies_constant_curvature (Zero Emergence) ✅ Verified

Key Results

Spectral Bridge (autocorrelation_decay_from_sector): Derives autocorrelation decay from sector envelope bounds via Cauchy-Schwarz:

|C_f(t)| ≤ ‖f‖²_π · e^{-γt}

This connects abstract spectral gap γ to measurable autocorrelation time τ_corr = 1/γ.

Zero Emergence Theorem (zero_defect_implies_constant_curvature): For reversible (self-adjoint) systems: Defect = 0 ⟹ Constant Curvature.

Hierarchical Validity (General vs Reversible):

Scope Bound Physical Meaning
General (all L) Defect ≤ C · Assembly Geometry constrains dynamics
Reversible only Assembly ≤ C' · Defect Dynamics determines geometry

Non-Normal Phenomena (explicitly accommodated in theory):

  • Invisible Complexity: Assembly > 0, Defect ≈ 0 (laminar shear flows)
  • Transient Emergence: Large transient Defect, small Assembly (turbulent transitions)

Observables Axioms (Restricted)

Axiom Scope Description
defect_bounded_by_assembly Universal Geometry constrains dynamics
assembly_bounded_by_defect Reversible only Requires IsSelfAdjoint_pi
assembly_bounded_by_entropy Universal Assembly ≤ C · Entropy Production
survival_bound Universal Markov blanket survives k surgeries
defect_betti_scaling Universal ε · b₁ ≤ C
autocorrelation_decay_param Parametric Interface to Spectral Bridge

Axiomatic Extensions (NOT VERIFIED)

The following modules contain explicit axioms that encode deep analytic results from the literature. These are input assumptions, not claimed outputs.

Module Path Axiom Literature Reference
Convergence src/SGC/Geometry/Manifold/Convergence.lean manifold_hypothesis Belkin-Niyogi (2008)
Convergence src/SGC/Geometry/Manifold/Convergence.lean spectral_convergence_axiom Spectral perturbation theory

Why axioms? Proving Belkin-Niyogi convergence in Lean requires formalizing Riemannian manifolds, Taylor expansion on curved spaces, and concentration inequalities—a multi-year project beyond our current scope.

What the axioms encode: "The discrete system is a valid sampling of a continuous Riemannian manifold." This is a physical modeling assumption.


Theoretical Architecture

SGC Framework: Structural Persistence in Stochastic Systems
├── Spectral (What): Stable structures exist via spectral geometry
│   └── Heat kernel bounds, exponential mixing
├── Renormalization (Scale): Stability preserved under coarse-graining
│   └── gap_non_decrease: Spectral gap monotonicity
├── Topology (Where): Boundaries emerge via L²(π) orthogonality
│   └── BlanketPartition: Geometric conditional independence
├── Thermodynamics (How): Stochastic heat flow via Doob decomposition
│   └── S = M + A: Martingale heat + Predictable work
├── Variational (Why): Least Action Principle for Complexity
│   └── Systems maximize consolidation rate
├── Observables (Phenomenology): Connecting algebra to experiment
│   └── T* = τ_corr/Q: Observable validity horizon
└── Bridge (Validity): Discrete theory converges to continuum
    └── ε-graph Laplacian → Laplace-Beltrami operator

Verification Statement

This commit represents the FULLY VERIFIED algebraic core of the SGC formalism.

Verified (zero sorries): All theorems in the discrete core modules (SGC.Axioms, SGC.Spectral, SGC.Renormalization, SGC.Topology, SGC.Thermodynamics, SGC.Variational, SGC.Bridge, SGC.Information, SGC.Observables) are formally verified in Lean 4 with zero sorry placeholders.

Approximate Lumpability: The Approximate.lean module is 100% verified. This includes trajectory bounds, propagator approximation, spectral stability, and NCD uniform error bounds. The attempted NCD_spectral_stability theorem was correctly identified as false due to secular growth—a physical insight.

Observables Pillar: The Observables module is 100% verified (zero sorries). The theory distinguishes between General systems (where Geometry constrains Dynamics) and Reversible systems (where they are equivalent). The Spectral Bridge theorem rigorously connects abstract spectral gaps to measurable autocorrelation decay.

Axiomatized (explicit assumptions): The continuum limit modules (SGC.Geometry.Manifold) contain explicit axioms encoding the Belkin-Niyogi convergence theorem. Analysis axioms (Duhamel, Weyl, norm equivalence) encapsulate standard functional analysis results.

The honest claim: We have machine-checked that "IF graph Laplacians converge to Laplace-Beltrami (the Manifold Hypothesis), THEN the discrete stability theory applies to the continuum limit."


References

Pillar Primary Reference
Foundation Chentsov, N.N. (1982). Statistical Decision Rules and Optimal Inference
Spectral Levin, D.A. & Peres, Y. (2017). Markov Chains and Mixing Times
Renormalization Kemeny, J.G. & Snell, J.L. (1976). Finite Markov Chains
Thermodynamics Doob, J.L. (1953). Stochastic Processes
Topology Friston, K. (2010). The free-energy principle
Continuum Limit Belkin, M. & Niyogi, P. (2008). Towards a Theoretical Foundation for Laplacian-Based Manifold Methods

Tags

  • v1.1-observables — Observables Pillar Release

Generated: January 22, 2026 Repository: https://github.com/JasonShroyer/sgc-lean