AFTD Auto-Formalizing Theoretical Domains

op_2378_petersen_weak_oddness_eq

theoremverified

The weak oddness of the witness graph equals 2.

Statement

theorem op_2378_petersen_weak_oddness_eq : simple_graph_weak_oddness op_2378_petersen_graph = 2
Source
step towards op_2378_partial_r_two
Verified
28 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 6
Used by 1
  • op_2378_partial_r_twoThere exists a snark G on a finite vertex type V such that the resistance of G is 2 and the weak oddness of G is 2.

The proof, explained

By definition, the weak oddness of the Petersen graph is the infimum of the number of odd components across all of its even factors. To show this infimum is 2, the proof characterizes the minimum of a set of natural numbers by exhibiting an element and establishing a lower bound. It uses an explicit even factor with 2 odd components to show that 2 is attained, and a lower-bound lemma showing that every even factor has at least 2 odd components.

  1. We have an even factor H of the Petersen graph with exactly 2 odd components.

    Applying op_2378_petersen_even_factor_two_odd yields a subgraph H together with proofs that H is an even factor of the Petersen graph and that the number of odd components of H is 2.

    line 3

    uses op_2378_petersen_even_factor_two_odd

      obtain ⟨H, hH, h2⟩ := op_2378_petersen_even_factor_two_odd
  2. To prove that the weak oddness is 2, it suffices to show that 2 is achieved by some even factor and that every even factor has at least 2 odd components.

    The weak oddness is defined as the infimum of the set of odd component counts of all even factors. By op_2378_nat_sInf_eq_of_mem_of_le, the infimum of a set of natural numbers equals 2 provided that 2 belongs to the set and 2 is a lower bound for every element of the set.

    line 4

    uses op_2378_nat_sInf_eq_of_mem_of_le

      apply op_2378_nat_sInf_eq_of_mem_of_le
  3. 2 belongs to the set of odd component counts of even factors of the Petersen graph.

    The subgraph H obtained earlier serves as an explicit witness: it is an even factor of the Petersen graph with exactly 2 odd components.

    line 5

      · exact ⟨H, hH, h2⟩
  4. 2 is a lower bound for the number of odd components of any even factor of the Petersen graph.

    Consider an arbitrary count n in the set, corresponding to the number of odd components of an even factor H'. By op_2378_petersen_weak_oddness_lower, any even factor of the Petersen graph has at least 2 odd components, so 2 ≤ n.

    lines 6–7

    uses op_2378_petersen_weak_oddness_lower

      · rintro n ⟨H', hH', rfl⟩
        exact op_2378_petersen_weak_oddness_lower H' hH'
op_2378_petersen_even_factor_two_odd
There exists an even factor of the Petersen graph having exactly 2 odd components.
op_2378_nat_sInf_eq_of_mem_of_le
If a natural number m belongs to a set of natural numbers S and is less than or equal to every element of S, then the infimum of S is m.
op_2378_petersen_weak_oddness_lower
Every even factor of the Petersen graph has at least 2 odd components.

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 weak oddness of the Petersen witness graph is 2. -/theorem op_2378_petersen_weak_oddness_eq : simple_graph_weak_oddness op_2378_petersen_graph = 2 := by  obtain ⟨H, hH, h2⟩ := op_2378_petersen_even_factor_two_odd  apply op_2378_nat_sInf_eq_of_mem_of_le  · exact ⟨H, hH, h2⟩  · rintro n ⟨H', hH', rfl⟩    exact op_2378_petersen_weak_oddness_lower H' hH'
See it in the graphDiscuss this resultChallenge it