Documentation

CsdLean4.RecordLayer.SwapLuders

SigmaLayer/SwapLuders: the Lüders update as a pushforward theorem #

Category: 7-SigmaLayer (the record layer — the collapse theorem).

The headline #

For the calibrated-swap witness, conditioned on outcome i, the post-measurement system marginal IS the slot-i calibration:

map projSys (postMeasure μ_in i) = ν i.

With the CSD instantiation — slots calibrated to epistemicMeasure [eⱼ] — the system state after outcome i is literally epistemicMeasure [eᵢ], the same object the corpus uses for a fresh isolated preparation of eᵢ. Not "concentrates near": equals. Every existing single-measurement theorem then applies to the follow-up unchanged, which is what makes sequential statistics Lüders.

Why this does not contradict the no-collapse results #

What is proved #

⚠️ Scope #

References #

SigmaLayer/SwapWitness.lean (the witness); SigmaLayer/MeasurementConstraints.lean (no_exact_collapse — why relocation is the only shape); SigmaLayer/GlobalBasin.lean (epistemicMeasure, globalBasin_prob); SigmaLayer/ShearWitness.lean (shear_base_marginal_unchanged — the defect this repairs).

The outcome sector is a base cylinder #

theorem CSD.RecordLayer.swap_outcomeSector_cylinder {Xsel : Type u_1} [MeasurableSpace Xsel] {K : } (idx : XselFin K) (hidx : Measurable idx) (i : Fin K) :

The bank plays no part in which outcome occurs: the swap witness's outcome sector is the shear's outcome sector, cylindered over the bank.

theorem CSD.RecordLayer.swap_evolve_sys_on_sector {Xsel : Type u_1} [MeasurableSpace Xsel] {K : } (idx : XselFin K) (hidx : Measurable idx) (i : Fin K) {x : SwapArena Xsel K} (hx : x (swapProtocol idx hidx).outcomeSector i) :
(swapEvolve idx 0 1 x).1.1 = x.2 i

On the outcome-i sector, the post-evolution system coordinate is bank slot i.

Conditioning a product on a first-factor event #

Conditioning a product measure on a first-factor cylinder conditions the first factor. Reusable, no CSD content.

★★ The Lüders theorem #

theorem CSD.RecordLayer.swap_luders_marginal {Xsel : Type u_1} [MeasurableSpace Xsel] {K : } (idx : XselFin K) (hidx : Measurable idx) (μ12 : MeasureTheory.Measure (Xsel × LF4.KTorus)) [MeasureTheory.IsProbabilityMeasure μ12] (ν : Fin KMeasureTheory.Measure Xsel) [∀ (j : Fin K), MeasureTheory.IsProbabilityMeasure (ν j)] (i : Fin K) (hpos : μ12 ((shearProtocol idx hidx).outcomeSector i) 0) :
MeasureTheory.Measure.map (fun (y : SwapArena Xsel K) => y.1.1) ((swapProtocol idx hidx).postMeasure (μ12.prod (MeasureTheory.Measure.pi ν)) i) = ν i

★★ The Lüders update, as a pushforward.

Initial state: system-and-register μ12, bank slots independently calibrated to ν j. Conditioned on outcome i, the post-measurement system marginal is the slot-i calibration — collapse as measure-preserving relocation. The proof is a computation: on the outcome sector the evolved system coordinate is bank slot i, the sector is a base cylinder so conditioning never touches the bank, and evaluation pushes the bank product to its i-th factor.

★ The minimal calibration theorem (F-05 discharge, 2026-08-06) #

theorem CSD.RecordLayer.swap_luders_iff_calibrated {Xsel : Type u_1} [MeasurableSpace Xsel] {K : } (idx : XselFin K) (hidx : Measurable idx) (μ12 : MeasureTheory.Measure (Xsel × LF4.KTorus)) [MeasureTheory.IsProbabilityMeasure μ12] (ν : Fin KMeasureTheory.Measure Xsel) [∀ (j : Fin K), MeasureTheory.IsProbabilityMeasure (ν j)] (i : Fin K) (hpos : μ12 ((shearProtocol idx hidx).outcomeSector i) 0) (τ : MeasureTheory.Measure Xsel) :
MeasureTheory.Measure.map (fun (y : SwapArena Xsel K) => y.1.1) ((swapProtocol idx hidx).postMeasure (μ12.prod (MeasureTheory.Measure.pi ν)) i) = τ ν i = τ

★ The apparatus hypothesis exactly equivalent to Lüders behavior is the calibration. For the swap witness, the post-outcome-i system marginal equals a target state τ iff bank slot i is calibrated to τ:

map projSys (postMeasure (μ12 ⊗ Π ν) i) = τ  ↔  ν i = τ.

The forward direction is swap_luders_marginal (calibration ⇒ Lüders); the converse is what makes the scope note "the Lüders map is encoded in the apparatus calibration, not forced by record creation alone" a THEOREM: no choice of calibration other than ν i = epistemicMeasure [eᵢ] produces the Lüders post-state, and any calibration produces its own post-state. This is the minimal calibration theorem the 2026-08-06 external review (F-05) asked for — the update is calibration-encoded, provably, in both directions.

The CSD form: sequential statistics are Lüders #

noncomputable def CSD.RecordLayer.vertexPoint {N : } (j : Fin N) :

The vertex preparation [eⱼ] as a projective point.

Equations
Instances For

    ★★ Lüders for CSD: after outcome i, follow-up statistics are the collapsed state's Born weights. With the bank calibrated to the vertex preparations, the post-outcome-i system marginal is epistemicMeasure (vertexPoint i) — so for any context field c', the follow-up outcome-j probability is c'.rate [eᵢ] j. The system state after the measurement behaves, in every subsequent measurement, exactly as a fresh preparation of eᵢ: that is the Lüders update ρ ↦ Πᵢ ρ Πᵢ / Tr(ρ Πᵢ) at rank one.