Corrected cat-basis spectral decomposition of the token difference
OpenQAlgorithms.Papers.Independent.Advance50.P33.cat_spectrumLet , for the actual token reductions of Eq. (3), and
These cats are orthonormal and the spectral decomposition and eigenvector identities are
This identifies the full operator, including its zero action on the orthogonal complement of the cat span.
Source correction. Eq. (14) prints the opposite sign assignment. The statement preserves the source's and even/odd labels and corrects those eigenvalue signs. Eqs. (15)--(16), which depend only on their magnitudes, remain unchanged.
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P33
noncomputable section
namespace QAlgorithms.Papers.Independent.Advance50.P33
open Filter
open scoped BigOperators Topology
open QAlgorithms.Papers.Independent.Dependency50.P39
(Fock FockOperator BipartiteFock fockKet bipartiteKet coherentKet
coherentCoefficient CoherentRealized displacement displacementMatrix
DisplacementRealized HasFockMatrix operatorOfMatrix IsDensity IsTraceClass
nuclearTraceNorm fockTrace)
attribute [local instance] Classical.propDecidable Classical.decEq
/-- PDF p.7, Eq.(14), CORRECTED SIGN LABELS: the printed lambda_+=+t on even
and lambda_-=-t on odd are reversed. For H=rho_0-rho_1, even has -t and odd
has +t. The definitions of H and |+>,|-> are preserved; Eqs.(15)--(16) are
unchanged. The discrepancy is recorded in HARD.md for independent moderation. -/
theorem cat_spectrum (a : ℂ) (ha : a ≠ 0) :
CoherentRealized ∧
‖cat a true‖ = 1 ∧ ‖cat a false‖ = 1 ∧ inner ℂ (cat a true) (cat a false) = 0 ∧
tokenDifference a =
(-tokenEigenvalue a : ℝ) • InnerProductSpace.rankOne ℂ (cat a true) (cat a true) +
(tokenEigenvalue a : ℝ) • InnerProductSpace.rankOne ℂ (cat a false) (cat a false) ∧
tokenDifference a (cat a true) = (-tokenEigenvalue a : ℂ) • cat a true ∧
tokenDifference a (cat a false) = (tokenEigenvalue a : ℂ) • cat a false := by sorry
end QAlgorithms.Papers.Independent.Advance50.P33
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every nonzero complex number , the following assertions hold. Let and , with coordinate vectors and , respectively, and write . For each , let be the chosen vector in with coordinates , if one exists, and zero otherwise; the theorem asserts these coordinate formulas and for every . Put , , and define
Let be a chosen bounded complex-linear operator satisfying
if such an operator exists, and zero otherwise; infinite sums in these definitions are assigned zero when not summable. Set and . Then , , and
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.