lean

Paper Map

Module → paper crosswalk. Inverse of the paper-side index in the papers repo at docs/formalization-index.md.

Companion documents:

This file exists so that a reader in the Lean repo can go the other direction: pick a module, find the paper(s) it cashes out into, and judge whether the mapping is clean enough to cite.

Stable identifiers

Cashout classes

Paper-ready vs formalized

A claim can be formalized without being paper-ready. This file flags mapping quality, not just theorem existence.


LeanProofs/TaxonomyGraph.lean

Static pipeline graph over the 15-domain cybernetic failure taxonomy. 4 terminal domains, 3 terminal families, role coherence, reachability classification.

Primary cashout:

Secondary cashouts:

LeanProofs/BranchSelector.lean

Dual-budget model for closure-family selection. Budget asymmetry / priming / susceptibility. Kills “precursor type determines closure family.”

Primary cashout:

Secondary cashouts:

LeanProofs/PersistenceModel.lean

Five-state Δc→Δh dynamics. Cumulative rollback depletion under detached commits. External repair produces restructured, not aligned. Three-way recovery distinction. Quantitative burn + realization cluster (added 2026-05-08, three phases): commit_burns_exactly isolates the Nat-truncation boundary in the additive form post.cap + burnRate = pre.cap under burnRate ≤ cap; commitsToHysteretic provides the closed-form commit count to hysteretic (with cap=0 special case for the truncating-burn boundary); non-strict commitsToHysteretic_monotone and strict commitsToHysteretic_strict_mono (positivity-bounded) ground the “faster after repair” doctrine in post_repair_faster_to_hysteretic. Strict monotonicity requires both 0 < cap₂ and cap₂ + burnRate ≤ cap₁ — the boundary case cap₂ = 0, cap₁ = burnRate is genuinely a tie (both burn out on first commit) and the 0 < cap₂ hypothesis excludes it cleanly. Realization bridge commitsToHysteretic_realizes: starting from a detached state (detachedShort or detachedWarn), replicating commitsToHysteretic-many .commit events lands in hysteretic. Two helpers (step_commit_low_terminates, step_commit_high_continues) plus strong induction on rollbackCapacity plus inline recurrence via Nat.add_div_right. Bridges closed-form commit-count arithmetic to actual run-trace semantics. Kills “prolonged contiguous detachment causes reset failure” and “repair restores baseline.”

Primary cashout:

Secondary cashouts:

LeanProofs/OpsMasking.lean

Operational masking — case (i) projection clause. General lemma trajectory_eq_of_projected_eq (any two controllers whose gated actions agree pointwise produce identical trajectories under any plant dynamics and measurement map) plus paper-form corollary projection_masking ($\Pi(C+H) = \Pi(C)$ pointwise ⇒ outputs coincide exactly). Deterministic case only.

Primary cashout:

Signature note for future work: the gate is currently a fixed function $\text{proj} : U \to U$ rather than the paper’s authority-state-indexed $\Pi_{A_t}$. For case (i) this is harmless (the masking hypothesis is pointwise and absorbs gate-state dependence). Lifting to $\text{proj} : X \to U \to U$ is required if a future module wants to carry $A_t$ explicitly — e.g., to formalize the §2 continuity-budget inequality where authority delay is the load-bearing object. The §2 ADT bound is intentionally not Leaned.

LeanProofs/Paper24SharedVision.lean

Algebraic shard for Paper 24’s §4 metric probes and Theorems 3–4. Linear alias-break specialization $A_i(V) = V(1+\varphi_i)$, baseline-zero, pairwise-difference identity, two-agent absdiff and variance scaling, sup-norm-bound kernel for the witness filter, η-step bound, and the survivor-cohort centered-mean-zero algebra.

Primary cashout:

Scope discipline. The sup-norm bound is stated as hypotheses ($ \Phi(E^F) \le \text{maxRetained} \le \tau$), not as an operator-theoretic abstraction over arbitrary aggregators. Lean’s job here is to swat sign and scaling goblins, not to model governance.

LeanProofs/Paper25EpistemicBorderControl.lean

Status: P25 formal spine sufficient — complete for structural-refusal claims; quantitative substitution scaling (Proposition 1) and closed-loop dynamics intentionally out of scope.

Algebraic shard for Paper 25’s §5 sibling-vs-§N adjudication and §3.1 Theorem 1 epistemic-access core. Five theorems: row-replication operator (the operational form of $\mathbf{1}_N \otimes M$ for the homogeneous-witness case), kernel preservation under stacking, Gramian scaling identity, observation-equivalence implies policy-equivalence, and the target-distinct-but-policy-same corollary.

Primary cashout:

Scope discipline. The module deliberately does not formalize: the explicit finite-horizon observability matrix $O_T = [C; CA; \ldots; CA^{T-1}]$ as a single matrix object (the §5 corollary is mechanical once $O_T$ is in scope); closed-loop dynamics, Kalman filtering, or LQR (Theorem 1’s closed-loop reading is an inductive vindication of a hand-wave, not the structural refusal); Proposition 1’s quantitative Gramian scaling for the substitution magnitude (open in the paper); SVD or least-observable-direction quantitative claims (the kernel + Gramian results here are the qualitative substrate).

Rhetorical note (intentional). target_distinct_policy_same carries _hTarget : target q x ≠ target q x' as an intentionally-unused hypothesis. That is the structural content: the policy never sees the target, so target inequality cannot break policy equality. Sincere intent does not save the controller; observation geometry alone forecloses target regulation. The unused-hypothesis posture is the formal echo of the paper’s Goodhart firewall.

LeanProofs/RepairOperator.lean

Sovereign repair operator — hostile kernel check. Five-outcome classification, governed-cell partition, containment predicate (abstract), escalation operator with aging, two-tier terminal condition. Forces separation of structural invariants (provable) from political placeholders ($\sigma$, legitimacy) and measurement handwaving ($I(x)$, $O(G,t)$), which are left abstract.

No current paper cashout. Formalizes the working note working/sovereign-repair-operator.md in the papers repo. Sits outside the current 22-paper scope. Documented here to keep the mapping complete; not a current revision question.

Companion simulations

The Lean repo also hosts two Python simulations co-located with the formalization work, referenced as companion artifacts by the relevant preprint READMEs:

Neither sim is a Lean module; both are referenced for completeness so the paper-side pointers in papers/preprint/{23,24}-*/README.md resolve to a single repo location.

BabyRiver/*.lean (Phase 1 Baby River kernel)

State well-formedness preservation, action semantics (stay / consume / movement), Kaplan-Meier survival curve monotonicity, log-rank test bookkeeping. Scaffolding for Phase 2 population inference.

No current paper cashout. Sits outside the 22-paper scope. Candidate warrant for a future paper on biological/population-level Δt dynamics (not yet written). Documented here to keep the mapping complete; not a current revision question.

LeanProofs/Admissibility/ (Authority kernel — infrastructure substrate)

Five core modules forming a Governor-neutral authority kernel, plus two boundary-result siblings:

No paper cashout. This is infrastructure substrate for a future Governor (agent_gov) implementation citation, not a paper-claim cashout. Concrete claimForStep resolvers and AuthorityClaim schema commitments belong in Governor’s instantiation, not in the kernel. Documented here to keep the mapping complete.

Sibling to LeanProofs/Admissibility.lean (P27 obligation skeleton, namespace P27). Sorry-free as of 2026-05-07; three real proofs + two True-placeholder discharges pending sibling vocabulary; intentionally unwired (sorry-elimination does not imply wiring). The P27 skeleton and the Authority kernel are independent and address different layers (post-transition obligation accounting vs pre-action authorization). See LeanProofs/Admissibility/README.md for the six-module breakdown.

LeanProofs/Admissibility/ safety-bridge family (Frontier 1 — standalone preprint anchor)

Eight modules forming the safety-axis brick set, addressing the Frontier 1 wound (Admissibility ≠ Safety) from the closed 2026-05-10 AGI-requirements reverse-gap audit with a single-step wound + verdict-layer wound + trajectory triple + second concrete witness. Module-by-module description in LeanProofs/Admissibility/README.md; status (structurally addressed 2026-05-28) in historical/audits/AGI_REQUIREMENTS_REVERSE_GAP_AUDIT_2026-05-10.md.

Primary cashout:

Secondary cashout:

Scope discipline. The preprint inherits the kernel’s institutional fence — “kernel-legible all-green verdict, NOT substantively-grounded legitimacy.” Paper 28 is the home for the substantive-grounding argument. Separating these is what makes both papers honest. The punchy slug deliberately lives on paper 28 (where rhetoric is contribution); the preprint’s sober title is genre-appropriate for cs.LO.

Related records: spine page (above); tier map ~/git/papers/working/tooltheory/calculus-2-tier-map-2026-05-28.md; ρ-drop decision ~/git/papers/working/tooltheory/safety-bridge-rho-drop-decision-2026-05-28.md; Calculus 2.0 exit criteria reconciliation ~/git/papers/working/calculus-2-exit-criteria.md (status update 2026-05-29); kernel-overlap audit ~/git/papers/working/tooltheory/safety-bridge-kernel-overlap-audit-2026-05-29.md (closes the second safety-axis minting gate). The “Calculus 2.0” label as a unifying-promotion target is moot post-2026-06-03 synthesis closure (see ~/git/papers/working/source-basis-discipline-synthesis.md); the composition and self-amendment axes are now species under the “disciplined premise production” umbrella, not pending unification gates.

Open / axiomatic boundaries

Change log