AFTD Auto-Formalizing Theoretical Domains

op309_five_pair_cut_obstruction_kernel

theoremverified

For every assignment of five Boolean values, at least one of the fifteen displayed equality patterns holds.

Statement

theorem op309_five_pair_cut_obstruction_kernel :
    ∀ a0 a1 a2 a3 a4 : Bool,
      (a0 = a1 ∧ a0 = a2 ∧ a0 = a3 ∧ a0 = a4) ∨
      (a0 = a3 ∧ a3 = a4) ∨
      (a0 = a4 ∧ a1 = a3) ∨
      (a0 = a2 ∧ a1 = a3) ∨
      (a0 = a1 ∧ a0 = a3) ∨
      (a0 = a1 ∧ a1 = a2 ∧ a1 = a3 ∧ a1 = a4) ∨
      (a0 = a1 ∧ a1 = a2) ∨
      (a0 = a2 ∧ a1 = a4) ∨
      (a0 = a2 ∧ a1 = a2 ∧ a2 = a3 ∧ a2 = a4) ∨
      (a0 = a4 ∧ a2 = a3) ∨
      (a0 = a3 ∧ a1 = a3 ∧ a2 = a3 ∧ a3 = a4) ∨
      (a2 = a4 ∧ a3 = a4) ∨
      (a0 = a4 ∧ a1 = a4 ∧ a2 = a4 ∧ a3 = a4) ∨
      (a1 = a2 ∧ a2 = a4) ∨
      (a1 = a4 ∧ a2 = a3)
Source
Finite kernel for the prescribed perfect matching cut obstruction of OP-309, experiments 31275 and 31278.
Verified
18 Nov 2026
Axioms
none — Lean reports it depends on no axioms
Used by 1

The proof, explained

The theorem asserts that every assignment of Boolean values to five variables satisfies at least one of fifteen equality conditions. The proof proceeds by finite case exhaustion: it enumerates all $2^5 = 32$ possible truth assignments for the variables and checks by direct evaluation that the disjunction holds in every case.

  1. Let $a_0, a_1, a_2, a_3, a_4$ be arbitrary Boolean values.

    We introduce the five universally quantified Boolean variables into the context.

    line 18

      intro a0 a1 a2 a3 a4
  2. At least one of the fifteen equality patterns holds for every assignment of values to $(a_0, a_1, a_2, a_3, a_4)$. automation

    Because each of the five variables takes values in the two-element set $\{\mathrm{false}, \mathrm{true}\}$, there are $2^5 = 32$ possible assignments in total. The proof splits into cases on each variable in succession (`cases a0 <;> ... <;> cases a4`), substituting explicit Boolean literals in all 32 branches. In each branch, the goal reduces to a ground proposition without free variables, which Lean's decision procedure (`decide`) verifies by direct Boolean evaluation.

    line 19

      cases a0 <;> cases a1 <;> cases a2 <;> cases a3 <;> cases a4 <;> decide

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

theorem op309_five_pair_cut_obstruction_kernel :    ∀ a0 a1 a2 a3 a4 : Bool,      (a0 = a1 ∧ a0 = a2 ∧ a0 = a3 ∧ a0 = a4) ∨      (a0 = a3 ∧ a3 = a4) ∨      (a0 = a4 ∧ a1 = a3) ∨      (a0 = a2 ∧ a1 = a3) ∨      (a0 = a1 ∧ a0 = a3) ∨      (a0 = a1 ∧ a1 = a2 ∧ a1 = a3 ∧ a1 = a4) ∨      (a0 = a1 ∧ a1 = a2) ∨      (a0 = a2 ∧ a1 = a4) ∨      (a0 = a2 ∧ a1 = a2 ∧ a2 = a3 ∧ a2 = a4) ∨      (a0 = a4 ∧ a2 = a3) ∨      (a0 = a3 ∧ a1 = a3 ∧ a2 = a3 ∧ a3 = a4) ∨      (a2 = a4 ∧ a3 = a4) ∨      (a0 = a4 ∧ a1 = a4 ∧ a2 = a4 ∧ a3 = a4) ∨      (a1 = a2 ∧ a2 = a4) ∨      (a1 = a4 ∧ a2 = a3) := by  intro a0 a1 a2 a3 a4  cases a0 <;> cases a1 <;> cases a2 <;> cases a3 <;> cases a4 <;> decide
See it in the graphDiscuss this resultChallenge it