AFTD Auto-Formalizing Theoretical Domains

higher_bruhat_inc

def

The 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 has cardinality k+1 and X is packet-consistent.

Statement

def higher_bruhat_inc (n k : ℕ) : Type
Defined in
arXiv:2611.17465 Definition 1
Verified
23 Nov 2026
Axioms
none listed
Built on 1
  • 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…
Used by 3

Read back from the Lean

Given natural numbers n and k, higher_bruhat_inc n k is the type (subtype of Finset (Finset (Fin n))) of all finite collections X of finite subsets of Fin n satisfying: 1. Every element A ∈ X has cardinality k + 1. 2. X satisfies higher_bruhat_packet_consistent n k X: for every subset M of Fin n of cardinality k + 2, at least one of the following holds: - For all a, b ∈ M with a < b, if M \ {a} ∈ X, then M \ {b} ∈ X (the elements of M whose removal yields a set in X form a final segment of M). - For all a, b ∈ M with a < b, if M \ {b} ∈ X, then M \ {a} ∈ X (the elements of M whose removal yields a set in X form an initial segment of M).

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- The inclusion higher Bruhat poset B_inc(n, k), whose elements are consistent families of (k+1)-subsets of Fin n. -/
def higher_bruhat_inc (n k : ℕ) : Type :=
  {X : Finset (Finset (Fin n)) //
    (∀ A ∈ X, A.card = k + 1) ∧ higher_bruhat_packet_consistent n k X}
See it in the graphDiscuss this resultChallenge it