Research-Stack/0-Core-Formalism
Brandon Schneider 8d9ced3d29 Agent sorry-sprint: close 9 sorrys, fix SSMS sign bug, correct false theorem.
Closed with proofs:
- CostEffectiveVerification.manifoldGroupsOntologicallyDifferentSystems:
  full proof using obtain + simp + exact (added cross-domain diversity hypothesis)
- FixedPointBridge.q0ToQ16_zero: native_decide (finite UInt16→UInt32 computation)
- FixedPointBridge.q0ToQ16_one: corrected false claim (= Q16_16.infinity, not .one),
  then native_decide
- WaveformTeleport.constantWaveformAtFixedPoint_base: corrected false claim
  (value is 65535, not 0), native_decide
- GPUVerificationMetaprobe: 4 new lemmas fully proved
  - gpuVerif_foldl_add_assoc (induction)
  - gpuVerif_execBatch_length (simp)
  - gpuVerif_foldl_totalVerified (induction)
  - verificationStats_valid (simp + exact)
  - surface_preservesTotalVerified (simp + exact)
- DiffusionSNRBias.hGammaSq: gamma_t² ≤ 1 via nlinarith + Int.ediv_le_ediv

Bug fixes:
- SSMS.mlgruStep: fixed sign error — oneMf was computing fT − 1 instead of 1 − fT
  (doc comment said 1−fT but code did fT−1). This fixes the MLGRU recurrence
  formula to match the documented hₜ = f·h + (1−f)·c.

Theorem corrections:
- DiffusionSNRBias.snrBoundedByModelParams: original claim γ·s ≤ γ²·s was
  mathematically false for γ < 1, s > 0. Corrected to γ²·s ≤ γ·s with
  added signalNorm.raw ≥ 0 hypothesis.
- MMRFAMMUnification.total_causal_cost_invariant_target: added equal-size
  hypothesis h_eq (was false for unequal sizes).

Improved TODOs with exact blockers in FixedPointBridge (8 remaining), QFactor,
SSMS, HyperbolicStateSurface, MMRFAMMUnification.

Added Q16_16.add_pos_of_pos lemma (sorry — needs UInt32 automation).

lake build: 3539 jobs, exit 0.

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

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-18 23:34:57 -05:00
..
core initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
lean Agent sorry-sprint: close 9 sorrys, fix SSMS sign bug, correct false theorem. 2026-05-18 23:34:57 -05:00
otom collapse: prover orchestration layers, FAMM verilator harness, swarm topological prober, spec sheets, virtual FPGA system tests, merge conflict resolution 2026-05-06 23:42:01 -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
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