Definitions for Quantum Spectrum Testing
DefinitionQAlgorithms_Papers_Independent_Extend50_P34The objects the formalized statements of Quantum Spectrum Testing (arXiv:1501.05028) are stated in. Each was checked against the paper by a blind read-back and a moderator.
decreasingSpectrum: Decreasing spectrum, padded to the ambient dimension (PDF pp.9-10).unif: The uniform spectrum; only positive dimensions occur in statements (PDF p.22).classicalAccept: Acceptance of a randomized classical test of n samples (PDF pp.10-11).Far: Separation from every property member; valid also for the empty property (PDF p.10).IsSpectralProperty: Symmetric closed properties consist of probability distributions (PDF pp.10-11).QuantumTest: Fixed collective n-copy effect, chosen before the unknown density matrix (PDF p.10).QuantumTestable: Attainable quantum testing guarantees, with no restriction on internal computation (PDF p.10).ClassicalTest: Fixed randomized classical test and its worst-input guarantees (PDF pp.10-11).ClassicalTestable: Attainable iid classical testing guarantees (PDF p.11).supportProperty: Support size at most r, as clarified by the abstract (PDF pp.1,5).ownShape: Unrestricted diagram viewed in the accepted Specht construction (PDF pp.11,16-18).dim: Specht dimension, distinct from the Schur/unitary-group dimension (PDF p.14).extendedSchurPolynomial: Schur polynomial extended by zero beyond the alphabet height (PDF p.15).schurAt: Schur polynomial evaluation (PDF p.15).content: Signed cell content j-i in zero-based coordinates (PDF p.13).contentProduct: Content product d-up-arrow-lambda (PDF p.13).sw: Physical Schur mass on all n, including zero copies; no renormalization (PDF pp.19-22).swSpectrum: Classical-spectrum Schur law via the diagonal density matrix (PDF pp.21-22).expect: Finite Schur expectation, with the law's physical mass (PDF p.26).event: Event mass without conditional renormalization (PDF pp.24,29).schurVariance: Centered variance on the finite Schur law (PDF p.52).eydError: EYD TV error; n>0 is required wherever used (PDF p.29).chiSq: Chi-squared divergence on a finite set (PDF p.9); applications have common support.kl: KL divergence on a finite set (PDF p.9); used only with supp p contained in supp q.rankLaw: Both rank laws embedded in the larger rank's shape space (PDF pp.44-55).adjacentKL: Common-space KL for adjacent uniform ranks, in the stated direction (PDF p.44).adjacentTV: Common-space TV for adjacent uniform ranks (PDF p.52).insertRow: Row insertion bumps the first strictly larger entry (PDF p.15).insertTableau: Recursive row bumping, adding a row when necessary (PDF p.15).rsk: RSK shape from the actual row-insertion algorithm; sorting is inert on valid output (PDF p.15).greeneStatistic: Length of the longest union of k disjoint weakly increasing subsequences (PDF pp.5,16).greeneReport: The d observable Greene statistics, indexed by k=1,...,d (PDF p.5).GreeneTestable: Classical tests whose decisions depend only on the Greene report (PDF p.5).diagrams: Every partition of given size and bounded height, as a finite diagram set (PDF p.11).diagramsLE: All diagrams of size at most K, including the empty partition (PDF pp.11,25).observableWeight: Source weight |mu|+length(mu) (PDF p.28).falling: Falling factorial; Nat subtraction gives the intended zero for k>n (PDF p.13).powerParts: Power-sum polynomial indexed by positive parts, including the empty product (PDF p.14).fullCycle: Full cycle type including fixed points; Mathlib cycleType alone omits them (PDF p.11).character: Character of an unrestricted diagram in the accepted physical Specht construction (PDF pp.16-18).classCharacter: Character on a cycle class, as its class average; no arbitrary representative (PDF p.17).sharpParts: Central character p-sharp, extended by zero when |mu| exceeds |lambda| (PDF p.25).sharp: Central character indexed by a partition (PDF p.25).starShift: Shifted power sum p-star with arbitrary shift c; rows are one-based in the source (PDF p.31).starPower: The canonical p-star uses c=-1/2 (PDF p.25).shiftedSchur: Shifted Schur observable from the Fourier characterization, Theorem 2.33 (PDF p.26).multiplicityFact: Product of multiplicity factorials, with the empty product equal to one (PDF p.47).leading: Explicit highest-weight term in p-star_k (PDF p.47).remainder: The error observable is computed, never supplied as a free variable (PDF p.47).observable: Evaluate a finite rational central-character expansion on every shape (PDF pp.47,51).paninski: Paninski's alternating perturbation, on even positive dimensions (PDF pp.34-35).perturbed: General perturbation Q_x, used only for sum x=0 and x_i≥-1 (PDF p.35).mixednessStateAccept: The Mixedness Tester's acceptance on an arbitrary state (PDF p.33).rankAccept: Rank Tester's acceptance probability on the actual input state (PDF p.56).RankTesterWorks: Source Rank Tester guarantee, including perfect completeness (PDF pp.56-58).UniformRank: Spectrum uniform on exactly r nonzero eigenvalues, in any basis (PDF p.7).DistinguishesRanks: Distinguish uniform ranks r and r+Delta, with one effect fixed before rho (PDF pp.7,43).EYDLowerBound: EYD lower-bound assertion with absolute constants quantified before d,epsilon,n (PDF pp.7,30).groupOn: Restricted symmetric group embedded by fixing the complement (PDF pp.27,37).restrictedCycle: Cycle type of a permutation restricted to R, including fixed points in R (PDF p.37).classOn: Permutations of a specified cycle class on R (PDF p.28).classZ: z_mu, including length-one cycles (PDF p.12).factorizationCount: Actual partial-permutation factorization count g, with union equal to [t] (PDF p.28).structureConstant: Source structure constant computed from Proposition 2.36, independently of Corollary 2.37 (PDF p.28).OverlapRange: The nonzero range of the overlap coefficient (PDF p.28).overlapCoefficient: C^t_{r1,r2}, with its source zero convention (PDF p.28).classProductProbability: Product cycle-class probability, used only in the valid overlap range (PDF p.28).productCharacterMean: Uniform permutation expectation for arbitrary prescribed supports (PDF p.37).RemovesDomino: Successive removal of a rim domino leaves a Young diagram (PDF p.40).DominoBalanced: Empty 2-core, using exactly the source's removable-domino definition (PDF p.40).parityCells: Even and odd content cells; signed parity is taken before subtraction can truncate (PDF p.40).parityProduct: Parity-restricted content product (PDF pp.42-43).quotientRunner: Beta numbers with an even bead cutoff; both Maya runners are retained (PDF pp.40-41).twoQuotient: Two quotient shapes, computed by the two alternating Maya runners (PDF p.41). The labels may swap under bead conventions; their multiset union is invariant.evenDoubleFactorial: Double factorial k!! for even k, including 0!!=1 (PDF p.42).RankRegime: The standing rank-adjacency regime, including the exact integer-compatible copy count (PDF p.44).Usual: Usual means BOTH width and height bounded by the real threshold (PDF p.45).logObservable: Truncated log observable with general denominator a (PDF pp.46-47).logInfinite: L-star-infinity is used only on usual diagrams, where this series converges (PDF p.46).truncation: Source truncation degree, chosen from r and omega (PDF pp.51-52).UsualPlus: Usual-plus uses the SAME r-based event for both adjacent laws (PDF p.54).errorTerm: Entire error term (39), computed from the actual remainder observable (PDF p.48).ErrorConstants: A family witnessing the bounds in Lemma 5.7 (PDF p.50).chosenOmega: A suitable subpolynomial choice, not an arbitrary function bounded by big-O (PDF p.52).sharpMonomial: Monomial in single-cycle central characters (PDF p.51).russian: Russian upper boundary: every rotated unit cell contributes its vertical tent thickness (PDF pp.12-13).scaledBoundary: Area-one scaled Russian boundary, separate from EYD's row vector (PDF p.22).bianeArc: Biane's curved part for positive parameter other than one (PDF p.23).biane: Explicit Biane curve including c=0 and c=1 (PDF p.23, Theorem 2.30).boundaryDistance: L1 boundary distance as a Lebesgue integral; explicit diagrams have bounded difference support (PDF p.60).tildePower: The kth local-extremum moment from the explicit Russian boundary (PDF p.25).bianeMoment: Deterministic Biane moment subtracted in q-tilde, computed from n,d,k (PDF p.62).qTilde: q-tilde is the actual boundary moment minus the deterministic Biane moment (PDF p.62).Diverges: f(d)=omega_d(1), with no prescribed convergence rate (PDF pp.59-60).realObservable: Finite real observables retain arbitrary fixed real coefficients (PDF p.63).complexObservable: Complex central-character expansions for coefficient statements in the complex algebra (PDF pp.24-25,51).
import Mathlib
import Definitions.Def_QAlgorithms_Defs_SchurWeylMeasurements
import Definitions.Def_QAlgorithms_Defs_QuantumOutputMetrics
import Definitions.Def_QAlgorithms_Papers_Independent_Support50_P38
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P28
noncomputable section
open scoped Matrix BigOperators
open MeasureTheory
namespace QAlgorithms.Papers.Independent.Extend50.P34
attribute [local instance] Classical.propDecidable
-- Reuse exact pinned definitions; these are imports, not local declarations.
open QAlgorithms.Papers.Independent.Support50.P38 (tv wordMass)
open QAlgorithms.Papers.Independent.Advance50.P28 (counts)
/-- Decreasing spectrum, padded to the ambient dimension (PDF pp.9-10). -/
def decreasingSpectrum {d : ℕ} (rho : Matrix (Fin d) (Fin d) ℂ) : Fin d → ℝ :=
fun i => ascEigenvalues rho (Fin.cast (Fintype.card_fin d).symm i.rev)
/-- The uniform spectrum; only positive dimensions occur in statements (PDF p.22). -/
def unif (d : ℕ) : Fin d → ℝ := fun _ => 1 / d
/-- Acceptance of a randomized classical test of n samples (PDF pp.10-11). -/
def classicalAccept {d n : ℕ} (a : (Fin n → Fin d) → ℝ) (p : Fin d → ℝ) : ℝ :=
∑ w, wordMass p w * a w
/-- Separation from every property member; valid also for the empty property (PDF p.10). -/
def Far {d : ℕ} (P : Set (Fin d → ℝ)) (epsilon : ℝ) (p : Fin d → ℝ) : Prop :=
∀ q ∈ P, epsilon ≤ tv p q
/-- Symmetric closed properties consist of probability distributions (PDF pp.10-11). -/
def IsSpectralProperty {d : ℕ} (P : Set (Fin d → ℝ)) : Prop :=
IsClosed P ∧ (∀ p ∈ P, Learning.IsDistribution p) ∧
∀ (p : Fin d → ℝ) (pi : Equiv.Perm (Fin d)), p ∘ pi ∈ P ↔ p ∈ P
/-- Fixed collective n-copy effect, chosen before the unknown density matrix (PDF p.10). -/
def QuantumTest {d n : ℕ} (P : Set (Fin d → ℝ)) (epsilon : ℝ)
(oneSided : Bool) (M : Matrix (Fin n → Fin d) (Fin n → Fin d) ℂ) : Prop :=
IsEffect M ∧ ∀ rho : Matrix (Fin d) (Fin d) ℂ, IsDensityMatrix rho →
(decreasingSpectrum rho ∈ P → if oneSided then effectProb M (piKron n rho) = 1
else 2 / 3 ≤ effectProb M (piKron n rho)) ∧
(Far P epsilon (decreasingSpectrum rho) → effectProb M (piKron n rho) ≤ 1 / 3)
/-- Attainable quantum testing guarantees, with no restriction on internal computation (PDF p.10). -/
def QuantumTestable (d n : ℕ) (P : Set (Fin d → ℝ)) (epsilon : ℝ)
(oneSided : Bool := false) : Prop :=
∃ M, QuantumTest (n := n) P epsilon oneSided M
/-- Fixed randomized classical test and its worst-input guarantees (PDF pp.10-11). -/
def ClassicalTest {d n : ℕ} (P : Set (Fin d → ℝ)) (epsilon : ℝ)
(oneSided : Bool) (a : (Fin n → Fin d) → ℝ) : Prop :=
(∀ w, 0 ≤ a w ∧ a w ≤ 1) ∧ ∀ p, Learning.IsDistribution p →
(p ∈ P → if oneSided then classicalAccept a p = 1
else 2 / 3 ≤ classicalAccept a p) ∧
(Far P epsilon p → classicalAccept a p ≤ 1 / 3)
/-- Attainable iid classical testing guarantees (PDF p.11). -/
def ClassicalTestable (d n : ℕ) (P : Set (Fin d → ℝ)) (epsilon : ℝ) : Prop :=
∃ a, ClassicalTest (n := n) P epsilon false a
example {d : ℕ} (a : (Fin 0 → Fin d) → ℝ) (p q : Fin d → ℝ) :
classicalAccept a p = classicalAccept a q := by simp [classicalAccept, wordMass]
/-- Support size at most r, as clarified by the abstract (PDF pp.1,5). -/
def supportProperty (d r : ℕ) : Set (Fin d → ℝ) :=
{p | Learning.IsDistribution p ∧ (Finset.univ.filter fun i => p i ≠ 0).card ≤ r}
/-- Unrestricted diagram viewed in the accepted Specht construction (PDF pp.11,16-18). -/
def ownShape (lambda : YoungDiagram) : Schur.Partition (lambda.colLen 0) lambda.card :=
⟨lambda, rfl, le_rfl⟩
/-- Specht dimension, distinct from the Schur/unitary-group dimension (PDF p.14). -/
def dim (lambda : YoungDiagram) : ℕ := Module.finrank ℂ (Schur.spechtSpace (ownShape lambda))
/-- Schur polynomial extended by zero beyond the alphabet height (PDF p.15). -/
def extendedSchurPolynomial (d : ℕ) (lambda : YoungDiagram) : MvPolynomial (Fin d) ℝ :=
if h : lambda.colLen 0 ≤ d then Schur.schurPolynomial ⟨lambda, rfl, h⟩ else 0
/-- Schur polynomial evaluation (PDF p.15). -/
def schurAt {d : ℕ} (lambda : YoungDiagram) (x : Fin d → ℝ) : ℝ :=
MvPolynomial.eval x (extendedSchurPolynomial d lambda)
/-- Signed cell content j-i in zero-based coordinates (PDF p.13). -/
def content (c : ℕ × ℕ) : ℤ := (c.2 : ℤ) - c.1
/-- Content product d-up-arrow-lambda (PDF p.13). -/
def contentProduct (d : ℝ) (lambda : YoungDiagram) : ℝ :=
∏ c ∈ lambda.cells, (d + content c)
/-- Physical Schur mass on all n, including zero copies; no renormalization (PDF pp.19-22). -/
def sw {d n : ℕ} (rho : Matrix (Fin d) (Fin d) ℂ) (lambda : Schur.Partition d n) : ℝ :=
effectProb (Schur.isotypicProjector lambda) (piKron n rho)
/-- Classical-spectrum Schur law via the diagonal density matrix (PDF pp.21-22). -/
def swSpectrum {d n : ℕ} (p : Fin d → ℝ) : Schur.Partition d n → ℝ :=
sw (Matrix.diagonal fun i => (p i : ℂ))
/-- Finite Schur expectation, with the law's physical mass (PDF p.26). -/
def expect {d n : ℕ} (p : Fin d → ℝ) (F : YoungDiagram → ℝ) : ℝ :=
∑ lambda : Schur.Partition d n, swSpectrum p lambda * F lambda.val
/-- Event mass without conditional renormalization (PDF pp.24,29). -/
def event {d n : ℕ} (p : Fin d → ℝ) (A : YoungDiagram → Prop) : ℝ :=
expect (n := n) p (fun lambda => if A lambda then 1 else 0)
/-- Centered variance on the finite Schur law (PDF p.52). -/
def schurVariance {d n : ℕ} (p : Fin d → ℝ) (F : YoungDiagram → ℝ) : ℝ :=
expect (n := n) p (fun lambda => (F lambda - expect (n := n) p F) ^ 2)
/-- EYD TV error; n>0 is required wherever used (PDF p.29). -/
def eydError {d : ℕ} (n : ℕ) (p : Fin d → ℝ) (lambda : YoungDiagram) : ℝ :=
tv (fun i : Fin d => (lambda.rowLen i : ℝ) / n) p
/-- Chi-squared divergence on a finite set (PDF p.9); applications have common support. -/
def chiSq {a : Type*} [Fintype a] (p q : a → ℝ) : ℝ :=
∑ i, if q i = 0 then 0 else q i * (p i / q i - 1) ^ 2
/-- KL divergence on a finite set (PDF p.9); used only with supp p contained in supp q. -/
def kl {a : Type*} [Fintype a] (p q : a → ℝ) : ℝ :=
∑ i, if p i = 0 then 0 else p i * Real.log (p i / q i)
/-- Both rank laws embedded in the larger rank's shape space (PDF pp.44-55). -/
def rankLaw (r n D : ℕ) : Schur.Partition D n → ℝ :=
swSpectrum (fun i : Fin D => if i.val < r then (1 : ℝ) / r else 0)
/-- Common-space KL for adjacent uniform ranks, in the stated direction (PDF p.44). -/
def adjacentKL (r n : ℕ) : ℝ := kl (rankLaw r n (r+1)) (rankLaw (r+1) n (r+1))
/-- Common-space TV for adjacent uniform ranks (PDF p.52). -/
def adjacentTV (r n : ℕ) : ℝ := tv (rankLaw r n (r+1)) (rankLaw (r+1) n (r+1))
example {a : Type} [Fintype a] (p : a → ℝ) : tv p p = 0 := by simp [tv]
example (d : ℕ) (p : Fin d → ℝ) (w : Fin 0 → Fin d) : wordMass p w = 1 := by
simp [wordMass]
example (d : ℕ) (lambda : YoungDiagram) (h : d < lambda.colLen 0) :
extendedSchurPolynomial d lambda = 0 := by simp [extendedSchurPolynomial, not_le.mpr h]
example : content (1, 0) = -1 := by norm_num [content]
example {a : Type*} [Fintype a] (p : a → ℝ) : chiSq p p = 0 := by
classical
unfold chiSq
apply Finset.sum_eq_zero
intro i hi
by_cases h : p i = 0 <;> simp [chiSq, h]
/-- Row insertion bumps the first strictly larger entry (PDF p.15). -/
def insertRow (b : ℕ) : List ℕ → List ℕ × Option ℕ
| [] => ([b], none)
| a :: rest => if b < a then (b :: rest, some a) else
let out := insertRow b rest
(a :: out.1, out.2)
/-- Recursive row bumping, adding a row when necessary (PDF p.15). -/
def insertTableau (b : ℕ) : List (List ℕ) → List (List ℕ)
| [] => [[b]]
| row :: rows =>
let out := insertRow b row
out.1 :: (match out.2 with | none => rows | some c => insertTableau c rows)
/-- RSK shape from the actual row-insertion algorithm; sorting is inert on valid output (PDF p.15). -/
def rsk {d n : ℕ} (w : Fin n → Fin d) : YoungDiagram :=
let rows := (List.ofFn fun i => (w i).val).foldl (fun T b => insertTableau b T) []
YoungDiagram.ofRowLens ((rows.map List.length).mergeSort (· ≥ ·))
(List.sortedGE_mergeSort)
/-- Length of the longest union of k disjoint weakly increasing subsequences (PDF pp.5,16). -/
def greeneStatistic {d n : ℕ} (w : Fin n → Fin d) (k : ℕ) : ℕ :=
((Finset.univ : Finset (Finset (Fin n))).filter fun (S : Finset (Fin n)) =>
∃ color : {i : Fin n // i ∈ S} → Fin k,
∀ i j : {i : Fin n // i ∈ S}, i.val < j.val → color i = color j →
w i.val ≤ w j.val).sup Finset.card
/-- The d observable Greene statistics, indexed by k=1,...,d (PDF p.5). -/
def greeneReport {d n : ℕ} (w : Fin n → Fin d) : Fin d → ℕ :=
fun k => greeneStatistic w (k.val + 1)
/-- Classical tests whose decisions depend only on the Greene report (PDF p.5). -/
def GreeneTestable (d n : ℕ) (P : Set (Fin d → ℝ)) (epsilon : ℝ) : Prop :=
∃ a : (Fin d → ℕ) → ℝ, (∀ x, 0 ≤ a x ∧ a x ≤ 1) ∧
ClassicalTest (n := n) P epsilon false (fun w => a (greeneReport w))
/-- Every partition of given size and bounded height, as a finite diagram set (PDF p.11). -/
def diagrams (d k : ℕ) : Finset YoungDiagram :=
(Finset.univ : Finset (Schur.Partition d k)).image Subtype.val
/-- All diagrams of size at most K, including the empty partition (PDF pp.11,25). -/
def diagramsLE (K : ℕ) : Finset YoungDiagram :=
(Finset.range (K+1)).biUnion fun k => diagrams K k
/-- Source weight |mu|+length(mu) (PDF p.28). -/
def observableWeight (mu : YoungDiagram) : ℕ := mu.card + mu.colLen 0
/-- Falling factorial; Nat subtraction gives the intended zero for k>n (PDF p.13). -/
def falling (n k : ℕ) : ℝ := (n.descFactorial k : ℝ)
/-- Power-sum polynomial indexed by positive parts, including the empty product (PDF p.14). -/
def powerParts {d : ℕ} (mu : Multiset ℕ) (p : Fin d → ℝ) : ℝ :=
(mu.map fun k => ∑ i, p i ^ k).prod
/-- Full cycle type including fixed points; Mathlib cycleType alone omits them (PDF p.11). -/
def fullCycle {n : ℕ} (pi : Equiv.Perm (Fin n)) : Multiset ℕ :=
pi.cycleType + Multiset.replicate (n - pi.support.card) 1
/-- Character of an unrestricted diagram in the accepted physical Specht construction (PDF pp.16-18). -/
def character (lambda : YoungDiagram) (pi : Equiv.Perm (Fin lambda.card)) : ℝ :=
(Schur.spechtCharacter (ownShape lambda) pi).re
/-- Character on a cycle class, as its class average; no arbitrary representative (PDF p.17). -/
def classCharacter (lambda : YoungDiagram) (mu : Multiset ℕ) : ℝ :=
let S := (Finset.univ : Finset (Equiv.Perm (Fin lambda.card))).filter
(fun pi => fullCycle pi = mu)
(∑ pi ∈ S, character lambda pi) / S.card
/-- Central character p-sharp, extended by zero when |mu| exceeds |lambda| (PDF p.25). -/
def sharpParts (mu : Multiset ℕ) (lambda : YoungDiagram) : ℝ :=
if mu.sum ≤ lambda.card then
falling lambda.card mu.sum *
classCharacter lambda (mu + Multiset.replicate (lambda.card - mu.sum) 1) / dim lambda
else 0
/-- Central character indexed by a partition (PDF p.25). -/
def sharp (mu lambda : YoungDiagram) : ℝ := sharpParts (mu.rowLens : Multiset ℕ) lambda
/-- Shifted power sum p-star with arbitrary shift c; rows are one-based in the source (PDF p.31). -/
def starShift (k : ℕ) (c : ℝ) (lambda : YoungDiagram) : ℝ :=
∑ i ∈ Finset.range (lambda.colLen 0),
(((lambda.rowLen i : ℝ) - (i+1) - c)^k - (-(i+1 : ℝ) - c)^k)
/-- The canonical p-star uses c=-1/2 (PDF p.25). -/
def starPower (k : ℕ) (lambda : YoungDiagram) : ℝ := starShift k (-1/2) lambda
/-- Shifted Schur observable from the Fourier characterization, Theorem 2.33 (PDF p.26). -/
def shiftedSchur (mu lambda : YoungDiagram) : ℝ :=
(∑ pi : Equiv.Perm (Fin mu.card),
character mu pi * sharpParts (fullCycle pi) lambda) / mu.card.factorial
/-- Product of multiplicity factorials, with the empty product equal to one (PDF p.47). -/
def multiplicityFact (mu : YoungDiagram) : ℕ :=
∏ j ∈ Finset.range (mu.card+1), (mu.rowLens.count j).factorial
/-- Explicit highest-weight term in p-star_k (PDF p.47). -/
def leading (k : ℕ) (lambda : YoungDiagram) : ℝ :=
∑ mu ∈ (diagramsLE (k+1)).filter (fun mu => observableWeight mu = k+1),
falling k (mu.colLen 0 - 1) / multiplicityFact mu * sharp mu lambda
/-- The error observable is computed, never supplied as a free variable (PDF p.47). -/
def remainder (k : ℕ) (lambda : YoungDiagram) : ℝ := starPower k lambda - leading k lambda
/-- Evaluate a finite rational central-character expansion on every shape (PDF pp.47,51). -/
def observable (a : YoungDiagram →₀ ℚ) (lambda : YoungDiagram) : ℝ :=
a.sum fun mu c => (c : ℝ) * sharp mu lambda
example : insertRow 1 [1,2] = ([1,1], some 2) := by norm_num [insertRow]
example : insertTableau 1 [[2],[3]] = [[1],[2],[3]] := by norm_num [insertTableau, insertRow]
example {n : ℕ} : fullCycle (1 : Equiv.Perm (Fin n)) = Multiset.replicate n 1 := by
simp [fullCycle]
example (lambda : YoungDiagram) : starShift 0 0 lambda = 0 := by simp [starShift]
example (lambda : YoungDiagram) : observable 0 lambda = 0 := by simp [observable]
example (d : ℕ) (w : Fin 0 → Fin d) : rsk w = ⊥ := by
apply YoungDiagram.ext
simp [rsk, YoungDiagram.ofRowLens, YoungDiagram.cellsOfRowLens]
/-- Paninski's alternating perturbation, on even positive dimensions (PDF pp.34-35). -/
def paninski (d : ℕ) (epsilon : ℝ) : Fin d → ℝ :=
fun i => (1 + (if Even i.val then 2*epsilon else -2*epsilon)) / d
/-- General perturbation Q_x, used only for sum x=0 and x_i≥-1 (PDF p.35). -/
def perturbed {d : ℕ} (x : Fin d → ℝ) : Fin d → ℝ := fun i => (1+x i)/d
/-- The Mixedness Tester's acceptance on an arbitrary state (PDF p.33). -/
def mixednessStateAccept {d : ℕ} (n : ℕ) (epsilon : ℝ)
(rho : Matrix (Fin d) (Fin d) ℂ) : ℝ :=
∑ lambda : Schur.Partition d n, sw rho lambda *
(if sharpParts {2} lambda.val ≤ (1+epsilon^2/2)*(n : ℝ)*(n-1 : ℕ)/d then 1 else 0)
/-- Rank Tester's acceptance probability on the actual input state (PDF p.56). -/
def rankAccept {d : ℕ} (n r : ℕ) (rho : Matrix (Fin d) (Fin d) ℂ) : ℝ :=
∑ lambda : Schur.Partition d n, sw rho lambda *
(if lambda.val.colLen 0 ≤ r then 1 else 0)
/-- Source Rank Tester guarantee, including perfect completeness (PDF pp.56-58). -/
def RankTesterWorks (d n r : ℕ) (epsilon : ℝ) : Prop :=
∀ rho : Matrix (Fin d) (Fin d) ℂ, IsDensityMatrix rho →
(decreasingSpectrum rho ∈ supportProperty d r → rankAccept n r rho = 1) ∧
(Far (supportProperty d r) epsilon (decreasingSpectrum rho) → rankAccept n r rho ≤ 1/3)
/-- Spectrum uniform on exactly r nonzero eigenvalues, in any basis (PDF p.7). -/
def UniformRank {d : ℕ} (r : ℕ) (rho : Matrix (Fin d) (Fin d) ℂ) : Prop :=
∃ pi : Equiv.Perm (Fin d), ∀ i,
decreasingSpectrum rho (pi i) = if i.val < r then (1 : ℝ)/r else 0
/-- Distinguish uniform ranks r and r+Delta, with one effect fixed before rho (PDF pp.7,43). -/
def DistinguishesRanks (d n r Delta : ℕ) : Prop :=
∃ M : Matrix (Fin n → Fin d) (Fin n → Fin d) ℂ, IsEffect M ∧
∀ rho : Matrix (Fin d) (Fin d) ℂ, IsDensityMatrix rho →
(UniformRank r rho → effectProb M (piKron n rho) ≤ 1/3) ∧
(UniformRank (r+Delta) rho → 2/3 ≤ effectProb M (piKron n rho))
/-- EYD lower-bound assertion with absolute constants quantified before d,epsilon,n (PDF pp.7,30). -/
def EYDLowerBound : Prop :=
∃ delta epsilon0 a : ℝ, 0 < delta ∧ delta < 1 ∧ 0 < epsilon0 ∧ epsilon0 < 1 ∧ 0 < a ∧
∃ d0 : ℕ, 2 ≤ d0 ∧ ∀ d : ℕ, d0 ≤ d →
∀ epsilon : ℝ, 0 < epsilon → epsilon ≤ epsilon0 →
∀ n : ℕ, 0 < n → (n : ℝ) < a*d^2/epsilon^2 →
delta ≤ event (n := n) (unif d) (fun lambda => epsilon < eydError n (unif d) lambda)
example (d n : ℕ) : paninski d 0 = unif d := by
funext i
simp [paninski, unif]
example (d : ℕ) : perturbed (fun _ : Fin d => 0) = unif d := by
funext i
simp [perturbed, unif]
/-- Restricted symmetric group embedded by fixing the complement (PDF pp.27,37). -/
def groupOn {t : ℕ} (R : Finset (Fin t)) : Finset (Equiv.Perm (Fin t)) :=
Finset.univ.filter fun w => ∀ i, i ∉ R → w i = i
/-- Cycle type of a permutation restricted to R, including fixed points in R (PDF p.37). -/
def restrictedCycle {t : ℕ} (R : Finset (Fin t)) (w : Equiv.Perm (Fin t)) : Multiset ℕ :=
w.cycleType + Multiset.replicate (R.card - w.support.card) 1
/-- Permutations of a specified cycle class on R (PDF p.28). -/
def classOn {t : ℕ} (R : Finset (Fin t)) (mu : YoungDiagram) : Finset (Equiv.Perm (Fin t)) :=
(groupOn R).filter fun w => restrictedCycle R w = (mu.rowLens : Multiset ℕ)
/-- z_mu, including length-one cycles (PDF p.12). -/
def classZ (mu : YoungDiagram) : ℕ :=
∏ j ∈ Finset.Icc 1 mu.card, j^(mu.rowLens.count j) * (mu.rowLens.count j).factorial
/-- Actual partial-permutation factorization count g, with union equal to [t] (PDF p.28). -/
def factorizationCount (mu nu tau : YoungDiagram)
(w : Equiv.Perm (Fin tau.card)) : ℕ :=
let choices : Finset ((Finset (Fin tau.card) × Equiv.Perm (Fin tau.card)) ×
(Finset (Fin tau.card) × Equiv.Perm (Fin tau.card))) := Finset.univ
(choices.filter fun pair =>
pair.1.1 ∪ pair.2.1 = Finset.univ ∧ pair.1.1.card = mu.card ∧ pair.2.1.card = nu.card ∧
pair.1.2 ∈ classOn pair.1.1 mu ∧ pair.2.2 ∈ classOn pair.2.1 nu ∧
pair.1.2 * pair.2.2 = w).card
/-- Source structure constant computed from Proposition 2.36, independently of Corollary 2.37 (PDF p.28). -/
def structureConstant (mu nu tau : YoungDiagram) : ℝ :=
let S := (Finset.univ : Finset (Equiv.Perm (Fin tau.card))).filter
(fun w => fullCycle w = (tau.rowLens : Multiset ℕ))
((classZ mu : ℝ)*classZ nu/classZ tau) *
((∑ w ∈ S, (factorizationCount mu nu tau w : ℝ))/S.card)
/-- The nonzero range of the overlap coefficient (PDF p.28). -/
def OverlapRange (r1 r2 t : ℕ) : Prop :=
0 < r1 ∧ 0 < r2 ∧ 0 < t ∧ r1 ≤ t ∧ r2 ≤ t ∧ t ≤ r1+r2
/-- C^t_{r1,r2}, with its source zero convention (PDF p.28). -/
def overlapCoefficient (r1 r2 t : ℕ) : ℝ :=
if OverlapRange r1 r2 t then
(r1.factorial : ℝ)*r2.factorial /
((t-r1).factorial*(t-r2).factorial*(r1+r2-t).factorial : ℕ)
else 0
/-- Product cycle-class probability, used only in the valid overlap range (PDF p.28). -/
def classProductProbability (mu nu tau : YoungDiagram)
(_h : OverlapRange mu.card nu.card tau.card) : ℝ :=
let R1 := Finset.univ.filter (fun i : Fin tau.card => i.val < mu.card)
let R2 := Finset.univ.filter (fun i : Fin tau.card => tau.card-nu.card ≤ i.val)
let A := classOn R1 mu
let B := classOn R2 nu
((A.product B).filter (fun w => fullCycle (w.1*w.2) = (tau.rowLens : Multiset ℕ))).card /
((A.card : ℝ)*B.card)
/-- Uniform permutation expectation for arbitrary prescribed supports (PDF p.37). -/
def productCharacterMean {d t : ℕ} (q : Fin d → ℝ) (mu nu : YoungDiagram)
(R1 R2 : Finset (Fin t)) : ℝ :=
(∑ w1 ∈ groupOn R1, ∑ w2 ∈ groupOn R2,
classCharacter mu (restrictedCycle R1 w1) *
classCharacter nu (restrictedCycle R2 w2) * powerParts (fullCycle (w1*w2)) q) /
(((groupOn R1).card : ℝ)*(groupOn R2).card)
/-- Successive removal of a rim domino leaves a Young diagram (PDF p.40). -/
def RemovesDomino (mu nu : YoungDiagram) : Prop :=
nu.cells ⊆ mu.cells ∧ ∃ a b : ℕ × ℕ, a ≠ b ∧
mu.cells \ nu.cells = {a,b} ∧
((a.1=b.1 ∧ (a.2+1=b.2 ∨ b.2+1=a.2)) ∨
(a.2=b.2 ∧ (a.1+1=b.1 ∨ b.1+1=a.1)))
/-- Empty 2-core, using exactly the source's removable-domino definition (PDF p.40). -/
def DominoBalanced (mu : YoungDiagram) : Prop :=
Relation.ReflTransGen RemovesDomino mu ⊥
/-- Even and odd content cells; signed parity is taken before subtraction can truncate (PDF p.40). -/
def parityCells (mu : YoungDiagram) (even : Bool) : Finset (ℕ × ℕ) :=
mu.cells.filter fun c => if even then Even (content c) else Odd (content c)
/-- Parity-restricted content product (PDF pp.42-43). -/
def parityProduct (d : ℝ) (mu : YoungDiagram) (even : Bool) : ℝ :=
∏ c ∈ parityCells mu even, (d + content c)
/-- Beta numbers with an even bead cutoff; both Maya runners are retained (PDF pp.40-41). -/
def quotientRunner (mu : YoungDiagram) (b : ℕ) : List ℕ :=
let L := 2*mu.colLen 0
let beta := (List.range L).map fun i => mu.rowLen i + L - 1 - i
let runner := ((beta.filter fun x => x % 2 = b).map fun x => x/2).mergeSort (· ≥ ·)
runner.zipIdx |>.map (fun pair => pair.1 - (runner.length - 1 - pair.2))
/-- Two quotient shapes, computed by the two alternating Maya runners (PDF p.41).
The labels may swap under bead conventions; their multiset union is invariant. -/
def twoQuotient (mu : YoungDiagram) (b : Fin 2) : YoungDiagram :=
YoungDiagram.ofRowLens ((quotientRunner mu b).mergeSort (· ≥ ·))
(List.sortedGE_mergeSort)
/-- Double factorial k!! for even k, including 0!!=1 (PDF p.42). -/
def evenDoubleFactorial (k : ℕ) : ℝ := (2 : ℝ)^(k/2) * (k/2).factorial
example : DominoBalanced (⊥ : YoungDiagram) := Relation.ReflTransGen.refl
example : evenDoubleFactorial 2 = 2 := by norm_num [evenDoubleFactorial]
example (r1 r2 t : ℕ) (h : ¬ OverlapRange r1 r2 t) :
overlapCoefficient r1 r2 t = 0 := by simp [overlapCoefficient, h]
/-- The standing rank-adjacency regime, including the exact integer-compatible copy count (PDF p.44). -/
def RankRegime (r n : ℕ) (omega : ℝ) : Prop :=
0 < r ∧ 0 < n ∧ 200 ≤ omega ∧ omega ≤ Real.sqrt r ∧
(n : ℝ) = (r : ℝ)^2 / omega^2
/-- Usual means BOTH width and height bounded by the real threshold (PDF p.45). -/
def Usual (r : ℕ) (omega : ℝ) (lambda : YoungDiagram) : Prop :=
(lambda.rowLen 0 : ℝ) ≤ 10*r/omega ∧ (lambda.colLen 0 : ℝ) ≤ 10*r/omega
/-- Truncated log observable with general denominator a (PDF pp.46-47). -/
def logObservable (a : ℝ) (C : ℕ) (lambda : YoungDiagram) : ℝ :=
∑ k ∈ Finset.Icc 2 C, (-1 : ℝ)^k * starPower k lambda / ((k : ℝ)*a^k)
/-- L-star-infinity is used only on usual diagrams, where this series converges (PDF p.46). -/
def logInfinite (r : ℕ) (lambda : YoungDiagram) : ℝ :=
∑' k : ℕ, if 2 ≤ k then
(-1 : ℝ)^k * starPower k lambda / ((k : ℝ)*((r : ℝ)+1/2)^k) else 0
/-- Source truncation degree, chosen from r and omega (PDF pp.51-52). -/
def truncation (r : ℕ) (omega : ℝ) : ℕ :=
⌈3*Real.log (10*r)/Real.log (omega/10)⌉₊
/-- Usual-plus uses the SAME r-based event for both adjacent laws (PDF p.54). -/
def UsualPlus (r : ℕ) (omega : ℝ) (lambda : YoungDiagram) : Prop :=
Usual r omega lambda ∧ |logInfinite r lambda| ≤ 2
/-- Entire error term (39), computed from the actual remainder observable (PDF p.48). -/
def errorTerm (r n C : ℕ) : ℝ :=
∑ k ∈ Finset.Icc 2 C, (-1 : ℝ)^k * expect (n := n) (unif r) (remainder k) /
((k : ℝ)*(r : ℝ)^k)
/-- A family witnessing the bounds in Lemma 5.7 (PDF p.50). -/
def ErrorConstants (A : ℕ → ℝ) : Prop :=
∀ C : ℕ, 2 ≤ C → 0 ≤ A C ∧ ∀ r n : ℕ, ∀ omega : ℝ,
RankRegime r n omega → |errorTerm r n C| ≤ A C/omega^2
/-- A suitable subpolynomial choice, not an arbitrary function bounded by big-O (PDF p.52). -/
def chosenOmega (B : ℝ) (r : ℕ) : ℝ :=
Real.exp (B*Real.rpow (Real.log r) (67/100 : ℝ))
/-- Monomial in single-cycle central characters (PDF p.51). -/
def sharpMonomial (mu lambda : YoungDiagram) : ℝ :=
(mu.rowLens.map fun k => sharpParts {k} lambda).prod
example (a : ℝ) (lambda : YoungDiagram) : logObservable a 1 lambda = 0 := by
simp [logObservable]
example (r n : ℕ) : errorTerm r n 1 = 0 := by simp [errorTerm]
example (r : ℕ) (omega : ℝ) (lambda : YoungDiagram) (h : UsualPlus r omega lambda) :
Usual r omega lambda := h.1
/-- Russian upper boundary: every rotated unit cell contributes its vertical tent thickness (PDF pp.12-13). -/
def russian (lambda : YoungDiagram) (x : ℝ) : ℝ :=
|x| + ∑ c ∈ lambda.cells, 2*max 0 (1 - |x - content c|)
/-- Area-one scaled Russian boundary, separate from EYD's row vector (PDF p.22). -/
def scaledBoundary (lambda : YoungDiagram) (x : ℝ) : ℝ :=
russian lambda (Real.sqrt lambda.card * x) / Real.sqrt lambda.card
/-- Biane's curved part for positive parameter other than one (PDF p.23). -/
def bianeArc (c x : ℝ) : ℝ :=
2/Real.pi * (x*Real.arcsin ((x+c)/(2*Real.sqrt (1+c*x))) +
(1/c)*Real.arccos ((2+c*x-c^2)/(2*Real.sqrt (1+c*x))) +
Real.sqrt (4-(x-c)^2)/2)
/-- Explicit Biane curve including c=0 and c=1 (PDF p.23, Theorem 2.30). -/
def biane (c x : ℝ) : ℝ :=
if c = 0 then
if |x| ≤ 2 then 2/Real.pi*(x*Real.arcsin (x/2)+Real.sqrt (4-x^2)) else |x|
else if c = 1 then
if |x-1| ≤ 2 then (x+1)/2 +
((x-1)*Real.arcsin ((x-1)/2)+Real.sqrt (4-(x-1)^2))/Real.pi else |x|
else if 1 < c ∧ -1/c < x ∧ x < c-2 then x+2/c
else if |x-c| ≤ 2 then bianeArc c x else |x|
/-- L1 boundary distance as a Lebesgue integral; explicit diagrams have bounded difference support (PDF p.60). -/
def boundaryDistance (f g : ℝ → ℝ) : ℝ := ∫ x, |f x-g x|
/-- The kth local-extremum moment from the explicit Russian boundary (PDF p.25). -/
def tildePower (k : ℕ) (lambda : YoungDiagram) : ℝ :=
(k : ℝ)*(k-1 : ℕ) * ∫ x : ℝ, x^(k-2) * ((russian lambda x - |x|)/2)
/-- Deterministic Biane moment subtracted in q-tilde, computed from n,d,k (PDF p.62). -/
def bianeMoment (k n d : ℕ) : ℝ :=
∑ ell ∈ Finset.Icc 1 ((k+1)/2),
falling k (2*ell-1) /
(((k+1-ell)*(ell.factorial)*((ell-1).factorial) : ℕ) : ℝ) *
Real.rpow n ((k : ℝ)/2+1-ell)/(d : ℝ)^(k+1-2*ell)
/-- q-tilde is the actual boundary moment minus the deterministic Biane moment (PDF p.62). -/
def qTilde (k n d : ℕ) (lambda : YoungDiagram) : ℝ :=
tildePower (k+1) lambda / ((k+1 : ℝ)*Real.rpow n ((k : ℝ)/2)) - bianeMoment k n d
/-- f(d)=omega_d(1), with no prescribed convergence rate (PDF pp.59-60). -/
def Diverges (f : ℕ → ℕ) : Prop :=
∀ M : ℕ, ∃ d0 : ℕ, ∀ d : ℕ, d0 ≤ d → M ≤ f d
/-- Finite real observables retain arbitrary fixed real coefficients (PDF p.63). -/
def realObservable (a : YoungDiagram →₀ ℝ) (lambda : YoungDiagram) : ℝ :=
a.sum fun mu c => c * sharp mu lambda
/-- Complex central-character expansions for coefficient statements in the complex algebra (PDF pp.24-25,51). -/
def complexObservable (a : YoungDiagram →₀ ℂ) (lambda : YoungDiagram) : ℂ :=
a.sum fun mu c => c * (sharp mu lambda : ℂ)
example (x : ℝ) : russian ⊥ x = |x| := by simp [russian]
example : biane 0 3 = 3 := by norm_num [biane]
example (lambda : YoungDiagram) : realObservable 0 lambda = 0 := by simp [realObservable]
example (lambda : YoungDiagram) : complexObservable 0 lambda = 0 := by simp [complexObservable]
end QAlgorithms.Papers.Independent.Extend50.P34
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Extend50.P34.ClassicalTest
For arbitrary natural numbers , a set of real -coordinate vectors, a real , a Boolean parameter , and a real function on length- words over , this predicate requires for every word and the following conditions for every vector satisfying and . Writing
membership requires when is true and when it is false, while for every requires . No additional assumptions on or are imposed. For , of the unique empty word; for , there are no probability vectors and the conditions quantified over are vacuous. A probability vector satisfying both antecedents would impose incompatible acceptance requirements.
QAlgorithms.Papers.Independent.Extend50.P34.ClassicalTestable
For any natural numbers , any set of real -coordinate vectors, and any real , this predicate means that there exists a real function on length- words with for every word such that, for every vector with nonnegative coordinates summing to ,
and
There are no further assumptions on or . When , the acceptance sum is the value of on the empty word; when , there are no probability vectors, so the predicate holds.
QAlgorithms.Papers.Independent.Extend50.P34.DistinguishesRanks
For natural numbers , this predicate says that there exists a complex matrix , indexed by length- words over , such that both and are positive semidefinite and, for every positive semidefinite complex matrix with trace ,
where . For a natural number , means that some permutation of the decreasing eigenvalue list of has entries at indices and zero at indices . The formula uses real division with . Zero copies are allowed, in which case the tensor matrix is the scalar on the singleton set of empty words. If or , no density matrix satisfies , so the corresponding implication imposes no condition. In particular, when the quantification over density matrices is empty. When and , the two implications apply to the same nonempty family and demand incompatible bounds.
QAlgorithms.Papers.Independent.Extend50.P34.Diverges
For any function , this defines the proposition that for every natural number , there exists a natural number such that every natural number satisfies . Thus every natural-number lower bound eventually holds at all subsequent indices; no monotonicity of is required, and both the bound and the indices may be zero.
QAlgorithms.Papers.Independent.Extend50.P34.DominoBalanced
For every Young diagram , this defines the proposition that there exists a finite sequence of Young diagrams starting at and ending at the empty diagram, each successive diagram obtained by deleting exactly two distinct cells that are adjacent horizontally or vertically, with every intermediate cell set still a Young diagram. A sequence of zero deletions is allowed, so the empty diagram satisfies this proposition.
QAlgorithms.Papers.Independent.Extend50.P34.EYDLowerBound
This proposition says that there exist real constants and a natural number with , , , and , such that for every natural , every real , and every natural satisfying ,
Here is the row length at zero-based index , is the first-column length, and acts on the space indexed by length- words over symbols. The coefficient matrix is defined by labeling the cells of using the specified bijection with labels, taking the row-preserving and column-preserving permutation sets , and letting be the orthogonal projector onto the range of
With , , and , it is
Thus the sum weights precisely the diagrams whose first row lengths divided by have total variation distance strictly greater than from the vector with all entries . The constants are chosen before ; the hypotheses exclude zero dimensions and zero sample sizes.
QAlgorithms.Papers.Independent.Extend50.P34.ErrorConstants
For a function , this predicate requires, for every natural number , that and that, for every pair of natural numbers and every real number satisfying
one has
Here is the number of nonempty rows, counts rows of length , is the natural descending factorial, and
The remaining symbols are defined as follows: number the cells of each diagram of size using the construction's chosen bijection with , and let preserve cell rows and columns, respectively; form the matrix
Let be its range, the orthogonal projection onto that range, , and , where . Set when ; otherwise it is times the mean of over permutations with cycle lengths given by 's row lengths and further ones. For words of length over symbols, let , and define
Scalar divisions use the total convention that division by zero is zero. There is no condition on or ; for , nonnegativity is required independently of whether any satisfy the displayed regime, while the error bound applies only when they do.
QAlgorithms.Papers.Independent.Extend50.P34.Far
For any natural number , any set of real -coordinate vectors, any real , and any real -coordinate vector , this predicate means that
No probability assumptions or sign restriction on are imposed. If is empty, the predicate holds vacuously; if and is nonempty, it means .
QAlgorithms.Papers.Independent.Extend50.P34.GreeneTestable
For natural numbers , an arbitrary set , and an arbitrary real number , this means that there exists a function satisfying for every , with the following property. For every probability vector , meaning and , put
where coordinate of is the maximum number of positions colorable with colors such that each color class has nondecreasing word values in position order. It is required that implies , and that for every implies . The bounds on apply even to vectors that are not reports of any word. No closedness, permutation invariance, or distribution condition is assumed for , and need not be positive; when is empty, the second premise is vacuous. For , the acceptance expression uses the unique empty word, empty product , and zero report; for , there are no probability vectors, so the probability-vector requirements are vacuous.
QAlgorithms.Papers.Independent.Extend50.P34.IsSpectralProperty
For any natural number and any set of real -coordinate vectors, this predicate means that is closed in the usual topology, every satisfies for every coordinate and , and, for every real vector and every permutation of ,
The empty set is allowed. When , no vector satisfies the required normalization, so this predicate forces to be empty.
QAlgorithms.Papers.Independent.Extend50.P34.OverlapRange
For every three natural numbers , this defines the proposition
All six conditions must hold together. In particular, the proposition is false if any of the three numbers is , while equality is allowed in each of the last three inequalities.
QAlgorithms.Papers.Independent.Extend50.P34.QuantumTest
For arbitrary natural numbers , a set of real -coordinate vectors, a real , a Boolean parameter , and a complex matrix indexed by pairs of length- words over , this predicate requires that and be positive semidefinite and that the following hold for every positive semidefinite matrix of trace . Let list its eigenvalues in nonincreasing order, and define
If , then when is true, and when it is false; if for every , then . No additional conditions on or are required. For , is the one-dimensional matrix ; for , there are no trace- density matrices, so the conditions quantified over are vacuous. If a density matrix satisfies both antecedents, the resulting acceptance requirements are incompatible.
QAlgorithms.Papers.Independent.Extend50.P34.QuantumTestable
For natural numbers , a set of real -coordinate vectors, a real , and a Boolean parameter , which defaults to false when omitted, this predicate means that there exists a complex matrix indexed by length- words such that and are positive semidefinite and, for every positive semidefinite matrix of trace , the number
equals if is true and the decreasing eigenvalue vector belongs to , is at least if is false and , and is at most whenever for every . There are no further assumptions on or . For , the product defining is ; for , the density-matrix requirements are vacuous and such an exists.
QAlgorithms.Papers.Independent.Extend50.P34.RankRegime
For natural numbers and a real number , this predicate means that all five conditions hold:
where the last equality and square root are over the real numbers. In particular, neither nor satisfies the predicate, and the bounds on cannot be satisfied when .
QAlgorithms.Papers.Independent.Extend50.P34.RankTesterWorks
For natural numbers and real , this predicate requires the following for every positive semidefinite complex matrix with trace . Write for its eigenvalues, with multiplicities, and let be the set of vectors having nonnegative entries, sum , and at most nonzero entries. Define
Here is the first-column length; to construct , use the specified cell labeling, form the row-preserving and column-preserving permutation sets , let be the orthogonal projector onto the range of , put , and set
The two required implications are
No positivity of , positivity of , or upper bound on is assumed. At there is no trace-one matrix, so the predicate is vacuous. At , the empty tensor product and empty diagram give . The universal condition over is vacuous if that set is empty; if its two antecedents hold simultaneously for any density matrix, the two required conclusions are incompatible.
QAlgorithms.Papers.Independent.Extend50.P34.RemovesDomino
For every two Young diagrams , this defines the proposition that the cells of are a subset of those of , and there exist two distinct cells , with natural-number coordinates such that
and either with or , or with or . Thus exactly two horizontally or vertically adjacent cells are removed, and the remaining cells must themselves be the given Young diagram .
QAlgorithms.Papers.Independent.Extend50.P34.UniformRank
For every natural dimension , natural number , and arbitrary complex matrix , this predicate says that there exists a permutation of such that
where is the decreasing list of eigenvalues when is Hermitian, and is the identically zero vector when is not Hermitian. No assumption that is positive semidefinite or trace one is included. When , the right side is identically zero, using the convention ; in particular every non-Hermitian matrix satisfies this predicate for . When , all entries are required to equal . When , the pointwise condition is empty and the predicate holds for every .
QAlgorithms.Papers.Independent.Extend50.P34.Usual
For any natural number , real number , and Young diagram , this predicate means that both the length of its first row and the number of its nonempty rows satisfy
with the lengths regarded as real numbers. There are no positivity assumptions on or . Division by zero is defined to give zero, so when , or when , the predicate requires both lengths to be zero.
QAlgorithms.Papers.Independent.Extend50.P34.UsualPlus
For any natural number , real number , and Young diagram , write and . This predicate requires
All lengths in these inequalities are interpreted as real numbers. No restrictions on or and no summability assumption are included: division by zero gives zero, and the displayed infinite sum is defined to be zero if its terms are not summable. Consequently, in that nonsummable case the final absolute-value condition holds automatically.
QAlgorithms.Papers.Independent.Extend50.P34.adjacentKL
For natural numbers , set . For and , put when , and otherwise, for ; let be the diagonal matrix on length- words over these indices with diagonal entry . For each Young diagram with cells and at most rows, define , where the cells are numbered by the construction’s fixed bijection, and are the permutations preserving their rows and columns, is the range of , is its orthogonal projector, , and . Write and . The defined value is
with the natural logarithm. These are total real operations: division by zero and both give , so a term with contributes even if . The parameters include and ; the resulting value is in either case.
QAlgorithms.Papers.Independent.Extend50.P34.adjacentTV
For natural numbers , set . For , define if , and otherwise, for , and let be diagonal on length- words over , with diagonal entry . For each Young diagram with cells and at most rows, use the construction’s fixed numbering of its cells; let preserve the rows and columns, respectively; let be the range of , and let be its orthogonal projector. With and , put . The defined value is
There are no positivity restrictions on or . In particular, when , the first diagonal matrix is zero and the value is ; when , both values on the unique empty diagram are , so the result is .
QAlgorithms.Papers.Independent.Extend50.P34.biane
For arbitrary real , define the auxiliary expression
The declaration defines the following function, with cases applied in the displayed order:
Negative are included. Division by zero and square roots of negative numbers are ; inverse trigonometric functions use their total real extensions.
QAlgorithms.Papers.Independent.Extend50.P34.bianeArc
For arbitrary real numbers , this defines
There are no restrictions on either argument. All functions use their total real-valued conventions: square roots of negative numbers and division by zero are , while and remain defined outside using their endpoint values.
QAlgorithms.Papers.Independent.Extend50.P34.bianeMoment
For all natural numbers , this defines
where is the natural-number descending factorial, the exponent on is real, and the exponent on is natural. Natural-number subtractions are truncated at zero. No positivity assumptions are imposed on or ; division by zero is , and real powers use the total real-power convention, including . When , the indexing interval is empty and the value is .
QAlgorithms.Papers.Independent.Extend50.P34.boundaryDistance
For any functions , with no measurability or integrability assumptions, this defines the real-valued Lebesgue integral
The integral uses the total Bochner-integral convention: if the integrand is not integrable, the defined value is , rather than .
QAlgorithms.Papers.Independent.Extend50.P34.character
For any Young diagram and any permutation of its cell labels, this defines as follows. Regard as a partition of with at most rows, and use the chosen bijection between its cells and . Let consist of label permutations preserving each cell’s row coordinate, and of those preserving each cell’s column coordinate. On the complex coordinate space indexed by all permutations of the labels, form the matrix with entries . Here is the orthogonal projector onto the range of , and . The empty Young diagram is allowed, in which case the permutation group has one element.
QAlgorithms.Papers.Independent.Extend50.P34.chiSq
For every finite type , equipped with a finite enumeration, and arbitrary functions , this defines
Neither function is required to be nonnegative or normalized. Every coordinate with contributes , regardless of , and an empty index type gives .
QAlgorithms.Papers.Independent.Extend50.P34.chosenOmega
For every real number and natural number , this defines
where is regarded as real and the fractional power is the total real-power operation. No positivity assumption on or is imposed. In particular, since the total real logarithm satisfies , the value is for both and ; it is also whenever .
QAlgorithms.Papers.Independent.Extend50.P34.classCharacter
For any Young diagram , with , and any finite multiset of natural numbers, let be the set of permutations of whose multiset of all cycle lengths, including one per fixed point, equals . This defines . To specify , number the cells of by the chosen bijection with these labels, let be the permutations preserving row and column coordinates respectively, and form ; then is the orthogonal projector onto its range, while . There is no assumption that is a possible cycle multiset: if is empty, both the sum and the denominator are , and real division by zero makes the defined value . Empty diagrams and empty multisets are included.
QAlgorithms.Papers.Independent.Extend50.P34.classOn
For every natural number , subset , and Young diagram , this defines the finite set of permutations of that fix every element outside and satisfy
Here is the multiset of lengths of the nontrivial cycles of , is the set of elements it moves, denotes multiset addition, and means copies of . Thus fixed points belonging to contribute parts of size ; elements outside do not. The subtraction is natural-number subtraction, although fixing the complement of ensures . No positivity or size hypothesis is imposed on , , or ; the defined set may be empty.
QAlgorithms.Papers.Independent.Extend50.P34.classProductProbability
For every three Young diagrams , supplied with a proof that their sizes , , and satisfy , , , , , and , define and inside . Let consist of permutations fixing whose cycle lengths on , including its fixed points as parts , equal the row-length multiset of ; define in the same way using and . This defines
as a real number, where applies first, cycle type records nontrivial cycles, and support records moved elements. The supplied proof imposes the size conditions but is otherwise unused by the formula; real division by zero uses the value .
QAlgorithms.Papers.Independent.Extend50.P34.classZ
For every Young diagram , let be its number of cells and let be the number of rows of length , counted in its list of row lengths. This defines the natural number
Only positive row lengths from through occur in the product. For the empty diagram the product is empty and equals .
QAlgorithms.Papers.Independent.Extend50.P34.classicalAccept
For arbitrary natural numbers , a real function on length- words over , and any real vector on that alphabet, this defines
Neither normalization nor nonnegativity of , nor bounds on , are required. For , there is one empty word and its product is , so the value is of that word; for , the sum is empty and equals .
QAlgorithms.Papers.Independent.Extend50.P34.complexObservable
For every finitely supported complex-valued function on Young diagrams and every Young diagram , this defines , where each real number is embedded in . Put and ; then if , and otherwise
Here consists of permutations whose complete cycle-length multiset, including fixed points, is the multiset of row lengths of together with additional ones, and is the natural-number descending factorial. Use the chosen numbering of ’s cells by to define the row-preserving and column-preserving permutation sets , and form . Then is the orthogonal projection onto the range of in , is that range’s complex dimension, and . The coefficients have no normalization restrictions. Empty support gives , empty diagrams are permitted, and every division by zero is .
QAlgorithms.Papers.Independent.Extend50.P34.content
For every pair of natural numbers, this defines its content to be the integer
The subtraction takes place in the integers and may therefore be negative; the pair need not belong to any Young diagram.
QAlgorithms.Papers.Independent.Extend50.P34.contentProduct
For every real number and every Young diagram , this defines
where the product runs over the cells of and is integer subtraction, subsequently regarded as a real number. There is no positivity or integrality assumption on . The empty diagram gives .
QAlgorithms.Papers.Independent.Extend50.P34.decreasingSpectrum
For every natural number and every complex matrix , this defines a real vector indexed by : if is Hermitian, its entries are the eigenvalues of in nonincreasing order, counted with multiplicity; if is not Hermitian, every entry is . No positivity or trace assumption is imposed on . When , the resulting vector is empty.
QAlgorithms.Papers.Independent.Extend50.P34.diagrams
For natural numbers , this is the finite set of all Young diagrams having exactly cells and first-column length at most , obtained by discarding the accompanying proofs of these two conditions. The bound includes equality. For , the set consists of the empty diagram for every ; for , it is empty.
QAlgorithms.Papers.Independent.Extend50.P34.diagramsLE
For a natural number , this is the union, over , of the finite sets of Young diagrams having exactly cells and first-column length at most . Equivalently, it contains precisely the Young diagrams with at most cells and at most rows. The empty diagram is included, and for it is the only element.
QAlgorithms.Papers.Independent.Extend50.P34.dim
For every Young diagram , put and choose the fixed cell-numbering bijection between its cells and used by the definition. Let be the permutations preserving the row of each numbered cell, and the permutations preserving its column. Define a complex matrix , with rows and columns indexed by permutations of , by
This defines to be the complex vector-space dimension of the image of the linear operator with matrix on the Euclidean space of complex functions on those permutations. No nonemptiness assumption on is imposed; when is empty, the permutation set has one element and .
QAlgorithms.Papers.Independent.Extend50.P34.errorTerm
For arbitrary natural numbers , this defines
Here is the number of nonempty rows, counts occurrences of in 's list of row lengths, is the natural descending factorial, and
To specify and the weights completely, for each diagram of size , use the construction's chosen numbering of its cells by ; let be the permutations preserving, respectively, every numbered cell's row and column. Define , indexed by , by
let be its range on , let be the orthogonal projection onto that range, and put and , where . If , set ; otherwise is times the arithmetic mean of over permutations of whose cycle lengths, including fixed points, are 's row lengths together with additional ones. An empty averaging set gives zero by total division. Finally, on words , set and
The tensor power here has entries , with empty product . All scalar divisions are total, returning zero at a zero denominator. Thus the definition includes zero parameters; it is zero when , when , or when .
QAlgorithms.Papers.Independent.Extend50.P34.evenDoubleFactorial
For every natural number , this defines the real number
The division is natural-number division. Thus the definition applies to odd as well as even , gives the same value at and , and equals at .
QAlgorithms.Papers.Independent.Extend50.P34.event
For arbitrary natural numbers , any real vector indexed by , and any predicate on Young diagrams, this defines
where are length- words over . For each , use the definition’s chosen cell numbering by and let preserve rows and columns. Define
Let be the orthogonal projection onto its range and the complex dimension of that range. With and , the matrix used is
The vector need not be a probability distribution. At , the result is if holds for the empty diagram and otherwise; for , it is .
QAlgorithms.Papers.Independent.Extend50.P34.expect
For arbitrary natural numbers , any real vector indexed by , and any function from Young diagrams to , this defines
where are length- words over . The matrix is specified as follows: number the cells of by using the definition’s chosen bijection, let preserve rows and columns, and define
Writing for the orthogonal projection onto , for its complex dimension, , and , set
No probability assumptions on are required. When , the result is ; when , the sum is empty and equals .
QAlgorithms.Papers.Independent.Extend50.P34.extendedSchurPolynomial
For every natural number , including , and every Young diagram , this defines a real polynomial in variables . If has more than rows, the polynomial is . Otherwise it is
where the sum runs over all fillings of the cells of by that are weakly increasing along each row and strictly increasing down each column. The empty diagram gives the polynomial , including when ; when , every nonempty diagram gives .
QAlgorithms.Papers.Independent.Extend50.P34.eydError
For every natural number , every natural number , every real vector indexed by , and every Young diagram , this defines
where is the length of the zero-indexed row , with absent rows having length . There is no requirement that have cells or at most rows, or that be a probability distribution. Division by is defined to give , so at the value is ; at it is .
QAlgorithms.Papers.Independent.Extend50.P34.factorizationCount
For every three Young diagrams and every permutation of , this defines the number of ordered pairs , where and are permutations of , satisfying all of the following: , , , fixes the complement of , fixes the complement of ,
Here cycle types list nontrivial cycle lengths, supports consist of moved elements, and means composition with applied first. The sets may overlap and may contain fixed points of their respective permutations. All diagrams, including empty diagrams, are allowed; if no such choices exist, the count is .
QAlgorithms.Papers.Independent.Extend50.P34.falling
For any natural numbers and , this defines the real number obtained by converting the natural-number descending factorial to . The empty product, when , is ; when , the value is . Thus is included.
QAlgorithms.Papers.Independent.Extend50.P34.fullCycle
For any natural number and any permutation of , this defines the multiset consisting of the lengths of all nontrivial cycles of , together with copies of , where . Thus fixed points are included as cycles of length , and the multiset records the lengths of all cycles. The subtraction is natural-number subtraction; here the support has at most elements. For , the multiset is empty.
QAlgorithms.Papers.Independent.Extend50.P34.greeneReport
For natural numbers and a word , this defines a vector of natural numbers. Its coordinate indexed by is the largest cardinality of a subset of word positions that can be colored with colors so that positions of the same color have nondecreasing word values when read in increasing position order. Colors may be unused and the empty subset is allowed. For , every coordinate is ; for , the report has no coordinates, and an input word exists only when .
QAlgorithms.Papers.Independent.Extend50.P34.greeneStatistic
For natural numbers , a word , and a natural number , this is the maximum cardinality of a subset of the positions for which there exists a coloring such that, whenever belong to and have the same color, . Thus each color class, read in position order, must have nondecreasing word values; colors need not all be used. The empty subset is permitted. In particular, the value is when or . If , there is no input word.
QAlgorithms.Papers.Independent.Extend50.P34.groupOn
For every natural number and finite subset , this defines the finite set
Thus membership requires every point outside to be fixed, while points inside may also be fixed. If is empty, the set consists only of the identity; if is the whole index set, it consists of all permutations. The case is included and gives the singleton containing the empty permutation.
QAlgorithms.Papers.Independent.Extend50.P34.insertRow
For a natural number and any finite list of natural numbers, this returns a new list and an optional displaced number. It scans the list from left to right until the first entry satisfying , replaces that entry by , leaves the remaining entries unchanged, and returns as the displaced number. If no entry is strictly greater than , it appends and returns no displaced number. Thus the empty list produces , and entries equal to are passed over. No ordering assumption is imposed on the input list.
QAlgorithms.Papers.Independent.Extend50.P34.insertTableau
For a natural number and any finite list of rows, each itself a finite list of natural numbers, this inserts into the first row by replacing its first entry strictly greater than , returning that entry as displaced, or appending if no such entry exists. It keeps the resulting first row; if an entry was displaced, it applies the same procedure recursively to and the remaining rows, and otherwise leaves all remaining rows unchanged. Inserting into an empty list of rows produces the single row . An empty first row becomes without displacing anything. No ordering or tableau conditions are required of the input rows.
QAlgorithms.Papers.Independent.Extend50.P34.kl
For every finite type , equipped with a finite enumeration, and arbitrary functions , this defines
Here is the total real logarithm: and, for a negative argument, it equals the logarithm of its absolute value; real division by gives . Thus a coordinate with also contributes , even if . No nonnegativity, normalization, or support-inclusion assumptions are imposed, and an empty index type gives .
QAlgorithms.Papers.Independent.Extend50.P34.leading
For any natural number and Young diagram , this defines the sum , taken over all Young diagrams with at most cells and at most rows that satisfy ; here , counts occurrences of in ’s row-length list, and uses natural-number subtraction, truncated at zero. The descending factorial is converted to a real number. To define , put and : it is if , and otherwise is times the average of over permutations of labels whose full cycle multiset is the row-length multiset of with additional ’s. Using the chosen numbering of ’s cells, form , where preserve row and column coordinates; then is the complex dimension of its range, is the orthogonal projector onto that range, and , with . Empty averages and division by zero give . The diagram may be empty; when , no diagram satisfies the summation condition, so the sum is .
QAlgorithms.Papers.Independent.Extend50.P34.logInfinite
For any natural number and Young diagram , write and . This defines the real-valued total infinite sum
The terms indexed by in the underlying sum over all natural numbers are explicitly zero. No summability hypothesis is required: if the sequence is not summable, this total infinite-sum operation returns zero. The definition includes , and gives zero for the empty diagram.
QAlgorithms.Papers.Independent.Extend50.P34.logObservable
For any real number , natural number , and Young diagram , write and . This defines
where the row lengths and indices inside the powers are interpreted as real numbers. The outer sum is empty, hence zero, when ; the inner sum is empty for the empty diagram. No assumption is imposed: division by zero gives zero, so the entire expression is zero when .
QAlgorithms.Papers.Independent.Extend50.P34.mixednessStateAccept
For every natural dimension , natural number , real , and arbitrary complex matrix , this defines
where the tensor matrix has entries . The matrices and statistic in this expression are specified as follows. Label the cells of by the specified bijection with labels, let preserve rows and columns, let be the range of , and let be its orthogonal projector. Put , , , and . Then
For , ; for , it is
The definition assumes neither that is a density matrix nor that is positive. Natural subtraction is truncated, real division by zero is zero, and empty products equal one. Thus and are included: the sum is empty when , while at the sole diagram is empty and the defined value is .
QAlgorithms.Papers.Independent.Extend50.P34.multiplicityFact
For any Young diagram , this defines the natural number , where is the number of occurrences of in the finite list of row lengths of . Thus each possible row length from through the number of cells contributes the factorial of its multiplicity, and an absent length contributes . The empty diagram is included and gives .
QAlgorithms.Papers.Independent.Extend50.P34.observable
For every finitely supported rational-valued function on Young diagrams and every Young diagram , this defines
with rational coefficients regarded as real numbers. The quantity is defined as follows: put , label the cells of by the specified bijection with labels, and let consist of permutations preserving rows and columns, respectively. Let be the range of
let be the orthogonal projector onto this range, let , and define , where . If , set ; otherwise let contain the permutations whose full cycle lengths are the row lengths of together with additional ones, and set
Here the descending factorial is computed in the natural numbers and real division by zero is zero. The function may have negative coefficients or empty support, and may be empty; empty support gives value zero. No positivity or normalization of is required.
QAlgorithms.Papers.Independent.Extend50.P34.observableWeight
For any Young diagram , this defines its weight to be the number of its cells plus the length of its first column, equivalently its number of cells plus its number of nonempty rows. The empty diagram has weight .
QAlgorithms.Papers.Independent.Extend50.P34.overlapCoefficient
For every three natural numbers , this defines the real number
The differences inside factorials are natural-number differences; in the first branch the stated inequalities prevent truncation. Its denominator is a positive natural number converted to a real number, with . In particular, any zero argument selects the second branch.
QAlgorithms.Papers.Independent.Extend50.P34.ownShape
For every Young diagram , this returns the same diagram regarded as a partition with exactly cells and with its first column containing at most ’s own first-column length. Here a partition with parameters means a Young diagram with cells and first-column length at most ; the returned parameters are and . The empty diagram is included and gives parameters .
QAlgorithms.Papers.Independent.Extend50.P34.paninski
For every natural number and every real number , this defines a real-valued function on the indices by
There is no restriction on , and the definition imposes neither nonnegativity nor normalization. When , the domain is empty. For positive even , the entries sum to ; for odd , they sum to .
QAlgorithms.Papers.Independent.Extend50.P34.parityCells
For every Young diagram and Boolean value , this defines the subset of its cells whose integer content is even when , and whose content is odd when . The difference is taken in the integers, so negative contents retain their usual parity. For the empty diagram this set is empty.
QAlgorithms.Papers.Independent.Extend50.P34.parityProduct
For every real number , Young diagram , and Boolean value , this defines
Here is computed as an integer and then converted to a real number. No positivity or integrality hypothesis is imposed on , so factors may be zero or negative. If there are no cells of the selected parity, including when is empty, the product equals .
QAlgorithms.Papers.Independent.Extend50.P34.perturbed
For every natural number and every real-valued vector , this defines the vector
No condition on the entries or sum of is assumed, so nonnegativity and normalization are not part of the definition. For , the sum of the resulting entries is ; for , both vectors have empty domain.
QAlgorithms.Papers.Independent.Extend50.P34.powerParts
For any natural number , any finite multiset of natural numbers, and any real vector , this defines , with repeated elements of contributing repeated factors. No nonnegativity or normalization of is assumed. An empty multiset gives . A part contributes , since every zeroth power, including , is . If , every inner sum is , so the value is for nonempty and for empty .
QAlgorithms.Papers.Independent.Extend50.P34.productCharacterMean
For every natural numbers , arbitrary real vector , Young diagrams , and subsets , let be the permutations of fixing its complement of , let for , and let include all fixed points of . This defines
The product counts repeated parts with their multiplicities, and applies first. To specify , let be the permutations of whose full cycle-length multiset is ; then . Here has entries if , and otherwise; is the orthogonal projection onto the range of the matrix with entries , where, under the fixed enumeration of the cells of used by the definition, preserves every cell’s row coordinate and preserves every cell’s column coordinate. There is no normalization, nonnegativity, or size-compatibility hypothesis on ; if is empty, its displayed average is by real division by zero. The cases , , and empty subsets are included, with empty sums and empty products .
QAlgorithms.Papers.Independent.Extend50.P34.qTilde
For all natural numbers and every Young diagram , this defines the real number
Here is integer cell content, is the natural-number descending factorial, and the integral is with respect to Lebesgue measure. Subtractions in natural-number exponents and indices truncate at zero. The definition allows and empty diagrams; division by zero is , real powers are total with , and empty sums are .
QAlgorithms.Papers.Independent.Extend50.P34.quotientRunner
For any Young diagram and any natural number , let , the number of nonempty rows, and . Form the list for , where is row 's length and all subtractions are natural-number subtraction, truncated at zero. Keep precisely the entries whose remainder modulo equals , divide each retained entry by using integer division, and sort the resulting list in nonincreasing order, say . The returned list is
The parameter is not restricted to or ; if , the returned list is empty. An empty diagram also produces an empty list.
QAlgorithms.Papers.Independent.Extend50.P34.rankAccept
For every natural dimension , natural numbers , and arbitrary complex matrix , this defines
where is the first-column length. To specify , label the diagram’s cells by the specified bijection with labels, let preserve rows and columns, and let be the range of
If is the orthogonal projector onto , , , and , then
There is no density-matrix assumption on and no restriction relating . Empty products equal one: at the value is , including when ; if and either or , the sum is empty and equals zero.
QAlgorithms.Papers.Independent.Extend50.P34.rankLaw
For natural numbers , this defines a real-valued function on Young diagrams having exactly cells and first-column length at most . Put for , and for the other indices . Its value at is , where , indexed by words , is diagonal with . The matrix is defined as follows: use the construction’s fixed numbering of the cells of by ; let be the permutations preserving, respectively, each numbered cell’s row and column; and let be the range of the matrix . Write for orthogonal projection onto , , , and . Then . No restriction is imposed: gives the zero vector , while gives total mass . For , the empty product is , and the value on the empty diagram is , including when or ; for , the domain of diagrams is empty.
QAlgorithms.Papers.Independent.Extend50.P34.realObservable
For every finitely supported real-valued function on Young diagrams and every Young diagram , this defines as follows. Put and ; then if , and otherwise
Here consists of permutations whose complete cycle-length multiset, including fixed points, is the multiset of row lengths of together with additional ones, and is the natural-number descending factorial. To define and , use the chosen numbering of ’s cells by , let be the permutations preserving each cell’s row and column respectively, and form . Then is the orthogonal projection onto the range of in , is that range’s complex dimension, and . No sign or normalization restrictions are imposed on . Empty support gives , empty diagrams are permitted, and every division by zero is .
QAlgorithms.Papers.Independent.Extend50.P34.remainder
For every natural number and Young diagram , this defines the real number
Here is the number of cells of a diagram , is its first-column length, is its -th row length with rows numbered from zero, counts rows of length , and is the natural-number descending factorial; the subtraction is truncated at zero. To specify , put , label the cells of by the specified bijection with , and let be the permutations preserving each cell label’s row and column, respectively. Let be the range of the matrix
let be its orthogonal projector, put , and set , where . If , then ; otherwise, if is the set of permutations of labels whose full cycle-length multiset is the row-length multiset of together with additional ones, then
All divisions are real divisions, with division by zero defined as zero. Both and the empty diagram are allowed; the defined remainder is zero in either of those cases.
QAlgorithms.Papers.Independent.Extend50.P34.restrictedCycle
For every natural number , finite subset , and permutation , this defines the multiset
where contains the lengths of its nontrivial cycles and . No hypothesis requires to fix points outside ; its full nontrivial cycle type is retained regardless of . The natural-number subtraction is truncated at zero, so no ones are added when . For the identity permutation the result is copies of , and when the result is the empty multiset.
QAlgorithms.Papers.Independent.Extend50.P34.rsk
For natural numbers and a word , this constructs a Young diagram by processing the entries in that order, starting with no rows. Each entry is inserted into the first row by replacing its first strictly larger entry and passing the displaced entry to the next row; if no strictly larger entry exists, it is appended and insertion stops, and reaching beyond the last row creates a new singleton row. After all insertions, the row lengths are collected, explicitly sorted in nonincreasing order, and used as the row lengths of the returned Young diagram. For , the result is the empty diagram. If , no word of the required type exists.
QAlgorithms.Papers.Independent.Extend50.P34.russian
For every Young diagram and every real , this defines
where cells have natural-number row and column coordinates and their content is the integer . The sum includes every cell, so cells of equal content contribute separately. For the empty diagram the value is .
QAlgorithms.Papers.Independent.Extend50.P34.scaledBoundary
For every Young diagram and every real , writing , this defines
Here is interpreted as a real number in the square root, and is the integer content of the cell. The definition includes the empty diagram: when , division by zero is assigned the value , so the resulting function is identically zero.
QAlgorithms.Papers.Independent.Extend50.P34.schurAt
For every natural number , every Young diagram , and every real vector , this defines
where ranges over fillings of by that are weakly increasing along rows and strictly increasing down columns. No nonnegativity or normalization of is required. For the empty diagram the value is , including when .
QAlgorithms.Papers.Independent.Extend50.P34.schurVariance
For arbitrary natural numbers , any real vector indexed by , and any real-valued function on Young diagrams, let be the diagrams with cells and at most rows. This defines
where are length- words over . For each , use the definition’s chosen numbering of its cells by , let preserve rows and columns, and form
Let project orthogonally onto its range and let be the complex dimension of that range. With and , set
No nonnegativity or normalization of is assumed, and no division by the sum of the weights occurs. The value is when or when .
QAlgorithms.Papers.Independent.Extend50.P34.sharp
For any Young diagrams and , put , , and let be the multiset of row lengths of . This defines when , and otherwise defines , where consists of permutations of labels with full cycle-length multiset together with copies of , and is the descending factorial viewed as a real number. For completeness, number the cells of using the chosen bijection, let preserve their row and column coordinates, and form ; projects orthogonally onto its range, is its range’s complex dimension, and . Empty diagrams are included, with the empty descending factorial equal to ; empty averages and division by zero have value .
QAlgorithms.Papers.Independent.Extend50.P34.sharpMonomial
For any Young diagrams , this defines a real number by multiplying one factor for each row length of , including repeated row lengths. To specify the factors, put . Number the cells of by using the chosen cell-numbering bijection, and let be the permutations preserving, respectively, the row and column of every numbered cell. Define the matrix indexed by by , let be the orthogonal projection onto its range in , and let be the complex dimension of that range. For , let and . For a multiset of natural numbers, let be the sum of over permutations whose complete multiset of cycle lengths, including fixed points, is , divided by the number of such permutations. Writing , the defined value is
An empty product is , so the value is when is empty. Division by zero is assigned the value , including in the cycle-class average or the division by .
QAlgorithms.Papers.Independent.Extend50.P34.sharpParts
For any finite multiset of natural numbers and any Young diagram , put and . The value is if ; otherwise it is , where is the descending factorial converted to a real number, and consists of permutations of labels whose full cycle-length multiset is with additional copies of . To define and , use the chosen numbering of ’s cells, let preserve row and column coordinates, and set ; is the orthogonal projector onto the range of , is that range’s complex dimension, and . Zero parts and empty multisets are allowed, as is the empty diagram. If is empty, its average is ; any division by a zero dimension is also defined to give .
QAlgorithms.Papers.Independent.Extend50.P34.shiftedSchur
For any Young diagrams , with and , this defines , where is the multiset of all cycle lengths of , including fixed points. For either diagram , choose its specified cell numbering, let be the permutations preserving row and column coordinates, form , and let project orthogonally onto its range; then , with , and . Explicitly, if ; otherwise, for , it is times the average of over permutations whose full cycle multiset is with additional ’s. Here the descending factorial and factorial are converted to real numbers, empty averages and division by zero give , and empty diagrams are allowed; , and the permutation group on no labels has one element.
QAlgorithms.Papers.Independent.Extend50.P34.starPower
For any natural number and Young diagram , this defines the shifted-power sum at shift , namely , where is the number of rows and , indexed from . The empty diagram gives , and gives .
QAlgorithms.Papers.Independent.Extend50.P34.starShift
For any natural number , real number , and Young diagram , let be its number of rows and let , with rows indexed from . This defines , with row lengths and indices interpreted as real numbers inside the powers. There is no restriction on . The empty diagram gives an empty sum, hence ; also gives , because each summand is , including when a base is zero.
QAlgorithms.Papers.Independent.Extend50.P34.structureConstant
For every three Young diagrams , put , where counts rows of length , and let consist of the permutations of whose nontrivial cycle lengths, supplemented by one part for every fixed point of , form the row-length multiset of . This defines the real number
where counts ordered choices with , , , , and each permutation fixing the complement of its corresponding set and having, on that set including fixed points, the row-length cycle multiset of or , respectively. All natural-number counts are converted to real numbers in this formula. Empty diagrams are permitted, empty products equal , and real division by zero is defined to be .
QAlgorithms.Papers.Independent.Extend50.P34.supportProperty
For natural numbers , this defines the set of real vectors indexed by such that every coordinate is nonnegative, , and at most coordinates are nonzero. Both and are permitted; in either case the resulting set is empty.
QAlgorithms.Papers.Independent.Extend50.P34.sw
For arbitrary natural numbers , a complex matrix , and a Young diagram with exactly cells and at most rows, this defines the real number
Here, writing for the permutations of , use the definition’s chosen bijection between the cells of and that set to form the subgroups preserving, respectively, each cell’s row and column. Define the matrix on by
Let be the orthogonal projection onto the range of , let be the complex dimension of that range, and let . Then
No density-matrix hypothesis on is imposed. When , the value is ; when , no admissible exists.
QAlgorithms.Papers.Independent.Extend50.P34.swSpectrum
For arbitrary natural numbers and any real vector , this defines a real-valued function on Young diagrams with cells and at most rows, whose value is
with . To specify , use the definition’s chosen numbering of the cells by , and let preserve rows and columns, respectively. Set
Let project orthogonally onto , let , and set and . The matrix used above is
The entries of need not be nonnegative or sum to . At the function has value on the empty diagram; for its domain is empty.
QAlgorithms.Papers.Independent.Extend50.P34.tildePower
For every natural number , including and , and every Young diagram , this defines
The maxima in the prefactor and exponent express subtraction in the natural numbers, which truncates at zero; cell content is instead an integer difference. The integral is with respect to Lebesgue measure. The value is for or , and also for an empty diagram.
QAlgorithms.Papers.Independent.Extend50.P34.truncation
For every natural number and real number , this defines the natural-number ceiling
meaning the least natural number at least the displayed real number, with value zero when that number is nonpositive. There are no positivity or nonvanishing assumptions. The real logarithm is total, with and for negative , and division by zero gives zero; in particular, the definition gives zero when or when .
QAlgorithms.Papers.Independent.Extend50.P34.twoQuotient
For any Young diagram and , let . From the list , , retain entries congruent to modulo , divide them by using integer division, and sort them in nonincreasing order . Form the list , sort that list again in nonincreasing order, and construct the Young diagram with those row lengths; zero entries contribute no cells. Every subtraction in this construction is natural-number subtraction truncated at zero. This defines the returned diagram, including the empty diagram when the resulting list is empty.
QAlgorithms.Papers.Independent.Extend50.P34.unif
For every natural number , this defines the real vector on whose every coordinate equals . The case is included: the vector then has no coordinates, and division by zero is assigned the value .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.