A fence whose lattice defeats every lexicographic chain recipe

AI-generated · No human mathematician has yet refereed the proof.

A fence is a zigzag like x₁ < x₂ < x₃ > x₄; a down-set holds everything below its points. Lean checks the 16,451 bottom-up numberings (each point after those below) of the fence F(2,1,1,1,1,1,2). None makes an alphabetical recipe split its down-sets into growing chains centred on size 5.

For every linear extension of the fence F(2,1,1,1,1,1,2), under both readings of lexicographic order (subsets compared as increasing sequences of labels, or as 0/1 words with 0 < 1), the greedy lexicographic chain decomposition of its 105 down-sets is not symmetric, not bottom-centred, not top-centred and not nested; the fence has exactly 16,451 linear extensions.

McConville, Sagan and Smyth (2021) proposed a greedy way to split the down-sets of a fence into chains: number the points, then repeatedly start a chain at the alphabetically least unused down-set of lowest size and climb through the alphabetically least unused down-sets one point larger. Elizalde and Sagan (2023) asked, as Conjecture 4.6 of their arXiv version and Question 4.6 in print, whether some bottom-up numbering, one that numbers every point after the points below it, always gives chains of the type that would explain the sizes of the down-sets, adding that so many numberings work that it is hard to see what they share. The fence F(2,1,1,1,1,1,2) answers no.

Fence lattices: a 10-point fence that defeats the greedy chain recipe for every bottom-up order, and nested chains for every F(a,2,2,d)

Walkthrough: 4 of 6 main results in Lean; 1 more rests in part on published statements; 1 by computation outside Lean

Lean ports the greedy lexicographic recipe from McConville, Sagan and Smyth (not fully read) and its increasing-list reading (mode 1) from Elizalde and Sagan (not fully read), and adds a reading by 0/1 words (mode 2); it does not prove that its recipe and its mode 1 are exactly theirs. That a bottom-centred decomposition is the type Conjecture 1.5 asks for at the fences F(a,2,2,d) comes from Theorem 1.2 of Elizalde and Sagan, proved by Oğuz and Ravichandran (not fully read), which Lean does not hold. The counts of down-sets and of bottom-up orders that the proofs use are proved in Lean.

Published inputs

  • McConville, Sagan & Smyth (2021) (not fully read) (Ported into Lean): Introduced the greedy lexicographic chain decomposition, driven by any numbering of the points. Lean's recipe follows the paper's account of theirs, and the page's example F(1,1,1) is the paper's own worked example; Lean does not prove that the two recipes are the same.
  • Elizalde & Sagan (2023) (not fully read) (Ported into Lean): Took the numbering to be bottom-up (a linear extension) and compared down-sets as increasing lists of labels. Lean's mode 1 is that reading and its mode 2 compares 0/1 words; Lean does not prove that mode 1 is the reading they printed.
  • McConville, Sagan & Smyth (2021, Conjecture 1.5) (not fully read) (Assumed outside Lean): Conjectured that the down-sets of every fence split into saturated chains centred at or within half a size of the middle, of the type its sizes call for (symmetric, bottom-centred or top-centred). They proved it for fences of at most three parts (their Theorem 1.6) and some other families.
  • Oğuz & Ravichandran (2023) (not fully read) (Assumed outside Lean): Proved that the sizes of the down-sets of every fence are symmetric, bottom-interlacing or top-interlacing by a rule on its parts (Conjecture 1.4 of McConville, Sagan and Smyth, restated as Theorem 1.2 of Elizalde and Sagan (not fully read)). For a four-part fence such as F(a,2,2,d) the rule gives bottom-interlacing, so the type Conjecture 1.5 asks for there is bottom-centred. Not in Lean.

What this paper adds

  • The fence F(2,1,1,1,1,1,2), its numberings, and F(3,2,2,3) (Theorems 1 and 2, Propositions 3 and 7): Two general lemmas (Lemmas 5 and 6); F(2,1,1,1,1,1,2) in numbers; Every bottom-up order fails, in both modes (Theorems 1 and 2); Numberings that do work (Propositions 3 and 7)
  • Nested, bottom-centred chains for every F(a,2,2,d) (Theorem 4): Counting the down-sets; Bottom-centred and nested (Theorem 4)
  • The census through 11 points (Proposition 8): Which fences fail

A 10-point fence that defeats every bottom-up lexicographic chain recipe, and nested bottom-centred chains for every F(a,2,2,d)

For every bottom-up order of the 10-point fence F(2,1,1,1,1,1,2), under both readings of dictionary order, the greedy lexicographic chain decomposition of its 105 down-sets is not symmetric, not bottom-centred, not top-centred and not nested; a numbering that is not bottom-up gives a symmetric, nested decomposition with 19 chains in mode 1; one bottom-up order of F(3,2,2,3) gives a bottom-centred, nested decomposition in mode 2; and for all a, d ≥ 1 the down-sets of F(a,2,2,d) have a chain decomposition that is both bottom-centred and nested.

Walkthrough: Lean proves 4 of the 6 main results (Theorems 1 and 2, Propositions 3 and 7) with no outside input. Theorem 4 rests in part on published statements: Lean proves the bottom-centred, nested decomposition, but that it is the type Conjecture 1.5 of McConville, Sagan and Smyth (not fully read) asks for at these fences, so that the conjecture holds for them, rests on Theorem 1.2 of Elizalde and Sagan (not fully read), proved by Oğuz and Ravichandran (not fully read), which Lean does not hold. Proposition 8, the census through 11 points, is computed outside Lean.

Listed as open in the paper

  • Whether Conjecture 1.5 of McConville, Sagan and Smyth (not fully read) holds for every fence.
  • Whether their Conjecture 6.2 (not fully read), that every fence has some numbering whose greedy decomposition is nested, holds in general.
  • Whether, in mode 1, no bottom-up order of F(k,2,2,k) gives a bottom-centred decomposition for every k ≥ 3, and whether the paper's numbering Rₖ gives a nested, bottom-centred one for every k ≥ 2 (its Conjecture 9).
  • Whether there is a short conceptual proof that every bottom-up order of F(2,1,1,1,1,1,2) leaves at least 2 chains off centre.

Adjacent prior work (not used as inputs)

  • Elizalde & Sagan (2023, Question 4.6) (not fully read) [Lean: every bottom-up order of F(2,1,1,1,1,1,2) fails, in both modes]: Asked whether every fence has a bottom-up order whose greedy lexicographic decomposition is symmetric, bottom-centred or top-centred as its sizes call for (Conjecture 4.6 of the arXiv version, Question 4.6 in print). Theorems 1 and 2 answer no at F(2,1,1,1,1,1,2), reading the recipe as theirs.
  • McConville, Sagan & Smyth (2021, Conjecture 6.2) (not fully read): Conjectured that every fence has some numbering whose greedy decomposition is nested, and checked it for fences with at most 7 points. Proposition 3 shows that F(2,1,1,1,1,1,2) does not refute it.
  • Morier-Genoud & Ovsienko (2020) (not fully read): Introduced q-deformed rationals, where the size counts of fence down-sets arise, and conjectured that every such sequence is unimodal.
  • Gansner (1982) (not fully read): Studied the lattice of down-sets of an up-down poset and its chain decompositions; the paper knows it only through secondary citations and its abstract.

The fence x₁ < x₂ > x₃ < x₄ by hand

The fence F(1,1,1) is x₁ < x₂ > x₃ < x₄. Its 8 down-sets are ∅, {x₁}, {x₃}, {x₁, x₃}, {x₃, x₄}, {x₁, x₂, x₃}, {x₁, x₃, x₄} and all four points, with 1, 2, 2, 2, 1 of sizes 0 to 4, and it has 5 bottom-up orders. Take the order x₁, x₃, x₂, x₄, and between two sets of one size prefer the one holding the earlier point where they differ. The recipe climbs ∅ < {x₁} < {x₁, x₃} < {x₁, x₂, x₃} < {x₁, x₂, x₃, x₄}, sizes 0 to 4, then {x₃} < {x₃, x₄} < {x₁, x₃, x₄}, sizes 1 to 3. Both chains are centred on size 2, since 0 + 4 = 1 + 3 = 4. With the order x₃, x₁, x₂, x₄ the opening chain is ∅ < {x₃} < {x₁, x₃} < {x₁, x₂, x₃} < {x₁, x₂, x₃, x₄}; then {x₁} is stranded alone, because the only down-set one point above it is used, and {x₃, x₄} < {x₁, x₃, x₄} runs from size 2 to 3. Neither is centred, and neither range of sizes contains the other.

Fences, down-sets and four kinds of chain splitting

A fence F(α) is built from a list α of positive whole numbers: its points 0, 1, 2, … are joined in a row, the opening α₁ steps going up, the next α₂ going down, and so on. A down-set is a set of points that holds everything below each of its points; its size is its number of points. A chain is a list of down-sets, each one point larger than the one before, and a chain decomposition splits all the down-sets into chains. With n points, it is symmetric when every chain from size u to size v has u + v = n, bottom-centred when u + v is n or n − 1, top-centred when u + v is n or n + 1, and nested when of any two chains one's range of sizes lies inside the other's. When n is even, the sizes are symmetric, and the middle size has strictly more down-sets than any other, all four kinds are the same.

  • With symmetric sizes and one peak, nested means symmetric

    If the sizes are symmetric, the number of points is 2m, and size m has strictly more down-sets than every other size, then a chain decomposition is nested exactly when it is symmetric.

    theorem FenceLexCounterexample.isNCD_iff_isSCD_of_symmetric_peak {V : Type u_1} [Fintype V] [DecidableEq V] {P : FinPoset V} (hsym : HasSymmetricRanks P) (m : ℕ) (h2m : 2 * m = Fintype.card V) (hpeak : ∀ r ≤ Fintype.card V, r ≠ m → rankCount P r < rankCount P m) (cd : ChainDecomp P) :
      IsNCD cd ↔ IsSCD cd
  • The fence F(α)
  • A down-set
  • The size of a down-set
  • One down-set one point above another
  • The number of down-sets of one size
  • Symmetric sizes
  • A chain of down-sets
  • A chain decomposition
  • Symmetric
  • Bottom-centred
  • Top-centred
  • Nested
  • Symmetric decompositions are nested

    A symmetric chain decomposition is nested.

    theorem FenceLexCounterexample.IsSCD.isNCD {V : Type u_1} [Fintype V] [DecidableEq V] {P : FinPoset V} {cd : ChainDecomp P} (h : IsSCD cd) :
      IsNCD cd
  • Bottom-centred decompositions are nested

    A bottom-centred chain decomposition is nested.

  • Top-centred decompositions are nested

    A top-centred chain decomposition is nested.

  • With symmetric sizes, bottom-centred means symmetric

    If the sizes of the down-sets are symmetric, a chain decomposition is bottom-centred exactly when it is symmetric.

  • With symmetric sizes, top-centred means symmetric

    If the sizes of the down-sets are symmetric, a chain decomposition is top-centred exactly when it is symmetric.

  • A bottom-up order

The greedy alphabetical recipe

Number the points with a labeling L. Mode 1 compares two sets as the increasing lists of their labels, in dictionary order; mode 2 compares them as words of 0s and 1s read in label order, with 0 < 1. On sets of one size the two modes are exact opposites: between two down-sets one point larger than a given one, mode 1 prefers the added point with the smaller label and mode 2 the one with the larger. The recipe starts a chain at the least unused down-set of lowest size, climbs through the least unused down-set one point larger until there is none, and repeats; Lean proves it always gives a chain decomposition.

  • On sets of one size, the two modes are opposite

    For every numbering L and sets s and t of the same size, s comes before t in mode 1 exactly when t comes before s in mode 2.

    theorem FenceLexCounterexample.lexIncLT_iff_lexWordLT_rev_of_card_eq {n : ℕ} (L : Fin n ≃ Fin n) {s : Finset (Fin n)} {t : Finset (Fin n)} (hcard : s.card = t.card) :
      lexIncLT L s t ↔ lexWordLT L t s
  • The two readings of alphabetical order
  • A set as an increasing list of labels
  • A set as a 0/1 word
  • Mode 1 order on sets
  • Mode 2 order on sets
  • The binary key of a set
  • On sets of one size, mode 1 order is reversed order of keys

    If s and t have the same size, s comes before t in mode 1 exactly when the key of t is smaller than the key of s.

  • Mode 2 order is order of keys

    s comes before t in mode 2 exactly when the key of s is smaller than the key of t.

  • Mode 1 prefers the smaller added label

    For points x₁ and x₂ outside s, s with x₁ added comes before s with x₂ added in mode 1 exactly when L(x₁) < L(x₂).

  • Mode 2 prefers the larger added label

    For points x₁ and x₂ outside s, s with x₁ added comes before s with x₂ added in mode 2 exactly when L(x₂) < L(x₁).

  • The least down-set of a set
  • The greedy lexicographic chain decomposition
  • Two chains out of nest spoil every kind

    If two chains of the recipe's decomposition are not nested, the decomposition is not symmetric, bottom-centred, top-centred or nested.

The fence F(2,1,1,1,1,1,2)

The fence F(2,1,1,1,1,1,2) has 10 points, x₁ < x₂ < x₃ > x₄ < x₅ > x₆ < x₇ > x₈ < x₉ < x₁₀. Writing each down-set as a 10-bit number, Lean counts its down-sets: 105 of them, with 1, 4, 8, 13, 17, 19, 17, 13, 8, 4, 1 of sizes 0 to 10. These sizes are symmetric and size 5 has the most, so for this fence a chain decomposition of any of the four kinds is symmetric. Counting the bottom-up orders, one set of placed points at a time, gives exactly 16,451.

  • F(2,1,1,1,1,1,2) has 16,451 bottom-up orders

    Exactly 16,451 numberings of the 10 points are bottom-up.

  • The fence F(2,1,1,1,1,1,2)
  • F(2,1,1,1,1,1,2) has 105 down-sets

    The fence F(2,1,1,1,1,1,2) has exactly 105 down-sets.

  • How many down-sets of each size

    For r ≤ 10, the number of down-sets of size r is entry r of 1, 4, 8, 13, 17, 19, 17, 13, 8, 4, 1.

  • The sizes of F(2,1,1,1,1,1,2) are symmetric

    For every r ≤ 10 there are as many down-sets of size r as of size 10 − r.

    theorem FenceLexCounterexample.hasSymmetricRanks_headFence :
      HasSymmetricRanks headFence
  • Size 5 has the most down-sets

    For every r ≤ 10 other than 5, fewer down-sets have size r than size 5.

  • On F(2,1,1,1,1,1,2) the four kinds agree

    For every chain decomposition of F(2,1,1,1,1,1,2), being bottom-centred, top-centred or nested is each the same as being symmetric.

Every order fails, in both modes

A program written in Lean runs the recipe on bit patterns: it goes through every bottom-up order of the 10 points, builds the chains, and reports whether some chain is not centred on size 5. Lean proves that a true answer means the recipe's chains are not symmetric for any such order, and so, on this fence, not of any of the four kinds. Lean evaluates the program, by computation, in 14 pieces for each mode, split by the order's two leading points, and every piece returns true.

  • In mode 1, every order of F(2,1,1,1,1,1,2) fails

    For every bottom-up order L of the 10 points, the mode-1 recipe's decomposition is not symmetric, not bottom-centred, not top-centred and not nested.

    theorem FenceLexCounterexample.headFence_refutation_mode1 (L : Fin 10 ≃ Fin 10) (hL : IsLinearExtension headFence L) :
      ¬IsSCD (lcd LexMode.mode1 headFence L) ∧
      ¬IsBCD (lcd LexMode.mode1 headFence L) ∧
        ¬IsTCD (lcd LexMode.mode1 headFence L) ∧ ¬IsNCD (lcd LexMode.mode1 headFence L)
  • In mode 2, every order of F(2,1,1,1,1,1,2) fails

    For every bottom-up order L of the 10 points, the mode-2 recipe's decomposition is not symmetric, not bottom-centred, not top-centred and not nested.

    theorem FenceLexCounterexample.headFence_refutation_mode2 (L : Fin 10 ≃ Fin 10) (hL : IsLinearExtension headFence L) :
      ¬IsSCD (lcd LexMode.mode2 headFence L) ∧
      ¬IsBCD (lcd LexMode.mode2 headFence L) ∧
        ¬IsTCD (lcd LexMode.mode2 headFence L) ∧ ¬IsNCD (lcd LexMode.mode2 headFence L)
  • A passed mode-1 check refutes every order

    If the mode-1 check returns true, then for every bottom-up order L, the mode-1 recipe's decomposition is not symmetric, bottom-centred, top-centred or nested.

  • A passed mode-2 check refutes every order

    If the mode-2 check returns true, then for every bottom-up order L, the mode-2 recipe's decomposition is not symmetric, bottom-centred, top-centred or nested.

  • The mode-1 check passes

    The mode-1 check over all orders of F(2,1,1,1,1,1,2) returns true.

  • The mode-2 check passes

    The mode-2 check over all orders of F(2,1,1,1,1,1,2) returns true.

  • The bit-pattern recipe matches the recipe

    Given a correct table of points and the down-sets grouped by size, the bottom and top sizes returned by the bit-pattern recipe are exactly those of the chains of lcd.

Numberings that do work

The failure needs the order to be bottom-up. Numbering the points of F(2,1,1,1,1,1,2) as x₁, x₂, x₃, x₅, x₇, x₈, x₄, x₉, x₁₀, x₆, which puts x₃ before x₄ although x₄ < x₃, makes the mode-1 recipe give a symmetric decomposition with 19 chains. On the 11-point fence F(3,2,2,3), with 97 down-sets, one bottom-up order makes the mode-2 recipe give a bottom-centred, nested decomposition with 16 chains. That no bottom-up order of this fence gives a bottom-centred decomposition in mode 1 is not in the Lean traced here. The result page now reports it proved in Lean, in a later edition, over all 12,000 bottom-up orders.

  • With that numbering, mode 1 gives 19 symmetric chains

    For the numbering x₁, x₂, x₃, x₅, x₇, x₈, x₄, x₉, x₁₀, x₆, the mode-1 recipe's decomposition of F(2,1,1,1,1,1,2) is symmetric and nested and has 19 chains.

    theorem FenceLexCounterexample.headWitness_mode1_scd_ncd :
      IsSCD (lcd LexMode.mode1 headFence headWitnessLabeling) ∧
      IsNCD (lcd LexMode.mode1 headFence headWitnessLabeling) ∧
        (lcd LexMode.mode1 headFence headWitnessLabeling).chains.length = 19
  • On F(3,2,2,3), one order gives 16 bottom-centred chains in mode 2

    For that order, the mode-2 recipe's decomposition of F(3,2,2,3) is bottom-centred and nested and has 16 chains.

    theorem FenceLexCounterexample.f3223Mode2_bcd_ncd :
      IsBCD (lcd LexMode.mode2 f3223Fence f3223Mode2Labeling) ∧
      IsNCD (lcd LexMode.mode2 f3223Fence f3223Mode2Labeling) ∧
        (lcd LexMode.mode2 f3223Fence f3223Mode2Labeling).chains.length = 16
  • A numbering that breaks the order
  • That numbering is not bottom-up

    It numbers x₃ before x₄, although x₄ < x₃.

  • The fence F(3,2,2,3)
  • An order of F(3,2,2,3)
  • That order is bottom-up

    The numbering 0, 1, 2, 5, 10, 4, 3, 9, 6, 8, 7 of F(3,2,2,3) never lists a point before one below it.

  • F(3,2,2,3) has 97 down-sets

    The fence F(3,2,2,3) has exactly 97 down-sets.

Chains for every fence F(a,2,2,d)

Without the recipe, the fences F(a,2,2,d) with a, d ≥ 1 have a chain decomposition that is both bottom-centred and nested. Lean matches their down-sets with pairs: a down-set of the right-hand part and a number of points taken from the left-hand climb, which counts 5ad + 7a + 7d + 10 down-sets. Chains of the right-hand part are each spread into a family of hooks, and three to five chains (three when d = 1, four when d = 2, five when d ≥ 3) cover the right-hand part, giving a bottom-centred, nested decomposition for a ≥ 2. The case a = 1 follows by reading the fence backwards, and F(1,2,2,1) has an explicit decomposition into 6 chains.

  • Every F(a,2,2,d) has a bottom-centred, nested decomposition

    For all a ≥ 1 and d ≥ 1, the down-sets of F(a,2,2,d) have a chain decomposition that is bottom-centred and nested.

    theorem FenceLexCounterexample.exists_bcd_and_ncd_F_a22d (a : ℕ) (d : ℕ) (ha : 1 ≤ a) (hd : 1 ≤ d) :
      ∃ cd, IsBCD cd ∧ IsNCD cd
  • F(a,2,2,d) has 5ad + 7a + 7d + 10 down-sets

    For all a and d, the fence F(a,2,2,d) has exactly 5ad + 7a + 7d + 10 down-sets.

  • F(a,2,2,d) with a, d ≥ 2 has a bottom-centred decomposition

    For a ≥ 2 and d ≥ 2, the hooks over X, Y, Z and S1, and S2 when d ≥ 3, form a bottom-centred, nested decomposition of F(a,2,2,d).

  • F(a,2,2,1) with a ≥ 2 has a bottom-centred decomposition

    For a ≥ 2, the hooks over X, Y and S form a bottom-centred, nested decomposition of F(a,2,2,1).

  • F(1,2,2,1) has a bottom-centred decomposition into 6 chains

    The 6 explicit chains form a bottom-centred, nested decomposition of the 29 down-sets of F(1,2,2,1).

  • A fence read backwards
  • Every F(k,2,2,k) has a bottom-centred, nested decomposition

    For every k ≥ 1, the down-sets of F(k,2,2,k) have a chain decomposition that is bottom-centred and nested.

Short

Watch on YouTube ↗