ugp-lean is a Lean 4 formalization of the Universal Generative Principle (UGP) and Generative Triple Evolution (GTE). It provides machine-checked proofs of core UGP claims, including the Residual Seed Uniqueness Conjecture (RSUC), the Quarter-Lock Law, and Turing universality of the UGP substrate.
| Document | Description |
|---|---|
| BUILD.md | Prerequisites, build instructions, toolchain |
| MODULES.md | Complete module reference and dependency graph |
| THEOREMS.md | Theorem catalog: what ugp-lean proves |
| DESIGN.md | Non-circularity, architecture, proof strategy |
| ADVISOR_STATUS.md | Executive summary for advisors: scope, soundness, gaps |
cd ugp-lean
lake update
lake buildBuild completes with 0 errors, 0 sorry on the core RSUC path. See BUILD.md for details.
- RSUC: Residual Seed Uniqueness — exactly one equivalence class; MDL selects (1,73,823)
- Theorem A (general): ∀n, UnifiedAdmissibleAt n t → t ∈ CandidatesAt n
- Ridge sieve: At n=10, survivors = {(24,42), (42,24)}
- Quarter-Lock: k_M = k_G + ¼k_L²
- Canonical orbit: (1,73,823) → (9,42,1023) → (5,275,65535)
- Turing universality: UGP substrate Turing-universal via Rule 110
The classification is n-parameterized: predicates and candidate sets are indexed by ridge level n.
ugp-lean/
├── lakefile.lean, lean-toolchain
├── UgpLean.lean # Root module, imports all
├── UgpLean/
│ ├── Core/ # Definitions (no Compute)
│ ├── Compute/ # Algorithms, native_decide
│ ├── Classification/ # Theorem A/B, RSUC
│ ├── GTE/ # Evolution, Orbit
│ ├── Phase4/ # DeltaUGP, GaugeCouplings, UCL, PR1
│ ├── Universality/ # Rule 110, UWCA, Turing-universal
│ ├── Papers/ # Citable stubs (Paper25, UGPMain)
│ └── Instance/ # NemSBridge
├── docs/
├── MANIFEST.md
├── Assumptions.md
└── README.md
- Roadmap:
UGP_LEAN_PROGRAM_ROADMAP.md(in workspace) - Paper 25 Upgrade:
PAPER_25_UPGRADE_PLAN.md - UGP Formalization:
NEMS_PAPERS/UGP_GTE_Formalization/— definitive formal specification with theorem-indexed mapping to ugp-lean modules (companion to Paper 25) - Source papers: UGP Main Paper, JMP Math Foundations, gte_triples_explainer