AFTD Auto-Formalizing Theoretical Domains

not_is_graph_bisection_empty_bool

theoremverified

In the two-element type Bool, the empty set is not a bisection.

Statement

theorem not_is_graph_bisection_empty_bool : ¬ is_graph_bisection (∅ : Finset Bool)
Source
folklore
Verified
19 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2
  • is_graph_bisectionA vertex subset S in a finite type V is a bisection if the sizes of S and its complement Sᶜ differ by at most one: |card(S) - card(Sᶜ)| ≤ 1.
  • op309_five_pair_cut_obstruction_kernelFor every assignment of five Boolean values, at least one of the fifteen displayed equality patterns holds.

Read back from the Lean

The empty set of Bool (as a Finset Bool) is not a graph bisection (in the sense of is_graph_bisection).

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 set is not a graph bisection in Bool, the proof unfolds the definition of a graph bisection, which requires the sizes of the set and its complement to differ by at most 1. Because the empty set has size 0 and its complement in the two-element type Bool has size 2, the absolute difference is 2, and the simplification automation evaluates this contradiction to close the goal.

  1. The empty set in the two-element type Bool is not a graph bisection. automation

    The proof tries a sequence of tactics via `first`. It succeeds on the branch that unfolds the definition `is_graph_bisection`, reducing the goal to showing that the empty set and its complement in Bool do not have sizes differing by at most 1. Since the empty set has 0 elements and its complement has 2 elements in Bool, the difference $|0 - 2| = 2$ is not at most 1; the `simpa` tactic evaluates this finite arithmetic contradiction and closes the goal.

    line 2

    uses is_graph_bisection, op309_five_pair_cut_obstruction_kernel

    theorem not_is_graph_bisection_empty_bool : ¬ is_graph_bisection (∅ : Finset Bool) := by first | exact op309_five_pair_cut_obstruction_kernel | (apply op309_five_pair_cut_obstruction_kernel <;> assumption) | (apply op309_five_pair_cut_obstruction_kernel <;> simp_all) | simpa using op309_five_pair_cut_obstruction_kernel | (simp only [is_graph_bisection] at *; first | exact op309_five_pair_cut_obstruction_kernel | (apply op309_five_pair_cut_obstruction_kernel <;> assumption) | (apply op309_five_pair_cut_obstruction_kernel <;> simp_all) | simpa using op309_five_pair_cut_obstruction_kernel)
is_graph_bisection
A subset S of a finite type is a graph bisection if the absolute difference between the cardinality of S and the cardinality of its complement is at most 1.
op309_five_pair_cut_obstruction_kernel
For any five elements in Bool, at least one of fifteen equality patterns among them must hold.

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 set in Bool is not a bisection. -/theorem not_is_graph_bisection_empty_bool : ¬ is_graph_bisection (∅ : Finset Bool) := by first | exact op309_five_pair_cut_obstruction_kernel | (apply op309_five_pair_cut_obstruction_kernel <;> assumption) | (apply op309_five_pair_cut_obstruction_kernel <;> simp_all) | simpa using op309_five_pair_cut_obstruction_kernel | (simp only [is_graph_bisection] at *; first | exact op309_five_pair_cut_obstruction_kernel | (apply op309_five_pair_cut_obstruction_kernel <;> assumption) | (apply op309_five_pair_cut_obstruction_kernel <;> simp_all) | simpa using op309_five_pair_cut_obstruction_kernel)
See it in the graphDiscuss this resultChallenge it