CI Lean v4.28.0 Mathlib sorry-free axiom boundary License: Apache 2.0

Creative Determinant — Lean 4 Formalization

Formal verification of the existence theory from:

N. Spence, "The Creative Determinant: Autopoietic Closure as a Nonlinear Elliptic Boundary Value Problem with Lean 4-Verified Existence Conditions," 2026.

What is verified

Fifteen theorems and lemmas proved with zero sorry, organized in five dependency tiers:

Tier 1 — Pure mathematics (no domain axioms)

ResultDeclarationFileTopic
Spectral characterization (1D)spectral_characterization_1dTheoremsAlgebra
Scaling algebraic contradictionscaling_algebraic_contradictionTheoremsAlgebra
v^{p−1} ≤ b/c from PDE inequalityrpow_le_of_mul_rpow_leLinftyAlgebraicReal analysis
v ≤ (b/c)^{1/(p−1)}linfty_bound_algebraicLinftyAlgebraicReal analysis
nextFixed ≤ super-fixed pointOrderHom.nextFixed_le_of_leMonotoneFixedPointOrder theory
Fixed point between sub/supermonotone_fixed_point_betweenMonotoneFixedPointOrder theory

Tier 2 — Operator lemmas (from abstract linearity/homogeneity)

ResultDeclarationFile
Laplacian of zerolaplacian_zeroOperatorLemmas
Laplacian linearitylaplacian_linearOperatorLemmas
Gradient norm of zerogradNorm_zeroOperatorLemmas

Tier 3 — Coefficient bounds (from [0,1] field constraints)

ResultDeclarationFile
a(x) nonnegSemioticContext.a_nonnegCoefficientLemmas
a(x) ≤ 1SemioticContext.a_le_oneCoefficientLemmas
p − 1 > 0SemioticContext.p_sub_one_posCoefficientLemmas

Tier 4 — PDE-level results (from SemioticOperators / PDEInfra)

ResultDeclarationFileDependencies
Scaling uniqueness (kΦ impossible for k > 1)scaling_uniquenessScalingUniquenessSemioticOperators axioms
Existence of weak coherent configurationsSemioticBVP.exists_isWeakCoherentConfigurationTheoremsPDEInfra
Nontrivial configurationsSemioticBVP.exists_pos_isWeakCoherentConfigurationTheoremsPDEInfra

All definitions (semiotic manifold, BVP, operators, weak coherent configuration) are machine-checked against Mathlib.

The monotone fixed-point theorems depend only on [propext, Quot.sound] — no Classical.choice — making them candidates for constructive upstream contribution.

Axiom boundary

The PDEInfra typeclass in CdFormal/Axioms.lean packages five classical PDE results not yet in Mathlib:

AxiomClassical sourceMathlib status
T_compactSchauder estimates + Arzelà–AscoliUses IsVonNBounded + IsCompact (bornological typing, credit: Aaron Lin)
linfty_boundMaximum principle (Gilbarg–Trudinger)No max. principle for manifolds
schaeferSchaefer 1955Not in Mathlib (draft issue)
fixed_point_nonnegStrong maximum principleNo max. principle for manifolds
monotone_iterationAmann 1976No sub-/super-solution theory

The existence theorems explicitly carry [PDEInfra bvp solOp] so the axiom surface is visible to Lean's kernel. Run #print axioms in CdFormal/Verify.lean to confirm no sorryAx — all theorems depend only on [propext, Classical.choice, Quot.sound] (monotone fixed-point theorems use only [propext, Quot.sound]).

Building

Requires Lean 4 (v4.28.0) and Mathlib.

lake build
lake build --wfail   # fail on any sorry or warning

Project structure

CdFormal/
  Basic.lean              — Definitions (manifold, coefficients, operators, BVP)
  Axioms.lean             — PDEInfra typeclass (explicit axiom surface)
  Theorems.lean           — Existence and algebraic theorems
  OperatorLemmas.lean     — Laplacian/gradient-norm derived properties
  CoefficientLemmas.lean  — Bounds from [0,1] field constraints
  ScalingUniqueness.lean  — PDE-level scaling impossibility
  MonotoneFixedPoint.lean — Knaster-Tarski fixed point between sub/super
  LinftyAlgebraic.lean    — L∞ bound algebraic core (Paper Lemma 3.10)
  Verify.lean             — #print axioms dashboard (17 declarations)
artifacts/
  aristotle/              — Proved outputs from the Aristotle theorem prover
drafts/                   — Mathlib issue drafts + Lean proof sketches
  mathlib_issue_schaefer.md, BornologyBridge_sorry.lean
  MonotoneFixedPoint_sorry.lean, LinftyAlgebraic.lean, OperatorLemmas.lean
  ScalingUniqueness.lean, ScalingUniqueness_v2.lean, ScalingUniqueness_v3.lean

Development Process

What the author did: The original equations, proof strategy, and formalization architecture — choosing to axiomatize via PDEInfra, identifying which five classical PDE results to package, designing the typeclass hierarchy, and structuring the Schaefer → L∞ bound → existence → sub/super-solution → nontriviality proof chain — are the core intellectual contribution. These are mathematical architecture decisions that require understanding where the real difficulty lies. The underlying equations and theory are documented in the paper.

What AI tools did: Claude Opus assisted with Lean 4 syntax, Mathlib API navigation, and proof term synthesis. Aristotle (Harmonic.fun) automated proving of standalone algebraic lemmas. These roles are analogous to omega, aesop, and other proof automation — the strategy is human, the term-level search is machine-assisted.

Verification: The final arbiter is the Lean compiler, not trust:

lake build --wfail   # type-checks or it doesn't — zero sorry

Run #print axioms in CdFormal/Verify.lean to confirm the axiom surface. Every assumption is explicit in PDEInfra. Nothing is hidden.

License

Copyright 2026 Nelson Spence. Licensed under Apache 2.0.