AFTD Auto-Formalizing Theoretical Domains

boundary_five_seven_example_degree_and_nonbridge

theoremverified

The explicitly defined 28-vertex graph has minimum degree at least 16, the displayed residual has a perfect matching, and its edge 0–14 has an alternate path after deletion.

Statement

theorem boundary_five_seven_example_degree_and_nonbridge :
    (∀ v, 16 ≤ (in1122_fiveseven_graph.neighborFinset v).card) ∧
    (∃ P : (in1122_fiveseven_graph.induce {v | v ∈ in1122_fiveseven_residual}).Subgraph, P.IsPerfectMatching) ∧
    ((in1122_fiveseven_graph.induce {v | v ∈ in1122_fiveseven_residual}).deleteEdges
      {s(⟨0,by decide⟩,⟨14,by decide⟩)}).Reachable ⟨0,by decide⟩ ⟨14,by decide⟩
Source
OP-1957: the size-(5,7) nonbridge obstruction; experiment 37140.
Verified
22 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 1

The proof, explained

The theorem states three structural properties of the 28-vertex graph `in1122_fiveseven_graph`: every vertex has degree at least 16, the induced residual subgraph contains a perfect matching, and vertices 0 and 14 remain connected after removing the edge between them. The proof combines three previously established auxiliary lemmas into a single conjunction.

  1. Vertices 0 and 14 belong to the residual vertex set automation

    To formulate the reachability condition in the induced subgraph on `in1122_fiveseven_residual`, vertices 0 and 14 must be shown to belong to that vertex set. Lean discharges these four membership obligations by direct computational decision (`decide`).

    line 5

          {s(⟨0,by decide⟩,⟨14,by decide⟩)}).Reachable ⟨0,by decide⟩ ⟨14,by decide⟩ := by
  2. The graph has minimum degree at least 16, its residual subgraph has a perfect matching, and edge {0, 14} is not a bridge in the residual subgraph

    The target is a three-part conjunction. The proof instantiates all three components at once using the previously proven lemmas `in1122_fiveseven_min_degree`, `in1122_fiveseven_residual_matching`, and `in1122_fiveseven_nonbridge`.

    line 6

    uses in1122_fiveseven_min_degree, in1122_fiveseven_residual_matching, in1122_fiveseven_nonbridge

      exact ⟨in1122_fiveseven_min_degree, in1122_fiveseven_residual_matching, in1122_fiveseven_nonbridge⟩
in1122_fiveseven_min_degree
Every vertex in the graph `in1122_fiveseven_graph` has at least 16 neighbors.
in1122_fiveseven_residual_matching
The subgraph induced on the vertex set `in1122_fiveseven_residual` contains a perfect matching.
in1122_fiveseven_nonbridge
In the subgraph induced on `in1122_fiveseven_residual`, vertices 0 and 14 remain reachable from each other after deleting the edge between them.

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 boundary_five_seven_example_degree_and_nonbridge :    (∀ v, 16 ≤ (in1122_fiveseven_graph.neighborFinset v).card) ∧    (∃ P : (in1122_fiveseven_graph.induce {v | v ∈ in1122_fiveseven_residual}).Subgraph, P.IsPerfectMatching) ∧    ((in1122_fiveseven_graph.induce {v | v ∈ in1122_fiveseven_residual}).deleteEdges      {s(⟨0,by decide⟩,⟨14,by decide⟩)}).Reachable ⟨0,by decide⟩ ⟨14,by decide⟩ := by  exact ⟨in1122_fiveseven_min_degree, in1122_fiveseven_residual_matching, in1122_fiveseven_nonbridge⟩
See it in the graphDiscuss this resultChallenge it