higher_bruhat_inc_poset_dimension_ge_card_of_boolean_subposet
If X and S are disjoint families of (k+1)-element subsets of {0, ..., n-1} such that X ∪ E is packet-consistent for every subcollection E ⊆ S, then the Dushnik–Miller dimension of the inclusion higher Bruhat order B_inc(n, k) is at least the cardinality of S.
Statement
lemma higher_bruhat_inc_poset_dimension_ge_card_of_boolean_subposet
(n k : ℕ) (X S : Finset (Finset (Fin n)))
(hX : ∀ A ∈ X, A.card = k + 1)
(hS : ∀ A ∈ S, A.card = k + 1)
(hdisj : Disjoint X S)
(hcons : ∀ E ⊆ S, higher_bruhat_packet_consistent n k (X ∪ E)) :
S.card ≤ poset_dimension (higher_bruhat_inc_le n k)- Source
- arXiv:2611.17465, Section 2.1
- Verified
- 23 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 6
- higher_bruhat_packet_consistentA family X of subsets of {0, ..., n-1} is packet-consistent if for every subset M ⊆ {0, ..., n-1} of size k+2, the family X satisfies…
- poset_dimensionFor a relation r : α → α → Prop on α, poset_dimension r is the infimum in ℕ of the set of natural numbers d such that there exists a…
- higher_bruhat_inc_leThe partial order relation on the inclusion higher Bruhat order B_inc(n, k) is given by inclusion of families: X ≤ Y if and only if X ⊆ Y.
- higher_bruhat_incThe inclusion higher Bruhat order type B_inc(n, k) is the subtype of families X of subsets of {0, ..., n-1} such that each element of X…
- bipartite_subgraph_poset_dimension_pow_lower_boundLet V be a finite type with decidable equality, G a simple graph on V with decidable adjacency, and A, B subsets of V covering V such that…
- is_poset_realizerGiven a relation r : α → α → Prop on a type α and an indexed family R : ι → LinearOrder α of linear orders on α, is_poset_realizer r R is…
- Used by 1
- higher_bruhat_inc_poset_dimension_geFor integers k ≥ 2 and n ≥ k+1, the Dushnik–Miller dimension of the inclusion higher Bruhat order B_inc(n, k) satisfies dim B_inc(n, k) ≥…
Read back from the Lean
Let $n$ and $k$ be natural numbers, and let $X$ and $S$ be finite sets of subsets of $\mathrm{Fin}\; n$. Assume that:
1. Every element of $X$ has cardinality $k + 1$,
2. Every element of $S$ has cardinality $k + 1$,
3. $X$ and $S$ are disjoint, and
4. For every subset $E \subseteq S$, the union $X \cup E$ is packet-consistent (higher_bruhat_packet_consistent n k).
Then the cardinality of $S$ is less than or equal to the poset dimension (poset_dimension) of the inclusion order (higher_bruhat_inc_le n k) on the type of packet-consistent collections of $(k+1)$-element subsets of $\mathrm{Fin}\; n$ (higher_bruhat_inc n k).
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
The proof, explained
The proof embeds a standard example of dimension |S| into the inclusion higher Bruhat order B_inc(n, k). For each s ∈ S, one defines v(s) = X ∪ {s} and u(s) = X ∪ (S \ {s}), showing that v(s) ⊈ u(s) while v(s) ⊆ u(t) for all distinct s, t ∈ S. In any realizer of the poset, each element s ∈ S requires a linear extension R_{f(s)} that witnesses v(s) ⊈ u(s), and the off-diagonal relations force the resulting index map f : S → Fin d to be injective, thereby bounding |S| by the poset dimension d.
For any subcollection E ⊆ S, the union X ∪ E is a valid element of B_inc(n, k).
The helper constructor higher_bruhat_inc_poset_dimension_ge_card_of_boolean_subposet_mk packages X ∪ E as a member of the inclusion higher Bruhat order. Every member of X ∪ E has cardinality k + 1 because members of X have size k + 1 by hX and members of E ⊆ S have size k + 1 by hS; packet-consistency is provided directly by hcons.
uses
Finset.mem_union.mpdef higher_bruhat_inc_poset_dimension_ge_card_of_boolean_subposet_mk (n k : ℕ) (X S : Finset (Finset (Fin n))) (hX : ∀ A ∈ X, A.card = k + 1) (hS : ∀ A ∈ S, A.card = k + 1) (hcons : ∀ E ⊆ S, higher_bruhat_packet_consistent n k (X ∪ E)) (E : Finset (Finset (Fin n))) (hE : E ⊆ S) : higher_bruhat_inc n k := ⟨X ∪ E, ⟨by intro A hA rcases Finset.mem_union.mp hA with hA | hA · exact hX A hA · exact hS A (hE hA), hcons E hE⟩⟩
The inequality holds trivially if S is empty.
If S = ∅, its cardinality is 0, which is less than or equal to the non-negative poset dimension.
uses
Finset.card_empty,Nat.zero_leclassical by_cases hS_empty : S = ∅ · rw [hS_empty, Finset.card_empty] exact Nat.zero_le _
The inclusion order on B_inc(n, k) is a finite partial order admitting a realizer of size equal to its poset dimension.
The type of packet-consistent families is finite as a subtype of the finite power set. Inclusion is a partial order because subset inclusion on finite sets is reflexive, transitive, and antisymmetric. By bspd_hexists_realizer_of_poset_dimension, there exists a family R of linear extensions indexed by Fin (poset_dimension ...) whose intersection is the inclusion order.
uses
Subtype.fintype,Finset.Subset.refl,Finset.Subset.trans,Finset.Subset.antisymm,Subtype.ext,bspd_hexists_realizer_of_poset_dimensionhave : Fintype (higher_bruhat_inc n k) := Subtype.fintype _ have hpo : IsPartialOrder (higher_bruhat_inc n k) (higher_bruhat_inc_le n k) := { refl := fun _ => Finset.Subset.refl _ trans := fun _ _ _ => Finset.Subset.trans antisymm := fun _ _ hxy hyx => Subtype.ext (Finset.Subset.antisymm hxy hyx) } obtain ⟨R, hR⟩ := @bspd_hexists_realizer_of_poset_dimension (higher_bruhat_inc n k) this inferInstance (Fintype.card (higher_bruhat_inc n k)) rfl (higher_bruhat_inc_le n k) hpo
Definition of the standard example pairs v(s) and u(s) for each s ∈ S.
For each s ∈ S, we set v(s) = X ∪ {s} and u(s) = X ∪ (S \ {s}) as elements of the higher Bruhat order using the helper constructor, since {s} ⊆ S and S \ {s} ⊆ S.
uses
higher_bruhat_inc_poset_dimension_ge_card_of_boolean_subposet_mk,Finset.singleton_subset_iff.mpr,Finset.erase_subsetlet v (s : {s // s ∈ S}) : higher_bruhat_inc n k := higher_bruhat_inc_poset_dimension_ge_card_of_boolean_subposet_mk n k X S hX hS hcons {s.1} (Finset.singleton_subset_iff.mpr s.2) let u (s : {s // s ∈ S}) : higher_bruhat_inc n k := higher_bruhat_inc_poset_dimension_ge_card_of_boolean_subposet_mk n k X S hX hS hcons (S.erase s.1) (Finset.erase_subset s.1 S)
For every s ∈ S, v(s) is not below u(s) in the inclusion order.
If X ∪ {s} were contained in X ∪ (S \ {s}), the element s would belong to X ∪ (S \ {s}). But s ∉ X because X and S are disjoint, and s ∉ S \ {s} by definition of removal, producing a contradiction.
uses
Finset.mem_union_right,Finset.mem_singleton_self,Finset.mem_union.mp,Finset.disjoint_right.mp,Finset.notMem_erasehave hnot_le : ∀ s : {s // s ∈ S}, ¬ higher_bruhat_inc_le n k (v s) (u s) := by intro s h change X ∪ {s.1} ⊆ X ∪ (S.erase s.1) at h have hs_in : s.1 ∈ X ∪ {s.1} := Finset.mem_union_right X (Finset.mem_singleton_self s.1) have hs_in2 : s.1 ∈ X ∪ (S.erase s.1) := h hs_in rcases Finset.mem_union.mp hs_in2 with h1 | h2 · exact Finset.disjoint_right.mp hdisj s.2 h1 · exact Finset.notMem_erase s.1 S h2
For distinct s, t ∈ S, v(s) is below u(t) in the inclusion order.
When s ≠ t, the element s belongs to S \ {t}, so {s} ⊆ S \ {t}. It follows that X ∪ {s} ⊆ X ∪ (S \ {t}).
uses
Subtype.ext,Finset.mem_erase.mpr,Finset.singleton_subset_iff.mpr,Finset.union_subset_union_righthave hle_of_ne : ∀ s t : {s // s ∈ S}, s ≠ t → higher_bruhat_inc_le n k (v s) (u t) := by intro s t hst change X ∪ {s.1} ⊆ X ∪ (S.erase t.1) have hne : s.1 ≠ t.1 := by intro h apply hst exact Subtype.ext h have hs_mem : s.1 ∈ S.erase t.1 := Finset.mem_erase.mpr ⟨hne, s.2⟩ have hsub : {s.1} ⊆ S.erase t.1 := Finset.singleton_subset_iff.mpr hs_mem exact Finset.union_subset_union_right hsub
Each element s ∈ S can be associated with a linear extension in the realizer that reverses the pair (v(s), u(s)).
Since v(s) is not below u(s) in the poset, not all linear orders in the realizer R can satisfy v(s) ≤ u(s). Hence, for each s, there exists an index i such that ¬ (R i).le (v s) (u s). Choosing such an index for each s defines a function f from S to the indices of the realizer.
have h_ex_i : ∀ s : {s // s ∈ S}, ∃ i : Fin (poset_dimension (higher_bruhat_inc_le n k)), ¬ (R i).le (v s) (u s) := by intro s by_contra hcon have hall : ∀ i, (R i).le (v s) (u s) := by intro i by_contra hi exact hcon ⟨i, hi⟩ have : higher_bruhat_inc_le n k (v s) (u s) := (hR (v s) (u s)).mpr hall exact hnot_le s this choose f hf using h_ex_i
The index assignment function f is injective.
Assume for contradiction that f(s) = f(t) for some s ≠ t, and let lo = R(f(t)). Since ¬ (v(s) ≤_lo u(s)) and ¬ (v(t) ≤_lo u(t)), totality of lo forces u(s) ≤_lo v(s) and u(t) ≤_lo v(t). Since s ≠ t, the poset relations v(s) ≤ u(t) and v(t) ≤ u(s) hold and are preserved in lo. By transitivity, u(s) ≤_lo v(s) ≤_lo u(t) and u(t) ≤_lo v(t) ≤_lo u(s), so u(s) = u(t) by antisymmetry of lo. Replacing u(s) with u(t) in ¬ (v(s) ≤_lo u(s)) contradicts v(s) ≤_lo u(t).
uses
Ne.symm,False.elimhave hf_inj : Function.Injective f := by intro s t hst by_contra h_ne have h1 := hf s have h2 := hf t rw [hst] at h1 set lo := R (f t) have h_le1 : higher_bruhat_inc_le n k (v s) (u t) := hle_of_ne s t h_ne have h_le2 : higher_bruhat_inc_le n k (v t) (u s) := hle_of_ne t s (Ne.symm h_ne) have h_R_le1 : lo.le (v s) (u t) := (hR (v s) (u t)).mp h_le1 (f t) have h_R_le2 : lo.le (v t) (u s) := (hR (v t) (u s)).mp h_le2 (f t) have h_u_v : lo.le (u s) (v s) := by rcases lo.le_total (u s) (v s) with h | h · exact h · exact False.elim (h1 h) have h_ut_vt : lo.le (u t) (v t) := by rcases lo.le_total (u t) (v t) with h | h · exact h · exact False.elim (h2 h) have h_u_ut : lo.le (u s) (u t) := lo.le_trans (u s) (v s) (u t) h_u_v h_R_le1 have h_ut_u : lo.le (u t) (u s) := lo.le_trans (u t) (v t) (u s) h_ut_vt h_R_le2 have h_eq : u s = u t := lo.le_antisymm (u s) (u t) h_u_ut h_ut_u rw [h_eq] at h1 exact h1 h_R_le1
The cardinality of S is at most the poset dimension.
Because f is an injective function from the finite set S into Fin (poset_dimension ...), the cardinality of S cannot exceed the cardinality of Fin (poset_dimension ...), which is exactly poset_dimension.
uses
Fintype.card_le_of_injective,Fintype.card_coe,Fintype.card_finhave hcard := Fintype.card_le_of_injective f hf_inj rw [Fintype.card_coe, Fintype.card_fin] at hcard exact hcard
Finset.mem_union.mp- An element in the union of two finite sets belongs to the first set or the second set.
Finset.card_empty- The empty finite set has cardinality 0.
Nat.zero_le- 0 is less than or equal to any natural number.
Subtype.fintype- A decidable subtype of a finite type is finite.
Finset.Subset.refl- Every finite set is a subset of itself.
Finset.Subset.trans- The subset relation on finite sets is transitive.
Finset.Subset.antisymm- If two finite sets are subsets of each other, they are equal.
Subtype.ext- Two elements of a subtype are equal if their underlying values are equal.
bspd_hexists_realizer_of_poset_dimension- Every finite poset has a realizer whose cardinality equals the poset dimension.
higher_bruhat_inc_poset_dimension_ge_card_of_boolean_subposet_mk- Constructs an element of the inclusion higher Bruhat order from X ∪ E for any subcollection E ⊆ S.
Finset.singleton_subset_iff.mpr- A singleton {a} is a subset of s if a belongs to s.
Finset.erase_subset- Removing an element from a finite set yields a subset of the original set.
Finset.mem_union_right- If an element belongs to t, then it belongs to s ∪ t.
Finset.mem_singleton_self- An element belongs to its own singleton set.
Finset.disjoint_right.mp- If two sets are disjoint, an element in the second set cannot belong to the first set.
Finset.notMem_erase- An element does not belong to the set obtained by removing that element.
Finset.mem_erase.mpr- An element a belongs to s.erase b if a ≠ b and a ∈ s.
Finset.union_subset_union_right- If t₁ ⊆ t₂, then s ∪ t₁ ⊆ s ∪ t₂.
Ne.symm- Inequality is symmetric: if a ≠ b, then b ≠ a.
False.elim- False implies any proposition.
Fintype.card_le_of_injective- An injective function between finite types implies that the domain has cardinality at most the codomain.
Fintype.card_coe- The cardinality of a subtype coerced from a finite set equals the cardinality of the set.
Fintype.card_fin- The finite type Fin n has cardinality n.
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
def higher_bruhat_inc_poset_dimension_ge_card_of_boolean_subposet_mk (n k : ℕ) (X S : Finset (Finset (Fin n))) (hX : ∀ A ∈ X, A.card = k + 1) (hS : ∀ A ∈ S, A.card = k + 1) (hcons : ∀ E ⊆ S, higher_bruhat_packet_consistent n k (X ∪ E)) (E : Finset (Finset (Fin n))) (hE : E ⊆ S) : higher_bruhat_inc n k := ⟨X ∪ E, ⟨by intro A hA rcases Finset.mem_union.mp hA with hA | hA · exact hX A hA · exact hS A (hE hA), hcons E hE⟩⟩/-- A Boolean interval of size |S| in the inclusion higher Bruhat order forces poset dimension at least |S|. -/lemma higher_bruhat_inc_poset_dimension_ge_card_of_boolean_subposet (n k : ℕ) (X S : Finset (Finset (Fin n))) (hX : ∀ A ∈ X, A.card = k + 1) (hS : ∀ A ∈ S, A.card = k + 1) (hdisj : Disjoint X S) (hcons : ∀ E ⊆ S, higher_bruhat_packet_consistent n k (X ∪ E)) : S.card ≤ poset_dimension (higher_bruhat_inc_le n k) := by classical by_cases hS_empty : S = ∅ · rw [hS_empty, Finset.card_empty] exact Nat.zero_le _ have : Fintype (higher_bruhat_inc n k) := Subtype.fintype _ have hpo : IsPartialOrder (higher_bruhat_inc n k) (higher_bruhat_inc_le n k) := { refl := fun _ => Finset.Subset.refl _ trans := fun _ _ _ => Finset.Subset.trans antisymm := fun _ _ hxy hyx => Subtype.ext (Finset.Subset.antisymm hxy hyx) } obtain ⟨R, hR⟩ := @bspd_hexists_realizer_of_poset_dimension (higher_bruhat_inc n k) this inferInstance (Fintype.card (higher_bruhat_inc n k)) rfl (higher_bruhat_inc_le n k) hpo let v (s : {s // s ∈ S}) : higher_bruhat_inc n k := higher_bruhat_inc_poset_dimension_ge_card_of_boolean_subposet_mk n k X S hX hS hcons {s.1} (Finset.singleton_subset_iff.mpr s.2) let u (s : {s // s ∈ S}) : higher_bruhat_inc n k := higher_bruhat_inc_poset_dimension_ge_card_of_boolean_subposet_mk n k X S hX hS hcons (S.erase s.1) (Finset.erase_subset s.1 S) have hnot_le : ∀ s : {s // s ∈ S}, ¬ higher_bruhat_inc_le n k (v s) (u s) := by intro s h change X ∪ {s.1} ⊆ X ∪ (S.erase s.1) at h have hs_in : s.1 ∈ X ∪ {s.1} := Finset.mem_union_right X (Finset.mem_singleton_self s.1) have hs_in2 : s.1 ∈ X ∪ (S.erase s.1) := h hs_in rcases Finset.mem_union.mp hs_in2 with h1 | h2 · exact Finset.disjoint_right.mp hdisj s.2 h1 · exact Finset.notMem_erase s.1 S h2 have hle_of_ne : ∀ s t : {s // s ∈ S}, s ≠ t → higher_bruhat_inc_le n k (v s) (u t) := by intro s t hst change X ∪ {s.1} ⊆ X ∪ (S.erase t.1) have hne : s.1 ≠ t.1 := by intro h apply hst exact Subtype.ext h have hs_mem : s.1 ∈ S.erase t.1 := Finset.mem_erase.mpr ⟨hne, s.2⟩ have hsub : {s.1} ⊆ S.erase t.1 := Finset.singleton_subset_iff.mpr hs_mem exact Finset.union_subset_union_right hsub have h_ex_i : ∀ s : {s // s ∈ S}, ∃ i : Fin (poset_dimension (higher_bruhat_inc_le n k)), ¬ (R i).le (v s) (u s) := by intro s by_contra hcon have hall : ∀ i, (R i).le (v s) (u s) := by intro i by_contra hi exact hcon ⟨i, hi⟩ have : higher_bruhat_inc_le n k (v s) (u s) := (hR (v s) (u s)).mpr hall exact hnot_le s this choose f hf using h_ex_i have hf_inj : Function.Injective f := by intro s t hst by_contra h_ne have h1 := hf s have h2 := hf t rw [hst] at h1 set lo := R (f t) have h_le1 : higher_bruhat_inc_le n k (v s) (u t) := hle_of_ne s t h_ne have h_le2 : higher_bruhat_inc_le n k (v t) (u s) := hle_of_ne t s (Ne.symm h_ne) have h_R_le1 : lo.le (v s) (u t) := (hR (v s) (u t)).mp h_le1 (f t) have h_R_le2 : lo.le (v t) (u s) := (hR (v t) (u s)).mp h_le2 (f t) have h_u_v : lo.le (u s) (v s) := by rcases lo.le_total (u s) (v s) with h | h · exact h · exact False.elim (h1 h) have h_ut_vt : lo.le (u t) (v t) := by rcases lo.le_total (u t) (v t) with h | h · exact h · exact False.elim (h2 h) have h_u_ut : lo.le (u s) (u t) := lo.le_trans (u s) (v s) (u t) h_u_v h_R_le1 have h_ut_u : lo.le (u t) (u s) := lo.le_trans (u t) (v t) (u s) h_ut_vt h_R_le2 have h_eq : u s = u t := lo.le_antisymm (u s) (u t) h_u_ut h_ut_u rw [h_eq] at h1 exact h1 h_R_le1 have hcard := Fintype.card_le_of_injective f hf_inj rw [Fintype.card_coe, Fintype.card_fin] at hcard exact hcard