AFTD Auto-Formalizing Theoretical Domains

op309_three_pair_conflict_kernel

theoremverified

Three port-pair constraints conflict with the listed inequalities.

Statement

theorem op309_three_pair_conflict_kernel {α : Type*}
    (x7 x8 x10 x12 x14 x16 x17 : α)
    (hA : x12=x17 ∨ x12=x8)
    (hB : x7=x10 ∨ x7=x16)
    (hC : (x12=x16 ∧ x14=x17) ∨ (x12=x17 ∧ x14=x16))
    (n7_10 : x7≠x10) (n7_14 : x7≠x14) (n7_8 : x7≠x8) : False
Source
OP-309 local P3 port pairing obstruction; experiments 41711-41716.
Verified
27 Nov 2026
Axioms
propext

The proof, explained

The proof proceeds by exhaustively splitting into eight cases based on the disjunctions in the three hypotheses hA, hB, and hC. In every case, combining the resulting equalities contradicts one of the given inequalities (x7 ≠ x10, x7 ≠ x14, or x7 ≠ x8).

  1. The hypotheses are contradictory in all eight cases. automation

    We perform a case analysis on the three disjunctive hypotheses hA, hB, and hC, splitting into 2 × 2 × 2 = 8 cases. In each case, substituting the equalities contradicts one of the inequalities x7 ≠ x10, x7 ≠ x14, or x7 ≠ x8, which simp_all detects automatically.

    lines 7–10

      set_option maxHeartbeats 4000000 in
        rcases hA with hA | hA <;>
        rcases hB with hB | hB <;>
        rcases hC with ⟨hC1,hC2⟩ | ⟨hC1,hC2⟩ <;> simp_all

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 op309_three_pair_conflict_kernel {α : Type*}    (x7 x8 x10 x12 x14 x16 x17 : α)    (hA : x12=x17 ∨ x12=x8)    (hB : x7=x10 ∨ x7=x16)    (hC : (x12=x16 ∧ x14=x17) ∨ (x12=x17 ∧ x14=x16))    (n7_10 : x7≠x10) (n7_14 : x7≠x14) (n7_8 : x7≠x8) : False := by  set_option maxHeartbeats 4000000 in    rcases hA with hA | hA <;>    rcases hB with hB | hB <;>    rcases hC with ⟨hC1,hC2⟩ | ⟨hC1,hC2⟩ <;> simp_all
See it in the graphDiscuss this resultChallenge it