AFTD Auto-Formalizing Theoretical Domains

triangle_covered_by_one_mark_per_vertex

theoremverified

If each vertex of a triangle marks at most one incident triangle edge and every triangle edge is marked by at least one endpoint, then every vertex marks a triangle edge rather than its outside port.

Statement

theorem triangle_covered_by_one_mark_per_vertex :
    ∀ a b c : Fin 3,
      (a = 1 ∨ b = 0) → (b = 2 ∨ c = 1) → (a = 2 ∨ c = 0) →
      a ≠ 0 ∧ b ≠ 1 ∧ c ≠ 2
Source
Triangle exposure obstruction for the OP-874 truncation-coloring route.
Verified
19 Nov 2026
Axioms
propext

The proof, explained

The theorem states that if each edge of a triangle is covered by at least one of its endpoints, then no vertex can choose its external port. Since each vertex has only three options (represented by Fin 3), there are only 3³ = 27 possible configurations in total. The proof proceeds by finite case exhaustion, which Lean verifies automatically using the `decide` tactic.

  1. For all a, b, c ∈ Fin 3 satisfying the edge-covering hypotheses, none chooses their outside port (a ≠ 0, b ≠ 1, c ≠ 2). automation

    Because a, b, and c each take values in the finite three-element set Fin 3, there are only 3³ = 27 possible assignments. The `decide` tactic proves the implication by exhaustively evaluating the truth value of the boolean-decidable proposition across all 27 cases.

    line 5

      decide

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 triangle_covered_by_one_mark_per_vertex :    ∀ a b c : Fin 3,      (a = 1 ∨ b = 0) → (b = 2 ∨ c = 1) → (a = 2 ∨ c = 0) →      a ≠ 0 ∧ b ≠ 1 ∧ c ≠ 2 := by  decide
See it in the graphDiscuss this resultChallenge it