Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Affine Hecke algebras and generalized standard Young tableaux

Definition
QAlgorithms_Papers_Independent_Intake100_P54

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

The objects the formalized statements of Affine Hecke algebras and generalized standard Young tableaux (arXiv:math/0401329) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • ARoot: The positive root epsilon_j - epsilon_i, i < j; §5.2, PDF p.22. The type contains no zero roots, including when n = 0 or 1.
  • aRootVector: Actual integral root vectors, rather than unrelated root names.
  • aPairing: The root pairing in the source's orthonormal epsilon coordinates.
  • aZeroRoots: Z(gamma), equations (4.3), (5.1), PDF pp.17,21.
  • aUnitRoots: P(gamma), equations (4.3), (5.1), PDF pp.17,21.
  • aInversions: R(w), with the positive-root convention of §5.2 and p.24.
  • aRegion: The chamber set is computed from inversion sets, not from tableaux.
  • aWeightAction: The actual inverse permutation convention: (w gamma)i = gamma(w^-1 i).
  • aConfigurationClosure: The closure condition printed in §5.10, p.25, in actual root vectors. It is independent of the existence of either a configuration or a tableau.
  • BoxDrawing: A finite labelled drawing on real graph paper. Real positions permit continuous diagonal slides; theorems impose integral diagonal contents.
  • drawingContent: Content on real-coordinate drawings, §5.5, p.23. This extends the accepted integer cell-content convention to the continuous slides of §5.10; the frozen Renew46.P26.boxContent is reused for integer skew-shape cells below.
  • Northwest: Northwest means strictly north and weakly west, pp.24–25.
  • Southeast: Southeast means weakly south and strictly east, p.25.
  • DisjointBoxes: Distinct unit-square boxes have disjoint interiors. Boundary contact is allowed. This prevents overlapping boxes on a diagonal.
  • DiagonallyNumbered: Numbering along diagonals SW to NE, and NW to SE on each diagonal, §5.3 and §5.10. No filling labels occur in this condition.
  • drawingJ: The geometric J of (5.7), independently of permutations.
  • ConfigurationFor: A realization of (gamma,J) as boxes, §5.10. Every field is geometric: contents, numbering, disjointness, and the two adjacent-diagonal orders.
  • slideData: Exactly the data preserved by allowed diagonal slides in §5.10: contents, order on a diagonal, and NW/SE orders on adjacent diagonals. Absolute row and column coordinates are deliberately absent.
  • SlideEquivalent: Equality up to allowed slides is equality of the preserved order data. This does not identify arbitrary drawings by their content sequence alone.
  • ContentOrderIso: A content-preserving geometric isomorphism may relabel boxes. It preserves order on each diagonal and the NW/SE comparisons on adjacent diagonals. It contains no assertion about standard tableaux or spectra.
  • ContentOrderIso.refl: The geometric identity is constructed without an assumed tableau law.
  • FillingsMatch: Fillings match through the actual content-preserving box isomorphism. This is a relation on concrete fillings, not content-sequence injectivity.
  • drawingSlideSetoid: The actual quotient by slide data; it assumes no chamber correspondence.
  • DrawingSlideClass: Slide classes of labelled drawings. Valid configurations form a subset.
  • RowColumnStandard: Row/column standardness, independently of root systems or chamber sets; §5.3, p.23. A permutation is a bijective filling with all n labels.
  • ConfigurationStandard: The three filling inequalities of §5.10, p.25. They are read from actual box positions, not defined as membership in F(gamma,J).
  • ConfigurationTableaux: Standard configuration fillings, with globally bijective labels.
  • tableauWord: The word reads the entries of the numbered boxes, equation (5.4).
  • cellsDrawing: A drawing of integer cells with arbitrary integer shift of content. Rows and columns have the English/matrix orientation.
  • PlacedSkewShape: A placed skew shape, §§5.3–5.5, pp.22–23. The skew diagram is the finite difference of two genuine lower ideals. Numbering and placement contain only geometry, with no calibratedness or uniqueness of spectra.
  • PlacedSkewShape.drawing: The actual drawing of the placed skew shape.
  • PlacedSkewShape.gamma: Integral contents are computed from boxes and their placement.
  • PlacedSkewShape.J: The shape's J is computed geometrically by (5.7).
  • SkewTableaux: Standard skew tableaux are row/column increasing fillings, p.23.
  • IsSkewConfiguration: Geometric skewness modulo slides. A diagram is recognized by actual partition differences; skew local regions do not occur in the definition.
  • aCalibratable: Type A specialization of the numerical conditions (5.1c), applied to arbitrary w gamma, including nondominant vectors. The rank-one condition excludes equal neighboring entries. In an A2 subsystem with neighboring entries unequal, a zero root means equal entries two positions apart; its level-one root count is 0 or 2, never more than 2. Disjoint A1 pairs add no condition once rank one holds. Thus the second condition excludes those distance-two equalities. This is independent of diagrams or modules.
  • IsSkewLocalRegionA: Skewness in §5.1d: nonempty region and calibratability of every w gamma.
  • IsRibbonA: A ribbon is a nonempty local region with regular gamma, §5.1b.
  • IsPlacedBorderStrip: A border strip is a skew configuration with at most one box per diagonal. Connectivity is expressly not required in §6.5, p.29.
  • boxContaining: The box containing an entry, with the word convention of (5.4).
  • classicalAxialDistance: Classical axial distance FROM j TO i, PDF pp.27–28. All differences are in the reals, so negative distances are retained.
  • aAxialDistance: Root axial distance for epsilon_j-epsilon_i; i,j may be arbitrary.
  • emptyDrawing: Empty drawings have no boxes to compare.
  • negativeSingleBox: A one-box drawing can have negative content.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Renew46_P26

/-!
Concrete type A geometry from Ram, arXiv:math/0401329v2, §§5–6.
Mathlib primitives and the accepted integer cell-content definition are used.
No representation classification, support,
or tableau-to-chamber correspondence is a field of any definition below.
Labels in `Fin n` stand for the printed labels 1,...,n.
-/

noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P54

/-- The positive root epsilon_j - epsilon_i, i < j; §5.2, PDF p.22.
The type contains no zero roots, including when n = 0 or 1. -/
abbrev ARoot (n : ℕ) := {a : Fin n × Fin n // a.1 < a.2}

/-- Actual integral root vectors, rather than unrelated root names. -/
def aRootVector {n : ℕ} (a : ARoot n) : Fin n → ℤ :=
  fun k => (if k = a.val.2 then 1 else 0) - (if k = a.val.1 then 1 else 0)

/-- The root pairing in the source's orthonormal epsilon coordinates. -/
def aPairing {n : ℕ} (gamma : Fin n → ℝ) (a : ARoot n) : ℝ :=
  gamma a.val.2 - gamma a.val.1

/-- Z(gamma), equations (4.3), (5.1), PDF pp.17,21. -/
def aZeroRoots {n : ℕ} (gamma : Fin n → ℝ) : Set (ARoot n) :=
  {a | aPairing gamma a = 0}

/-- P(gamma), equations (4.3), (5.1), PDF pp.17,21. -/
def aUnitRoots {n : ℕ} (gamma : Fin n → ℝ) : Set (ARoot n) :=
  {a | aPairing gamma a = 1}

/-- R(w), with the positive-root convention of §5.2 and p.24. -/
def aInversions {n : ℕ} (w : Equiv.Perm (Fin n)) : Set (ARoot n) :=
  {a | w a.val.2 < w a.val.1}

/-- The chamber set is computed from inversion sets, not from tableaux. -/
def aRegion {n : ℕ} (gamma : Fin n → ℝ) (J : Set (ARoot n)) :
    Set (Equiv.Perm (Fin n)) :=
  {w | aInversions w ∩ aZeroRoots gamma = ∅ ∧
    aInversions w ∩ aUnitRoots gamma = J}

/-- The actual inverse permutation convention: (w gamma)_i = gamma_(w^-1 i). -/
def aWeightAction {n : ℕ} (gamma : Fin n → ℝ)
    (w : Equiv.Perm (Fin n)) : Fin n → ℝ :=
  fun i => gamma (w.symm i)

/-- The closure condition printed in §5.10, p.25, in actual root vectors.
It is independent of the existence of either a configuration or a tableau. -/
def aConfigurationClosure {n : ℕ} (gamma : Fin n → ℝ)
    (J : Set (ARoot n)) : Prop :=
  ∀ beta ∈ J, ∀ alpha ∈ aZeroRoots gamma, ∀ delta : ARoot n,
    aRootVector beta - aRootVector alpha = aRootVector delta → delta ∈ J

/-- A finite labelled drawing on real graph paper. Real positions permit
continuous diagonal slides; theorems impose integral diagonal contents. -/
structure BoxDrawing (n : ℕ) where
  row : Fin n → ℝ
  column : Fin n → ℝ

/-- Content on real-coordinate drawings, §5.5, p.23. This extends the accepted
integer cell-content convention to the continuous slides of §5.10; the frozen
`Renew46.P26.boxContent` is reused for integer skew-shape cells below. -/
def drawingContent {n : ℕ} (D : BoxDrawing n) (i : Fin n) : ℝ :=
  D.column i - D.row i

/-- Northwest means strictly north and weakly west, pp.24–25. -/
def Northwest {n : ℕ} (D : BoxDrawing n) (i j : Fin n) : Prop :=
  D.row j < D.row i ∧ D.column j ≤ D.column i

/-- Southeast means weakly south and strictly east, p.25. -/
def Southeast {n : ℕ} (D : BoxDrawing n) (i j : Fin n) : Prop :=
  D.row i ≤ D.row j ∧ D.column i < D.column j

/-- Distinct unit-square boxes have disjoint interiors. Boundary contact is
allowed. This prevents overlapping boxes on a diagonal. -/
def DisjointBoxes {n : ℕ} (D : BoxDrawing n) : Prop :=
  ∀ i j, i ≠ j →
    D.row i + 1 ≤ D.row j ∨ D.row j + 1 ≤ D.row i ∨
    D.column i + 1 ≤ D.column j ∨ D.column j + 1 ≤ D.column i

/-- Numbering along diagonals SW to NE, and NW to SE on each diagonal,
§5.3 and §5.10. No filling labels occur in this condition. -/
def DiagonallyNumbered {n : ℕ} (D : BoxDrawing n) : Prop :=
  ∀ i j, i < j → drawingContent D i ≤ drawingContent D j ∧
    (drawingContent D i = drawingContent D j → D.row i < D.row j)

/-- The geometric J of (5.7), independently of permutations. -/
def drawingJ {n : ℕ} (D : BoxDrawing n) : Set (ARoot n) :=
  {a | drawingContent D a.val.2 - drawingContent D a.val.1 = 1 ∧
    Northwest D a.val.1 a.val.2}

/-- A realization of (gamma,J) as boxes, §5.10. Every field is geometric:
contents, numbering, disjointness, and the two adjacent-diagonal orders. -/
def ConfigurationFor {n : ℕ} (gamma : Fin n → ℤ) (J : Set (ARoot n))
    (D : BoxDrawing n) : Prop :=
  DisjointBoxes D ∧ DiagonallyNumbered D ∧
  (∀ i, drawingContent D i = (gamma i : ℝ)) ∧
  J ⊆ aUnitRoots (fun i => (gamma i : ℝ)) ∧ drawingJ D = J ∧
  (∀ i j, i < j → gamma j - gamma i = 1 →
    Northwest D i j ∨ Southeast D i j)

/-- Exactly the data preserved by allowed diagonal slides in §5.10:
contents, order on a diagonal, and NW/SE orders on adjacent diagonals.
Absolute row and column coordinates are deliberately absent. -/
def slideData {n : ℕ} (D : BoxDrawing n) :
    (Fin n → ℝ) × (Fin n → Fin n → Prop) ×
      (Fin n → Fin n → Prop) × (Fin n → Fin n → Prop) :=
  (drawingContent D,
    (fun i j => drawingContent D i = drawingContent D j ∧ D.row i < D.row j),
    (fun i j => drawingContent D j - drawingContent D i = 1 ∧ Northwest D i j),
    (fun i j => drawingContent D j - drawingContent D i = 1 ∧ Southeast D i j))

/-- Equality up to allowed slides is equality of the preserved order data.
This does not identify arbitrary drawings by their content sequence alone. -/
def SlideEquivalent {n : ℕ} (D E : BoxDrawing n) : Prop :=
  slideData D = slideData E

/-- A content-preserving geometric isomorphism may relabel boxes. It
preserves order on each diagonal and the NW/SE comparisons on adjacent
diagonals. It contains no assertion about standard tableaux or spectra. -/
structure ContentOrderIso {n : ℕ} (D E : BoxDrawing n) where
  boxes : Equiv.Perm (Fin n)
  content : ∀ i, drawingContent D i = drawingContent E (boxes i)
  sameDiagonal : ∀ i j, drawingContent D i = drawingContent D j →
    (D.row i < D.row j ↔ E.row (boxes i) < E.row (boxes j))
  northwest : ∀ i j, drawingContent D j - drawingContent D i = 1 →
    (Northwest D i j ↔ Northwest E (boxes i) (boxes j))
  southeast : ∀ i j, drawingContent D j - drawingContent D i = 1 →
    (Southeast D i j ↔ Southeast E (boxes i) (boxes j))

/-- The geometric identity is constructed without an assumed tableau law. -/
def ContentOrderIso.refl {n : ℕ} (D : BoxDrawing n) : ContentOrderIso D D where
  boxes := Equiv.refl _
  content _ := rfl
  sameDiagonal _ _ _ := Iff.rfl
  northwest _ _ _ := Iff.rfl
  southeast _ _ _ := Iff.rfl

/-- Fillings match through the actual content-preserving box isomorphism.
This is a relation on concrete fillings, not content-sequence injectivity. -/
def FillingsMatch {n : ℕ} {D E : BoxDrawing n} (e : ContentOrderIso D E)
    (p q : Equiv.Perm (Fin n)) : Prop :=
  ∀ i, q (e.boxes i) = p i

example (D : BoxDrawing 0) (p : Equiv.Perm (Fin 0)) :
    FillingsMatch (ContentOrderIso.refl D) p p := by
  intro i
  rfl

/-- The actual quotient by slide data; it assumes no chamber correspondence. -/
def drawingSlideSetoid (n : ℕ) : Setoid (BoxDrawing n) where
  r := SlideEquivalent
  iseqv := ⟨fun _ => rfl, fun h => h.symm, fun h k => h.trans k⟩

/-- Slide classes of labelled drawings. Valid configurations form a subset. -/
abbrev DrawingSlideClass (n : ℕ) := Quotient (drawingSlideSetoid n)

/-- Row/column standardness, independently of root systems or chamber sets;
§5.3, p.23. A permutation is a bijective filling with all n labels. -/
def RowColumnStandard {n : ℕ} (D : BoxDrawing n)
    (p : Equiv.Perm (Fin n)) : Prop :=
  ∀ i j,
    ((D.row i = D.row j ∧ D.column i < D.column j) → p i < p j) ∧
    ((D.column i = D.column j ∧ D.row i < D.row j) → p i < p j)

/-- The three filling inequalities of §5.10, p.25. They are read from
actual box positions, not defined as membership in F(gamma,J). -/
def ConfigurationStandard {n : ℕ} (D : BoxDrawing n)
    (p : Equiv.Perm (Fin n)) : Prop :=
  ∀ i j, i < j →
    (drawingContent D i = drawingContent D j → p i < p j) ∧
    (drawingContent D j - drawingContent D i = 1 → Southeast D i j → p i < p j) ∧
    (drawingContent D j - drawingContent D i = 1 → Northwest D i j → p j < p i)

/-- Standard configuration fillings, with globally bijective labels. -/
abbrev ConfigurationTableaux {n : ℕ} (D : BoxDrawing n) :=
  {p : Equiv.Perm (Fin n) // ConfigurationStandard D p}

/-- The word reads the entries of the numbered boxes, equation (5.4). -/
def tableauWord {n : ℕ} (p : Equiv.Perm (Fin n)) : Equiv.Perm (Fin n) := p

/-- A drawing of integer cells with arbitrary integer shift of content.
Rows and columns have the English/matrix orientation. -/
def cellsDrawing {n : ℕ} (cell : Fin n ↪ ℕ × ℕ) (shift : ℤ) : BoxDrawing n where
  row i := ((cell i).1 : ℝ)
  column i := (shift : ℝ) + ((cell i).2 : ℝ)

/-- A placed skew shape, §§5.3–5.5, pp.22–23. The skew diagram is the
finite difference of two genuine lower ideals. Numbering and placement
contain only geometry, with no calibratedness or uniqueness of spectra. -/
structure PlacedSkewShape (n : ℕ) where
  outer : YoungDiagram
  inner : YoungDiagram
  contained : inner.cells ⊆ outer.cells
  cell : Fin n ↪ ℕ × ℕ
  cells_eq : Finset.univ.image cell = outer.cells \ inner.cells
  shift : ℤ
  numbered : DiagonallyNumbered (cellsDrawing cell shift)

/-- The actual drawing of the placed skew shape. -/
def PlacedSkewShape.drawing {n : ℕ} (S : PlacedSkewShape n) : BoxDrawing n :=
  cellsDrawing S.cell S.shift

/-- Integral contents are computed from boxes and their placement. -/
def PlacedSkewShape.gamma {n : ℕ} (S : PlacedSkewShape n) : Fin n → ℤ :=
  fun i => S.shift + QAlgorithms.Papers.Independent.Renew46.P26.boxContent (S.cell i)

/-- The shape's J is computed geometrically by (5.7). -/
def PlacedSkewShape.J {n : ℕ} (S : PlacedSkewShape n) : Set (ARoot n) :=
  drawingJ S.drawing

/-- Standard skew tableaux are row/column increasing fillings, p.23. -/
abbrev SkewTableaux {n : ℕ} (S : PlacedSkewShape n) :=
  {p : Equiv.Perm (Fin n) // RowColumnStandard S.drawing p}

/-- Geometric skewness modulo slides. A diagram is recognized by actual
partition differences; skew local regions do not occur in the definition. -/
def IsSkewConfiguration {n : ℕ} (D : BoxDrawing n) : Prop :=
  ∃ S : PlacedSkewShape n, SlideEquivalent D S.drawing

/-- Type A specialization of the numerical conditions (5.1c), applied to
arbitrary w gamma, including nondominant vectors. The rank-one condition
excludes equal neighboring entries. In an A2 subsystem with neighboring
entries unequal, a zero root means equal entries two positions apart; its
level-one root count is 0 or 2, never more than 2. Disjoint A1 pairs add no
condition once rank one holds. Thus the second condition excludes those
distance-two equalities. This is independent of diagrams or modules. -/
def aCalibratable {n : ℕ} (v : Fin n → ℝ) : Prop :=
  (∀ i j : Fin n, j.val = i.val + 1 → v i ≠ v j) ∧
  (∀ i j : Fin n, j.val = i.val + 2 → v i ≠ v j)

/-- Skewness in §5.1d: nonempty region and calibratability of every w gamma. -/
def IsSkewLocalRegionA {n : ℕ} (gamma : Fin n → ℝ)
    (J : Set (ARoot n)) : Prop :=
  (aRegion gamma J).Nonempty ∧
  ∀ w ∈ aRegion gamma J, aCalibratable (aWeightAction gamma w)

/-- A ribbon is a nonempty local region with regular gamma, §5.1b. -/
def IsRibbonA {n : ℕ} (gamma : Fin n → ℝ) (J : Set (ARoot n)) : Prop :=
  (aRegion gamma J).Nonempty ∧ ∀ a : ARoot n, aPairing gamma a ≠ 0

/-- A border strip is a skew configuration with at most one box per diagonal.
Connectivity is expressly not required in §6.5, p.29. -/
def IsPlacedBorderStrip {n : ℕ} (D : BoxDrawing n) : Prop :=
  IsSkewConfiguration D ∧ Function.Injective (drawingContent D)

/-- The box containing an entry, with the word convention of (5.4). -/
def boxContaining {n : ℕ} (p : Equiv.Perm (Fin n)) (i : Fin n) : Fin n :=
  p.symm i

/-- Classical axial distance FROM j TO i, PDF pp.27–28. All differences
are in the reals, so negative distances are retained. -/
def classicalAxialDistance {n : ℕ} (D : BoxDrawing n)
    (p : Equiv.Perm (Fin n)) (j i : Fin n) : ℝ :=
  D.column (boxContaining p j) - D.column (boxContaining p i) +
    D.row (boxContaining p i) - D.row (boxContaining p j)

/-- Root axial distance for epsilon_j-epsilon_i; i,j may be arbitrary. -/
def aAxialDistance {n : ℕ} (gamma : Fin n → ℝ)
    (w : Equiv.Perm (Fin n)) (j i : Fin n) : ℝ :=
  aWeightAction gamma w j - aWeightAction gamma w i

/-- Empty drawings have no boxes to compare. -/
def emptyDrawing : BoxDrawing 0 where
  row := Fin.elim0
  column := Fin.elim0

/-- The empty diagram has its unique empty standard filling. -/
example : RowColumnStandard emptyDrawing (Equiv.refl (Fin 0)) := by
  intro i
  exact Fin.elim0 i

/-- The empty configuration has its unique empty configuration filling. -/
example : ConfigurationStandard emptyDrawing (Equiv.refl (Fin 0)) := by
  intro i
  exact Fin.elim0 i

/-- With no roots, F is nonempty, rather than an empty family of tableaux. -/
example : (1 : Equiv.Perm (Fin 0)) ∈ aRegion (fun i => Fin.elim0 i) ∅ := by
  constructor
  · apply Set.eq_empty_iff_forall_notMem.mpr
    intro a
    exact Fin.elim0 a.val.1
  · apply Set.eq_empty_iff_forall_notMem.mpr
    intro a
    exact Fin.elim0 a.val.1

/-- A one-box drawing can have negative content. -/
def negativeSingleBox : BoxDrawing 1 where
  row _ := 0
  column _ := -2

example : drawingContent negativeSingleBox 0 = -2 := by
  norm_num [drawingContent, negativeSingleBox]

/-- Slide classes preserve more than the multiset of contents. -/
example (D : BoxDrawing 0) : SlideEquivalent D D := rfl

/-- The rank-one obstruction already rejects two equal consecutive entries. -/
example : ¬ aCalibratable (fun _ : Fin 2 => (0 : ℝ)) := by
  intro h
  exact h.1 0 1 rfl rfl

/-- The positive A1 root has pairing +1 on the increasing two-entry vector. -/
example : aPairing (fun i : Fin 2 => (i.val : ℝ))
    (⟨(0, 1), by decide⟩ : ARoot 2) = 1 := by
  norm_num [aPairing]

/-- The identity has no inversions, with exactly the source root sign. -/
example (n : ℕ) : aInversions (1 : Equiv.Perm (Fin n)) = ∅ := by
  apply Set.eq_empty_iff_forall_notMem.mpr
  intro a ha
  change a.val.2 < a.val.1 at ha
  exact lt_asymm a.property ha

/-- Negative placement does not change one-box row/column standardness. -/
example : RowColumnStandard negativeSingleBox (1 : Equiv.Perm (Fin 1)) := by
  intro i j
  have hij : i = j := Subsingleton.elim i j
  subst j
  constructor
  · intro h
    exact (lt_irrefl _ h.2).elim
  · intro h
    exact (lt_irrefl _ h.2).elim

/-- No distinct one-box labels can overlap. -/
example : DisjointBoxes negativeSingleBox := by
  intro i j h
  exact (h (Subsingleton.elim i j)).elim

end QAlgorithms.Papers.Independent.Intake100.P54
Source
Affine Hecke algebras and generalized standard Young tableaux, arXiv:math/0401329v2, https://arxiv.org/abs/math/0401329v2
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

QAlgorithms.Papers.Independent.Intake100.P54.ARoot

For each natural number nnn, define ARoot⁡(n)\operatorname{ARoot}(n)ARoot(n) to be the set of ordered pairs (i,j)(i,j)(i,j) of indices in {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} satisfying i<ji<ji<j. This set is empty when n=0n=0n=0 or n=1n=1n=1.

QAlgorithms.Papers.Independent.Intake100.P54.BoxDrawing

For each natural number nnn, a box drawing consists of two functions row⁡,column⁡:{0,…,n−1}→R\operatorname{row},\operatorname{column}:\{0,\ldots,n-1\}\to\mathbb{R}row,column:{0,…,n−1}→R. Thus each index receives an arbitrary real row coordinate and an arbitrary real column coordinate; there are no requirements of integrality, distinctness, separation, or ordering. For n=0n=0n=0, both functions have empty domain, giving a unique drawing.

QAlgorithms.Papers.Independent.Intake100.P54.ConfigurationFor

For any natural number nnn, integer-valued function γ\gammaγ on the labels {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, set JJJ of pairs (i,j)(i,j)(i,j) with i<ji<ji<j, and drawing DDD with real coordinates ri,cir_i,c_iri​,ci​, put xi=ci−rix_i=c_i-r_ixi​=ci​−ri​. This predicate requires simultaneously that: every distinct pair i,ji,ji,j satisfies ri+1≤rjr_i+1\le r_jri​+1≤rj​ or rj+1≤rir_j+1\le r_irj​+1≤ri​ or ci+1≤cjc_i+1\le c_jci​+1≤cj​ or cj+1≤cic_j+1\le c_icj​+1≤ci​; every pair i<ji<ji<j satisfies xi≤xjx_i\le x_jxi​≤xj​, with xi=xjx_i=x_jxi​=xj​ implying ri<rjr_i<r_jri​<rj​; xi=γix_i=\gamma_ixi​=γi​, viewed as a real number, for every label iii; every (i,j)∈J(i,j)\in J(i,j)∈J satisfies γj−γi=1\gamma_j-\gamma_i=1γj​−γi​=1; JJJ is exactly the set of pairs i<ji<ji<j satisfying xj−xi=1x_j-x_i=1xj​−xi​=1, rj<rir_j<r_irj​<ri​, and cj≤cic_j\le c_icj​≤ci​; and every pair i<ji<ji<j with γj−γi=1\gamma_j-\gamma_i=1γj​−γi​=1 satisfies either rj<rir_j<r_irj​<ri​ and cj≤cic_j\le c_icj​≤ci​, or ri≤rjr_i\le r_jri​≤rj​ and ci<cjc_i<c_jci​<cj​. When n=0n=0n=0, the label and pair sets are empty, JJJ is necessarily empty, and all these requirements hold vacuously.

QAlgorithms.Papers.Independent.Intake100.P54.ConfigurationStandard

For any natural number nnn, let DDD assign real row and column coordinates ri,cir_i,c_iri​,ci​ to each i∈In={0,…,n−1}i\in I_n=\{0,\ldots,n-1\}i∈In​={0,…,n−1}, and put ai=ci−ria_i=c_i-r_iai​=ci​−ri​. A permutation p:In→Inp:I_n\to I_np:In​→In​ is configuration standard precisely when every pair i<ji<ji<j satisfies all three implications: if ai=aja_i=a_jai​=aj​, then p(i)<p(j)p(i)<p(j)p(i)<p(j); if aj−ai=1a_j-a_i=1aj​−ai​=1, ri≤rjr_i\le r_jri​≤rj​, and ci<cjc_i<c_jci​<cj​, then p(i)<p(j)p(i)<p(j)p(i)<p(j); and if aj−ai=1a_j-a_i=1aj​−ai​=1, rj<rir_j<r_irj​<ri​, and cj≤cic_j\le c_icj​≤ci​, then p(j)<p(i)p(j)<p(i)p(j)<p(i). For n=0n=0n=0 or n=1n=1n=1, there are no pairs i<ji<ji<j, so every permutation satisfies the condition.

QAlgorithms.Papers.Independent.Intake100.P54.ConfigurationTableaux

For any natural number nnn and drawing DDD with real coordinates ri,cir_i,c_iri​,ci​ indexed by In={0,…,n−1}I_n=\{0,\ldots,n-1\}In​={0,…,n−1}, the type of configuration tableaux consists of permutations p:In→Inp:I_n\to I_np:In​→In​ satisfying the following conditions, where ai=ci−ria_i=c_i-r_iai​=ci​−ri​: for every i<ji<ji<j, equality ai=aja_i=a_jai​=aj​ implies p(i)<p(j)p(i)<p(j)p(i)<p(j); the conjunction aj−ai=1a_j-a_i=1aj​−ai​=1, ri≤rjr_i\le r_jri​≤rj​, and ci<cjc_i<c_jci​<cj​ implies p(i)<p(j)p(i)<p(j)p(i)<p(j); and the conjunction aj−ai=1a_j-a_i=1aj​−ai​=1, rj<rir_j<r_irj​<ri​, and cj≤cic_j\le c_icj​≤ci​ implies p(j)<p(i)p(j)<p(i)p(j)<p(i). When n=0n=0n=0, this type contains the unique permutation of the empty set.

QAlgorithms.Papers.Independent.Intake100.P54.ContentOrderIso

For any natural number nnn and drawings D,ED,ED,E with real coordinates riD,ciDr_i^D,c_i^DriD​,ciD​ and riE,ciEr_i^E,c_i^EriE​,ciE​, put xiD=ciD−riDx_i^D=c_i^D-r_i^DxiD​=ciD​−riD​ and xiE=ciE−riEx_i^E=c_i^E-r_i^ExiE​=ciE​−riE​. An object of this structure consists of a permutation bbb of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, together with the following properties: xiD=xb(i)Ex_i^D=x_{b(i)}^ExiD​=xb(i)E​ for every iii; for all i,ji,ji,j with xiD=xjDx_i^D=x_j^DxiD​=xjD​, one has riD<rjD  ⟺  rb(i)E<rb(j)Er_i^D<r_j^D\iff r_{b(i)}^E<r_{b(j)}^EriD​<rjD​⟺rb(i)E​<rb(j)E​; and for all i,ji,ji,j with xjD−xiD=1x_j^D-x_i^D=1xjD​−xiD​=1, both equivalences

(rjD<riD ∧ cjD≤ciD)  ⟺  (rb(j)E<rb(i)E ∧ cb(j)E≤cb(i)E),(riD≤rjD ∧ ciD<cjD)  ⟺  (rb(i)E≤rb(j)E ∧ cb(i)E<cb(j)E)\begin{aligned} (r_j^D<r_i^D\ \land\ c_j^D\le c_i^D) &\iff(r_{b(j)}^E<r_{b(i)}^E\ \land\ c_{b(j)}^E\le c_{b(i)}^E),\\ (r_i^D\le r_j^D\ \land\ c_i^D<c_j^D) &\iff(r_{b(i)}^E\le r_{b(j)}^E\ \land\ c_{b(i)}^E<c_{b(j)}^E) \end{aligned}(rjD​<riD​ ∧ cjD​≤ciD​)(riD​≤rjD​ ∧ ciD​<cjD​)​⟺(rb(j)E​<rb(i)E​ ∧ cb(j)E​≤cb(i)E​),⟺(rb(i)E​≤rb(j)E​ ∧ cb(i)E​<cb(j)E​)​

hold. All pairwise conditions range over arbitrary ordered pairs, without an i<ji<ji<j restriction. When n=0n=0n=0, the permutation is the unique permutation of the empty set and all required properties are vacuous.

QAlgorithms.Papers.Independent.Intake100.P54.ContentOrderIso.refl

For every natural number nnn and drawing DDD with real coordinates ri,cir_i,c_iri​,ci​, put xi=ci−rix_i=c_i-r_ixi​=ci​−ri​. This definition constructs a content-order isomorphism from DDD to itself whose permutation is the identity on {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}. Its properties are the identities xi=xix_i=x_ixi​=xi​ for every iii; ri<rj  ⟺  ri<rjr_i<r_j\iff r_i<r_jri​<rj​⟺ri​<rj​ whenever xi=xjx_i=x_jxi​=xj​; and, whenever xj−xi=1x_j-x_i=1xj​−xi​=1, the equivalences (rj<ri∧cj≤ci)  ⟺  (rj<ri∧cj≤ci)(r_j<r_i\land c_j\le c_i)\iff(r_j<r_i\land c_j\le c_i)(rj​<ri​∧cj​≤ci​)⟺(rj​<ri​∧cj​≤ci​) and (ri≤rj∧ci<cj)  ⟺  (ri≤rj∧ci<cj)(r_i\le r_j\land c_i<c_j)\iff(r_i\le r_j\land c_i<c_j)(ri​≤rj​∧ci​<cj​)⟺(ri​≤rj​∧ci​<cj​). The construction also applies when n=0n=0n=0, using the identity permutation of the empty set.

QAlgorithms.Papers.Independent.Intake100.P54.DiagonallyNumbered

For any natural number nnn and any drawing DDD with real coordinates ri,cir_i,c_iri​,ci​, put xi=ci−rix_i=c_i-r_ixi​=ci​−ri​. This predicate means that for every pair of labels i<ji<ji<j in {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, one has xi≤xjx_i\le x_jxi​≤xj​, and if xi=xjx_i=x_jxi​=xj​, then ri<rjr_i<r_jri​<rj​. For n=0n=0n=0 or n=1n=1n=1, there are no such pairs, so the predicate holds vacuously.

QAlgorithms.Papers.Independent.Intake100.P54.DisjointBoxes

For any natural number nnn and any drawing DDD with real row and column coordinates ri,cir_i,c_iri​,ci​, this predicate means that every pair of distinct labels i,j∈{0,…,n−1}i,j\in\{0,\ldots,n-1\}i,j∈{0,…,n−1} satisfies

ri+1≤rjorrj+1≤riorci+1≤cjorcj+1≤ci.r_i+1\le r_j\quad\text{or}\quad r_j+1\le r_i\quad\text{or}\quad c_i+1\le c_j\quad\text{or}\quad c_j+1\le c_i.ri​+1≤rj​orrj​+1≤ri​orci​+1≤cj​orcj​+1≤ci​.

The alternatives are inclusive, and equality is allowed in each comparison. For n=0n=0n=0 or n=1n=1n=1, the condition holds vacuously.

QAlgorithms.Papers.Independent.Intake100.P54.DrawingSlideClass

For each natural number nnn, this is the quotient type of drawings with real row and column coordinates indexed by {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, under the following equivalence relation. Writing xi=ci−rix_i=c_i-r_ixi​=ci​−ri​ in each drawing, two drawings represent the same class exactly when their content functions agree at every label and, for every ordered pair i,ji,ji,j, they agree on the truth of each of the three conditions: xi=xjx_i=x_jxi​=xj​ and ri<rjr_i<r_jri​<rj​; xj−xi=1x_j-x_i=1xj​−xi​=1, rj<rir_j<r_irj​<ri​, and cj≤cic_j\le c_icj​≤ci​; and xj−xi=1x_j-x_i=1xj​−xi​=1, ri≤rjr_i\le r_jri​≤rj​, and ci<cjc_i<c_jci​<cj​. The comparison uses the same labels in both drawings. When n=0n=0n=0, the quotient has a single class.

QAlgorithms.Papers.Independent.Intake100.P54.FillingsMatch

For any natural number nnn, drawings D,ED,ED,E with real coordinates riD,ciDr_i^D,c_i^DriD​,ciD​ and riE,ciEr_i^E,c_i^EriE​,ciE​, a content-order isomorphism eee from DDD to EEE, and permutations p,qp,qp,q of the labels {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, this predicate means q(b(i))=p(i)q(b(i))=p(i)q(b(i))=p(i) for every label iii, where bbb is the permutation carried by eee. Here, writing xiD=ciD−riDx_i^D=c_i^D-r_i^DxiD​=ciD​−riD​ and xiE=ciE−riEx_i^E=c_i^E-r_i^ExiE​=ciE​−riE​, the supplied isomorphism requires xiD=xb(i)Ex_i^D=x_{b(i)}^ExiD​=xb(i)E​ for every iii; for every i,ji,ji,j with xiD=xjDx_i^D=x_j^DxiD​=xjD​, it requires riD<rjD  ⟺  rb(i)E<rb(j)Er_i^D<r_j^D\iff r_{b(i)}^E<r_{b(j)}^EriD​<rjD​⟺rb(i)E​<rb(j)E​; and for every i,ji,ji,j with xjD−xiD=1x_j^D-x_i^D=1xjD​−xiD​=1, it requires both (rjD<riD∧cjD≤ciD)  ⟺  (rb(j)E<rb(i)E∧cb(j)E≤cb(i)E)(r_j^D<r_i^D\land c_j^D\le c_i^D)\iff(r_{b(j)}^E<r_{b(i)}^E\land c_{b(j)}^E\le c_{b(i)}^E)(rjD​<riD​∧cjD​≤ciD​)⟺(rb(j)E​<rb(i)E​∧cb(j)E​≤cb(i)E​) and (riD≤rjD∧ciD<cjD)  ⟺  (rb(i)E≤rb(j)E∧cb(i)E<cb(j)E)(r_i^D\le r_j^D\land c_i^D<c_j^D)\iff(r_{b(i)}^E\le r_{b(j)}^E\land c_{b(i)}^E<c_{b(j)}^E)(riD​≤rjD​∧ciD​<cjD​)⟺(rb(i)E​≤rb(j)E​∧cb(i)E​<cb(j)E​). When n=0n=0n=0, the matching condition holds vacuously.

QAlgorithms.Papers.Independent.Intake100.P54.IsPlacedBorderStrip

For every natural number nnn and drawing DDD, consisting of real row and column coordinates ri,sir_i,s_iri​,si​ for each 0≤i<n0\le i<n0≤i<n, write ci=si−ric_i=s_i-r_ici​=si​−ri​. The predicate IsPlacedBorderStrip⁡(D)\operatorname{IsPlacedBorderStrip}(D)IsPlacedBorderStrip(D) means that the contents cic_ici​ are pairwise distinct and that there exist finite Young diagrams μ⊆λ\mu\subseteq\lambdaμ⊆λ in N2\mathbb N^2N2, an injective assignment i↦(ai,bi)i\mapsto(a_i,b_i)i↦(ai​,bi​) whose image is exactly λ∖μ\lambda\setminus\muλ∖μ, and an integer ttt, with the following properties. The drawing EEE with row aia_iai​, column t+bit+b_it+bi​, and content di=t+bi−aid_i=t+b_i-a_idi​=t+bi​−ai​ is diagonally numbered: whenever i<ji<ji<j, one has di≤djd_i\le d_jdi​≤dj​, and equality implies ai<aja_i<a_jai​<aj​. Moreover, DDD and EEE have identical contents and identical truth values, for every pair i,ji,ji,j, of each of the following three relations:

ci=cj and ri<rj,cj−ci=1,rj<ri,sj≤si,cj−ci=1,ri≤rj,si<sj,\begin{aligned} &c_i=c_j\ \text{and}\ r_i<r_j,\\ &c_j-c_i=1,\quad r_j<r_i,\quad s_j\le s_i,\\ &c_j-c_i=1,\quad r_i\le r_j,\quad s_i<s_j, \end{aligned}​ci​=cj​ and ri​<rj​,cj​−ci​=1,rj​<ri​,sj​≤si​,cj​−ci​=1,ri​≤rj​,si​<sj​,​

where the corresponding relations for EEE use di,ai,t+bid_i,a_i,t+b_idi​,ai​,t+bi​. Here a finite Young diagram is a finite set of pairs of natural numbers closed under decreasing either coordinate. The definition allows n=0n=0n=0; the empty drawing satisfies it by taking both diagrams empty.

QAlgorithms.Papers.Independent.Intake100.P54.IsRibbonA

For every natural number nnn, real vector γ=(γ0,…,γn−1)\gamma=(\gamma_0,\ldots,\gamma_{n-1})γ=(γ0​,…,γn−1​), and set JJJ of pairs (a,b)(a,b)(a,b) with 0≤a<b<n0\le a<b<n0≤a<b<n, the predicate IsRibbonA⁡(γ,J)\operatorname{IsRibbonA}(\gamma,J)IsRibbonA(γ,J) means that there exists a permutation w∈Snw\in S_nw∈Sn​ such that no pair a<ba<ba<b with γb=γa\gamma_b=\gamma_aγb​=γa​ satisfies w(b)<w(a)w(b)<w(a)w(b)<w(a), and

{(a,b):a<b, γb−γa=1, w(b)<w(a)}=J,\{(a,b):a<b,\ \gamma_b-\gamma_a=1,\ w(b)<w(a)\}=J,{(a,b):a<b, γb​−γa​=1, w(b)<w(a)}=J,

and, in addition, γb−γa≠0\gamma_b-\gamma_a\ne0γb​−γa​=0 for every a<ba<ba<b. Thus the latter condition requires all coordinates of γ\gammaγ to be distinct; it imposes no ordering on them. For n=0n=0n=0, the unique possible JJJ is empty and the predicate holds, with the coordinate condition vacuous.

QAlgorithms.Papers.Independent.Intake100.P54.IsSkewConfiguration

For any natural number nnn and drawing DDD with real coordinates Ri,CiR_i,C_iRi​,Ci​ indexed by In={0,…,n−1}I_n=\{0,\ldots,n-1\}In​={0,…,n−1}, put ai=Ci−Ria_i=C_i-R_iai​=Ci​−Ri​. The drawing is a skew configuration precisely when there exist finite lower sets μ⊆λ\mu\subseteq\lambdaμ⊆λ in N2\mathbb N^2N2, an injective enumeration (ri,ci)(r_i,c_i)(ri​,ci​) of λ∖μ\lambda\setminus\muλ∖μ by InI_nIn​, and an integer sss, such that, writing bi=s+ci−rib_i=s+c_i-r_ibi​=s+ci​−ri​, every i<ji<ji<j satisfies bi≤bjb_i\le b_jbi​≤bj​ and bi=bj⇒ri<rjb_i=b_j\Rightarrow r_i<r_jbi​=bj​⇒ri​<rj​, and the following four conditions hold: ai=bia_i=b_iai​=bi​ for every iii; for every i,ji,ji,j, (ai=aj ∧ Ri<Rj)(a_i=a_j\ \land\ R_i<R_j)(ai​=aj​ ∧ Ri​<Rj​) is equivalent to (bi=bj ∧ ri<rj)(b_i=b_j\ \land\ r_i<r_j)(bi​=bj​ ∧ ri​<rj​); (aj−ai=1 ∧ Rj<Ri ∧ Cj≤Ci)(a_j-a_i=1\ \land\ R_j<R_i\ \land\ C_j\le C_i)(aj​−ai​=1 ∧ Rj​<Ri​ ∧ Cj​≤Ci​) is equivalent to (bj−bi=1 ∧ rj<ri ∧ s+cj≤s+ci)(b_j-b_i=1\ \land\ r_j<r_i\ \land\ s+c_j\le s+c_i)(bj​−bi​=1 ∧ rj​<ri​ ∧ s+cj​≤s+ci​); and (aj−ai=1 ∧ Ri≤Rj ∧ Ci<Cj)(a_j-a_i=1\ \land\ R_i\le R_j\ \land\ C_i<C_j)(aj​−ai​=1 ∧ Ri​≤Rj​ ∧ Ci​<Cj​) is equivalent to (bj−bi=1 ∧ ri≤rj ∧ s+ci<s+cj)(b_j-b_i=1\ \land\ r_i\le r_j\ \land\ s+c_i<s+c_j)(bj​−bi​=1 ∧ ri​≤rj​ ∧ s+ci​<s+cj​). Integer coordinates are interpreted as real numbers in these comparisons. The comparisons use the same indices on both drawings. When n=0n=0n=0, the conditions are satisfied by taking λ=μ\lambda=\muλ=μ and the empty enumeration.

QAlgorithms.Papers.Independent.Intake100.P54.IsSkewLocalRegionA

For every natural number nnn, real vector γ=(γ0,…,γn−1)\gamma=(\gamma_0,\ldots,\gamma_{n-1})γ=(γ0​,…,γn−1​), and set JJJ of pairs (a,b)(a,b)(a,b) with 0≤a<b<n0\le a<b<n0≤a<b<n, define

Rγ,J={w∈Sn:there is no a<b with γb=γa and w(b)<w(a),{(a,b):a<b, γb−γa=1, w(b)<w(a)}=J}.\mathcal R_{\gamma,J} =\left\{w\in S_n: \begin{array}{l} \text{there is no }a<b\text{ with }\gamma_b=\gamma_a\text{ and }w(b)<w(a),\\ \{(a,b):a<b,\ \gamma_b-\gamma_a=1,\ w(b)<w(a)\}=J \end{array}\right\}.Rγ,J​={w∈Sn​:there is no a<b with γb​=γa​ and w(b)<w(a),{(a,b):a<b, γb​−γa​=1, w(b)<w(a)}=J​}.

The predicate IsSkewLocalRegionA⁡(γ,J)\operatorname{IsSkewLocalRegionA}(\gamma,J)IsSkewLocalRegionA(γ,J) means that Rγ,J\mathcal R_{\gamma,J}Rγ,J​ is nonempty and that, for every w∈Rγ,Jw\in\mathcal R_{\gamma,J}w∈Rγ,J​, the vector vi=γw−1(i)v_i=\gamma_{w^{-1}(i)}vi​=γw−1(i)​ satisfies vi≠vjv_i\ne v_jvi​=vj​ whenever j=i+1j=i+1j=i+1, and also whenever j=i+2j=i+2j=i+2, with all indices required to lie in {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}. No other inequalities between its coordinates are required. For n=0n=0n=0, JJJ is necessarily empty, the unique empty permutation belongs to the region, and both coordinate conditions are vacuous, so the predicate holds.

QAlgorithms.Papers.Independent.Intake100.P54.Northwest

For every natural number nnn, every drawing DDD consisting of real-valued row and column functions on {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, and every pair of indices i,ji,ji,j in that set, define Northwest⁡D(i,j)\operatorname{Northwest}_D(i,j)NorthwestD​(i,j) to mean row⁡D(j)<row⁡D(i)\operatorname{row}_D(j)<\operatorname{row}_D(i)rowD​(j)<rowD​(i) and column⁡D(j)≤column⁡D(i)\operatorname{column}_D(j)\le\operatorname{column}_D(i)columnD​(j)≤columnD​(i). The row inequality is strict, while equality of the column coordinates is allowed. The condition is false when i=ji=ji=j; for n=0n=0n=0, there are no index pairs to which it applies.

QAlgorithms.Papers.Independent.Intake100.P54.PlacedSkewShape.J

For any natural number nnn, let SSS have finite lower sets μ⊆λ\mu\subseteq\lambdaμ⊆λ in N2\mathbb N^2N2, an injective enumeration (ri,ci)(r_i,c_i)(ri​,ci​) of λ∖μ\lambda\setminus\muλ∖μ by In={0,…,n−1}I_n=\{0,\ldots,n-1\}In​={0,…,n−1}, and an integer shift sss, with the integers ai=s+ci−ria_i=s+c_i-r_iai​=s+ci​−ri​ nondecreasing in iii and with ai=aja_i=a_jai​=aj​ and i<ji<ji<j implying ri<rjr_i<r_jri​<rj​. The set JSJ_SJS​ consists exactly of the ordered pairs (i,j)(i,j)(i,j) with i<ji<ji<j such that aj−ai=1a_j-a_i=1aj​−ai​=1, rj<rir_j<r_irj​<ri​, and s+cj≤s+cis+c_j\le s+c_is+cj​≤s+ci​. Here the last two inequalities describe the row and column coordinates of the drawing of SSS. For n=0n=0n=0 or n=1n=1n=1, JSJ_SJS​ is empty.

QAlgorithms.Papers.Independent.Intake100.P54.PlacedSkewShape.drawing

For any natural number nnn, let SSS be a placed skew shape: it has finite lower sets μ⊆λ\mu\subseteq\lambdaμ⊆λ in N2\mathbb N^2N2, an injective enumeration cell⁡(i)=(ri,ci)\operatorname{cell}(i)=(r_i,c_i)cell(i)=(ri​,ci​) of λ∖μ\lambda\setminus\muλ∖μ by In={0,…,n−1}I_n=\{0,\ldots,n-1\}In​={0,…,n−1}, and an integer shift sss, such that for i<ji<ji<j the integers s+ci−ris+c_i-r_is+ci​−ri​ are nondecreasing and equality implies ri<rjr_i<r_jri​<rj​. The drawing assigned to SSS has real row coordinate rir_iri​ and real column coordinate s+cis+c_is+ci​ at every index iii. For n=0n=0n=0, this is the drawing with both coordinate functions empty.

QAlgorithms.Papers.Independent.Intake100.P54.PlacedSkewShape.gamma

For any natural number nnn, let SSS consist of finite lower sets μ⊆λ\mu\subseteq\lambdaμ⊆λ in N2\mathbb N^2N2, an injective enumeration cell⁡(i)=(ri,ci)\operatorname{cell}(i)=(r_i,c_i)cell(i)=(ri​,ci​) of λ∖μ\lambda\setminus\muλ∖μ by In={0,…,n−1}I_n=\{0,\ldots,n-1\}In​={0,…,n−1}, and an integer shift sss, with s+ci−ri≤s+cj−rjs+c_i-r_i\le s+c_j-r_js+ci​−ri​≤s+cj​−rj​ whenever i<ji<ji<j and with equality implying ri<rjr_i<r_jri​<rj​. The function γS:In→Z\gamma_S:I_n\to\mathbb ZγS​:In​→Z is defined by γS(i)=s+ci−ri\gamma_S(i)=s+c_i-r_iγS​(i)=s+ci​−ri​, where both cell coordinates are interpreted as integers before subtraction. Its values may be negative; for n=0n=0n=0, it is the unique function from the empty set to Z\mathbb ZZ.

QAlgorithms.Papers.Independent.Intake100.P54.PlacedSkewShape

For a natural number nnn, a placed skew shape consists of two Young diagrams λ\lambdaλ and μ\muμ—finite lower sets in N×N\mathbb N\times\mathbb NN×N under the componentwise order—with μ⊆λ\mu\subseteq\lambdaμ⊆λ, an injective map cell⁡:In→N×N\operatorname{cell}:I_n\to\mathbb N\times\mathbb Ncell:In​→N×N whose image is exactly λ∖μ\lambda\setminus\muλ∖μ, and an integer shift sss, where In={0,…,n−1}I_n=\{0,\ldots,n-1\}In​={0,…,n−1}. Writing cell⁡(i)=(ri,ci)\operatorname{cell}(i)=(r_i,c_i)cell(i)=(ri​,ci​) and ai=s+ci−ria_i=s+c_i-r_iai​=s+ci​−ri​, with subtraction taken in Z\mathbb ZZ, these data must satisfy, for every i<ji<ji<j, ai≤aja_i\le a_jai​≤aj​ and, if ai=aja_i=a_jai​=aj​, ri<rjr_i<r_jri​<rj​. Its associated coordinates are row rir_iri​ and column s+cis+c_is+ci​, interpreted as real numbers. In particular, λ∖μ\lambda\setminus\muλ∖μ has exactly nnn cells; when n=0n=0n=0, λ=μ\lambda=\muλ=μ, the enumeration is empty, the numbering condition is vacuous, and the shift is arbitrary.

QAlgorithms.Papers.Independent.Intake100.P54.RowColumnStandard

For any natural number nnn, a drawing DDD consists of real coordinates ri,cir_i,c_iri​,ci​ for each i∈In={0,…,n−1}i\in I_n=\{0,\ldots,n-1\}i∈In​={0,…,n−1}. A permutation p:In→Inp:I_n\to I_np:In​→In​ is row-column standard precisely when, for every i,j∈Ini,j\in I_ni,j∈In​, ri=rjr_i=r_jri​=rj​ and ci<cjc_i<c_jci​<cj​ imply p(i)<p(j)p(i)<p(j)p(i)<p(j), and ci=cjc_i=c_jci​=cj​ and ri<rjr_i<r_jri​<rj​ imply p(i)<p(j)p(i)<p(j)p(i)<p(j). For n=0n=0n=0 or n=1n=1n=1, these conditions hold for every permutation.

QAlgorithms.Papers.Independent.Intake100.P54.SkewTableaux

For any natural number nnn, let SSS be specified by finite lower sets μ⊆λ\mu\subseteq\lambdaμ⊆λ in N2\mathbb N^2N2, an injective enumeration (ri,ci)(r_i,c_i)(ri​,ci​) of λ∖μ\lambda\setminus\muλ∖μ by In={0,…,n−1}I_n=\{0,\ldots,n-1\}In​={0,…,n−1}, and an integer shift sss, such that ai=s+ci−ria_i=s+c_i-r_iai​=s+ci​−ri​ satisfies ai≤aja_i\le a_jai​≤aj​ for i<ji<ji<j, with equality implying ri<rjr_i<r_jri​<rj​. The type of skew tableaux of SSS consists of all permutations p:In→Inp:I_n\to I_np:In​→In​ such that, for every i,ji,ji,j, ri=rjr_i=r_jri​=rj​ and s+ci<s+cjs+c_i<s+c_js+ci​<s+cj​ imply p(i)<p(j)p(i)<p(j)p(i)<p(j), while s+ci=s+cjs+c_i=s+c_js+ci​=s+cj​ and ri<rjr_i<r_jri​<rj​ imply p(i)<p(j)p(i)<p(j)p(i)<p(j). When n=0n=0n=0, it contains the unique permutation of the empty set.

QAlgorithms.Papers.Independent.Intake100.P54.SlideEquivalent

For any natural number nnn and drawings D,ED,ED,E on the labels {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, write their real coordinates as riD,ciDr_i^D,c_i^DriD​,ciD​ and riE,ciEr_i^E,c_i^EriE​,ciE​, and put xiD=ciD−riDx_i^D=c_i^D-r_i^DxiD​=ciD​−riD​ and xiE=ciE−riEx_i^E=c_i^E-r_i^ExiE​=ciE​−riE​. This predicate means that xiD=xiEx_i^D=x_i^ExiD​=xiE​ for every label iii, and that, for every ordered pair i,ji,ji,j, each of the following three equivalences holds:

(xiD=xjD ∧ riD<rjD)  ⟺  (xiE=xjE ∧ riE<rjE),(xjD−xiD=1 ∧ rjD<riD ∧ cjD≤ciD)  ⟺  (xjE−xiE=1 ∧ rjE<riE ∧ cjE≤ciE),(xjD−xiD=1 ∧ riD≤rjD ∧ ciD<cjD)  ⟺  (xjE−xiE=1 ∧ riE≤rjE ∧ ciE<cjE).\begin{aligned} (x_i^D=x_j^D\ \land\ r_i^D<r_j^D) &\iff(x_i^E=x_j^E\ \land\ r_i^E<r_j^E),\\ (x_j^D-x_i^D=1\ \land\ r_j^D<r_i^D\ \land\ c_j^D\le c_i^D) &\iff(x_j^E-x_i^E=1\ \land\ r_j^E<r_i^E\ \land\ c_j^E\le c_i^E),\\ (x_j^D-x_i^D=1\ \land\ r_i^D\le r_j^D\ \land\ c_i^D<c_j^D) &\iff(x_j^E-x_i^E=1\ \land\ r_i^E\le r_j^E\ \land\ c_i^E<c_j^E). \end{aligned}(xiD​=xjD​ ∧ riD​<rjD​)(xjD​−xiD​=1 ∧ rjD​<riD​ ∧ cjD​≤ciD​)(xjD​−xiD​=1 ∧ riD​≤rjD​ ∧ ciD​<cjD​)​⟺(xiE​=xjE​ ∧ riE​<rjE​),⟺(xjE​−xiE​=1 ∧ rjE​<riE​ ∧ cjE​≤ciE​),⟺(xjE​−xiE​=1 ∧ riE​≤rjE​ ∧ ciE​<cjE​).​

The labels are compared directly, with no relabeling. When n=0n=0n=0, all these conditions hold vacuously.

QAlgorithms.Papers.Independent.Intake100.P54.Southeast

For any natural number nnn, a drawing DDD consisting of real-valued row and column coordinates ri,cir_i,c_iri​,ci​ for each label i∈{0,…,n−1}i\in\{0,\ldots,n-1\}i∈{0,…,n−1}, and labels i,ji,ji,j, this predicate means ri≤rjr_i\le r_jri​≤rj​ and ci<cjc_i<c_jci​<cj​. The row comparison is non-strict and the column comparison is strict. In particular, the predicate is false when i=ji=ji=j; when n=0n=0n=0, there are no labels to which it can be applied.

QAlgorithms.Papers.Independent.Intake100.P54.aAxialDistance

For every natural number nnn, real vector γ=(γ0,…,γn−1)\gamma=(\gamma_0,\ldots,\gamma_{n-1})γ=(γ0​,…,γn−1​), permutation w∈Snw\in S_nw∈Sn​, and indices j,ij,ij,i in {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, the quantity aAxialDistance⁡(γ,w,j,i)\operatorname{aAxialDistance}(\gamma,w,j,i)aAxialDistance(γ,w,j,i) is

γw−1(j)−γw−1(i).\gamma_{w^{-1}(j)}-\gamma_{w^{-1}(i)}.γw−1(j)​−γw−1(i)​.

No ordering or distinctness of the coordinates is assumed. The indices may coincide, giving zero; for n=0n=0n=0, there are no choices of i,ji,ji,j.

QAlgorithms.Papers.Independent.Intake100.P54.aCalibratable

For any natural number nnn and real-valued function vvv on In={0,…,n−1}I_n=\{0,\ldots,n-1\}In​={0,…,n−1}, the predicate calibratable means that v(i)≠v(j)v(i)\ne v(j)v(i)=v(j) for every pair with j=i+1j=i+1j=i+1, and also v(i)≠v(j)v(i)\ne v(j)v(i)=v(j) for every pair with j=i+2j=i+2j=i+2. These index equalities are equalities of natural numbers, so only pairs lying within InI_nIn​ are included. For n=0n=0n=0 or n=1n=1n=1, both conditions are vacuous; for n=2n=2n=2, the condition is exactly v(0)≠v(1)v(0)\ne v(1)v(0)=v(1).

QAlgorithms.Papers.Independent.Intake100.P54.aConfigurationClosure

For every natural number nnn, every function γ:{0,…,n−1}→R\gamma:\{0,\ldots,n-1\}\to\mathbb{R}γ:{0,…,n−1}→R, and every set JJJ of pairs (i,j)(i,j)(i,j) with 0≤i<j<n0\le i<j<n0≤i<j<n, define the closure condition as follows: for every β=(b1,b2)∈J\beta=(b_1,b_2)\in Jβ=(b1​,b2​)∈J, every pair α=(a1,a2)\alpha=(a_1,a_2)α=(a1​,a2​) with 0≤a1<a2<n0\le a_1<a_2<n0≤a1​<a2​<n and γ(a2)−γ(a1)=0\gamma(a_2)-\gamma(a_1)=0γ(a2​)−γ(a1​)=0, and every pair δ=(d1,d2)\delta=(d_1,d_2)δ=(d1​,d2​) with 0≤d1<d2<n0\le d_1<d_2<n0≤d1​<d2​<n, if vβ−vα=vδv_\beta-v_\alpha=v_\deltavβ​−vα​=vδ​, then δ∈J\delta\in Jδ∈J. Here v(i,j)v_{(i,j)}v(i,j)​ is the integer-valued function k↦1k=j−1k=ik\mapsto\mathbf{1}_{k=j}-\mathbf{1}_{k=i}k↦1k=j​−1k=i​, and the vector equality means equality at every index, with subtraction taken pointwise. This condition does not require JJJ to consist of pairs having difference 111. It holds vacuously if JJJ is empty or if no increasing pair has equal γ\gammaγ-values, in particular when n<2n<2n<2.

QAlgorithms.Papers.Independent.Intake100.P54.aInversions

For every natural number nnn and every permutation www of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, define its inversion set to be {(i,j):0≤i<j<n, w(j)<w(i)}\{(i,j):0\le i<j<n,\ w(j)<w(i)\}{(i,j):0≤i<j<n, w(j)<w(i)}. This set is empty when n=0n=0n=0 or n=1n=1n=1.

QAlgorithms.Papers.Independent.Intake100.P54.aPairing

For every natural number nnn, every function γ:{0,…,n−1}→R\gamma:\{0,\ldots,n-1\}\to\mathbb{R}γ:{0,…,n−1}→R, and every pair a=(i,j)a=(i,j)a=(i,j) with 0≤i<j<n0\le i<j<n0≤i<j<n, define the pairing to be γ(j)−γ(i)\gamma(j)-\gamma(i)γ(j)−γ(i). The function γ\gammaγ is arbitrary; no ordering or distinctness of its values is assumed. When n<2n<2n<2, there is no allowable pair aaa.

QAlgorithms.Papers.Independent.Intake100.P54.aRegion

For every natural number nnn, every function γ:{0,…,n−1}→R\gamma:\{0,\ldots,n-1\}\to\mathbb{R}γ:{0,…,n−1}→R, and every set JJJ of pairs (i,j)(i,j)(i,j) with 0≤i<j<n0\le i<j<n0≤i<j<n, define the region to be the set of permutations www of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} satisfying both {(i,j):0≤i<j<n, w(j)<w(i), γ(j)−γ(i)=0}=∅\{(i,j):0\le i<j<n,\ w(j)<w(i),\ \gamma(j)-\gamma(i)=0\}=\varnothing{(i,j):0≤i<j<n, w(j)<w(i), γ(j)−γ(i)=0}=∅ and {(i,j):0≤i<j<n, w(j)<w(i), γ(j)−γ(i)=1}=J\{(i,j):0\le i<j<n,\ w(j)<w(i),\ \gamma(j)-\gamma(i)=1\}=J{(i,j):0≤i<j<n, w(j)<w(i), γ(j)−γ(i)=1}=J. There is no additional restriction on inversions whose corresponding difference is neither 000 nor 111. No hypothesis is imposed on JJJ; if it contains a pair whose difference is not 111, the region is empty. For n=0n=0n=0 or n=1n=1n=1, the only possible JJJ is empty, and the region contains the unique permutation.

QAlgorithms.Papers.Independent.Intake100.P54.aRootVector

For every natural number nnn and every pair a=(i,j)a=(i,j)a=(i,j) with 0≤i<j<n0\le i<j<n0≤i<j<n, define its integer-valued vector on {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} by va(k)=1k=j−1k=iv_a(k)=\mathbf{1}_{k=j}-\mathbf{1}_{k=i}va​(k)=1k=j​−1k=i​, where each indicator is 111 when its condition holds and 000 otherwise. Thus the vector is −1-1−1 at iii, 111 at jjj, and 000 at every other index. When n<2n<2n<2, there is no allowable argument aaa.

QAlgorithms.Papers.Independent.Intake100.P54.aUnitRoots

For every natural number nnn and every function γ:{0,…,n−1}→R\gamma:\{0,\ldots,n-1\}\to\mathbb{R}γ:{0,…,n−1}→R, define the unit-root set to be {(i,j):0≤i<j<n, γ(j)−γ(i)=1}\{(i,j):0\le i<j<n,\ \gamma(j)-\gamma(i)=1\}{(i,j):0≤i<j<n, γ(j)−γ(i)=1}. The difference is specifically the value at the larger index minus the value at the smaller index. This set is empty when n<2n<2n<2.

QAlgorithms.Papers.Independent.Intake100.P54.aWeightAction

For every natural number nnn, every function γ:{0,…,n−1}→R\gamma:\{0,\ldots,n-1\}\to\mathbb{R}γ:{0,…,n−1}→R, and every permutation www of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, define the resulting real-valued function by (w⋅γ)(i)=γ(w−1(i))(w\cdot\gamma)(i)=\gamma(w^{-1}(i))(w⋅γ)(i)=γ(w−1(i)) for every index iii. For n=0n=0n=0, this is the unique function with empty domain.

QAlgorithms.Papers.Independent.Intake100.P54.aZeroRoots

For every natural number nnn and every function γ:{0,…,n−1}→R\gamma:\{0,\ldots,n-1\}\to\mathbb{R}γ:{0,…,n−1}→R, define the zero-root set to be {(i,j):0≤i<j<n, γ(j)−γ(i)=0}\{(i,j):0\le i<j<n,\ \gamma(j)-\gamma(i)=0\}{(i,j):0≤i<j<n, γ(j)−γ(i)=0}. Thus it consists exactly of the increasing index pairs at which γ\gammaγ has equal values. It is empty when n<2n<2n<2.

QAlgorithms.Papers.Independent.Intake100.P54.boxContaining

For every natural number nnn, permutation ppp of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, and index iii in that set, boxContaining⁡(p,i)\operatorname{boxContaining}(p,i)boxContaining(p,i) is p−1(i)p^{-1}(i)p−1(i), the unique index bbb such that p(b)=ip(b)=ip(b)=i. For n=0n=0n=0, there is no index iii at which to evaluate this function.

QAlgorithms.Papers.Independent.Intake100.P54.cellsDrawing

For any natural number nnn, any injective map cell⁡:In→N×N\operatorname{cell}:I_n\to\mathbb N\times\mathbb Ncell:In​→N×N, where In={0,…,n−1}I_n=\{0,\ldots,n-1\}In​={0,…,n−1}, and any integer shift sss, write cell⁡(i)=(ri,ci)\operatorname{cell}(i)=(r_i,c_i)cell(i)=(ri​,ci​). The resulting drawing assigns to index iii the real row coordinate rir_iri​ and the real column coordinate s+cis+c_is+ci​, with the natural numbers and integer interpreted in R\mathbb RR. The shift may be negative, so column coordinates may be negative. For n=0n=0n=0, both coordinate functions have empty domain.

QAlgorithms.Papers.Independent.Intake100.P54.classicalAxialDistance

For every natural number nnn, drawing DDD with real row coordinates rbr_brb​ and column coordinates sbs_bsb​, permutation ppp of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, and indices j,ij,ij,i in that set, the classical axial distance, with arguments in the order j,ij,ij,i, is the real number

sp−1(j)−sp−1(i)+rp−1(i)−rp−1(j).s_{p^{-1}(j)}-s_{p^{-1}(i)} +r_{p^{-1}(i)}-r_{p^{-1}(j)}.sp−1(j)​−sp−1(i)​+rp−1(i)​−rp−1(j)​.

There are no assumptions on the drawing or permutation, and i=ji=ji=j is allowed, in which case the value is zero. For n=0n=0n=0, there are no choices of i,ji,ji,j.

QAlgorithms.Papers.Independent.Intake100.P54.drawingContent

For every natural number nnn, every drawing DDD consisting of real-valued row and column functions on {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, and every index iii in that set, define its content to be cD(i)=column⁡D(i)−row⁡D(i)c_D(i)=\operatorname{column}_D(i)-\operatorname{row}_D(i)cD​(i)=columnD​(i)−rowD​(i). There are no restrictions on these coordinates or on the resulting real value. For n=0n=0n=0, there is no index iii at which to evaluate the content.

QAlgorithms.Papers.Independent.Intake100.P54.drawingJ

For any natural number nnn and any drawing DDD with real coordinates ri,cir_i,c_iri​,ci​, put xi=ci−rix_i=c_i-r_ixi​=ci​−ri​. This definition gives the set of ordered pairs of labels (i,j)(i,j)(i,j) with 0≤i<j<n0\le i<j<n0≤i<j<n satisfying all three conditions

xj−xi=1,rj<ri,cj≤ci.x_j-x_i=1,\qquad r_j<r_i,\qquad c_j\le c_i.xj​−xi​=1,rj​<ri​,cj​≤ci​.

The set is empty when n=0n=0n=0 or n=1n=1n=1.

QAlgorithms.Papers.Independent.Intake100.P54.drawingSlideSetoid

For each natural number nnn, this definition equips the set of drawings with real row and column coordinates indexed by {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} with an equivalence relation. For drawings D,ED,ED,E, write xiD=ciD−riDx_i^D=c_i^D-r_i^DxiD​=ciD​−riD​ and xiE=ciE−riEx_i^E=c_i^E-r_i^ExiE​=ciE​−riE​. They are related exactly when their content functions agree at every label and, for every ordered pair i,ji,ji,j, the following three statements have the same truth value in DDD and EEE: xi=xjx_i=x_jxi​=xj​ and ri<rjr_i<r_jri​<rj​; xj−xi=1x_j-x_i=1xj​−xi​=1, rj<rir_j<r_irj​<ri​, and cj≤cic_j\le c_icj​≤ci​; and xj−xi=1x_j-x_i=1xj​−xi​=1, ri≤rjr_i\le r_jri​≤rj​, and ci<cjc_i<c_jci​<cj​. Reflexivity, symmetry, and transitivity are supplied by the corresponding properties of equality of the content function and these three relations. When n=0n=0n=0, every pair of drawings is related.

QAlgorithms.Papers.Independent.Intake100.P54.emptyDrawing

The drawing emptyDrawing⁡\operatorname{emptyDrawing}emptyDrawing has zero indexed boxes. Its row and column coordinate functions are the unique functions from the empty index set to R\mathbb RR, so it has no coordinate values.

QAlgorithms.Papers.Independent.Intake100.P54.negativeSingleBox

The drawing negativeSingleBox⁡\operatorname{negativeSingleBox}negativeSingleBox has one indexed box, with row coordinate 000 and column coordinate −2-2−2; its column coordinate minus its row coordinate is therefore −2-2−2.

QAlgorithms.Papers.Independent.Intake100.P54.slideData

For any natural number nnn and any drawing DDD with real coordinates ri,cir_i,c_iri​,ci​, put xi=ci−rix_i=c_i-r_ixi​=ci​−ri​. This definition returns a tuple consisting of the function i↦xii\mapsto x_ii↦xi​ and three binary relations on the labels {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}: the first holds at (i,j)(i,j)(i,j) exactly when xi=xjx_i=x_jxi​=xj​ and ri<rjr_i<r_jri​<rj​; the second holds exactly when xj−xi=1x_j-x_i=1xj​−xi​=1, rj<rir_j<r_irj​<ri​, and cj≤cic_j\le c_icj​≤ci​; the third holds exactly when xj−xi=1x_j-x_i=1xj​−xi​=1, ri≤rjr_i\le r_jri​≤rj​, and ci<cjc_i<c_jci​<cj​. These relations are defined on all ordered pairs of labels, without an i<ji<ji<j restriction. When n=0n=0n=0, the function and relations have empty domains.

QAlgorithms.Papers.Independent.Intake100.P54.tableauWord

For every natural number nnn and every permutation ppp of In={0,…,n−1}I_n=\{0,\ldots,n-1\}In​={0,…,n−1}, the value of tableauWord⁡(p)\operatorname{tableauWord}(p)tableauWord(p) is exactly the same permutation ppp. This definition applies to every permutation without additional conditions, including the unique permutation when n=0n=0n=0.

Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me