Documentation

CsdLean4.LF6.SingletDeisolationFlow

LF6-A.2: the full singlet de-isolation flow #

Category: 6-Local (the dynamical realisation of the entangled de-isolation tier; the D1 entangled frontier).

This is LF6-A.2 of specs/lf6-plan.md: an actual deterministic, Fubini–Study-measure-preserving de-isolation flow whose contextual carve reproduces the LF3 singlet kernel P_st, with a.s. pointer-block frequencies converging to P_st. It is the dynamical counterpart of the forced-contextuality no-go LF6-A.1 (ForcedContextuality.lean), which it reuses for the contextuality anchor.

The construction (clean path, reusing LF5 @ N = 4 + LF3 + A.1) #

The system is the joint two-qubit register ℂ⁴ ≅ ℂ² ⊗ ℂ², measured by the LF5 von Neumann de-isolation flow measurementFlow 4 e on the dilated projective ontic space Σ' = ℂℙ¹⁵ = ℙ(EuclideanSpace ℂ (Fin 16)) (e = finProdFinEquiv, 16 = 4·4 = 15 + 1).

⚠️ Not shown to factorise by wing (clarified 2026-08-11). The A.2 N = 4 adder flow reproduces the required contextual statistics, but ℤ/4 ≠ ℤ/2 × ℤ/2, so it is not a product Φ_A ⊗ Φ_B. Product locality is exhibited separately by A.3 (LocalDeisolationFlow.localDeisolation_factorises, V_loc = V_A ⊗ V_B) and extended to the whole finite chain by LF6.localMeasurementChain_factorises. C1's locality claim rests on those, not on calling this joint apparatus interaction "local".

The flow is an apparatus dynamics (it is the single-system LF5 de-isolation at N = 4); the non-locality is not in the flow but in the outcome carve, which is the joint BornRegion moment-subdivision of LF4/BornRegionUncond, and is jointly contextual by A.1.

The prepared state used here is φ = nudgedSinglet a b, whose computational coordinate at the pointer cell (s, t) is the singlet's joint-spin-eigenstate amplitude φ_{stIdx (s,t)} = ⟨ψ⁻, singletJointEig s t a b⟩.

⚠️ nudgedSinglet is the MODULI, not a locally rotated singlet (corrected 2026-08-10; this paragraph previously read it as (U_A^x ⊗ U_B^y)† ψ⁻, which is false). singletJointEig normalises by the real √P_st, so every coordinate here is real and non-negative and all relative phase is discarded. At a ⊥ b that gives ½(1,1,1,1), a product state, while ψ⁻ is maximally entangled — so it is a local-unitary image of the singlet only at a·b = ±1. Nothing below is affected, because everything here consumes only ‖·‖².

What is valid here: the probability results — nudgedSinglet_norm, nudgedSinglet_born, and the pointer-volume headline — all of which are statements about moduli and all of which carry hgen.

Where to go for locality: LF6.localNudgeVec (NudgeLocality.lean), defined as (U_A(a) ⊗ U_B(b))ᴴ ψ⁻ for the proved-unitary wingBasisUnitary, with the same Born statistics and no hgen. Then the headline:

pointer-block (s,t) FS volume  =  ‖⟨e_{stIdx (s,t)}, φ⟩‖²        -- LF5 vnDilation_pointer_volume @ N=4
                               =  ‖⟨ψ⁻, singletJointEig s t a b⟩‖² -- nudge coordinate identity
                               =  P_st a b s t                     -- LF3 singletJointEig_born

So the reproduction is LF5@N=4 + a coordinate (unitary-invariance) step + LF3's Born identity. The basis-change vectors are the genuine joint spin eigenstates of LF3/Singlet/JointEig.lean; the Born identity singletJointEig_born is the proof behind MeasurementJointEig.born_eq_P_st.

Honest scope (the A.2 ledger) #

All exports are foundational-triple-only (Gleason-free; the LF5 pointer engine is off Busch, A.1 is measure-theoretic Bell content).

Reference: specs/lf6-plan.md (LF6-A.2).

Index identification Sign × Sign ≃ Fin 4 #

Sign ≃ Fin 2: plus ↦ 0, minus ↦ 1.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    The pointer-index identification (s, t) ↦ Fin 4 tying the LF5 pointer outcome at N = 4 to the LF3 sign pair.

    Equations
    Instances For

      The legacy singlet-moduli representative #

      ⚠️ This heading previously read "the prepared state φ = (U_A^x ⊗ U_B^y)† ψ⁻". That was false — see nudgedSinglet's docstring below. The object here is the vector of moduli √(P_st a b s t), not a local-unitary image of the singlet. The genuine (U_A(a) ⊗ U_B(b))ᴴ ψ⁻ is LF6.localNudgeVec.

      The prepared-state MODULI. The pointer-cell (s, t) coordinate is the singlet's overlap with the joint spin eigenstate singletJointEig s t a b.

      ⚠️ This is NOT (U_A ⊗ U_B)† ψ⁻, and the earlier docstring saying so was false. singletJointEig normalises by the real √P_st, fixing each basis vector's phase by projecting ψ⁻ itself, so every coordinate here is real and non-negative: nudgedSinglet a b = (√P_st)_{s,t}, with all relative phase discarded. Local unitaries preserve Schmidt spectra and ψ⁻ is maximally entangled, but at a ⊥ b all four P_st = ¼, making this ½(1,1,1,1) — a product state. So it is a local-unitary image of ψ⁻ only at a·b = ±1, precisely where hgen fails.

      Only ‖·‖² is consumed downstream, which is why the defect never surfaced: any phase-representative passes every proof here.

      Use LF6.localNudgeVec instead where locality matters. It is defined as (U_A(a) ⊗ U_B(b))† ψ⁻ for the proved-unitary wingBasisUnitary, carries the same Born statistics (localNudgeVec_coord_normSq), and needs no hgen. See LF6/NudgeLocality.lean and specs/c1-correction-plan.md §3b.

      Equations
      Instances For

        The pointer-cell coordinate of the nudged singlet is the joint eigenstate amplitude.

        theorem CSD.LF6.nudgedSinglet_born (a b : LF3.DetectorSetting) (hgen : ∀ (s t : LF3.Sign), 0 < LF3.P_st a b s t) (s t : LF3.Sign) :

        The nudge coordinate-Born identity. The squared computational amplitude of the nudged singlet at the pointer cell (s, t) equals the singlet kernel P_st a b s t — composing the coordinate identity with the genuine LF3 Born identity singletJointEig_born. Generic context (hgen).

        theorem CSD.LF6.nudgedSinglet_coord_normSq (a b : LF3.DetectorSetting) (hgen : ∀ (s t : LF3.Sign), 0 < LF3.P_st a b s t) (st : LF3.Sign × LF3.Sign) :
        (nudgedSinglet a b).ofLp (stIdx st) ^ 2 = LF3.P_st a b st.1 st.2

        The pointer-cell squared coordinate as a function of Sign × Sign.

        theorem CSD.LF6.sum_P_st_eq_one (a b : LF3.DetectorSetting) :
        st : LF3.Sign × LF3.Sign, LF3.P_st a b st.1 st.2 = 1

        The sum of the singlet kernel over the four sectors is 1 (the prepared state is normalised; the cross term ∑ s·t vanishes).

        theorem CSD.LF6.nudgedSinglet_norm (a b : LF3.DetectorSetting) (hgen : ∀ (s t : LF3.Sign), 0 < LF3.P_st a b s t) :

        The nudged singlet is a unit preparation. ‖φ‖² = ∑_{s,t} P_st = 1. Discharges the hypothesis of the LF5 pointer-volume / frequency theorems.

        theorem CSD.LF6.nudgedSinglet_ne_zero (a b : LF3.DetectorSetting) (hgen : ∀ (s t : LF3.Sign), 0 < LF3.P_st a b s t) :

        The nudged singlet is nonzero.

        Deliverable 1: the flow #

        The singlet de-isolation flow Φ = measurementFlow 4 finProdFinEquiv on the dilated projective ontic space Σ' = ℂℙ¹⁵ = ℙ(EuclideanSpace ℂ (Fin 16)) (16 = 4·4). This is the LF5-B von Neumann de-isolation flow instantiated at the joint two-qubit system N = 4. ⚠️ It is an apparatus dynamics; it is not shown to factorise by wing (ℤ/4 ≠ ℤ/2 × ℤ/2). Product locality is A.3's localDeisolation_factorises, extended by localMeasurementChain_factorises.

        Equations
        Instances For

          The singlet de-isolation flow is Fubini–Study measure-preserving (the Liouville / hΦ_pres content), inherited from measurementFlow_measurePreserving.

          The singlet de-isolation flow is genuinely not the identity (N = 4 > 1), inherited from measurementFlow_ne_id.

          Deliverable 2: pointer-block FS volume = P_st (the headline) #

          theorem CSD.LF6.singletDeisolation_pointer_volume {M : } (a b : LF3.DetectorSetting) (hgen : ∀ (s t : LF3.Sign), 0 < LF3.P_st a b s t) (e : Fin 4 × Fin 4 Fin (M + 1)) (p₀ : LF4.CPN (M + 1)) (ψ' : EuclideanSpace (Fin (M + 1))) (hψ'eq : ψ' = (LinearIsometryEquiv.piLpCongrLeft 2 e) ((Matrix.toEuclideanLin (LF5.vnDilationV 4)) (nudgedSinglet a b))) (hψ'0 : ψ' 0) (s t : LF3.Sign) :
          n : Fin 4, ((Matrix.UnitaryGroup.fubiniStudyMeasure p₀) (LF4.bornRegion ψ' hψ'0 (e (n, stIdx (s, t))))).toReal = LF3.P_st a b s t

          The reproduction (the A.2 headline). The joint BornRegion pointer-block (s, t) Fubini–Study volume of the singlet de-isolation flow equals the LF3 singlet kernel P_st a b s t, for the prepared state φ = nudgedSinglet a b.

          A deterministic FS-measure-preserving de-isolation flow's contextual carve (the joint moment-subdivision BornRegion, never a setting-local product region) has block volumes = the singlet kernel. The proof composes LF5 vnDilation_pointer_volume at N = 4 (pointer-block volume = ‖⟨e_i, φ⟩‖², Gleason-free, imported from the DH/FS-volume engine) with the nudge coordinate-Born identity nudgedSinglet_born (which composes the unitary invariance step with LF3 singletJointEig_born). Generic context (hgen).

          Deliverable 3: a.s. pointer-block frequencies → P_st #

          theorem CSD.LF6.singletDeisolation_frequency {M : } (a b : LF3.DetectorSetting) (hgen : ∀ (s t : LF3.Sign), 0 < LF3.P_st a b s t) (e : Fin 4 × Fin 4 Fin (M + 1)) (ψ' : EuclideanSpace (Fin (M + 1))) (hψ'eq : ψ' = (LinearIsometryEquiv.piLpCongrLeft 2 e) ((Matrix.toEuclideanLin (LF5.vnDilationV 4)) (nudgedSinglet a b))) (hψ'0 : ψ' 0) (p₀ : LF4.CPN (M + 1)) {Ω : Type u_1} [MeasurableSpace Ω] {Pr : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure Pr] (X : ΩLF4.CPN (M + 1)) (hX : ∀ (n : ), Measurable (X n)) (hlaw : ∀ (n : ), MeasureTheory.Measure.map (X n) Pr = Matrix.UnitaryGroup.fubiniStudyMeasure p₀) (hindep : ∀ (j : Fin (M + 1)), Pairwise (Function.onFun (fun (f g : Ω) => ProbabilityTheory.IndepFun f g Pr) fun (n : ) => (X n ⁻¹' LF4.bornRegion ψ' hψ'0 j).indicator fun (x : Ω) => 1)) :
          ∀ᵐ (ω : Ω) Pr, ∀ (s t : LF3.Sign), Filter.Tendsto (fun (m : ) => n : Fin 4, (∑ kFinset.range m, (X k ⁻¹' LF4.bornRegion ψ' hψ'0 (e (n, stIdx (s, t)))).indicator (fun (x : Ω) => 1) ω) / m) Filter.atTop (nhds (LF3.P_st a b s t))

          The empirical capstone. For i.i.d. Fubini–Study-typical trials on the dilated Σ' = ℂℙ¹⁵ (the sector-typicality posit (SO-1) on the enlarged entangled sector), almost surely every pointer-block (s, t) empirical frequency converges to the singlet kernel P_st a b s t. Instantiates LF5 vnDilation_pointer_frequency at N = 4, φ = nudgedSinglet a b, and lands the limit on P_st via nudgedSinglet_born.

          Deliverable 4: the carve is contextual (the safety anchor, via A.1) #

          theorem CSD.LF6.singletDeisolation_blockVolume_correlation {M : } (a b : LF3.DetectorSetting) (hgen : ∀ (s t : LF3.Sign), 0 < LF3.P_st a b s t) (e : Fin 4 × Fin 4 Fin (M + 1)) (p₀ : LF4.CPN (M + 1)) (ψ' : EuclideanSpace (Fin (M + 1))) (hψ'eq : ψ' = (LinearIsometryEquiv.piLpCongrLeft 2 e) ((Matrix.toEuclideanLin (LF5.vnDilationV 4)) (nudgedSinglet a b))) (hψ'0 : ψ' 0) :
          st : LF3.Sign × LF3.Sign, st.1.val * st.2.val * n : Fin 4, ((Matrix.UnitaryGroup.fubiniStudyMeasure p₀) (LF4.bornRegion ψ' hψ'0 (e (n, stIdx (st.1, st.2))))).toReal = -LF3.dotR a b

          The carve's block-volume correlation is the singlet's (−a·b). Composes singletDeisolation_pointer_volume (block volume = P_st) with the LF3 correlation identity correlation_eq_neg_dot (∑ s·t·P_st = −a·b). This is the input fed to the A.1 no-go: the exhibited contextual carve reproduces the singlet correlation function.

          The carve is contextual (the safety anchor, routed through A.1). No setting-local ±1 product partition of any shared probability space (Λ, μ) reproduces the carve's correlation function. The hypothesis hcarve is exactly what singletDeisolation_blockVolume_correlation establishes for the exhibited carve (its block-volume correlation is the singlet's −a·b); the conclusion routes through no_product_partition_realises_singlet (LF6-A.1) — the carve cannot be a product (non-contextual) partition. Measurement is contextual.

          noncomputable def CSD.LF6.carveBlockCorrelation {M : } (p₀ : LF4.CPN (M + 1)) (e : Fin 4 × Fin 4 Fin (M + 1)) (ψ' : EuclideanSpace (Fin (M + 1))) (hψ'0 : ψ' 0) :

          The exhibited carve's block-volume correlation function at settings (a, b): the s·t-weighted sum of the singlet de-isolation carve's pointer-block Fubini–Study volumes. This is the achieved value of the EXHIBITED carve (a sum of bornRegion FS volumes on Σ' = ℂℙ¹⁵, not a free real); by singletDeisolation_blockVolume_correlation it equals the singlet's −a·b.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem CSD.LF6.singletDeisolation_carve_not_product {M : } (e : Fin 4 × Fin 4 Fin (M + 1)) (p₀ : LF4.CPN (M + 1)) (ψ' : LF3.DetectorSettingLF3.DetectorSettingEuclideanSpace (Fin (M + 1))) (hψ'0 : ∀ (a b : LF3.DetectorSetting), ψ' a b 0) (hgen : ∀ (a b : LF3.DetectorSetting) (s t : LF3.Sign), 0 < LF3.P_st a b s t) (hψ'eq : ∀ (a b : LF3.DetectorSetting), ψ' a b = (LinearIsometryEquiv.piLpCongrLeft 2 e) ((Matrix.toEuclideanLin (LF5.vnDilationV 4)) (nudgedSinglet a b))) {Λ : Type u_1} [MeasurableSpace Λ] (μ : MeasureTheory.Measure Λ) [MeasureTheory.IsProbabilityMeasure μ] (RA RB : LF3.DetectorSettingΛ) (hPP : IsProductPartition RA RB) (hmatch : ∀ (a b : LF3.DetectorSetting), Empirical.QM.E91.lhvCorrelation μ RA RB a b = carveBlockCorrelation p₀ e (ψ' a b) ) :

            The exhibited carve is not a product partition (LF6-A.2, the composed contextuality corollary). No setting-local ±1 product partition of any shared probability space (Λ, μ) reproduces the EXHIBITED singlet de-isolation carve's block-volume correlation function.

            This closes the A.2 contextuality juxtaposition into a single theorem: the hypothesis hmatch feeds the carve's OWN achieved value (carveBlockCorrelation, a s·t-weighted sum of the carve's bornRegion Fubini–Study volumes — not a free −a·b) at every setting pair, and the conclusion routes through A.1 no_product_partition_realises_singlet. The proof discharges each carve correlation to the singlet's −a·b via singletDeisolation_blockVolume_correlation (which is exactly block volume = P_st composed with correlation_eq_neg_dot), then applies singletDeisolation_carve_contextual. So the statement is about the dynamical carve exhibited above, not about an externally supplied −a·b.

            The carve data is a family indexed by the setting pair (ψ' a b is built from nudgedSinglet a b for that context); the CHSH no-go consumes all four setting pairs, so the family is essential — no single product partition can match the contextual carve across the canonical Bell settings.

            ⚠️ Corrected 2026-08-10. This previously described ψ' a b as the prepared (U_A^x ⊗ U_B^y)† ψ⁻. It is not: nudgedSinglet strips every phase, so it is not a local-unitary image of the singlet. See its docstring, and use LF6.localNudgeVec where locality matters.

            ⚠️ Scope: hgen is required at each of the four settings, so this theorem does not cover a·b = ±1. The local route (localDeisolation_pointer_volume_local) carries no such restriction.

            Deliverable 6: the capstone #

            theorem CSD.LF6.singletDeisolation_flow_capstone {M : } (a b : LF3.DetectorSetting) (hgen : ∀ (s t : LF3.Sign), 0 < LF3.P_st a b s t) (e : Fin 4 × Fin 4 Fin (M + 1)) (p₀ : LF4.CPN (M + 1)) (ψ' : EuclideanSpace (Fin (M + 1))) (hψ'eq : ψ' = (LinearIsometryEquiv.piLpCongrLeft 2 e) ((Matrix.toEuclideanLin (LF5.vnDilationV 4)) (nudgedSinglet a b))) (hψ'0 : ψ' 0) {Ω : Type u_1} [MeasurableSpace Ω] {Pr : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure Pr] (X : ΩLF4.CPN (M + 1)) (hX : ∀ (n : ), Measurable (X n)) (hlaw : ∀ (n : ), MeasureTheory.Measure.map (X n) Pr = Matrix.UnitaryGroup.fubiniStudyMeasure p₀) (hindep : ∀ (j : Fin (M + 1)), Pairwise (Function.onFun (fun (f g : Ω) => ProbabilityTheory.IndepFun f g Pr) fun (n : ) => (X n ⁻¹' LF4.bornRegion ψ' hψ'0 j).indicator fun (x : Ω) => 1)) :
            LF5.measurementFlow 4 e id MeasureTheory.MeasurePreserving (LF5.measurementFlow 4 e) (Matrix.UnitaryGroup.fubiniStudyMeasure p₀) (Matrix.UnitaryGroup.fubiniStudyMeasure p₀) (∀ (s t : LF3.Sign), n : Fin 4, ((Matrix.UnitaryGroup.fubiniStudyMeasure p₀) (LF4.bornRegion ψ' hψ'0 (e (n, stIdx (s, t))))).toReal = LF3.P_st a b s t) st : LF3.Sign × LF3.Sign, st.1.val * st.2.val * n : Fin 4, ((Matrix.UnitaryGroup.fubiniStudyMeasure p₀) (LF4.bornRegion ψ' hψ'0 (e (n, stIdx (st.1, st.2))))).toReal = -LF3.dotR a b (∀ᵐ (ω : Ω) Pr, ∀ (s t : LF3.Sign), Filter.Tendsto (fun (m : ) => n : Fin 4, (∑ kFinset.range m, (X k ⁻¹' LF4.bornRegion ψ' hψ'0 (e (n, stIdx (s, t)))).indicator (fun (x : Ω) => 1) ω) / m) Filter.atTop (nhds (LF3.P_st a b s t))) ∀ (Λ : Type) [inst : MeasurableSpace Λ] (μ : MeasureTheory.Measure Λ) [MeasureTheory.IsProbabilityMeasure μ] (RA RB : LF3.DetectorSettingΛ), IsProductPartition RA RB(∀ (a' b' : LF3.DetectorSetting), Empirical.QM.E91.lhvCorrelation μ RA RB a' b' = -LF3.dotR a' b')False

            The LF6-A.2 capstone: the singlet de-isolation flow. A deterministic, Fubini–Study-measure-preserving de-isolation flow Φ ≠ id on the dilated Σ' = ℂℙ¹⁵ whose contextual joint-BornRegion carve reproduces the LF3 singlet kernel P_st, with a.s. block frequencies → P_st and a contextuality anchor routed through A.1. Conjuncts:

            1. genuine dynamics, Φ ≠ id (singletDeisolation_ne_id);
            2. physically admissible: FS measure-preserving (singletDeisolation_measurePreserving);
            3. pointer-block FS volume = the singlet kernel, every sector (singletDeisolation_pointer_volume);
            4. the carve's block-volume correlation is the singlet's −a·b (singletDeisolation_blockVolume_correlation);
            5. a.s. block frequencies → P_st (singletDeisolation_frequency);
            6. the carve is contextual: no setting-local ±1 product partition reproduces the −a·b correlation of the carve (singletDeisolation_carve_contextual, routed through A.1 no_product_partition_realises_singlet).

            The contextuality conjunct (6) is no longer a juxtaposition of two separate facts: singletDeisolation_carve_not_product composes the EXHIBITED carve's achieved block-volume correlation (carveBlockCorrelation, the s·t-weighted sum of the carve's bornRegion FS volumes) with A.1 in one theorem — feeding the carve's own value, not a free −a·b, into no_product_partition_realises_singlet.

            The flow is an apparatus dynamics (LF5 @ N=4) — not shown to be a wing product; see the module header. The carve is contextual (the joint moment subdivision, A.1). Born = FS-volume is imported from the DH/FS-volume engine, not re-derived. ⚠️ A.3 does not factorise this flow. A.2 (here) provides a joint N = 4 realisation that is not wing-factorised; LF6-A.3 (LocalDeisolationFlow.localDeisolation_factorises) independently supplies a factorised local realisation of the same joint measurement, extended to the whole finite chain by LF6.localMeasurementChain_factorises. Residue: SO-1 (the entangled sector posited). Honest ledger: module docstring.