Research-Stack/0-Core-Formalism
allaun 70bdfb5c2a fix(lean): attempt canonicalize+native_decide for gap_pat_bridge
native_decide +revert fails on Q16_16 (Subtype Int, infinite type).
gapQ16_canonical (verified) proves the computation works on {zero,one}.
The bridge from arbitrary Q16_16 to canonical values requires proving
predicate invariance under canonicalization — which is the same lemma.

The fundamental chicken-and-egg: to use native_decide, we need finite
values. To get finite values, we canonicalize. To prove canonicalization
preserves predicates, we need the bridge. The bridge is the lemma we
are trying to prove.

7 bridge sorries remain, all list-induction over 8 elements.

Build: 3314 jobs, 0 errors
2026-06-22 14:12:02 -05:00
..
core fix(adversarial-review): resolve 35 critical coding bugs across 8 subsystems 2026-05-31 23:38:03 -05:00
lean fix(lean): attempt canonicalize+native_decide for gap_pat_bridge 2026-06-22 14:12:02 -05:00
otom fix(lean): complete projectionOrdering proof in GeometricCompressionWorkspace 2026-06-18 15:06:50 -05:00
receipts
rust/ftdi_gimbal
scripts chore: commit accumulated working tree changes 2026-05-30 00:10:02 -05:00
README.md docs: refresh READMEs, AGENTS.md, and project maps for recent Lean surface 2026-06-20 20:34:09 -05:00

0-Core-Formalism

Purpose: Formal foundations for the entire Research Stack — Lean modules, bind primitive, Triumvirate consensus, core source.

No external dependencies. All other layers depend on this.

Contents (Target)

Source Destination
0-Core-Formalism/lean/Semantics/ 0-Core-Formalism/lean/Semantics/
core/ 0-Core-Formalism/core/

Concepts

  • bind — State → (State → Action) → State
  • TriumvirateClock — ternary consensus (ADD/PAUSE/SUBTRACT)
  • Builder/Judge/Warden — roles mapped to hardware registers
  • OTOM — Ordered Transformation & Orchestration Model

Build

cd "0-Core-Formalism/lean/Semantics"
lake build

Current baseline: lake build reports 3314 jobs, 0 errors.

Recent Additions

Recently added/blessed Lean/Semantics modules:

  • Semantics.SDPVerify
  • Semantics.GoormaghtighCert
  • Semantics.HachimojiManifoldAxiom / Semantics.HachimojiSubstitution
  • Semantics.GeneticBraidBridge
  • Semantics.SieveLemmas
  • Semantics.InteractionGraphSidon

Fixed-Point Constraint

Core compute paths use Q16_16 fixed-point arithmetic. Float is not allowed in compute paths; ofFloat is only permitted at the external boundary (JSON parsing, sensor input) and must be immediately bracketed to Q16_16.

Dependency Graph / Mathblob Insight

The dependency graph and Gremlin mathblob work serve as documentation and insight tooling for surfacing module relationships and formal-structure context within the Semantics surface.