[{"data":1,"prerenderedAt":4},["ShallowReactive",2],{"SegXp14Okr":3},"# csd-lean4\n\n[![CI](https://github.com/zblore/csd-lean4/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/zblore/csd-lean4/actions/workflows/ci.yml)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.22232291.svg)](https://doi.org/10.5281/zenodo.22232291)\n\nConstraint-Surface Dynamics posits one object: an ontic surface `Σ`, concretely\n`ℂℙ^{N-1} × T²`, with a Liouville measure `μL` and a deterministic,\nmeasure-preserving flow. A preparation is a region of `Σ`, an outcome a subregion\nof it, and probability is read as a fraction of ontic volume. This repository is a\nLean 4 and Mathlib formalisation of the finite-dimensional quantum mechanics that\nresults.\n\nConstraint-Surface Dynamics provides a machine-checked reconstruction of the\nprincipal finite-dimensional measurement statistics and update structure on its\nstated ontic witness: deterministic ontic dynamics give definite context-indexed\noutcomes without stochastic collapse or branching; Born weights follow from the\nFubini-Study/Kähler moment-map geometry and are realised as the measures of\nexplicit ontic fibre outcome cells rather than postulated as an independent\nprobability law; and outcome conditioning reproduces the Lüders update.\nBasis-selective decoherence is proved for a supplied measurement context.\n\nThat geometry is built, not assumed: `ℂℙ^{N-1}` is a Kähler manifold whose Kähler\nvolume is the Fubini-Study measure, `exp(-itH)` is the Hamiltonian flow of `-2⟨H⟩`,\nand the sector's posited measure and flow are these objects (`LF4/SectorManifold.lean`).\n\n## Results\n\n| Result | Theorem | `#print axioms` |\n|---|---|---|\n| Born weight is a Fubini-Study volume ratio | `fs_born_volume_ratio_N_uncond` | propext, Classical.choice, Quot.sound |\n| The flow on rays is `exp(-itH)` | `projectedFlow_schrodinger_form` | propext, Classical.choice, Quot.sound |\n| Rank-one Lüders update is a pushforward | `swap_luders_born` | propext, Classical.choice, Quot.sound |\n| Frequencies converge to Born weights | `pointer_born_frequency` | propext, Classical.choice, Quot.sound |\n| Born basins carved by the de-isolation propagator | `shearDeIsolation_born` | propext, Classical.choice, Quot.sound |\n\n## Axioms, of two kinds\n\nLogical axioms: none beyond Lean's foundational triple (`propext`,\n`Classical.choice`, `Quot.sound`), enforced per theorem by pinned `#guard_msgs`\nchecks on `#print axioms` in CI. Physical posits are separate and untouched by\nthat: the sector is posited, never derived; calibration of the exact-record\nwitnesses is a named posit; and the typicality reading enters as a hypothesis on\nthe types, which is why it never appears in `#print axioms`. See\n[`AXIOMS.md`](AXIOMS.md) section 3.\n\n## What is not claimed\n\n- The sector is posited: the sector itself is posited, never derived.\n- Instrument results are relative to a stated dilation.\n- Each measurement witness pays one price under the proved trilemma.\n- Liouville is proved for the unitary flows only, not for a general Hamiltonian flow.\n\nFull list: [`docs/TOUR.md`](docs/TOUR.md).\n\n## Repository versus published papers\n\nWhere the repository and the published LF-series papers diverge, the repository is\ncurrent. Four results the papers record as imported named axioms are discharged at\nHEAD: see [`specs/papers-vs-repo.md`](specs/papers-vs-repo.md).\n\n## Verify it yourself\n\n```bash\nlake exe cache get       # Mathlib build cache\nlake build               # the corpus (root target)\nlake build CsdLeanTests  # the axiom audit: REQUIRED, root target does NOT run it\n./scripts/check-claims.sh  # the epistemic-overclaim guard\n```\n\n## Where to go next\n\n| If you want | Read |\n|---|---|\n| The precise claims and theorem names | [`docs/TOUR.md`](docs/TOUR.md) |\n| A reading path through one sector | [`docs/PATHS.md`](docs/PATHS.md) |\n| What is assumed versus proved | [`AXIOMS.md`](AXIOMS.md), [`specs/reconstruction-status.md`](specs/reconstruction-status.md), [`specs/connectivity-manifest.md`](specs/connectivity-manifest.md) |\n| Every experiment, both branches | [`EMPIRICAL.md`](EMPIRICAL.md) |\n| What is open, with effort grades | [`specs/BACKLOG.md`](specs/BACKLOG.md) |\n| How the code is organised | [`CONVENTIONS.md`](CONVENTIONS.md), [`specs/INDEX.md`](specs/INDEX.md) |\n| Release history | [`specs/archive/HISTORY.md`](specs/archive/HISTORY.md) |\n| The papers | [`CITATION.cff`](CITATION.cff); [constraintsurfacedynamics.com](https://www.constraintsurfacedynamics.com) |\n| Plain-language definitions | [glossary.constraintsurfacedynamics.com](https://glossary.constraintsurfacedynamics.com) |\n| Any declaration, rendered with its statement | [docs.constraintsurfacedynamics.com](https://docs.constraintsurfacedynamics.com) |\n\n## Layout\n\n| Path | Contents |\n|---|---|\n| `CsdLean4/LF1/`-`LF6/` | The layered reconstruction |\n| `CsdLean4/SigmaLayer/` | Records, measurement dynamics |\n| `CsdLean4/CV/` | Continuous variables, field chain |\n| `CsdLean4/Empirical/` | QM regression suite, CSD twins |\n| `CsdLean4/Thermo/` | Thermodynamics |\n| `CsdLean4/Mathlib/` | CSD-free general-purpose material |\n| `CsdLean4/Tests/` | The axiom-pin ledger |\n| `docs/`, `specs/` | Tour, paths, status, backlog |\n\n## Citation\n\nRepository: [`CITATION.cff`](CITATION.cff), carrying ORCID, repository URL and DOI.\nDOI: [10.5281/zenodo.22232291](https://doi.org/10.5281/zenodo.22232291), the *concept*\nDOI, which always resolves to the latest release. Zenodo also mints a per-version DOI\non each release; cite the concept DOI, not those.\nProgramme: the LF-series Zenodo record named there.\nBackground: [constraintsurfacedynamics.com](https://www.constraintsurfacedynamics.com).\nGlossary: [glossary.constraintsurfacedynamics.com](https://glossary.constraintsurfacedynamics.com), the plain-language companion to the module headers.\nAPI documentation: [docs.constraintsurfacedynamics.com](https://docs.constraintsurfacedynamics.com),\nthe doc-gen4 render of every declaration and its docstring. Built and published from\n[zblore/csd-lean4-docs](https://github.com/zblore/csd-lean4-docs); this repository keeps\nits own `docs.yml` as a documentability smoke test, not a publisher.\n",1795286043172]