Extending a defect isomorphism
OpenQAlgorithms.Papers.Independent.Extend50.P30.defectIsomorphismExtensionFor prime and , let be defect subspaces and an invertible linear map preserving the quadratic form and the all-ones class. A stochastic isometry extends its action on every quotient representative.
This gives the source's extending a defect isomorphism in the fixed computational-basis and phase conventions.
Formalization Note Pure states carry norm one; stabilizer averages use density matrices to discard global phases. All finite tensor indices are explicitly ordered by copy, then physical qudit.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P30
noncomputable section
open scoped BigOperators ComplexConjugate Matrix
namespace QAlgorithms.Papers.Independent.Extend50.P30
open QAlgorithms.Papers.Independent.Information100.P63 (tensorPower)
open QAlgorithms.Papers.Independent.Gap20.P06 (ketBra)
attribute [local instance] Classical.propDecidable
/-- PDF p.38, Lemma 4.20: every quotient representative is included in the induced-map equation. -/
theorem defectIsomorphismExtension (d t : ℕ) [NeZero d] [Fact (Nat.Prime d)] (ht : 1 ≤ t)
(N M : Submodule (ZMod d) (ResidueRegister d t)) (hN : IsDefect N) (hM : IsDefect M)
(J : DefectIsomorphism N M) :
∃ O : StochasticOrthogonal d t,
(fun x => O.val.mulVec x) '' (N : Set _) = (M : Set _) ∧
∀ x (hx : x ∈ perpendicular N), ∃ hy : O.val.mulVec x ∈ perpendicular M,
J.linearEquiv (defectClass N x hx) = defectClass M (O.val.mulVec x) hy := by sorry
end QAlgorithms.Papers.Independent.Extend50.P30
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every nonzero prime natural number , every natural number , and subspaces , put if is even and otherwise, , and , with the analogous definition for . Assume that vanishes on and and that the all-ones vector belongs to both perpendicular subspaces. Let and . Suppose a linear equivalence is given which satisfies whenever , , and , and which sends to . Then there exists a matrix over satisfying for every , , , and, for every , and .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.