Author: Richard J. Reyes
Language: Lean 4.23.0 + Mathlib 4.23.0
Role: Kernel-checked formal support and complete canonical inventory for Wave Confinement Theory
wct-lean separates four layers:
- canonical registration — an equation ID occurs in the compiled registry;
- typed representation — Lean contains an equation-specific definition, proposition, contract, or counterexample;
- kernel proof — Lean accepts a theorem under its displayed hypotheses;
- physical validation — an empirical claim is supported by experiment or observation.
Only layer 3 is a Lean proof. This repository does not prove WCT as a complete physical theory, establish the full nonlinear PDE program, or turn a symbolic PASS into empirical validation.
The public root compiles all 142 canonical objects:
9 master systems
83 canonical equations
10 curvature-locked electron equations
5 auxiliary equations
20 cosmology equations
9 topology equations
6 correction equations
142 total
Lean proves registry length, uniqueness, family assignment, status assignment, and partition completeness.
The inherited symbolic-audit partition is:
68 PASS
18 CONDITIONAL
26 DEFINITION
30 OPEN
142 total
These are symbolic classifications, not Lean theorem counts.
The maintained library now has non-registry equation-specific support for 80 of 142 IDs:
M1 M2 M3 M4 M5 M6A M6B M7
E1A E1B E2 E3 E4 E5 E6 E7 E8 E9 E10 E11
E12 E13 E14 E16 E17 E18 E19 E20 E22
E24 E25 E26 E27 E28 E29 E32 E33 E36 E37 E38 E41
E45 E47 E49 E50 E51 E53
E57 E58 E59 E61 E62 E64
E65 E66 E67 E68 E69 E70 E72
E78 E81
CLE4 CLE5 CLE8 CLE9 CLE10
G1 EX EY EZ FA
CM9 CM11 CM12 CM13 CM16
TOP3 TOP7 CORR2
The remaining 62 IDs are registry-only. Registry-only means inventoried and classified, not false.
The support strength varies by object:
- exact algebraic theorem;
- finite-dimensional analogue;
- dimensional theorem;
- conditional theorem;
- analytic contract;
- definition;
- counterexample;
- unresolved proposition.
See FORMAL_COVERAGE_INDEX.md for the complete partition and THEOREMS.md for the declaration-level inventory.
The latest merged expansion adds 18 IDs beyond the original 62-ID baseline, including exact or conditional support for E16, E19, E22, E32, E37, E38, E41, E50, E72, CLE4, CLE5, CLE8, CLE9, CLE10, CM11, TOP3, TOP7, and CORR2. Several of these are constraints or diagnostics rather than full physical closure.
WCTLean/Models/ClosedResults.lean now kernel-checks the following narrow results:
- strict positivity of the corrected modulus-squared reciprocal denominator for
ε > 0; - the pure-gauge no-go result for a single smooth Abelian scalar phase when mixed derivatives commute;
- equivalence between exact loop locking and zero winding mismatch;
- algebraic decomposition of the winding-corrected conditional mass law;
- the exact logarithmic-frequency/discrete-scale relation
log(exp(2π/k)) = 2π/k; - positivity of the associated scaling ratio.
These results close algebraic obligations only. They do not prove existence or stability of a full WCT confined mode, establish a universal physical mass law, derive a non-Abelian gauge theory, quantize WCT, or complete gravitational backreaction.
The current expansion adds substantive support for twelve previously registry-only IDs.
Lean proves
n < 4 ↔ n ≤ 3
for natural-number spatial dimension. The actual Sobolev embedding and curvature-boundedness statements remain explicit contract fields rather than hidden assumptions.
For
T(x) = (1-λ)x + λ A(x), 0 ≤ λ ≤ 1,
Lean proves:
- fixed points of
Aremain fixed underT; - if
‖A(x)‖ ≤ ‖x‖, then‖T(x)‖ ≤ ‖x‖; - an encoded norm-bounded resource ball is forward invariant.
These are finite-dimensional update theorems, not complexity-class results.
Lean represents
N_curv(ψ) = (-Δψ · conjugate ψ) /
(|ψ|² + ε² exp(-2 α |ψ|²))
and proves exact equality with the typed thetaComplex definition together with denominator nonvanishing for ε > 0.
This does not prove uniqueness of the nonlinear closure, local existence, or global PDE regularity.
Lean proves that radial shell quantization and winding quantization are closed under addition of phase integrals and integer indices. It also proves that both predicates instantiate the same integer quantization law once the geometric observable is fixed.
For nonnegative mode count K, Lean proves:
0 ≤ K exp(-ΔH)
ΔH ≥ 0 → K exp(-ΔH) ≤ K
ΔH₁ ≤ ΔH₂ → K exp(-ΔH₂) ≤ K exp(-ΔH₁)
This does not derive ΔH from the full field dynamics.
Lean proves the global scalar bound
|A cos(k log(E/E₀)+φ)| ≤ |A|.
No empirical fit or physical-origin claim is encoded.
Lean proves:
exp(log ψ) = ψon the positive real sector;- the diffusion residual factors as the field times the logarithmic residual under displayed temporal and Laplacian chain-rule hypotheses;
- the two residuals vanish simultaneously on a nonzero field sector;
- the filament-localization condition is equivalent to zero scalar mismatch.
These are exact algebraic bridges. The required function-space differentiability and PDE theorems remain open.
WCTLean/Main.lean imports:
WCTLean/
├── Registry.lean
├── Dimension.lean
├── Curvature.lean
├── Energy.lean
├── Koide.lean
├── Fourier.lean
├── ResolvedAudit.lean
├── DerivedAudit.lean
├── Contracts/
│ └── Analytic.lean
└── Models/
├── CurvatureOperator.lean
├── ComplexCurvature.lean
├── PhaseFlux.lean
├── RestDensity.lean
├── Locking.lean
├── BandPass.lean
├── AlgebraicChecks.lean
├── LogFlow.lean
├── GhostModes.lean
├── Collider.lean
├── KoideDerivation.lean
├── UnifiedOperator.lean
├── CompactDynamics.lean
└── ClosedResults.lean
- Complete Lean coverage index
- Exact theorem inventory
- SymPy-to-Lean map
- Corrected 142-object equation registry
- Audited master-equation architecture
- Complete SymPy audit
- Public research-corpus map
The geometry_of_resonance registry remains the source of equation text, notation, and scientific boundaries. wct-lean is the kernel-checked formal layer.
lake update
lake exe cache get
python scripts/audit_formal_sources.py
lake buildThe maintained source audit rejects sorry and admit, verifies public import closure, emits SHA-256 hashes for every Lean source file, and confirms the pinned dependency graph remains unchanged.
The highest-value unresolved work is:
- exact functional variation of the full WCT action, including denominator derivatives and higher-order terms;
- admissible function spaces and boundary conditions;
- local and global well-posedness for the full nonlinear evolution;
- existence, localization, finite energy, decay, and non-box-induced confinement;
- linearized spectrum and orbital or Lyapunov stability under nonsymmetric perturbations;
- control of the regularized quotient as
ε → 0; - full Fourier orthogonality and spectral projection on function spaces;
- curve-integral locking on manifolds;
- theorem-level bridges from confined solutions to physical mass, force, gauge, gravity, cosmology, and experiments.
A green Lean build means the encoded declarations are syntactically valid, type-correct, and accepted by the Lean kernel under explicit hypotheses. It does not establish that the hypotheses hold in nature or that WCT is empirically correct.