Research-Stack/0-Core-Formalism
Brandon Schneider 04452eeaca Lean: close trivial-True sorrys; add 7 missing Q16_16 lemmas
BurgersPDE.lean:
- cflStability (l187): replace sorry with trivial (goal was True)
- massConservation (l221): replace sorry with trivial (goal was True)
- Add TODO(lean-port) notes pointing to the actual proof strategies needed

FixedPoint.lean — 7 new lemmas (exported via Semantics.Q16_16 alias):
- zero_div: zero / x = zero for nonzero denominator; closes
  CoulombComplexity.neutralNodesNoForce (was Unknown constant error)
- mul_self_nonneg: (a * a).toInt ≥ 0 (sorry stub; used by FNWH.Burgers)
- mul_toInt_nonneg: (a*b).toInt ≥ 0 given both inputs ≥ 0 (sorry stub)
- ofRaw_toInt_nonneg: (add acc wcc).toInt ≥ 0 given inputs ≥ 0 (sorry stub)
- mk_lt_half_nonneg: (Q16_16.mk s).toInt ≥ 0 given s < 0x80000000 (proved)
- add_one_omega_ge_one: (1 + ω).toInt ≥ 65536 given ω.toInt ≥ 0 (sorry stub)
- toInt_nonneg_le_maxVal: q.toInt ≥ 0 → q.toInt ≤ 0x7FFFFFFF (proved)

All lemmas are exported via the Semantics.Q16_16 alias block.
Full lake build: 3539 jobs, Build completed successfully.
Semantics.CoulombComplexity: now builds without error.
FNWH.Burgers: sorry stubs allow structural build; proof gaps documented.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-19 18:02:42 +00:00
..
core Remove legacy Python prototypes superseded by Lean formalization 2026-05-19 15:34:17 +00:00
lean Lean: close trivial-True sorrys; add 7 missing Q16_16 lemmas 2026-05-19 18:02:42 +00:00
otom Remove legacy Python prototypes superseded by Lean formalization 2026-05-19 15:34:17 +00: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
README.md initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -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"
lake build