AFTD Auto-Formalizing Theoretical Domains

higher_bruhat_packet_consistent_empty

theoremverified

The empty family of subsets of {0, ..., n-1} is packet-consistent for any n and k.

Statement

theorem higher_bruhat_packet_consistent_empty (n k : ℕ) :
    higher_bruhat_packet_consistent n k ∅
Source
folklore
Verified
23 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2
  • 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…
  • two_pow_eq_succ_iffFor a natural d, two to the power d equals d+1 exactly when d is zero or one.

Read back from the Lean

For all natural numbers n and k, the empty set of subsets of Fin n is higher Bruhat packet-consistent with parameters n and 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

To show that the empty family $\emptyset$ is packet-consistent, we unfold the definition of packet consistency. The definition requires that for every $(k+2)$-element subset $M$, either of two conditional statements relating deletions $M \setminus \{a\} \in X$ and $M \setminus \{b\} \in X$ holds for all pairs $a < b$ in $M$. Since $X = \emptyset$, the premise of each implication asserts membership in the empty set, which is impossible, so both conditions hold vacuously.

  1. The empty family vacuously satisfies the packet-consistency condition for every subset of size $k + 2$.

    Unfolding the definition of packet consistency (`higher_bruhat_packet_consistent`), we must verify that for any subset $M \subseteq \{0, \ldots, n-1\}$ of size $k + 2$, at least one of two directional implications holds for all $a < b$ in $M$. Both implications require premises of the form $M \setminus \{x\} \in \emptyset$. Since no set belongs to the empty set $\emptyset$, these premises are identically false, rendering both implications vacuously true. The simplifier (`simpa`) recognizes this and discharges the goal; the lemma `two_pow_eq_succ_iff` passed to it is ignored.

    line 3

    uses higher_bruhat_packet_consistent, two_pow_eq_succ_iff

        higher_bruhat_packet_consistent n k ∅ := by first | exact two_pow_eq_succ_iff | (apply two_pow_eq_succ_iff <;> assumption) | (apply two_pow_eq_succ_iff <;> simp_all) | simpa using two_pow_eq_succ_iff | (simp only [higher_bruhat_packet_consistent] at *; first | exact two_pow_eq_succ_iff | (apply two_pow_eq_succ_iff <;> assumption) | (apply two_pow_eq_succ_iff <;> simp_all) | simpa using two_pow_eq_succ_iff)
higher_bruhat_packet_consistent
A family $X$ of subsets of $\{0, \ldots, n-1\}$ is packet-consistent for parameters $n$ and $k$ if for every subset $M$ of size $k + 2$, either $M \setminus \{a\} \in X \implies M \setminus \{b\} \in X$ for all $a < b$ in $M$, or $M \setminus \{b\} \in X \implies M \setminus \{a\} \in X$ for all $a < b$ in $M$.
two_pow_eq_succ_iff
For any natural number $d$, $2^d = d + 1$ if and only if $d = 0$ or $d = 1$.

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

/-- The empty family is packet-consistent. -/theorem higher_bruhat_packet_consistent_empty (n k : ℕ) :    higher_bruhat_packet_consistent n k ∅ := by first | exact two_pow_eq_succ_iff | (apply two_pow_eq_succ_iff <;> assumption) | (apply two_pow_eq_succ_iff <;> simp_all) | simpa using two_pow_eq_succ_iff | (simp only [higher_bruhat_packet_consistent] at *; first | exact two_pow_eq_succ_iff | (apply two_pow_eq_succ_iff <;> assumption) | (apply two_pow_eq_succ_iff <;> simp_all) | simpa using two_pow_eq_succ_iff)
See it in the graphDiscuss this resultChallenge it