LF5: syndrome measurement as a coarse-grained de-isolation flow (QEC, projective tier) #
Category: 3-Local (LF5 measurement-dynamics layer, QEC tranche).
The projective / coherent-error half of the CSD ontic reading of quantum error
correction. The three-qubit bit-flip code's syndrome measurement
(Z₁Z₂, Z₂Z₃) is realised as a coarse-graining of the LF5 von Neumann
computational-basis (Z-basis) de-isolation flow at N = 8 (the 3-qubit register).
The key structural fact #
The stabilisers Z₁Z₂, Z₂Z₃ (CSD.Empirical.QM.QEC.Z1Z2 / Z2Z3) are diagonal
in the computational basis: on |x₁x₂x₃⟩ they act by (-1)^{x₁⊕x₂}, (-1)^{x₂⊕x₃}.
So the syndrome is a function of the computational bitstring, and the syndrome
measurement is a coarse-graining of the Z-basis measurement: the 8
computational outcomes Fin 2 × Fin 2 × Fin 2 ≃ Fin 8 partition into 4 syndrome
classes of 2 each (synClass, matched to CSD.Empirical.QM.QEC.errorSyndrome:
I → 0 (+,+), X₁ → 1 (−,+), X₂ → 2 (−,−), X₃ → 3 (+,−)).
Therefore this module builds no new dilation. It reuses the LF5 N = 8
computational-basis machinery (basisPOVM, vnNaimark, measurementFlow,
vnDilation_pointer_volume) and the unconditional FS-volume = Born engine
(LF4/BornRegionUncond.lean), and only coarse-grains the pointer index by
synClass.
What is delivered #
Stratum 1 — syndrome statistics as Kähler volumes, read by a deterministic flow.
synClass : Fin 8 → Fin 4— the parity classifier;synClass_surjOn,synClass_fiber_card(each class has exactly 2 preimages — the partition is genuine and the classes are nonempty).syndromeWeight ψ s = ∑_{i : synClass i = s} ‖ψᵢ‖²(syndromeWeight), andsyndromeWeight_eq_pointer_sum/syndromeWeight_eq_fs_volume_sum: the syndrome weight is the block sum over the syndrome class of the computational-basis Born weights, hence (viavnDilation_pointer_volumeatN = 8+ finite additivity of the FS measure over the disjoint pointer-block cells) a sum of Fubini–Study volumes.- The syndrome-
sregionsyndromeRegion ψ' hψ'0 e sis the union of the pointer-iblocks overi ∈ class s(the partition into syndrome blocks issynClass, a fixedψ-INDEPENDENT function — pre-registered tripwire), andsyndromeRegion_fs_volumeproves its FS volume= syndromeWeight ψ s. - The flow
Φ_synismeasurementFlow N=8 eitself — alreadyΦ ≠ idand FS-measure-preserving, inherited directly.
Stratum 2 — codeword specialisation + recovery.
- The Z-basis support of
logical a bis{000, 111} ⊆ class 0, and ofXⱼ · logicalis⊆ class j. (Established inline inside the weight computation below; there is no standalone support lemma. This bullet previously namedsynClass_logicalSupport/synClass_erroredSupport, neither of which was ever written — corrected 2026-08-19, seescripts/check-doc-promises.sh.) syndromeWeight_logical:syndromeWeight (Xⱼ·logical) s = (if s = j then ‖a‖²+‖b‖² else 0)— the deterministic syndrome (indicator on blockjfor a unit codeword).- Recovery is the matrix transport of
bitflip_recovers/three_qubit_corrects_single_bitflip(CSD.Empirical.QM.QEC): re-applying the identifiedXⱼrestores the logical ray. The codeword's syndrome-block FS volume reading is NOT bundled into the headline; it follows by instantiatingsyndromeRegion_fs_volumeat the (unit-normalised) errored codeword. What conjunct (4) proves is the codeword's deterministic syndrome weight statistic plus the matrix recovery equalities, on a state distinct from conjunct (3)'s freeψ(no shared preparation, no normalisation hypothesis ona, b).
Module headline #
syndrome_flow_born_volume bundles: Φ_syn ≠ id ∧ FS-measure-preserving ∧
(∀ unit ψ, ∀ s, syndrome-block FS volume = syndromeWeight ψ s = block sum of
computational-basis FS volumes) ∧ (codeword corollary: deterministic syndrome +
recovery restores the logical coordinates).
Honest scope #
Projective / coherent-error tier only. The Born = FS-volume identity is
derived one layer down (the moment-map / Duistermaat–Heckman cluster,
fs_born_volume_ratio_N / born_frequency_convergence_N: the FS volume of a
pure-geometry region equals ‖⟨eᵢ,ψ⟩‖², Gleason-free, no Born put in) and
imported here via vnDilation_pointer_volume / bornRegion_fs_measure_uncond;
this module re-proves nothing about the number and takes Born as no primitive. Its
increment is the syndrome-readout dynamics. What is posited is not Born but
the CSD sector (SO-1) — that the sector's typicality law is the Fubini–Study measure; Born = volume
is a theorem, FS-as-typicality is the sector posit (reducing to D1). The syndrome partition into blocks is synClass, a
fixed ψ-independent function; only the underlying cell shapes
(bornRegion ψ') are ψ'-dependent (engine realisation mechanism, measures
forced by Kähler geometry). The decoherence / partial-trace origin (the
system→environment volume-loss reading of incoherent errors) is NOT here — it
is the gated entangled tier (specs/lf5-plan.md §0; Bell forces non-locality).
The recovery-correctness half is a transport of the matrix fact
(bitflip_recovers); the genuinely-new content is the volume / flow realisation
of the syndrome readout (Stratum 1).
Mirrors the register-Σ honesty conventions of the other LF5 module docstrings.
Reference: specs/lf5-plan.md; specs/carve-out-plan.md §6.
The 3-qubit register index and the syndrome classifier #
The syndrome classifier on the triple index. Maps the computational
bitstring (x₁, x₂, x₃) to its syndrome class in Fin 4, matched to
CSD.Empirical.QM.QEC.errorSyndrome (machine-checked: errorSyndrome_synClass3):
the eigenvalue pair ((-1)^{x₁⊕x₂}, (-1)^{x₂⊕x₃}) reads (+,+) → 0, (−,+) → 1,
(−,−) → 2, (+,−) → 3.
Equations
Instances For
The classifier IS the errorSyndrome index (machine-checked anchor).
synClass3 x is exactly the Fin 4 index whose CSD.Empirical.QM.QEC.errorSyndrome
sign-pair equals the stabiliser eigenvalue pair ((-1)^{x₁⊕x₂}, (-1)^{x₂⊕x₃}) of
the computational basis state x. This upgrades the "matched to errorSyndrome"
docstring claim of synClass3 into a theorem: the labels 0,1,2,3 are not an
arbitrary convention but the genuine errorSyndrome indices. (The complementary
load-bearing fact — the support of Xⱼ·logical lands in class j — is
syndromeWeight_Xⱼ_logical below.)
Each syndrome class has exactly two basis states (genuine partition) #
The syndrome partition is genuine: each class has exactly two computational
basis states. Hence the four classes are nonempty and partition the 8 outcomes.
The parity map (x₁⊕x₂, x₂⊕x₃) is a bijection Fin 2 × Fin 2 × Fin 2 ≃ Fin 2 × Fin 2 × Fin 2 onto (parity₁, parity₂, x₃), so each (parity₁, parity₂) has
exactly two preimages (the two values of x₃).
Syndrome weights as block sums of computational-basis Born weights #
The syndrome weight. For a preparation ψ on the 3-qubit register
(Fin 8), the weight of syndrome class s is the block sum, over the computational
outcomes i in class s, of the computational-basis Born weights ‖ψᵢ‖².
Equations
- CSD.LF5.syndromeWeight ψ s = ∑ i : Fin 8 with CSD.LF5.synClass i = s, ‖ψ.ofLp i‖ ^ 2
Instances For
Syndrome weight = block sum of computational-basis Born weights (the definitional unfolding stated against the Born quadratic form).
The syndrome region: the union of the pointer blocks over the class #
The cell index of the syndrome-s region: the pairs (n, i) with the pointer
i in syndrome class s. The cell shapes are the dilated Born cells; this index
set — the partition into syndrome blocks — is synClass, ψ-independent and
context-fixed (the pre-registered tripwire: ψ must not leak into the block
partition).
Equations
- CSD.LF5.synCellIndex s = {p : Fin 8 × Fin 8 | CSD.LF5.synClass p.2 = s}
Instances For
The syndrome-s region on the dilated ontic ℂℙ^{63}: the union of the
pointer-i blocks {(n, i) : n} over the computational outcomes i ∈ class s.
The dilated Born cells bornRegion ψ' provide the shapes; the partition into
syndrome blocks is the fixed synClass.
Equations
- CSD.LF5.syndromeRegion ψ' hψ'0 e s = ⋃ p ∈ CSD.LF5.synCellIndex s, CSD.LF4.bornRegion ψ' hψ'0 (e p)
Instances For
The cells bornRegion ψ' (e p) indexed by distinct p are disjoint
(bornRegion_pairwiseDisjoint + e injective).
The syndrome-block FS volume equals the syndrome weight (Stratum 1, step 3).
The Fubini–Study typicality volume of the syndrome-s region equals
syndromeWeight ψ s = the block sum of the computational-basis Born weights, for
every unit preparation ψ. Finite additivity of the FS measure over the
disjoint cells (measure_biUnion_finset) reduces it to the per-pointer
vnDilation_pointer_volume identities summed over the class.
Syndrome weight = a sum of Fubini–Study volumes (Stratum 1, step 2,
headline form). Reads each pointer-block weight in syndromeWeight as its
constituent sum of dilated-cell FS volumes (vnDilation_pointer_volume), giving
the syndrome weight as an explicit double sum of FS volumes over the syndrome
class.
Stratum 2: codeword specialisation #
The reindex of the 3-qubit register state v : H3 onto EuclideanSpace ℂ (Fin 8) along q3. The Z-basis amplitudes are permuted, not changed:
(regOfH3 v).ofLp (q3 x) = v.ofLp x.
Equations
Instances For
regOfH3 preserves norm (it is a linear isometry).
The syndrome weight, with the class sum pulled back along q3 to a sum over
the triple index of the squared register amplitudes.
The logical codeword's Z-basis support lies in syndrome class 0. The only
nonzero amplitudes of logical a b are at 000 and 111, both with syndrome
class 0 ((+,+)). Hence the syndrome weight vanishes off class 0, and equals
‖a‖² + ‖b‖² on class 0.
Errored codewords: deterministic syndrome #
The errored codeword Xⱼ · (logical a b), for j ∈ {1, 2, 3} (here
indexed by the matrices X1, X2, X3).
Equations
- CSD.LF5.erroredLogical Xⱼ a b = (Matrix.toEuclideanLin Xⱼ) (CSD.Empirical.QM.QEC.logical a b)
Instances For
A bit-flip permutes the {000, 111} support of the codeword to a two-element
support whose two outcomes share a single syndrome class cj. The squared
amplitudes are ‖a‖² and ‖b‖² on the two flipped basis states. Stated as: for
each x, the squared amplitude is (if x = p₀ then ‖a‖² else 0) + (if x = p₁ then ‖b‖² else 0), with synClass3 p₀ = synClass3 p₁ = cj.
Deterministic syndrome for the error X₁. X₁ · logical is supported on
{100, 011} ⊆ class 1, so its syndrome weight is the indicator on block 1.
Deterministic syndrome for the error X₂. X₂ · logical is supported on
{010, 101} ⊆ class 2.
Deterministic syndrome for the error X₃. X₃ · logical is supported on
{001, 110} ⊆ class 3.
Recovery (transport of the matrix fact) #
Recovery restores the logical state (transport of
CSD.Empirical.QM.QEC.bitflip_recovers): once the deterministic syndrome
(syndromeWeight_Xⱼ_logical) identifies the error Xⱼ, re-applying it returns
the microstate to the codespace, hence the logical ray and its syndrome-block FS
volume coordinates are exactly restored. This half is the matrix transport; the
new content is the volume realisation of the readout (Stratum 1).
The syndrome de-isolation flow Φ_syn #
The syndrome de-isolation flow Φ_syn is the LF5 von Neumann
computational-basis measurement flow at N = 8 (the 3-qubit register), with the
pointer coarse-grained by synClass. It inherits Φ_syn ≠ id and
FS-measure-preservation directly.
Equations
Instances For
Φ_syn is FS-measure-preserving (the Liouville / hΦ_pres content,
inherited from measurementFlow_measurePreserving).
The module headline #
The syndrome-flow Born-volume capstone (projective / coherent-error tier).
For the context-fixed von Neumann coupling e at N = 8 and every unit
preparation ψ on the 3-qubit register:
- the syndrome de-isolation dynamics is genuine,
Φ_syn ≠ id(syndromeFlow_ne_id); - it is physically admissible: FS-measure-preserving — the Liouville /
hΦ_prescontent (syndromeFlow_measurePreserving); - for every syndrome class
s, the syndrome-block FS volume equalssyndromeWeight ψ s, the block sum (over the syndrome class) of the computational-basis Born weights — itself a sum of Fubini–Study volumes of the disjoint dilated cells (syndromeRegion_fs_volume,syndromeWeight_eq_fs_volume_sum); - codeword corollary: the error
X₁onlogical a bgives a deterministic syndrome weight concentrated on block1(syndromeWeight_X1_logical), and recovery (syndrome_recovery) restores the logical state. NB conjunct (4) concerns a state distinct from conjunct (3)'s freeψand is not normalised; the codeword's FS-volume reading (not bundled here) follows by instantiatingsyndromeRegion_fs_volumeat the unit-normalised errored codeword.
Pure assembly of the Stratum-1 / Stratum-2 results; the honest-scope ledger (coherent-error tier; Born = volume derived one layer down and imported, not re-proved nor postulated; the posited primitive is SO-1 / FS-typicality; decoherence/partial-trace NOT here) is the module docstring.