Research-Stack/0-Core-Formalism
allaun 56679941ed fix(lean): close canonicalize_ne_zero and canonicalize_pattern sorries
canonicalize_ne_zero: (canonicalize q != 0) = (q != 0)
  Proof: unfold canonicalize, split on if-condition,
  rw h in isTrue branch (Q16_16.one != zero = true by rfl),
  simp in isFalse branch.

canonicalize_pattern: boolPattern ∘ canonicalizeSignature = boolPattern
  Proof: unfold definitions, exhaustive match on list length (0-9+ elements),
  simp with canonicalize_ne_zero rewrites each component.

6 bridge sorries remain (down from 8). Each requires list-level reasoning
over 8-element Q16_16 lists — the simp terms from List.zip/filter/all are
too large for automatic simplification.

Build: 3314 jobs, 0 errors (Compiler surface)
2026-06-22 14:34:37 -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): close canonicalize_ne_zero and canonicalize_pattern sorries 2026-06-22 14:34:37 -05:00
otom fix(lean): complete projectionOrdering proof in GeometricCompressionWorkspace 2026-06-18 15:06:50 -05:00
receipts docs: add bio optical witness living light equations 2026-05-09 20:53:51 -05:00
rust/ftdi_gimbal initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
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.