Definitions for A polynomiality property for Littlewood-Richardson coefficients
DefinitionQAlgorithms_Papers_Independent_Intake100_P98The objects the formalized statements of A polynomiality property for Littlewood-Richardson coefficients (arXiv:math/0308101) are stated in. Each was checked against the paper by a blind read-back and a moderator.
Coordinates: Three blocks of padded coordinates, PDF pp.3,7. Blocks 0,1,2 are lambda,mu,nu.paddedLRCoefficient: The coefficient in padded coordinates, PDF p.3. Only dominant triples are used in statements. The frozen row-list diagram sorts the padded list; on these antitone inputs it preserves the specified partition. There is no determinant normalization.IntegralDomain: The source's integral parameter domain, PDF pp.3,7--8; empty partitions allowed.SizeEquation: The real size hyperplane, PDF pp.7--9.RealDomain: The real cone Upsilon from (34), PDF p.11, with dominant nonnegative coordinates.realTriple: Real realization of an integral triple, PDF pp.7--8.stretch: Integral dilation, (21), PDF p.6.InteriorIndex: Genuinely interior hive positions, the explicit range in (22), PDF p.6.RhombusIndex: Rhombus origins; the guard i+j+2<=k handles k=1 without Nat truncation. PDF p.6, (17)--(19). The product order fixes orientation before origin.vertexCoefficient: Coefficients of a hive vertex after the boundary substitution (20), PDF p.6. At corners use row zero first, then column zero, then the diagonal. The only alternative values meet at (k,0), where they agree on the size hyperplane.rhombusCoefficient: Left minus right of HC, with the sign chosen for <=0; (17)--(22), PDF p.6.hiveMatrix: Actual matrix E_k=[b|I], (23)--(24), PDF p.7. No equality to LR counts is a field of this construction.boundaryMatrix: Actual boundary matrix B_k, the negative boundary coefficients of HC, (22)--(24), PDF pp.6--7.boundaryRhs: Boundary right-hand side B_k x, PDF p.7, (25).PointedKernel: Nonnegative real kernel condition in Definition 1.4, PDF p.4.partitionFiber: Actual nonnegative integral fiber, Definition 1.4, PDF p.4.vectorPartition: Vector partition count, Definition 1.4, PDF p.4. Nat.card is used only with pointed kernels in theorem statements. The kernel condition is a conclusion for E_k, not an assumed matrix property.columnCone: Positive hull of a specified column set, including zero, PDF pp.4--5.columnBases: Column bases, PDF p.5. Cardinality and independence specify full row rank. The empty basis is allowed for the zero-row matrix (k=1).chamberAt: Cell at b: intersection of all basis cones containing b, PDF p.5. Taking these intersections and their faces is the common refinement, not an arbitrarily chosen polynomiality subdivision.faces: Exposed faces of a polyhedral cone, including the cone itself (ell=0). Used to retain all lattice boundary points, PDF pp.4--5.partitionComplex: The actual vector-partition chamber complex, common refinement of basis cones with all their faces, PDF p.5. Inputs outside column support create no cell.lrComplex: The LR complex of Definition 2.4, PDF pp.7--8. Pull back the actual E_k complex along B_k, then intersect with C_k^(1) and C_k^(2), retaining faces.lrSupport: Closed hive support, as the union of the constructed LR cones, PDF pp.7--8.BlockDegreeAtMost: Total degree inside EACH of the three coordinate blocks, PDF p.10, Theorem 4.1; not the maximum of individual-variable degrees.evalReal: Evaluation of a rational polynomial on real coordinates, PDF pp.9--11.QuasipolynomialOn: Positive common period and residue-class polynomials on the integral size hyperplane, Corollary 2.5, PDF p.8. Total degree uses the printed coarse bound.PositiveRoot: Positive roots e_i-e_j, PDF p.2, with zero-based i<j.kostant: Kostant's K, Definition 1.2, PDF p.3: a genuine count of root decompositions. This is finite: dotting with (k-1,k-2,...,0) bounds each nonnegative multiplicity.rootHalfSum: Half sum of positive roots, PDF p.3. Arithmetic is in R before subtracting.permuteRootCoordinates: sigma(e_i)=e_{sigma(i)}; coordinates therefore use sigma inverse, PDF p.3.steinbergArgument: Steinberg argument from (14), PDF p.4.inversions: Number of inversions in the usual order 0<...<k-1, PDF pp.3--4.steinbergSum: Actual alternating Kostant sum, (14), PDF p.4, with integer signs.rootMatrix: Positive roots written in simple-root coordinates, PDF p.5.simpleCoordinates: Coordinates in the simple-root basis on sum v_i=0, PDF pp.2,5.kostantComplex: Kostant chamber complex in the standard sum-zero realization, PDF pp.5,8.rootInterior: Interior relative to the root hyperplane, PDF pp.8--9.kostantPiece: Associated Kostant polynomial as in Definition 3.2, PDF p.9. This chooses only a Kostant piece from the standard piecewise-polynomial background (p.5), never a polynomial specified by LR values. The explicit zero fallback makes the construction total even on sets that are not Kostant chambers. Polynomials may differ off the root hyperplane, where they are never evaluated by the theorem.kostantLabel: Fixed chamber labels are the chamber sets themselves;noneis label 0 outside support. Choosing among interiors is independent of LR coefficients. This avoids any dependence on an incidental integer numbering, PDF p.9.permutationOrder: A fixed total order on permutations, chosen once by a finite enumeration, Definition 3.2, PDF p.9. The sum itself is invariant under that enumeration.steinbergType: The type matrix indexed by the fixed finite permutation index set; Definition 3.2, PDF p.9. Reindexing a matrix by a total order changes no entries.steinbergP: P is computed by the alternating sum of associated Kostant pieces, (28), PDF p.9. No equality to LR coefficients is assumed in any definition.fundamentalWeight: Fundamental weight omega_(j+1), (6), PDF p.2. The index is Fin(k-1), correcting the nonexistent omega_k in (27), PDF p.9.WallIndex: Indices of all affine Steinberg walls, (27), PDF p.9.wallValue: Affine wall equation INCLUDING the delta shifts, (27)--(31), PDF pp.9--10.steinbergRegion: Open regions of the affine Steinberg arrangement in the size hyperplane, PDF p.9. All sign patterns are included; empty patterns are harmless.sizeInterior: Size-hyperplane relative interior, PDF pp.10--11.LRGeneric: Conical genericity used by the proof of Corollary 4.4, PDF p.11: interior of one LR chamber OR interior of the exterior of closed hive support. This is explicitly different from the affine SA genericity of PDF p.9.JointCoordinates: Joint variables: none is the dilation parameter t, some v a triple coordinate. PDF p.11, (35).JointDegreeAtMost: Joint polynomial degree bound: total degree in each triple block, and the separate t bound 3*choose(k-1,2), Corollary 4.4, PDF p.11.exchangeLRBlocks: Exchange lambda and mu, leaving nu fixed, Remark 5.1, PDF p.13.
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier30_P19
import Definitions.Def_QAlgorithms_Papers_Independent_Next46_P07
/-!
Rassart, A polynomiality property for Littlewood--Richardson coefficients,
arXiv:math/0308101v2 (2003). All page citations below are PDF pages.
The coefficient is the homogeneous GL_k coefficient, never a determinant-shift
quotient. Frozen tableau and row-list diagram definitions are imported from the
pinned accepted library; all new objects are local to this paper. Compilation
is pending under the batch handoff.
-/
noncomputable section
open scoped BigOperators
namespace QAlgorithms.Papers.Independent.Intake100.P98
open QAlgorithms.Papers.Independent.Frontier30.P19
attribute [local instance] Classical.propDecidable
/-- Three blocks of padded coordinates, PDF pp.3,7. Blocks 0,1,2 are lambda,mu,nu. -/
abbrev Coordinates (k : ℕ) := Fin 3 × Fin k
/-- The coefficient in padded coordinates, PDF p.3. Only dominant triples
are used in statements. The frozen row-list diagram sorts the padded list;
on these antitone inputs it preserves the specified partition. There is no
determinant normalization. -/
def paddedLRCoefficient {k : ℕ} (x : Coordinates k → ℕ) : ℕ :=
lrCoefficient k (QAlgorithms.Papers.Independent.Next46.P07.diagram (List.ofFn (fun i => x (0,i))))
(QAlgorithms.Papers.Independent.Next46.P07.diagram (List.ofFn (fun i => x (1,i))))
(QAlgorithms.Papers.Independent.Next46.P07.diagram (List.ofFn (fun i => x (2,i))))
example : skewCells ⊥ ⊥ = ∅ := by
simp [skewCells]
example (k : ℕ) : lrCoefficient k ⊥ ⊥ ⊥ = 1 := by
letI : IsEmpty (skewCells ⊥ ⊥) := ⟨fun a => by
simpa [skewCells] using a.property⟩
have hvalid : ∀ T : (skewCells ⊥ ⊥) → Fin k,
IsLRFilling ⊥ ⊥ ⊥ T := by
intro T
refine ⟨?_, ?_, ?_⟩
· intro a
exact isEmptyElim a
· intro i
simp [YoungDiagram.rowLen_eq_card, YoungDiagram.row]
· intro a
exact isEmptyElim a
simp only [lrCoefficient, if_pos (Finset.Subset.refl _)]
rw [Finset.filter_true_of_mem (fun T _ => hvalid T)]
simp
/-- The source's integral parameter domain, PDF pp.3,7--8; empty partitions allowed. -/
def IntegralDomain {k : ℕ} (x : Coordinates k → ℕ) : Prop :=
(∀ b : Fin 3, Antitone (fun i => x (b,i))) ∧
(∑ i, x (0,i)) + (∑ i, x (1,i)) = ∑ i, x (2,i) ∧
(∀ i, x (0,i) ≤ x (2,i) ∧ x (1,i) ≤ x (2,i))
/-- The real size hyperplane, PDF pp.7--9. -/
def SizeEquation {k : ℕ} (x : Coordinates k → ℝ) : Prop :=
(∑ i, x (0,i)) + (∑ i, x (1,i)) = ∑ i, x (2,i)
/-- The real cone Upsilon from (34), PDF p.11, with dominant nonnegative coordinates. -/
def RealDomain {k : ℕ} (x : Coordinates k → ℝ) : Prop :=
SizeEquation x ∧ (∀ v, 0 ≤ x v) ∧
(∀ b : Fin 3, Antitone (fun i => x (b,i))) ∧
(∀ i, x (0,i) ≤ x (2,i) ∧ x (1,i) ≤ x (2,i))
/-- Real realization of an integral triple, PDF pp.7--8. -/
def realTriple {k : ℕ} (x : Coordinates k → ℕ) : Coordinates k → ℝ :=
fun v => (x v : ℝ)
/-- Integral dilation, (21), PDF p.6. -/
def stretch {k : ℕ} (x : Coordinates k → ℕ) (N : ℕ) : Coordinates k → ℕ :=
fun v => N * x v
example {k : ℕ} (x : Coordinates k → ℕ) : stretch x 1 = x := by
funext v
simp [stretch]
/-- Genuinely interior hive positions, the explicit range in (22), PDF p.6. -/
abbrev InteriorIndex (k : ℕ) :=
{ij : Fin (k+1) × Fin (k+1) //
0 < ij.1.val ∧ 0 < ij.2.val ∧ ij.1.val + ij.2.val < k}
/-- Rhombus origins; the guard i+j+2<=k handles k=1 without Nat truncation.
PDF p.6, (17)--(19). The product order fixes orientation before origin. -/
abbrev RhombusIndex (k : ℕ) :=
Fin 3 × {ij : Fin (k+1) × Fin (k+1) // ij.1.val + ij.2.val + 2 ≤ k}
/-- Coefficients of a hive vertex after the boundary substitution (20), PDF p.6.
At corners use row zero first, then column zero, then the diagonal. The only
alternative values meet at (k,0), where they agree on the size hyperplane. -/
def vertexCoefficient (k i j : ℕ) (c : InteriorIndex k ⊕ Coordinates k) : ℤ :=
if i = 0 then
match c with
| .inl _ => 0
| .inr v => if v.1 = 0 ∧ v.2.val < j then 1 else 0
else if j = 0 then
match c with
| .inl _ => 0
| .inr v => if v.1 = 2 ∧ v.2.val < i then 1 else 0
else if i + j = k then
match c with
| .inl _ => 0
| .inr v => (if v.1 = 0 then 1 else 0) +
(if v.1 = 1 ∧ v.2.val < i then 1 else 0)
else
match c with
| .inl q => if q.val.1.val = i ∧ q.val.2.val = j then 1 else 0
| .inr _ => 0
/-- Left minus right of HC, with the sign chosen for <=0; (17)--(22), PDF p.6. -/
def rhombusCoefficient {k : ℕ} (r : RhombusIndex k)
(c : InteriorIndex k ⊕ Coordinates k) : ℤ :=
let i := r.2.val.1.val
let j := r.2.val.2.val
let a := fun s t => vertexCoefficient k s t c
if r.1 = 0 then a i j + a (i+1) (j+1) - a (i+1) j - a i (j+1)
else if r.1 = 1 then a (i+2) j + a i (j+1) - a (i+1) j - a (i+1) (j+1)
else a (i+1) j + a i (j+2) - a i (j+1) - a (i+1) (j+1)
/-- Actual matrix E_k=[b|I], (23)--(24), PDF p.7.
No equality to LR counts is a field of this construction. -/
def hiveMatrix (k : ℕ) :
Matrix (RhombusIndex k) (InteriorIndex k ⊕ RhombusIndex k) ℤ :=
fun r c => match c with
| .inl q => rhombusCoefficient r (.inl q)
| .inr s => if r = s then 1 else 0
/-- Actual boundary matrix B_k, the negative boundary coefficients of HC,
(22)--(24), PDF pp.6--7. -/
def boundaryMatrix (k : ℕ) : Matrix (RhombusIndex k) (Coordinates k) ℤ :=
fun r v => -rhombusCoefficient r (.inr v)
/-- Boundary right-hand side B_k x, PDF p.7, (25). -/
def boundaryRhs {k : ℕ} (x : Coordinates k → ℕ) : RhombusIndex k → ℤ :=
fun r => ∑ v, boundaryMatrix k r v * (x v : ℤ)
/-- Nonnegative real kernel condition in Definition 1.4, PDF p.4. -/
def PointedKernel {R C : Type*} [Fintype C] (M : Matrix R C ℤ) : Prop :=
∀ a : C → ℝ, (∀ j, 0 ≤ a j) →
(∀ i, ∑ j, (M i j : ℝ) * a j = 0) → a = 0
/-- Actual nonnegative integral fiber, Definition 1.4, PDF p.4. -/
def partitionFiber {R C : Type*} [Fintype C] (M : Matrix R C ℤ) (b : R → ℤ) :=
{a : C → ℕ // ∀ i, ∑ j, M i j * (a j : ℤ) = b i}
/-- Vector partition count, Definition 1.4, PDF p.4.
Nat.card is used only with pointed kernels in theorem statements. The kernel
condition is a conclusion for E_k, not an assumed matrix property. -/
def vectorPartition {R C : Type*} [Fintype C] (M : Matrix R C ℤ) (b : R → ℤ) : ℕ :=
Nat.card (partitionFiber M b)
example {k : ℕ} (r : RhombusIndex k) : hiveMatrix k r (.inr r) = 1 := by
simp [hiveMatrix]
example {k : ℕ} (v : Coordinates k) : vertexCoefficient k 0 0 (.inr v) = 0 := by
simp [vertexCoefficient]
/-- The first k=3 square inequality is a_11 <= lambda_1+nu_1,
(17),(20), PDF p.6. These entries pin both the interior and boundary signs. -/
example : hiveMatrix 3 (0, ⟨(0,0), by decide⟩)
(.inl ⟨(1,1), by decide⟩) = 1 := by
norm_num [hiveMatrix, rhombusCoefficient, vertexCoefficient, Fin.ext_iff]
example : boundaryMatrix 3 (0, ⟨(0,0), by decide⟩) (0,0) = 1 := by
norm_num [boundaryMatrix, rhombusCoefficient, vertexCoefficient, Fin.ext_iff]
example : boundaryMatrix 3 (0, ⟨(0,0), by decide⟩) (2,0) = 1 := by
norm_num [boundaryMatrix, rhombusCoefficient, vertexCoefficient, Fin.ext_iff]
/-- Positive hull of a specified column set, including zero, PDF pp.4--5. -/
def columnCone {R C : Type*} [Fintype C] (M : Matrix R C ℤ) (S : Finset C) :
Set (R → ℝ) :=
{b | ∃ a : C → ℝ, (∀ j, 0 ≤ a j) ∧ (∀ j, j ∉ S → a j = 0) ∧
∀ i, b i = ∑ j, (M i j : ℝ) * a j}
/-- Column bases, PDF p.5. Cardinality and independence specify full row rank.
The empty basis is allowed for the zero-row matrix (k=1). -/
def columnBases {R C : Type*} [Fintype R] [Fintype C] (M : Matrix R C ℤ) :
Set (Finset C) :=
{S | S.card = Fintype.card R ∧
LinearIndependent ℝ (fun j : S => fun i : R => (M i j.val : ℝ))}
/-- Cell at b: intersection of all basis cones containing b, PDF p.5.
Taking these intersections and their faces is the common refinement, not an
arbitrarily chosen polynomiality subdivision. -/
def chamberAt {R C : Type*} [Fintype R] [Fintype C]
(M : Matrix R C ℤ) (b : R → ℝ) : Set (R → ℝ) :=
{y | ∀ S ∈ columnBases M, b ∈ columnCone M S → y ∈ columnCone M S}
/-- Exposed faces of a polyhedral cone, including the cone itself (ell=0).
Used to retain all lattice boundary points, PDF pp.4--5. -/
def faces {V : Type*} [AddCommGroup V] [Module ℝ V] (C : Set V) : Set (Set V) :=
{F | ∃ ell : V →ₗ[ℝ] ℝ,
(∀ y ∈ C, 0 ≤ ell y) ∧ F = {y | y ∈ C ∧ ell y = 0}}
/-- The actual vector-partition chamber complex, common refinement of basis
cones with all their faces, PDF p.5. Inputs outside column support create no cell. -/
def partitionComplex {R C : Type*} [Fintype R] [Fintype C]
(M : Matrix R C ℤ) : Set (Set (R → ℝ)) :=
{F | ∃ b ∈ columnCone M Finset.univ, F ∈ faces (chamberAt M b)}
/-- The LR complex of Definition 2.4, PDF pp.7--8. Pull back the actual
E_k complex along B_k, then intersect with C_k^(1) and C_k^(2), retaining faces. -/
def lrComplex (k : ℕ) : Set (Set (Coordinates k → ℝ)) :=
{F | ∃ C ∈ partitionComplex (hiveMatrix k),
F ∈ faces {x | RealDomain x ∧
(fun r => ∑ v, (boundaryMatrix k r v : ℝ) * x v) ∈ C}}
/-- Closed hive support, as the union of the constructed LR cones, PDF pp.7--8. -/
def lrSupport (k : ℕ) : Set (Coordinates k → ℝ) :=
{x | ∃ C ∈ lrComplex k, x ∈ C}
/-- Total degree inside EACH of the three coordinate blocks, PDF p.10,
Theorem 4.1; not the maximum of individual-variable degrees. -/
def BlockDegreeAtMost {k : ℕ} (p : MvPolynomial (Coordinates k) ℚ) (D : ℕ) : Prop :=
∀ m ∈ p.support, ∀ b : Fin 3, (∑ i : Fin k, m (b,i)) ≤ D
/-- Evaluation of a rational polynomial on real coordinates, PDF pp.9--11. -/
def evalReal {I : Type*} (p : MvPolynomial I ℚ) (x : I → ℝ) : ℝ :=
MvPolynomial.eval₂ (algebraMap ℚ ℝ) x p
/-- Positive common period and residue-class polynomials on the integral
size hyperplane, Corollary 2.5, PDF p.8. Total degree uses the printed coarse bound. -/
def QuasipolynomialOn {k : ℕ} (C : Set (Coordinates k → ℝ)) (D : ℕ) : Prop :=
∃ period : ℕ, 0 < period ∧
∃ pieces : (Coordinates k → ZMod period) → MvPolynomial (Coordinates k) ℚ,
(∀ r, (pieces r).totalDegree ≤ D) ∧
∀ x : Coordinates k → ℕ, IntegralDomain x → realTriple x ∈ C →
MvPolynomial.eval (fun v => (x v : ℚ)) (pieces (fun v => (x v : ZMod period))) = (paddedLRCoefficient x : ℚ)
example {k : ℕ} (D : ℕ) : BlockDegreeAtMost (0 : MvPolynomial (Coordinates k) ℚ) D := by
simp [BlockDegreeAtMost]
/-- Positive roots e_i-e_j, PDF p.2, with zero-based i<j. -/
abbrev PositiveRoot (k : ℕ) := {ij : Fin k × Fin k // ij.1 < ij.2}
/-- Kostant's K, Definition 1.2, PDF p.3: a genuine count of root decompositions.
This is finite: dotting with (k-1,k-2,...,0) bounds each nonnegative multiplicity. -/
def kostant {k : ℕ} (v : Fin k → ℝ) : ℕ :=
Nat.card {a : PositiveRoot k → ℕ // ∀ i : Fin k,
(∑ r : PositiveRoot k,
(a r : ℝ) * ((if i = r.val.1 then 1 else 0) -
(if i = r.val.2 then 1 else 0))) = v i}
/-- Half sum of positive roots, PDF p.3. Arithmetic is in R before subtracting. -/
def rootHalfSum (k : ℕ) : Fin k → ℝ :=
fun i => ((k : ℝ) - 1 - 2 * (i.val : ℝ)) / 2
/-- sigma(e_i)=e_{sigma(i)}; coordinates therefore use sigma inverse, PDF p.3. -/
def permuteRootCoordinates {k : ℕ} (sigma : Equiv.Perm (Fin k)) (v : Fin k → ℝ) : Fin k → ℝ :=
fun i => v (sigma.symm i)
/-- Steinberg argument from (14), PDF p.4. -/
def steinbergArgument {k : ℕ} (x : Coordinates k → ℝ)
(sigma tau : Equiv.Perm (Fin k)) : Fin k → ℝ :=
fun i => permuteRootCoordinates sigma (fun j => x (0,j) + rootHalfSum k j) i +
permuteRootCoordinates tau (fun j => x (1,j) + rootHalfSum k j) i - (x (2,i) + 2 * rootHalfSum k i)
/-- Number of inversions in the usual order 0<...<k-1, PDF pp.3--4. -/
def inversions {k : ℕ} (sigma : Equiv.Perm (Fin k)) : ℕ :=
(Finset.univ.filter fun ij : Fin k × Fin k =>
ij.1 < ij.2 ∧ sigma ij.2 < sigma ij.1).card
/-- Actual alternating Kostant sum, (14), PDF p.4, with integer signs. -/
def steinbergSum {k : ℕ} (x : Coordinates k → ℝ) : ℤ :=
∑ sigma : Equiv.Perm (Fin k), ∑ tau : Equiv.Perm (Fin k),
(-1 : ℤ) ^ inversions (sigma * tau) * (kostant (steinbergArgument x sigma tau) : ℤ)
example (k : ℕ) : permuteRootCoordinates (1 : Equiv.Perm (Fin k)) (rootHalfSum k) = rootHalfSum k := by
rfl
example : rootHalfSum 3 0 = 1 ∧ rootHalfSum 3 1 = 0 ∧ rootHalfSum 3 2 = -1 := by
norm_num [rootHalfSum]
/-- Positive roots written in simple-root coordinates, PDF p.5. -/
def rootMatrix (k : ℕ) : Matrix (Fin (k-1)) (PositiveRoot k) ℤ :=
fun i r => if r.val.1.val ≤ i.val ∧ i.val < r.val.2.val then 1 else 0
/-- Coordinates in the simple-root basis on sum v_i=0, PDF pp.2,5. -/
def simpleCoordinates {k : ℕ} (v : Fin k → ℝ) : Fin (k-1) → ℝ :=
fun i => ∑ j : Fin k, if j.val ≤ i.val then v j else 0
/-- Kostant chamber complex in the standard sum-zero realization, PDF pp.5,8. -/
def kostantComplex (k : ℕ) : Set (Set (Fin k → ℝ)) :=
{C | ∃ B ∈ partitionComplex (rootMatrix k),
C = {v | (∑ i, v i) = 0 ∧ simpleCoordinates v ∈ B}}
/-- Interior relative to the root hyperplane, PDF pp.8--9. -/
def rootInterior {k : ℕ} (C : Set (Fin k → ℝ)) : Set (Fin k → ℝ) :=
{v | ∃ h : (∑ i, v i) = 0,
(⟨v,h⟩ : {w : Fin k → ℝ // (∑ i, w i) = 0}) ∈
interior {w : {w : Fin k → ℝ // (∑ i, w i) = 0} | w.val ∈ C}}
/-- Associated Kostant polynomial as in Definition 3.2, PDF p.9. This chooses
only a Kostant piece from the standard piecewise-polynomial background (p.5),
never a polynomial specified by LR values. The explicit zero fallback makes the
construction total even on sets that are not Kostant chambers. Polynomials may
differ off the root hyperplane, where they are never evaluated by the theorem. -/
def kostantPiece {k : ℕ} (C : Set (Fin k → ℝ)) : MvPolynomial (Fin k) ℚ :=
if h : ∃ p : MvPolynomial (Fin k) ℚ,
p.totalDegree ≤ Nat.choose (k-1) 2 ∧
∀ z : Fin k → ℤ, (∑ i, z i) = 0 →
(fun i => (z i : ℝ)) ∈ C →
evalReal p (fun i => (z i : ℝ)) = (kostant (fun i => (z i : ℝ)) : ℝ) then
Classical.choose h
else 0
/-- Fixed chamber labels are the chamber sets themselves; `none` is label 0
outside support. Choosing among interiors is independent of LR coefficients.
This avoids any dependence on an incidental integer numbering, PDF p.9. -/
def kostantLabel {k : ℕ} (v : Fin k → ℝ) : Option (Set (Fin k → ℝ)) :=
if h : ∃ C ∈ kostantComplex k, v ∈ rootInterior C then
some (Classical.choose h)
else none
/-- A fixed total order on permutations, chosen once by a finite enumeration,
Definition 3.2, PDF p.9. The sum itself is invariant under that enumeration. -/
def permutationOrder (k : ℕ) : LinearOrder (Equiv.Perm (Fin k)) :=
LinearOrder.lift' (Fintype.equivFin (Equiv.Perm (Fin k)))
(Fintype.equivFin (Equiv.Perm (Fin k))).injective
/-- The type matrix indexed by the fixed finite permutation index set;
Definition 3.2, PDF p.9. Reindexing a matrix by a total order changes no entries. -/
def steinbergType {k : ℕ} (x : Coordinates k → ℝ) :=
letI : LinearOrder (Equiv.Perm (Fin k)) := permutationOrder k
fun sigma tau : Equiv.Perm (Fin k) => kostantLabel (steinbergArgument x sigma tau)
/-- P is computed by the alternating sum of associated Kostant pieces, (28),
PDF p.9. No equality to LR coefficients is assumed in any definition. -/
def steinbergP {k : ℕ} (x : Coordinates k → ℝ) : ℝ :=
∑ sigma : Equiv.Perm (Fin k), ∑ tau : Equiv.Perm (Fin k),
(-1 : ℝ) ^ inversions (sigma * tau) *
match steinbergType x sigma tau with
| none => 0
| some C => evalReal (kostantPiece C) (steinbergArgument x sigma tau)
/-- Fundamental weight omega_(j+1), (6), PDF p.2.
The index is Fin(k-1), correcting the nonexistent omega_k in (27), PDF p.9. -/
def fundamentalWeight (k : ℕ) (j : Fin (k-1)) : Fin k → ℝ :=
fun i => if i.val < j.val + 1 then
((k : ℝ) - ((j.val + 1 : ℕ) : ℝ)) / (k : ℝ) else -((j.val + 1 : ℕ) : ℝ) / (k : ℝ)
/-- Indices of all affine Steinberg walls, (27), PDF p.9. -/
abbrev WallIndex (k : ℕ) :=
Equiv.Perm (Fin k) × Equiv.Perm (Fin k) × Equiv.Perm (Fin k) × Fin (k-1)
/-- Affine wall equation INCLUDING the delta shifts, (27)--(31), PDF pp.9--10. -/
def wallValue {k : ℕ} (w : WallIndex k) (x : Coordinates k → ℝ) : ℝ :=
∑ i, steinbergArgument x w.1 w.2.1 i *
permuteRootCoordinates w.2.2.1 (fundamentalWeight k w.2.2.2) i
/-- Open regions of the affine Steinberg arrangement in the size hyperplane,
PDF p.9. All sign patterns are included; empty patterns are harmless. -/
def steinbergRegion {k : ℕ} (s : WallIndex k → Bool) : Set (Coordinates k → ℝ) :=
{x | SizeEquation x ∧ ∀ w, if s w then 0 < wallValue w x else wallValue w x < 0}
/-- Size-hyperplane relative interior, PDF pp.10--11. -/
def sizeInterior {k : ℕ} (C : Set (Coordinates k → ℝ)) : Set (Coordinates k → ℝ) :=
{x | ∃ h : SizeEquation x,
(⟨x,h⟩ : {y : Coordinates k → ℝ // SizeEquation y}) ∈
interior {y : {y : Coordinates k → ℝ // SizeEquation y} | y.val ∈ C}}
/-- Conical genericity used by the proof of Corollary 4.4, PDF p.11:
interior of one LR chamber OR interior of the exterior of closed hive support.
This is explicitly different from the affine SA genericity of PDF p.9. -/
def LRGeneric {k : ℕ} (x : Coordinates k → ℝ) : Prop :=
(∃ C ∈ lrComplex k, x ∈ sizeInterior C) ∨
x ∈ sizeInterior (lrSupport k)ᶜ
/-- Joint variables: none is the dilation parameter t, some v a triple coordinate.
PDF p.11, (35). -/
abbrev JointCoordinates (k : ℕ) := Option (Coordinates k)
/-- Joint polynomial degree bound: total degree in each triple block, and the
separate t bound 3*choose(k-1,2), Corollary 4.4, PDF p.11. -/
def JointDegreeAtMost {k : ℕ} (p : MvPolynomial (JointCoordinates k) ℚ) (D : ℕ) : Prop :=
∀ m ∈ p.support,
m none ≤ 3 * D ∧ ∀ b : Fin 3, (∑ i : Fin k, m (some (b,i))) ≤ D
/-- Exchange lambda and mu, leaving nu fixed, Remark 5.1, PDF p.13. -/
def exchangeLRBlocks {k : ℕ} {A : Type*} (x : Coordinates k → A) : Coordinates k → A :=
fun v => if v.1 = 0 then x (1,v.2) else if v.1 = 1 then x (0,v.2) else x v
example {k : ℕ} (x : Coordinates k → ℕ) (i : Fin k) :
exchangeLRBlocks x (0,i) = x (1,i) := by
simp [exchangeLRBlocks]
example {k : ℕ} (D : ℕ) :
JointDegreeAtMost (0 : MvPolynomial (JointCoordinates k) ℚ) D := by
simp [JointDegreeAtMost]
end QAlgorithms.Papers.Independent.Intake100.P98
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intake100.P98.BlockDegreeAtMost
For any natural numbers and polynomial with rational coefficients in variables indexed by , this predicate means that every monomial having a nonzero coefficient in has degree at most in each of the three blocks separately: if its exponent at variable is , then for each . The zero polynomial satisfies the predicate vacuously. When , each block sum is zero, so every polynomial in the empty set of variables satisfies it.
QAlgorithms.Papers.Independent.Intake100.P98.Coordinates
For every natural number , is the set of pairs with and . It is empty when .
QAlgorithms.Papers.Independent.Intake100.P98.IntegralDomain
For every natural number and natural-valued array , indexed by and , means that each block is nonincreasing, so whenever , that
and that and for every . For , the inequalities are vacuous and the equation is , so the condition holds for the unique empty array.
QAlgorithms.Papers.Independent.Intake100.P98.InteriorIndex
For every natural number , consists of integer pairs with satisfying , , and . In particular, this index set is empty for .
QAlgorithms.Papers.Independent.Intake100.P98.JointCoordinates
For every natural number , the joint coordinate set consists of one distinguished coordinate, denoted , together with coordinates for and ; these two kinds of coordinates are disjoint. Thus it has elements, and for it consists only of .
QAlgorithms.Papers.Independent.Intake100.P98.JointDegreeAtMost
For any natural numbers and any polynomial with rational coefficients in the variables and , where and , this predicate says that every monomial with nonzero coefficient in has exponent at most in , and, separately for each block , has sum of exponents in the variables at most :
The distinguished variable corresponds to the extra coordinate, and the correspond to the three coordinate blocks. The zero polynomial satisfies the predicate because it has no supported monomials. For , the three block sums are empty and equal to , leaving only the exponent bound on ; for , only constant monomials are permitted.
QAlgorithms.Papers.Independent.Intake100.P98.LRGeneric
For any natural number , including , and any real array , this predicate says that belongs either to the interior of some set in the collection , taken in the size hyperplane
or to the interior, in that same hyperplane, of the complement of . Here is constructed as follows. Let consist of nonnegative arrays whose three blocks are weakly decreasing and satisfy and for every . Introduce variables for with , and define vertex values, for , by the following cases in the displayed order:
For every with , form the three expressions
Write their combined linear map as , and put , with one identity column for each expression. For a set of columns, let be their nonnegative real cone; call a column basis when its cardinality is the number of rows of and its columns are linearly independent. For in the cone of all columns, set , with an empty intersection interpreted as the whole row space. A face of any set here means precisely , where is a real linear functional nonnegative throughout ; the zero functional is allowed. The collection consists of all faces of , where ranges over all faces of all such . The interiors in the predicate are taken in , rather than in each set’s own affine span. When , all coordinate blocks and the indicated index sets are empty, with empty sums equal to .
QAlgorithms.Papers.Independent.Intake100.P98.PointedKernel
For any types and , with equipped with a finite enumeration, and any integer matrix , this defines the proposition that every real vector satisfying
is the zero vector. The integer entries of are interpreted as real numbers in these sums; need not be finite. If is empty, the proposition holds. If is empty, the equations impose no restriction, so the proposition holds exactly when is empty.
QAlgorithms.Papers.Independent.Intake100.P98.PositiveRoot
For every natural number , this is the type of pairs of indices satisfying . In particular, it is empty when or .
QAlgorithms.Papers.Independent.Intake100.P98.QuasipolynomialOn
For any natural numbers and any set , this predicate means that there exist a positive integer and, for every residue assignment , a rational polynomial of total degree at most , such that equals the following nonnegative integer, embedded into , whenever the natural-number array satisfies all of these conditions: each block is nonincreasing in , , and for every , and its coordinatewise real embedding belongs to . To define that integer, form Young diagrams from the three lists , respectively, sorting each list in nonincreasing order. If is not contained in , the integer is zero; otherwise it is the number of fillings whose entries weakly increase from left to right in each row and strictly increase from top to bottom in each column, whose number of entries equal to each natural number is the length of row of , and which satisfy this prefix condition: for every skew cell and every pair of consecutive labels , among cells in rows above , together with cells in the row of at or to its right, the number labeled is at most the number labeled . The degree bound applies to every residue assignment, while the evaluation equality is required only at the specified natural-number arrays in ; if there are none, that equality requirement is vacuous. The definition includes .
QAlgorithms.Papers.Independent.Intake100.P98.RealDomain
For every natural number and real-valued array , indexed by and , means that
every entry is nonnegative, each block is nonincreasing—that is, whenever —and and for every . For , all inequalities are vacuous and the equation holds, so the unique empty array satisfies this condition.
QAlgorithms.Papers.Independent.Intake100.P98.RhombusIndex
For every natural number , consists of triples , where , , and . It is empty for ; for , its elements are precisely for .
QAlgorithms.Papers.Independent.Intake100.P98.SizeEquation
For every natural number and real-valued array , indexed by and , is precisely the condition
There are no sign or ordering requirements. When , this is the true equation .
QAlgorithms.Papers.Independent.Intake100.P98.WallIndex
For every natural number , this is an abbreviation for the type of quadruples , where are arbitrary permutations of and is an index in a set of size . Thus there are no such quadruples for or ; for , the last index satisfies .
QAlgorithms.Papers.Independent.Intake100.P98.boundaryMatrix
For every natural number , this defines an integer matrix with columns indexed by pairs , where and , and rows indexed by triples , where , , and . For each column , define the integer-valued function
where an indicator is when its condition holds and otherwise. The matrix entry in row and column is
For or , there are no rows.
QAlgorithms.Papers.Independent.Intake100.P98.boundaryRhs
For every natural number and every arbitrary array of natural numbers indexed by and , this defines an integer vector indexed by triples with , , and . Regard the entries of as integers and put
with all sums restricted to . The resulting component is
Equivalently, this is the product of the integer boundary matrix with . No ordering, size equation, or other restriction on is imposed. For or , the resulting vector has no components.
QAlgorithms.Papers.Independent.Intake100.P98.chamberAt
For any finite enumerated types , any integer matrix with these row and column indices, and any real vector , this defines the set of vectors with the following property: for every subset of cardinality whose columns , interpreted over , are linearly independent, if is a nonnegative real linear combination of those columns, then is also a nonnegative real linear combination of those columns. Equivalently, writing
the defined set is the intersection of all such that contain . If there is no qualifying containing , the condition is vacuous and the defined set is all of . There is no assumption that belongs to the cone generated by all columns.
QAlgorithms.Papers.Independent.Intake100.P98.columnBases
For any types and , each equipped with a finite enumeration, and any integer matrix , this defines the set of finite subsets satisfying both
where is the -th column with its integer entries interpreted as real numbers. The empty subset qualifies when is empty. The set of qualifying subsets may be empty; no rank assumption on is imposed.
QAlgorithms.Papers.Independent.Intake100.P98.columnCone
For any types and , with equipped with a finite enumeration, any integer matrix , and any finite subset , this defines the subset of consisting exactly of vectors for which there exists such that
Thus it consists of nonnegative real linear combinations of the columns indexed by , interpreting the integer matrix entries as real numbers. The row type need not be finite. The zero vector is always included; if is empty, this set is exactly the singleton containing the zero vector.
QAlgorithms.Papers.Independent.Intake100.P98.evalReal
For any index type , any polynomial with rational coefficients and variables indexed by , and any assignment , this definition returns the real number obtained by embedding every rational coefficient into and substituting for variable . The type need not be finite or nonempty; each polynomial involves only finitely many variables, and for empty this evaluates its constant coefficient.
QAlgorithms.Papers.Independent.Intake100.P98.exchangeLRBlocks
For every natural number , every type , with no additional structure assumed on , and every array , this defines the array obtained by exchanging its first two blocks and retaining its third:
For , it maps the unique empty array to itself.
QAlgorithms.Papers.Independent.Intake100.P98.faces
For any real module whose additive structure is an abelian group, and any subset , this defines a collection of subsets . A set belongs to the collection exactly when there exists a real-linear functional such that
No convexity, cone, closure, or nonemptiness assumption is made on . The zero functional is allowed and gives . If is empty, the collection consists only of the empty set.
QAlgorithms.Papers.Independent.Intake100.P98.fundamentalWeight
For every natural number and every index , this defines the vector by
The index set has size , so it is empty for and . Consequently, any supplied index forces , and the displayed divisions never have zero denominator for an admissible argument.
QAlgorithms.Papers.Independent.Intake100.P98.hiveMatrix
For every natural number , is an integer matrix whose rows are triples with , , and , and whose columns form the disjoint union of interior pairs with , , and a second copy of the row index set. For an interior column , put if and otherwise; the entry in row is
For a column from the second copy of the row index set, the entry is when and otherwise. Thus these latter columns form an identity matrix. For , both the row and column index sets are empty.
QAlgorithms.Papers.Independent.Intake100.P98.inversions
For any natural number and any permutation of , this definition returns the number of pairs with for which . For or , this number is zero.
QAlgorithms.Papers.Independent.Intake100.P98.kostant
For any natural number and any real vector , this definition returns the natural-number cardinality of the set of assignments of nonnegative integers to all pairs satisfying, for every ,
The equations are equalities in , with the integer multiplicities embedded into . The cardinality operation used returns zero for an infinite set as well as for an empty set. No integrality or zero-sum assumption is imposed on ; a noninteger coordinate or a nonzero coordinate sum makes the solution set empty. For , the unique empty assignment satisfies all equations and the value is ; for , the value is when and otherwise.
QAlgorithms.Papers.Independent.Intake100.P98.kostantComplex
For every natural number , this defines a family of subsets of as follows. Put , and, for every pair , let have coordinate equal to when , and otherwise. For a set of such pairs, let be the cone of nonnegative real linear combinations of the columns indexed by . Call a column basis when it has exactly elements and its columns are linearly independent. Choose any in the cone generated by all columns, form as the intersection of over all column bases for which , and choose any real linear functional that is nonnegative throughout . An intersection indexed by no column bases means all of . The family being defined consists exactly of all sets
obtained by these choices. No positivity assumption on is imposed; for or , this family consists only of the zero-sum subspace itself.
QAlgorithms.Papers.Independent.Intake100.P98.kostantLabel
For every natural number and every vector , this defines either a selected subset of or no subset. Its candidate subsets are constructed as follows: put , take columns , indexed by , with if and otherwise, and let be their nonnegative span for an index set . A column basis is a set of linearly independent columns. For in the cone of all columns, intersect the cones over the column bases whose cones contain , obtaining ; an empty intersection is . For a real linear functional nonnegative on , take
If at least one such contains in its interior taken within the fixed zero-sum subspace , the definition returns one such by unspecified classical choice; otherwise it returns no subset. No uniqueness is assumed. In particular, a vector outside receives no label. For or , the unique candidate is , and precisely its sole vector receives that label.
QAlgorithms.Papers.Independent.Intake100.P98.kostantPiece
For every natural number and every subset , this defines a polynomial with rational coefficients in the coordinate variables. For , let be the natural cardinality of the set of arrays of nonnegative integers satisfying
Natural cardinality is zero for an infinite set as well as for an empty set. If there exists a rational polynomial of total degree at most such that , interpreted as an equality of real numbers, for every integer vector with and , the definition selects one such polynomial by unspecified classical choice. Evaluation here embeds the rational coefficients into . If no such polynomial exists, the definition returns the zero polynomial. No uniqueness is required. In particular, when contains no zero-sum integer vectors, the evaluation condition is vacuous and any polynomial satisfying the degree bound is eligible; the definition does not specify which is selected. The cases and are included, and their degree bound is zero.
QAlgorithms.Papers.Independent.Intake100.P98.lrComplex
For every natural number , this defines a collection of subsets of , where . The complete construction is as follows. Put , , and let denote the coordinate vectors indexed by the disjoint union . For nonnegative with , define
Here the last case uses an -coordinate, the other cases use -coordinates, and each sum has . For , set
Define the integer matrix , with rows and columns , by for and for , and define by . For , let be the cone of nonnegative real linear combinations of the columns of indexed by . For , let
where an intersection over no sets is all of . Finally, let consist of arrays satisfying
A subset belongs to the defined collection exactly when there exist , a real-linear functional nonnegative on , and a real-linear functional , such that, putting and , the functional is nonnegative on and
Neither functional is required to be nonzero, and no positivity assumption on is made; all empty sums, empty index sets, and vacuous conditions are included.
QAlgorithms.Papers.Independent.Intake100.P98.lrSupport
For every natural number , this defines a subset of , where , by the following membership condition. Put , , and use coordinate vectors indexed by . Define
for with , using -coordinates in the last case and -coordinates in the other cases, and restricting each sum to . For , put
Let be the integer matrix with rows and columns given by for and for , and put . For each , let be the cone of nonnegative real linear combinations of its indexed columns of , and for put
with an empty intersection interpreted as . Let be the set of arrays whose coordinates are nonnegative, whose three blocks are nonincreasing in their second index, and which satisfy
A vector belongs to the defined support exactly when there exist , a real-linear functional nonnegative on , a real-linear functional , and a set , such that, writing
one has for every , , and . Thus membership is existential membership in one of the sets constructed in this way. Zero functionals are permitted, and and all resulting empty index sets and sums are included.
QAlgorithms.Papers.Independent.Intake100.P98.paddedLRCoefficient
For every natural number and array , form Young diagrams by sorting, respectively, the lists , , and into nonincreasing order and using them as row lengths. The value is zero if the cells of are not contained in those of . Otherwise it is the number of fillings satisfying all of the following: entries weakly increase from left to right in each row and strictly increase from top to bottom in each column; for every natural number , the number of cells assigned the value equals the length of row of ; and, for every skew cell and every , among the skew cells with , or with and , the number of entries equal to is at most the number equal to . No ordering, size equation, or containment condition on the original array is assumed. When , all three diagrams and the filling are empty, and the value is .
QAlgorithms.Papers.Independent.Intake100.P98.partitionComplex
For any finite enumerated types and any integer matrix with these row and column indices, this defines a collection of subsets . Write
for each , interpreting columns as real vectors. A set belongs to the collection exactly when there exist and a real-linear functional such that, with
one has for every and
The vector and the zero functional are permitted. An intersection defining with no applicable subsets is the whole space; in particular, if no subset of columns qualifies as a basis, the collection consists only of .
QAlgorithms.Papers.Independent.Intake100.P98.partitionFiber
For any types and , with equipped with a finite enumeration, any integer matrix , and any integer vector , this defines the type of natural-number vectors satisfying
where the entries of are interpreted as integers in the equations. Zero coordinates are allowed, need not be finite, and the solution type need not be finite or nonempty. If is empty, it contains the unique empty vector exactly when for every ; otherwise it is empty. If is empty, every vector in is a solution.
QAlgorithms.Papers.Independent.Intake100.P98.permutationOrder
For every natural number , this defines a linear order on the permutations of by transporting the usual order on along the particular bijection supplied by the finite-type enumeration of the permutation set. Explicitly, if this bijection is , then means . The definition includes and , when there is only one permutation and hence only one possible linear order.
QAlgorithms.Papers.Independent.Intake100.P98.permuteRootCoordinates
For any natural number , any permutation of , and any real vector indexed by that set, this definition returns the vector with coordinate at index . It includes the unique permutation and empty vector when .
QAlgorithms.Papers.Independent.Intake100.P98.realTriple
For every natural number and natural-valued array , is the real-valued array on the same index set obtained by viewing each entry as a real number:
No further conditions on are imposed; for , this sends the unique empty natural-valued array to the unique empty real-valued array.
QAlgorithms.Papers.Independent.Intake100.P98.rhombusCoefficient
For every natural number , every triple with , , and , and every index in the disjoint union of interior pairs with , , and boundary-coordinate pairs with , , define an integer-valued function on natural pairs as follows: for an interior index , let ; for a boundary-coordinate index , let
where each indicator is if its condition holds and otherwise. Then is
For , there are no possible row indices .
QAlgorithms.Papers.Independent.Intake100.P98.rootHalfSum
For every natural number , this defines the real vector indexed by whose -th coordinate is
All subtraction in this formula takes place in . For the vector is empty, and for its sole coordinate is zero.
QAlgorithms.Papers.Independent.Intake100.P98.rootInterior
For every natural number and every subset , this defines the set of vectors with that belong to the interior of in the subspace topology on . Thus the interior is taken in this fixed zero-sum subspace, rather than in the affine span of ; points of outside have no effect. The definition includes , with empty sums interpreted as zero. For and , is a singleton, so the resulting set is .
QAlgorithms.Papers.Independent.Intake100.P98.rootMatrix
For every natural number , this defines an integer matrix with rows indexed by , where is natural-number subtraction, and columns indexed by pairs . Its entry in row and column is if , and otherwise. When or , both index sets are empty.
QAlgorithms.Papers.Independent.Intake100.P98.simpleCoordinates
For any natural number and any real vector , this definition returns the vector indexed by , with natural-number subtraction used in the index bound, whose -th coordinate is
No zero-sum condition is required of . For or , the output vector is empty.
QAlgorithms.Papers.Independent.Intake100.P98.sizeInterior
For every natural number and every subset of the real arrays , this defines the vectors in the subspace
that belong to the interior of in the subspace topology on . The interior is therefore taken within this fixed size-equation subspace; points of outside do not contribute, and no nonnegativity or monotonicity assumptions are imposed. The case is included: all sums are empty, the ambient array space has one element, and the resulting set equals .
QAlgorithms.Papers.Independent.Intake100.P98.steinbergArgument
For any natural number , any real array indexed by and , and any permutations of , this defines the real vector with
There are no ordering, nonnegativity, integrality, or size-equation hypotheses on . For , the resulting vector is empty.
QAlgorithms.Papers.Independent.Intake100.P98.steinbergP
For every natural number and every real array , this defines the real number
where the arithmetic defining is real and is determined by the following choices. Put , let have entry when and otherwise, for , and let be the nonnegative span of columns indexed by . For each in the cone of all columns, intersect those containing for which consists of exactly linearly independent columns, obtaining ; an empty intersection is the whole space. Candidate sets are , where and is any real linear functional nonnegative on . If belongs to none of these sets’ interiors in the fixed zero-sum subspace, then . Otherwise one such set is selected by classical choice. For that , select by classical choice a rational polynomial of total degree at most agreeing, at every zero-sum integer vector , with the natural cardinality of the nonnegative integer arrays satisfying ; if no such polynomial exists, set . Natural cardinality returns zero for an infinite set. Then is the real evaluation , with rational coefficients embedded into . Neither choice requires uniqueness, and a set containing no zero-sum integer vectors imposes no evaluation constraints on its eligible polynomials. No domain restriction is placed on ; is allowed, and each permutation sum then has one term.
QAlgorithms.Papers.Independent.Intake100.P98.steinbergRegion
For every natural number and every assignment of a Boolean value to each quadruple , where the first three entries are permutations of and , this defines the set of real arrays satisfying
and, for every such , when is true and when is false. Here
with in real arithmetic and for , and otherwise. All sign inequalities are strict, so any zero value excludes . No nonnegativity or monotonicity requirement is imposed on its coordinate blocks. The resulting set may be empty. For or , there are no quadruples, so the sign condition is vacuous and the set is the entire size-equation subspace.
QAlgorithms.Papers.Independent.Intake100.P98.steinbergSum
For any natural number and any real array indexed by and , this definition returns the integer
where is the number of pairs with , and is the natural-number cardinality, embedded into , of the nonnegative integer arrays satisfying, for every ,
The cardinality operation returns zero for an infinite solution set as well as for an empty one. No restrictions are imposed on the real array . When , there is one pair of empty permutations and one empty multiplicity assignment, so the value is .
QAlgorithms.Papers.Independent.Intake100.P98.steinbergType
For every natural number and every real array , this defines a function of two permutations of , whose value is either a selected subset of or no subset. First it installs the linear order on permutations obtained by transporting the natural order along their finite-type enumeration. Put , with this arithmetic performed in , and define
The candidate subsets for the value at are constructed by putting , taking columns with entries for and otherwise, and writing for the nonnegative span of columns indexed by . For a point in the cone of all columns, let be the intersection of the containing , where ranges over sets of exactly linearly independent columns; an empty intersection is all of . For any real linear functional nonnegative on , the associated candidate is , where . If lies in the interior of at least one such , with interior taken in the fixed zero-sum subspace, the function selects one such by classical choice; otherwise its value is no subset. No size equation, ordering, or nonnegativity condition is imposed on , and is included.
QAlgorithms.Papers.Independent.Intake100.P98.stretch
For every natural number , every natural-valued array , and every natural number , is the array with entries
The multiplier may be zero, in which case every entry is zero; when , the result is the unique empty array.
QAlgorithms.Papers.Independent.Intake100.P98.vectorPartition
For any types and , with equipped with a finite enumeration, any integer matrix , and any integer vector , this defines a natural number from the solution type
Its value is the number of solutions when this type is finite, and when it is infinite. In particular, both an empty solution type and an infinite solution type give value . No finiteness assumption on , or boundedness assumption on the solutions, is imposed.
QAlgorithms.Papers.Independent.Intake100.P98.vertexCoefficient
For arbitrary natural numbers , the integer takes an index from the disjoint union of interior pairs , satisfying and , and boundary-coordinate pairs , satisfying and . Write for when holds and otherwise. For an interior index , the value is . For a boundary-coordinate index , it is
The cases have the displayed priority: in particular, uses the first case. There is no assumption that , so the same rules apply to arbitrary natural . For , there are no possible indices .
QAlgorithms.Papers.Independent.Intake100.P98.wallValue
For every natural number , every quadruple consisting of three permutations of and an index , and every real array , this defines
where uses real arithmetic, and if , while otherwise. The existence of forces ; for and , there is no such argument . No size equation, sign condition, or ordering condition is required of .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.