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) |
||
|---|---|---|
| .. | ||
| conversions/hardware | ||
| external/OTOM | ||
| LeanGPT | ||
| Semantics | ||
| CHAIN_ALL_REVIEW_REPORT.md | ||