§II (12)–(17): general finite shift-resistant code
OpenQAlgorithms.Papers.Independent.Intakenext100.P12.finite_general_perfectLet be positive integers and with . Define
Then is an isometry onto the common eigenspace of . The operators implement the logical cyclic shift and clock. The half-open syndrome sectors are orthonormal copies of the logical space and exhaust the ambient space. One CPTP recovery corrects every operator in the span of with , , with the exact KL inner products stated explicitly.
This separates perfection of the full syndrome partition from the potentially smaller strict central correction window.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P12
noncomputable section
open scoped BigOperators
open MeasureTheory Matrix ComplexConjugate
open QAlgorithms.Papers.Independent.Dependency50.P10 (Phase sigma)
namespace QAlgorithms.Papers.Independent.Intakenext100.P12
/-- Section II (12)–(17), PDF pp.3–4: the general finite shift-resistant code.
All syndrome sectors partition the space; the strict central window need not be complete.
The source explicitly considers a proper encoding n<d (PDF p.3). -/
theorem finite_general_perfect (d r1 r2 n : ℕ) [NeZero d]
(hr1 : 0 < r1) (hr2 : 0 < r2) (hn : 0 < n) (hd : d = r1 * r2 * n)
(hproper : n < d) :
FiniteCodeConclusion d r1 r2 n := by sorry
end QAlgorithms.Papers.Independent.Intakenext100.P12
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be natural numbers with , , , , , and . Write , and let denote the representative of . For , define
For integers , define the operator
whose matrix has entry at when in , and entry zero otherwise. Let be the complex linear span of the , and let be the complex linear span of all matrices with and . Using the inner products , the conclusion asserts all of the following: for every function , the two equalities and hold if and only if for some ; for all coefficient vectors , ; there exists a recovery map admitting a finite Kraus representation with , such that for every and every unit vector ,
each is fixed by and ; for every ,
the functions , indexed by , , and , satisfy when their entire index triples agree and otherwise, and their complex linear span is all of ; and for every two integer pairs satisfying the strict window inequalities and , and every ,
Here denotes the matrix with entries ; neither the arbitrary functions in the fixed-point characterization nor the coefficient vectors are required to be normalized.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.