AFTD Auto-Formalizing Theoretical Domains

op_2378_petersen_resistance_eq

theoremverified

The resistance of the witness graph equals 2.

Statement

theorem op_2378_petersen_resistance_eq : simple_graph_resistance op_2378_petersen_graph = 2
Source
step towards op_2378_partial_r_two
Verified
28 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 5
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

The resistance of a graph is defined as the infimum of the sizes of edge subsets whose removal renders the graph's line graph 3-colorable (that is, makes the graph 3-edge-colorable). To prove that the resistance of the Petersen graph is 2, the proof characterizes the infimum of a set of natural numbers by showing that 2 is in the set and is a lower bound for it. An explicit two-edge deletion provides the upper bound showing that 2 is achieved, and a previously established lower bound guarantees that no smaller deletion suffices.

  1. The value 2 is an achievable edge-deletion size, reducing the proof to showing that 2 is a lower bound.

    The resistance of the Petersen graph is defined as the infimum of the set of sizes of edge subsets whose removal makes the line graph 3-colorable. By op_2378_nat_sInf_eq_of_mem_of_le, the infimum of a set of natural numbers is 2 if 2 belongs to the set and is a lower bound for it. The lemma op_2378_petersen_resistance_upper provides a set of edges s of size 2 whose deletion leaves a 3-colorable line graph, which directly proves that 2 belongs to the set.

    lines 3–5

    uses op_2378_petersen_resistance_upper, op_2378_nat_sInf_eq_of_mem_of_le

      obtain ⟨s, hs, hc, hcard⟩ := op_2378_petersen_resistance_upper
      apply op_2378_nat_sInf_eq_of_mem_of_le
      · exact ⟨s, hs, hc, hcard⟩
  2. Every achievable edge-deletion size is at least 2, completing the proof.

    Let n be any natural number in the set, so n = |t| for some edge subset t whose deletion makes the line graph 3-colorable. Applying op_2378_petersen_resistance_lower to t establishes that 2 ≤ |t| = n, showing that 2 is indeed a lower bound.

    lines 6–7

    uses op_2378_petersen_resistance_lower

      · rintro n ⟨t, ht, htc, rfl⟩
        exact op_2378_petersen_resistance_lower t ht htc
op_2378_nat_sInf_eq_of_mem_of_le
If a natural number m belongs to a set S ⊆ ℕ and is less than or equal to every element of S, then the infimum of S is m.
op_2378_petersen_resistance_lower
Any set of edges of the Petersen graph whose removal yields a graph with a 3-colorable line graph has cardinality at least 2.
op_2378_petersen_resistance_upper
There exists a 2-element set of edges of the Petersen graph whose removal yields a graph with a 3-colorable line graph.

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 resistance of the Petersen witness graph is 2. -/theorem op_2378_petersen_resistance_eq : simple_graph_resistance op_2378_petersen_graph = 2 := by  obtain ⟨s, hs, hc, hcard⟩ := op_2378_petersen_resistance_upper  apply op_2378_nat_sInf_eq_of_mem_of_le  · exact ⟨s, hs, hc, hcard⟩  · rintro n ⟨t, ht, htc, rfl⟩    exact op_2378_petersen_resistance_lower t ht htc
See it in the graphDiscuss this resultChallenge it