Research-Stack/2-Search-Space/PIST
Brandon Schneider 9b23450536 feat(avm-isa): Goal A — AVMIsa.Emit wires canary → RRC → JSON; clear build red
AVMIsa.Emit (new, Semantics/AVMIsa/Emit.lean):
- Three canary programs: boolean NOT, AND, OR
- checkTopBool classifies Outcome State against expected value
- canaryReceipt mints a ReceiptCore.leanBuildReceipt keyed per-canary
- canaryLogogramReceipt maps allPassed → RRCLogogramProjection.LogogramReceipt
  (uglyAsymmetricPruning / normal lane on pass; horribleManifoldTearing on fail)
- Minimal JSON serializer (no Float, no external deps, all ReceiptCore/RRC
  fields faithfully encoded)
- emit : EmitResult collapses the whole pipeline into one call
- #eval output: valid JSON with schema avm_canary_emit_v1, all_canaries_passed
  true, three receipts, rrc_logogram projectionAdmissible+mergeAdmissible true,
  lane normalProjection — passes python3 -m json.tool

Adaptation.lean: replace ⟨UInt32_expr⟩ → ofRawInt N throughout
  (Q16_16 is a Subtype {x:Int//...}; ⟨·⟩ needs both val + property;
  ofRawInt handles clamping to range); same fix for inline let bindings
  and Q16_16.mk literals in isLawful

TorsionalPIST.lean: replace { val := N } Fix16/Q16_16 struct literals with
  Semantics.Q16_16.ofRawInt N (Fix16 is abbrev for Q16_16)

lakefile.toml: remove HybridTSMPISTTorus from PIST roots
  (pre-existing sorry + property failures, zero importers, quarantined
  pending Lean 4.30 port — still on disk, just not a build root)

Result: lake build PIST Semantics.AVMIsa.Emit → Build completed (3326 jobs)

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

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-26 21:46:22 -05:00
..
HybridTSMPISTTorus.lean Rust ene-session-sync: complete rewrite with Python adaptation layer 2026-05-19 13:53:19 +00:00
PIST.lean initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
PistBridge.lean WIP: accumulated changes 2026-05-25 16:24:21 -05:00
PistSimulation.lean initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
TorsionalPIST.lean feat(avm-isa): Goal A — AVMIsa.Emit wires canary → RRC → JSON; clear build red 2026-05-26 21:46:22 -05:00
Trace.lean fix(avm-isa): stabilize AVMIsa + PIST.Trace build; canary #eval fires clean 2026-05-26 21:39:46 -05:00