OAI/RepresentationTheory/SignedTensor/Basic.lean
70 declarations, 0 contain sorry, 0 declared as axioms
- abbrev
OAI.CoordinateSweeps.SignedTensor.Letterline 15Source comment
p even basis symbols followed by p odd ones, exactly E⊕O in05.abbrev Letter (p : ℕ) := Fin (2*p)
- abbrev
OAI.CoordinateSweeps.SignedTensor.Wordline 16 - def
OAI.CoordinateSweeps.SignedTensor.oddline 18 - def
OAI.CoordinateSweeps.SignedTensor.koszulExponentline 22Source comment
The sign from reordering the odd factors, with positions ordered as in ordinary tensor words. There is no choice of orientation hidden here.def koszulExponent {p l : ℕ} (σ : Equiv.Perm (Fin l)) (w : Word p l) : ℕ := …Mentions: OAI.CoordinateSweeps.SignedTensor.Word
- def
OAI.CoordinateSweeps.SignedTensor.phaseline 26 - def
OAI.CoordinateSweeps.SignedTensor.wordPermline 30Source comment
The underlying ordinary slot permutation; gh applies h first.def wordPerm {p l : ℕ} (σ : Equiv.Perm (Fin l)) : Equiv.Perm (Word p l) where …Mentions: OAI.CoordinateSweeps.SignedTensor.Word
- def
OAI.CoordinateSweeps.SignedTensor.matrixline 37Source comment
Matrix of the exact parity-signed action in the tensor word basis.def matrix {p l : ℕ} (σ : Equiv.Perm (Fin l)) : Matrix (Word p l) (Word p l) ℂ := …Mentions: OAI.CoordinateSweeps.SignedTensor.Word
- lemma
OAI.CoordinateSweeps.SignedTensor.phase_star_mulline 40 - lemma
OAI.CoordinateSweeps.SignedTensor.phase_prodline 46 - lemma
OAI.CoordinateSweeps.SignedTensor.wordPerm_mulline 52 - theorem
OAI.CoordinateSweeps.SignedTensor.phase_mulline 58Source comment
The exact Koszul cocycle, proved from pair inversions, not an action axiom.theorem phase_mul {p l : ℕ} (σ τ : Equiv.Perm (Fin l)) (w : Word p l) : phase (σ*τ) w = phase σ (wordPerm τ w) * phase τ w := by …Mentions: OAI.CoordinateSweeps.SignedTensor.Word, OAI.CoordinateSweeps.SignedTensor.phase, OAI.CoordinateSweeps.SignedTensor.wordPerm
- theorem
OAI.CoordinateSweeps.SignedTensor.matrix_unitaryline 96Source comment
Unitarity follows directly, without assuming the Schur-Weyl or Pieri decomposition.theorem matrix_unitary {p l : ℕ} (σ : Equiv.Perm (Fin l)) : (matrix (p := p) σ).conjTranspose * matrix σ=1 := by …Mentions: OAI.CoordinateSweeps.SignedTensor.matrix
- lemma
OAI.CoordinateSweeps.SignedTensor.phase_oneline 111 - theorem
OAI.CoordinateSweeps.SignedTensor.matrix_oneline 118 - theorem
OAI.CoordinateSweeps.SignedTensor.matrix_mulline 122 - def
OAI.CoordinateSweeps.SignedTensor.actionline 134Source comment
Exact signed tensor representation of the symmetric group.def action (p l : ℕ) : Equiv.Perm (Fin l) →* Matrix (Word p l) (Word p l) ℂ where …
Mentions: OAI.CoordinateSweeps.SignedTensor.Word
- def
OAI.CoordinateSweeps.SignedTensor.densityPowerline 140Source comment
Ordinary (not graded) tensor power of a one-site density, as in05.def densityPower {p : ℕ} (l : ℕ) (r : Matrix (Letter p) (Letter p) ℂ) : Matrix (Word p l) (Word p l) ℂ := fun u w => ∏ i, r (u i) (w i)Mentions: OAI.CoordinateSweeps.SignedTensor.Letter, OAI.CoordinateSweeps.SignedTensor.Word
- lemma
OAI.CoordinateSweeps.SignedTensor.densityPower_mulline 143 - lemma
OAI.CoordinateSweeps.SignedTensor.densityPower_starline 152 - lemma
OAI.CoordinateSweeps.SignedTensor.densityPower_traceline 157 - lemma
OAI.CoordinateSweeps.SignedTensor.densityPower_posSemidefline 163 - def
OAI.CoordinateSweeps.SignedTensor.EvenDensityline 170Source comment
Even means positive trace-one and block diagonal for E,O, exactly as in05.def EvenDensity (p : ℕ) := {r : Matrix (Letter p) (Letter p) ℂ // …Mentions: OAI.CoordinateSweeps.SignedTensor.Letter
- instance
OAI.CoordinateSweeps.SignedTensor.(instance at line 174)line 174 - lemma
OAI.CoordinateSweeps.SignedTensor.phase_eq_of_parityline 177 - lemma
OAI.CoordinateSweeps.SignedTensor.densityPower_parity_of_ne_zeroline 185 - lemma
OAI.CoordinateSweeps.SignedTensor.densityPower_permuteline 196 - theorem
OAI.CoordinateSweeps.SignedTensor.densityPower_commuteline 204Source comment
Even densities commute with the signed action; omission of evenness here would be false. This is also the block-reordering claim at the end of05.theorem densityPower_commute {p l : ℕ} (r : EvenDensity p) (σ : Equiv.Perm (Fin l)) : matrix σ * densityPower l r.val=densityPower l r.val * matrix σ := by …Mentions: OAI.CoordinateSweeps.SignedTensor.EvenDensity, OAI.CoordinateSweeps.SignedTensor.matrix, OAI.CoordinateSweeps.SignedTensor.densityPower
- lemma
OAI.CoordinateSweeps.SignedTensor.evenDensityPower_traceline 230 - def
OAI.CoordinateSweeps.SignedTensor.isotypicline 236Source comment
The standard central character formula for the isotypic projection. Its projection properties require the signed action laws (not assumed here).def isotypic {p l : ℕ} (ρ : UnitaryIrrep (Equiv.Perm (Fin l))) : Matrix (Word p l) (Word p l) ℂ := …Mentions: OAI.CoordinateSweeps.UnitaryIrrep, OAI.CoordinateSweeps.SignedTensor.Word
- def
OAI.CoordinateSweeps.SignedTensor.Dominationline 245Source comment
Exact signed-density domination05 eq13, expressed for every irreducible (including absent ones whose projection is zero). The mixture is a genuine probability measure on the source's even density matrices, not an unproved positive operator supplied as a hypothesis.def Domination : Prop := …
- lemma
OAI.CoordinateSweeps.SignedTensor.phase_ne_zeroline 260 - lemma
OAI.CoordinateSweeps.SignedTensor.mul_signed_entryline 265 - lemma
OAI.CoordinateSweeps.SignedTensor.signed_mul_entryline 274 - def
OAI.CoordinateSweeps.SignedTensor.commutantline 287Source comment
The actual signed-action commutant as a linear subspace of matrices.def commutant (p l : ℕ) : Submodule ℂ (Matrix (Word p l) (Word p l) ℂ) where …
Mentions: OAI.CoordinateSweeps.SignedTensor.Word
- lemma
OAI.CoordinateSweeps.SignedTensor.commutant_zero_transportline 293 - abbrev
OAI.CoordinateSweeps.SignedTensor.Profileline 301 - def
OAI.CoordinateSweeps.SignedTensor.profileline 303 - lemma
OAI.CoordinateSweeps.SignedTensor.profile_fiber_cardline 309 - lemma
OAI.CoordinateSweeps.SignedTensor.profile_eq_exists_permline 315Source comment
Two word pairs have the same histogram exactly when a position permutation carries one to the other. This supplies the finite orbit-counting parameter.lemma profile_eq_exists_perm {p l : ℕ} {u w u' w' : Word p l} (hh : profile u w=profile u' w') : ∃ σ : Equiv.Perm (Fin l), wordPerm σ u=u' ∧ wordPerm σ w=w' := by …Mentions: OAI.CoordinateSweeps.SignedTensor.Word, OAI.CoordinateSweeps.SignedTensor.profile, OAI.CoordinateSweeps.SignedTensor.wordPerm
- abbrev
OAI.CoordinateSweeps.SignedTensor.OccurringProfileline 333 - def
OAI.CoordinateSweeps.SignedTensor.profileRepline 336 - lemma
OAI.CoordinateSweeps.SignedTensor.profileRep_specline 339 - def
OAI.CoordinateSweeps.SignedTensor.commutantEvalline 342 - lemma
OAI.CoordinateSweeps.SignedTensor.commutantEval_injectiveline 347 - theorem
OAI.CoordinateSweeps.SignedTensor.commutant_finrank_leline 362Source comment
Polynomial signed-commutant bound of exactly the O(p² log(s+1)) scale required by the main induction. No classification of partitions is used.theorem commutant_finrank_le (p l : ℕ) : Module.finrank ℂ (commutant p l) ≤ (l+1)^((2*p)*(2*p)) := by … - lemma
OAI.CoordinateSweeps.SignedTensor.matrix_invline 375 - abbrev
OAI.CoordinateSweeps.SignedTensor.tensorRepresentationline 383 - def
OAI.CoordinateSweeps.SignedTensor.endomorphismMatrixline 387Source comment
An actual intertwining endomorphism has its coefficient matrix in the signed commutant. This is not an assumed decomposition of the tensor action.def endomorphismMatrix (p l : ℕ) : (tensorRepresentation p l).IntertwiningMap (tensorRepresentation p l) →ₗ[ℂ] commutant p l where …Mentions: OAI.CoordinateSweeps.SignedTensor.tensorRepresentation, OAI.CoordinateSweeps.SignedTensor.commutant
- lemma
OAI.CoordinateSweeps.SignedTensor.endomorphismMatrix_injectiveline 402 - theorem
OAI.CoordinateSweeps.SignedTensor.tensor_endomorphisms_finrank_leline 408 - theorem
OAI.CoordinateSweeps.SignedTensor.multiplicity_leline 416Source comment
The polynomial multiplicity clause of05 signed density lemma, proved without Young diagrams. Multiplicity is the actual space of equivariant embeddings.theorem multiplicity_le (p l : ℕ) (ρ : UnitaryIrrep (Equiv.Perm (Fin l))) : Module.finrank ℂ (ρ.asRepresentation.IntertwiningMap (tensorRepresentation p l)) ≤ (l+1)^((2*p)*(2*p)) := by …Mentions: OAI.CoordinateSweeps.UnitaryIrrep, OAI.CoordinateSweeps.SignedTensor.tensorRepresentation
- lemma
OAI.CoordinateSweeps.SignedTensor.isotypic_eq_projectorline 426 - theorem
OAI.CoordinateSweeps.SignedTensor.isotypic_posSemidefline 431 - theorem
OAI.CoordinateSweeps.SignedTensor.isotypic_traceline 436 - lemma
OAI.CoordinateSweeps.SignedTensor.swap01_inversion_iffline 461 - lemma
OAI.CoordinateSweeps.SignedTensor.phase_swap01line 468 - lemma
OAI.CoordinateSweeps.SignedTensor.wordPerm_swap01_of_equalline 493 - theorem
OAI.CoordinateSweeps.SignedTensor.commutant_entry_zero_adjacent_mismatchline 501Source comment
Two repeated, parity-mismatched pair symbols force a zero entry in every commuting matrix, hence in the canonical purification of an isotypic projector.theorem commutant_entry_zero_adjacent_mismatch {p n : ℕ} (A : commutant p (n+2)) (u w : Word p (n+2)) (hu : u 0 = u 1) (hw : w 0 = w 1) (hm : odd (u 0) ↔ ¬ odd (w 0)) : A.val u w = 0 := by …Mentions: OAI.CoordinateSweeps.SignedTensor.commutant, OAI.CoordinateSweeps.SignedTensor.Word, OAI.CoordinateSweeps.SignedTensor.odd
- lemma
OAI.CoordinateSweeps.SignedTensor.exists_perm_pairline 521Source comment
An explicit two-point transporter, avoiding any unproved transitivity principle or choice of ordering of the other positions.lemma exists_perm_pair {X : Type*} [DecidableEq X] (a b c d : X) (hab : a ≠ b) (hcd : c ≠ d) : ∃ g : Equiv.Perm X, g a = c ∧ g b = d := by …Mentions: OAI.CoordinateSweeps.a, OAI.CoordinateSweeps.c
- theorem
OAI.CoordinateSweeps.SignedTensor.commutant_entry_zero_repeated_mismatchline 538Source comment
All repeated parity-mismatched pair symbols are impossible, at arbitrary positions. Distinct mismatched symbols will therefore account for every exceptional slot in the postselection argument.theorem commutant_entry_zero_repeated_mismatch {p l : ℕ} (A : commutant p l) (u w : Word p l) (i j : Fin l) (hij : i ≠ j) (hu : u i = u j) (hw : w i = w j) (hm : odd (u i) ↔ ¬ odd (w i)) : A.val u w = 0 := by …Mentions: OAI.CoordinateSweeps.SignedTensor.commutant, OAI.CoordinateSweeps.SignedTensor.Word, OAI.CoordinateSweeps.SignedTensor.odd
- def
OAI.CoordinateSweeps.SignedTensor.mismatchSlotsline 567Source comment
Exceptional slots of a vectorized commuting matrix.def mismatchSlots {p l : ℕ} (u w : Word p l) : Finset (Fin l) := …Mentions: OAI.CoordinateSweeps.SignedTensor.Word
- theorem
OAI.CoordinateSweeps.SignedTensor.mismatchSlots_card_leline 572Source comment
The exclusion bound needed for even-density postselection. The coarse constant four rather than two is harmless in the source's absolute Cp² error.theorem mismatchSlots_card_le {p l : ℕ} (A : commutant p l) (u w : Word p l) (hne : A.val u w ≠ 0) : (mismatchSlots u w).card ≤ (2*p)*(2*p) := by …Mentions: OAI.CoordinateSweeps.SignedTensor.commutant, OAI.CoordinateSweeps.SignedTensor.Word, OAI.CoordinateSweeps.SignedTensor.mismatchSlots
- def
OAI.CoordinateSweeps.SignedTensor.regroupPhaseline 591Source comment
The actual Koszul regrouping phase from (V⊗V̄)^⊗l to V^⊗l⊗V̄^⊗l. It will cancel, not be dropped, under partial trace.def regroupPhase {p l : ℕ} (u w : Word p l) : ℂ := …Mentions: OAI.CoordinateSweeps.SignedTensor.Word
- lemma
OAI.CoordinateSweeps.SignedTensor.phase_squareline 595 - lemma
OAI.CoordinateSweeps.SignedTensor.regroupPhase_squareline 599 - lemma
OAI.CoordinateSweeps.SignedTensor.regroupPhase_starline 607 - theorem
OAI.CoordinateSweeps.SignedTensor.regroupPhase_permuteline 617Source comment
Permutations of the matched slots have no residual super-sign after literal Koszul regrouping; the positions of mismatched symbols are fixed.theorem regroupPhase_permute {p l : ℕ} (σ : Equiv.Perm (Fin l)) (u w : Word p l) (hfix : ∀ i, (odd (u i) ↔ ¬ odd (w i)) → σ i = i) : regroupPhase (wordPerm σ u) (wordPerm σ w) * phase σ u * phase σ w = regroupPhase u w := by …Mentions: OAI.CoordinateSweeps.SignedTensor.Word, OAI.CoordinateSweeps.SignedTensor.odd, OAI.CoordinateSweeps.SignedTensor.regroupPhase, OAI.CoordinateSweeps.SignedTensor.wordPerm, OAI.CoordinateSweeps.SignedTensor.phase
- lemma
OAI.CoordinateSweeps.SignedTensor.commutant_transportline 651 - theorem
OAI.CoordinateSweeps.SignedTensor.regrouped_commutant_invariantline 665Source comment
Rephased purification components are ordinary symmetric on the free, matched-pair slots, a proved conclusion from the signed commutant relation.theorem regrouped_commutant_invariant {p l : ℕ} (A : commutant p l) (σ : Equiv.Perm (Fin l)) (u w : Word p l) (hfix : ∀ i, (odd (u i) ↔ ¬ odd (w i)) → σ i = i) : regroupPhase (wordPerm σ u) (wordPerm σ w) * A.val (wordPerm σ u) (wordPerm σ w) = regroupPhase u w * A.val u w := by …Mentions: OAI.CoordinateSweeps.SignedTensor.commutant, OAI.CoordinateSweeps.SignedTensor.Word, OAI.CoordinateSweeps.SignedTensor.odd, OAI.CoordinateSweeps.SignedTensor.regroupPhase, OAI.CoordinateSweeps.SignedTensor.wordPerm
- lemma
OAI.CoordinateSweeps.SignedTensor.regroupPhase_of_same_parityline 677Source comment
Equal local parities in the system copies give equal regrouping signs. This is what justifies cancellation under the actual auxiliary partial trace.lemma regroupPhase_of_same_parity {p l : ℕ} (u u' w : Word p l) (h : ∀ i, odd (u i) ↔ odd (u' i)) : regroupPhase u w = regroupPhase u' w := by …Mentions: OAI.CoordinateSweeps.SignedTensor.Word, OAI.CoordinateSweeps.SignedTensor.odd, OAI.CoordinateSweeps.SignedTensor.regroupPhase