mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
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>
|
||
|---|---|---|
| .. | ||
| FAMM | ||
| GhostPivot | ||
| GhostPivot2 | ||
| manifold | ||
| PIST | ||
| rust | ||
| search | ||
| simulations | ||
| tardygrada | ||
| README.md | ||
| SearchSpace.lean | ||
2-Search-Space
Purpose: Quaternion, braid, and manifold primitives for high-dimensional search space navigation.
Depends on: 0-Core-Formalism
Components
| Component | Status | Description |
|---|---|---|
| PIST | In core/, scratch/ |
Perfectly Imperfect Square Theory |
| SVQF | In core/ |
Spherical Quaternion Vector Field |
| FAMM | In core/, scratch/ |
Frustration-Aware Manifold Mesh |
| Braid Theory | Planned | Topological constraints via braid brackets |
Key Optimizations
- Quaternion Sieve — Counter-rotation as band-pass filter
- Non-linear Gearbox — φ-based fractional steps
- Calabi-Yau Compactification — Discarded space folded into compactified dimensions
- Ricci Flow — Self-smoothing via ∂g_ij/∂t = -2R_ij
Hardware Range
Framework uses fixed-point arithmetic (Q16_16) — runnable on NES (1983) to modern FPGA.