AFTD Auto-Formalizing Theoretical Domains

truncation_twelve_vertex_forced_unselected_path

theoremverified

If twelve chosen ports cover the twelve listed required edges, each of the four edges of the path 6,7,8,9,10 is unselected at both ends.

Statement

theorem truncation_twelve_vertex_forced_unselected_path
    (low : Fin 12 → Fin 12)
    (hcover : ∀ e ∈ truncation_twelve_vertex_required_edges, ∃ v, s(v, low v) = e) :
    low 6 ≠ 7 ∧ low 7 ≠ 6 ∧ low 7 ≠ 8 ∧ low 8 ≠ 7 ∧
      low 8 ≠ 9 ∧ low 9 ≠ 8 ∧ low 9 ≠ 10 ∧ low 10 ≠ 9
Source
Helper for the OP-874 truncation coloring campaign; the concrete instance is independently checked in experiments 33309, 33310, 33320, 33321 and 33322.
Verified
19 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2
Used by 1

The proof, explained

The proof shows that every vertex's chosen low-port edge must be one of the twelve required edges, because twelve chosen edges cover a required set of twelve edges. Since none of the four path edges {6, 7}, {7, 8}, {8, 9}, and {9, 10} belong to the required set, neither endpoint of any path edge can select the other via its low port.

  1. Every vertex's chosen low-port edge belongs to the required edge set.

    The set of required edges contains 12 edges, which equals the number of vertices in Fin 12 (verified by computation). Because the 12 low-port edges chosen by the vertices cover all 12 required edges, the pigeonhole principle for port selections (`required_edges_exhaust_low_ports`) implies that no vertex can choose an edge outside the required set: for every vertex v, s(v, low v) is in the required edge set.

    lines 6–7

    uses required_edges_exhaust_low_ports

      have hc : truncation_twelve_vertex_required_edges.card = Fintype.card (Fin 12) := by decide
      have hsel := required_edges_exhaust_low_ports truncation_twelve_vertex_required_edges low hc hcover
  2. If an edge s(u, v) is not in the required edge set, then low u ≠ v.

    Suppose, for contradiction, that low u = v for an edge s(u, v) not in the required set. Then the edge chosen at vertex u is s(u, low u) = s(u, v), which would belong to the required set by the previous step, contradicting the assumption that s(u, v) is not required.

    lines 8–12

      have hnot : ∀ u v : Fin 12, s(u, v) ∉ truncation_twelve_vertex_required_edges → low u ≠ v := by
        intro u v hnone h
        have he := hsel u
        rw [h] at he
        exact hnone he
  3. None of the four edges along the path 6–7–8–9–10 are selected by low ports at either endpoint.

    By finite evaluation (`decide`), none of the four undirected edges {6, 7}, {7, 8}, {8, 9}, or {9, 10} belong to the twelve-element required edge set. Applying the contrapositive criterion from the previous step to each directed pair (6, 7), (7, 6), (7, 8), (8, 7), (8, 9), (9, 8), (9, 10), and (10, 9) yields all eight required inequalities.

    lines 13–16

      refine ⟨hnot 6 7 (by decide), hnot 7 6 (by decide),
        hnot 7 8 (by decide), hnot 8 7 (by decide),
        hnot 8 9 (by decide), hnot 9 8 (by decide),
        hnot 9 10 (by decide), hnot 10 9 (by decide)⟩
required_edges_exhaust_low_ports
In a finite graph, if a set of required edges has size equal to the vertex count and every required edge is selected by some vertex's low port, then every vertex's chosen low-port edge must belong to that required set.

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 truncation_twelve_vertex_forced_unselected_path    (low : Fin 12 → Fin 12)    (hcover : ∀ e ∈ truncation_twelve_vertex_required_edges, ∃ v, s(v, low v) = e) :    low 6 ≠ 7 ∧ low 7 ≠ 6 ∧ low 7 ≠ 8 ∧ low 8 ≠ 7 ∧      low 8 ≠ 9 ∧ low 9 ≠ 8 ∧ low 9 ≠ 10 ∧ low 10 ≠ 9 := by  have hc : truncation_twelve_vertex_required_edges.card = Fintype.card (Fin 12) := by decide  have hsel := required_edges_exhaust_low_ports truncation_twelve_vertex_required_edges low hc hcover  have hnot : ∀ u v : Fin 12, s(u, v) ∉ truncation_twelve_vertex_required_edges → low u ≠ v := by    intro u v hnone h    have he := hsel u    rw [h] at he    exact hnone he  refine ⟨hnot 6 7 (by decide), hnot 7 6 (by decide),    hnot 7 8 (by decide), hnot 8 7 (by decide),    hnot 8 9 (by decide), hnot 9 8 (by decide),    hnot 9 10 (by decide), hnot 10 9 (by decide)⟩
See it in the graphDiscuss this resultChallenge it