Research-Stack/0-Core-Formalism/lean/Semantics/lakefile.toml
allaun b6ab3e5f22 refactor(silversight): move to correct location + set no-write on Research Stack
SilverSight modules moved from Semantics/Semantics/SilverSight/ to
SilverSight/SilverSight/ (separate directory, same lake project).

Changes:
- SilverSight Lean modules: Schema, WireFormat, ProductSchema,
  ProductWireFormat, Receipt, Bind → 0-Core-Formalism/lean/SilverSight/
- Imports updated: Semantics.SilverSight.* → SilverSight.*
- Namespace updated: Semantics.SilverSight → SilverSight
- Cross-project imports preserved: Semantics.FixedPoint, open Semantics.FixedPoint
- lakefile.toml: SilverSight lean_lib now uses srcDir = ../SilverSight
- AGENTS.md: READ-ONLY notice added — Research Stack is archived,
  all new formal work goes to SilverSight
- SilverSight/AGENTS.md: clean-slate operating contract

Build: SilverSight 3307 jobs, 0 errors
Build: Compiler 3314 jobs, 0 errors
2026-06-22 15:05:14 -05:00

118 lines
3.4 KiB
TOML

name = "Semantics"
version = "0.1.0"
srcDir = "."
# Compiler is the narrow fast-verification target for CI: only the blessed
# RRC + AVMIsa + ReceiptCore surface. Semantics is the full workspace build.
defaultTargets = ["Compiler", "Semantics"]
[[require]]
name = "sparkle"
git = "https://github.com/Verilean/sparkle.git"
rev = "252341078dba3c2612719746e6a459dada2248ea"
[[require]]
name = "mathlib"
git = "https://github.com/leanprover-community/mathlib4"
rev = "v4.30.0-rc2"
[[lean_lib]]
name = "Semantics"
# ── Compiler: blessed RRC compiler surface ────────────────────────────────────
# Fast CI target. Only these modules form the "functional Rainbow Raccoon
# Compiler" proof-of-life:
# Semantics.RRC.Emit — fixture corpus → alignment gate → JSON (Goal A+)
# Semantics.AVMIsa.Emit — AVM canaries → RRC → JSON (Goal A); sole output boundary
# also stamps Semantics.RRC.Corpus250 (250-equation corpus)
# Semantics.RRC.Corpus250 — raw 250-equation features (Python-supplied, Lean-gated)
# Libraries (imported by roots, not roots themselves):
# Semantics.AVMIsa.* — ISA, types, step, run
# Semantics.ReceiptCore — receipt ledger, promotion gates
# Semantics.RRCLogogramProjection — projection/merge/lane theorems
# Semantics.FixedPoint — Q16_16, Q0_16 (no Float in compute paths)
[[lean_lib]]
name = "Compiler"
roots = ["Semantics.RRC.Emit", "Semantics.AVMIsa.Emit", "Semantics.RRC.Corpus250"]
[[lean_lib]]
name = "PIST"
srcDir = "../../../2-Search-Space/PIST"
# HybridTSMPISTTorus removed from roots: pre-existing sorry/#eval failures,
# no module imports it, quarantined pending Lean 4.30 port.
roots = ["PIST", "PistBridge", "PistSimulation", "TorsionalPIST", "Trace"]
[[lean_lib]]
name = "FAMM"
srcDir = "../../../2-Search-Space/FAMM"
roots = ["FAMM"]
[[lean_lib]]
name = "ExtensionScaffold"
[[lean_lib]]
name = "Biology"
# ── SilverSight: clean-slate rebase ─────────────────────────────────────────
# Lives at 0-Core-Formalism/lean/SilverSight/ (separate from Semantics tree).
# Imports Semantics.FixedPoint cross-project. Build: lake build SilverSight
[[lean_lib]]
name = "SilverSight"
srcDir = "../SilverSight"
roots = ["SilverSight"]
# OTOM external proofs — uncomment when resolving sorries.
# Build: lake build OTOMProofs
# Buildable: DiffusionSNRBias, Constitution
# Others have structural errors beyond sorries.
# [[lean_lib]]
# name = "OTOMProofs"
# srcDir = "../external/OTOM"
# roots = ["DiffusionSNRBias", "Constitution"]
[[lean_exe]]
name = "bindserver"
root = "BindServer"
[[lean_exe]]
name = "searchserver"
root = "SearchServer"
[[lean_exe]]
name = "SemanticsCli"
root = "Main"
[[lean_exe]]
name = "openworm_benchmark"
root = "OpenWormBenchmark"
[[lean_exe]]
name = "ExtremeParameterTestEval"
root = "ExtremeParameterTestEval"
[[lean_exe]]
name = "NominalParameterTestEval"
root = "NominalParameterTestEval"
[[lean_exe]]
name = "moim_benchmark"
root = "MOIMBenchmarkMain"
[[lean_exe]]
name = "generate_sparkle_phi_s3c"
root = "GenerateSparklePhiS3C"
[[lean_exe]]
name = "tangnano9k_emitter"
root = "TangNano9KEmitter"
[[lean_exe]]
name = "sabotage_prevention_cli"
root = "SabotagePreventionCli"
[[lean_exe]]
name = "rrc-watchdog"
root = "RrcWatchdog"
[[lean_exe]]
name = "pist-classify-trace"
root = "PistClassifyTrace"