AFTD Auto-Formalizing Theoretical Domains

bot_has_d_cut

lemmaverified

For any finite vertex type with at least two vertices and any d, the empty simple graph has a d-cut.

Statement

lemma bot_has_d_cut {V : Type*} [Fintype V] [DecidableEq V]
    (hV : 2 ≤ Fintype.card V) (d : ℕ) :
    graph_has_d_cut (⊥ : SimpleGraph V) d
Source
arXiv:2611.26556 Section 1
Verified
20 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2
  • graph_has_d_cutA finite simple graph G has a d-cut if there exists a subset A of vertices forming a d-cut.
  • graph_is_d_cutA subset A of vertices is a d-cut of a finite simple graph G if both A and its complement are nonempty, each vertex in A has at most d…

Read back from the Lean

For any finite type $V$ with decidable equality such that $|V| \ge 2$, and for any natural number $d$, the empty graph on $V$ (denoted $\bot : \text{SimpleGraph } V$) has a $d$-cut.

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 empty graph on at least two vertices has a d-cut for any d. -/
lemma bot_has_d_cut {V : Type*} [Fintype V] [DecidableEq V]
    (hV : 2 ≤ Fintype.card V) (d : ℕ) :
    graph_has_d_cut (⊥ : SimpleGraph V) d := by
  classical
  have hpos : 0 < Fintype.card V := by omega
  haveI : Nonempty V := Fintype.card_pos_iff.mp hpos
  obtain ⟨x⟩ := ‹Nonempty V›
  obtain ⟨y, hyx⟩ := Fintype.exists_ne_of_one_lt_card (by omega : 1 < Fintype.card V) x
  refine ⟨{x}, ?_, ?_, ?_, ?_⟩
  · simp
  · refine ⟨y, ?_⟩
    simp [Finset.mem_compl, hyx]
  · intro u hu
    simp
  · intro v hv
    simp
See it in the graphDiscuss this resultChallenge it