Brandon Schneider
f9b5ac25fb
fix(lean+shim): enforce lean-coding rules across audit surface
...
## Lean fixes
- RRCLogogramProjection.lean: replace `native_decide` → `decide` in 5
compiler-surface theorem witnesses (semantic_tear_projects_after_repair,
semantic_tear_does_not_merge, semantic_tear_uses_quarantine_lane,
unrepaired_tear_does_not_project, ordinary_logogram_projects_and_merges).
All 5 pass under `decide`; no logic change.
- PistSimulation.lean: add `-- expect: <value>` to every `#eval`/`#eval!`
block across §6–§11 (~104 annotation lines). Document 8 undocumented
`ofRawInt` magic integers in fixtureSpectralWindow (10.0, 20.0, 100.0,
40.0, 20.0, 10.0, 5.0, 5.0 × 65536).
- DynamicCanal.lean: add `-- expect:` to all 15 #eval witness blocks in
§17 (fixed-point constructors, DIAT encoding, coarse-graining tests).
- MISignal.lean: add `-- expect: 131072` to both #eval witnesses.
- Functions/BracketedCalculus.lean: add `-- expect: 327680` to #eval.
- AVMIsa/Emit.lean, RRC/Emit.lean, RRC/ReceiptDensity.lean, ReceiptCore.lean:
previously-staged `-- expect:` additions (from prior session) carried
forward in this commit.
## Python shim fixes
- Add `# PARTIAL BOUNDARY: contains domain logic; not a provable surface.
Port to Lean/RRC before treating as authoritative.` to 9 shim files:
pist_trace_classify_mcp.py, genus0_sphere_shell_demo.py,
routing_benchmark.py, route_repair_v14a.py, pist_prove_and_classify.py,
label_canary_theorems.py, validate_rrc_predictions.py,
pist_receipt_density_injector.py, rrc_pist_shape_alignment.py.
## Build baseline
lake build Compiler → 3311 jobs, 0 errors
lake build → 3567 jobs, 0 errors
Generated with [Devin](https://cli.devin.ai/docs )
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-26 23:17:40 -05:00