II B: code equivalence preserves updated states and thresholds, (7)
OpenQAlgorithms.Papers.Independent.Intakethird100.P30.equivalentCodesLet and be nonempty codes of distinct -bit words, . Suppose a permutation of coordinates followed by XOR with one fixed binary word maps their underlying code sets onto one another; word enumeration is immaterial. Let and denote their Bob-only filtered six-state operators. There are local permutation unitaries on Alice and between the code-label registers, chosen independently of , such that
Consequently the two operators are symmetrically extendable for exactly the same QBERs, and
This is the fixed-basis interpretation of the source's equality: changing word order or coordinate labels changes matrix coefficients by local unitaries.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P30
noncomputable section
namespace QAlgorithms.Papers.Independent.Intakethird100.P30
open scoped BigOperators Matrix ComplexConjugate ComplexOrder
attribute [local instance] Classical.propDecidable Classical.decEq
variable {I J K L A B : Type}
variable [Fintype I] [Fintype J] [Fintype K] [Fintype L]
variable [Fintype A] [Fintype B]
/-- PDF pp.3–4, (7): equality means local permutation conjugacy, independently
of Q. Printed raw matrix equality is corrected using p.3's ordering convention. -/
theorem equivalentCodes {n : ℕ} (hn : 1 ≤ n) [Nonempty K] [Nonempty L]
(C : K → Qubits n) (D : L → Qubits n)
(hC : Function.Injective C) (hD : Function.Injective D)
(hCD : CodeEquivalent C D) :
(∃ (u : Equiv.Perm (Qubits n)) (v : L ≃ K),
let U : Matrix (Qubits n) (Qubits n) ℂ := fun a b => if a = u b then 1 else 0
let V : Matrix K L ℂ := fun k l => if k = v l then 1 else 0
Uᴴ * U = 1 ∧ U * Uᴴ = 1 ∧ Vᴴ * V = 1 ∧ V * Vᴴ = 1 ∧
∀ Q : ℝ, 0 ≤ Q → Q ≤ 1 / 2 →
bobState C Q = Matrix.kronecker U V * bobState D Q * (Matrix.kronecker U V)ᴴ) ∧
(∀ Q : ℝ, 0 ≤ Q → Q ≤ 1 / 2 →
(BobExtendible (bobState C Q) ↔ BobExtendible (bobState D Q))) ∧
bobThreshold C = bobThreshold D := by sorry
end QAlgorithms.Papers.Independent.Intakethird100.P30
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let , let be finite nonempty label types with the required decidable equality, and let and be injective. Assume there exist a coordinate permutation , a Boolean mask , and a bijection such that for every . For either code , define
The theorem asserts the existence of a permutation of all -bit strings and a bijection such that the matrices and satisfy
and, for every ,
For every such , it also asserts that admits a Bob-copy extension if and only if does, where such an extension is a positive semidefinite matrix on an additional copy of the label subsystem with both label-copy partial traces equal to the original matrix, without a trace-one requirement. Finally, it asserts , where
The same work for every in the stated interval.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.