mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
FixedPoint.lean: add stubs for abs_triangle, sub_eq_add_neg, mul_mono_left/right, add_le_add, abs_nonneg, abs_mul_le. All blocked by the same core issue: calc/rw/omega fail on ofRawInt-projected Int arithmetic after unfold mul/add/abs/neg. The pattern that works in PistSimulation (unfold + Int.ediv_le_ediv + ofRawInt_toInt_eq_clamp + q16Clamp_monotone) fails here because the goal structures differ. Known-working pattern to finalize: 1. unfold the Q16_16 op 2. have h2 := raw Int inequality (Int.mul_le_mul_of_nonneg_*) 3. have hdiv := Int.ediv_le_ediv (by norm_num) h2 4. rw [ofRawInt_toInt_eq_clamp, ofRawInt_toInt_eq_clamp] 5. exact q16Clamp_monotone _ _ hdiv AGENTS.md: document 6 new TODO(lean-port) items in Pending Proof Work. Build: 3313 jobs, 0 errors (lake build Compiler) |
||
|---|---|---|
| .. | ||
| core | ||
| lean | ||
| otom | ||
| receipts | ||
| rust/ftdi_gimbal | ||
| README.md | ||
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