four_cycle_opposite_pairs_interface_contradiction
The opposite-pair and exposed-port conditions on a four-cycle are inconsistent.
Statement
theorem four_cycle_opposite_pairs_interface_contradiction {Ω : Type*} (p q r s d u v : Ω) (hu : u = p ∨ u = s) (hup : u ≠ p) (huq : u ≠ q) (hv : v = q ∨ v = r) (hvp : v ≠ p) (hvq : v ≠ q) (hd1 : d = p ∨ d = q) (hd2 : d = r ∨ d = s) : False
- Source
- Palette obstruction reduction for the OP-874 campaign.
- Verified
- 19 Nov 2026
- Axioms
- none — Lean reports it depends on no axioms
The proof, explained
The proof derives a contradiction by first determining the exact identities of $u$ and $v$ and then exhausting all four possible values for $d$. Since $u \in \{p, s\}$ with $u \ne p$, we have $u = s$, and since $v \in \{q, r\}$ with $v \ne q$, we have $v = r$. Finally, because $d \in \{p, q\}$ and $d \in \{r, s\}$, equating $d$ to each of the four pairs chains $u$ or $v$ to a forbidden vertex, contradicting one of the distinctness hypotheses in every case.
$u = s$ and $v = r$
From $hu : u = p \lor u = s$ and $hup : u \ne p$, disjunctive syllogism forces $u = s$. Similarly, from $hv : v = q \lor v = r$ and $hvq : v \ne q$, disjunctive syllogism forces $v = r$.
have hus : u = s := hu.resolve_left hup have hvr : v = r := hv.resolve_left hvq
Every combination of values for $d$ leads to a contradiction
Case analysis on $hd1 : d = p \lor d = q$ and $hd2 : d = r \lor d = s$ produces four cases for $d$: 1. If $d = p$ and $d = r$, then $v = r = d = p$, contradicting $hvp : v \ne p$. 2. If $d = p$ and $d = s$, then $u = s = d = p$, contradicting $hup : u \ne p$. 3. If $d = q$ and $d = r$, then $v = r = d = q$, contradicting $hvq : v \ne q$. 4. If $d = q$ and $d = s$, then $u = s = d = q$, contradicting $huq : u \ne q$.
rcases hd1 with hp | hq <;> rcases hd2 with hr | hs · exact hvp (hvr.trans (hr.symm.trans hp)) · exact hup (hus.trans (hs.symm.trans hp)) · exact hvq (hvr.trans (hr.symm.trans hq)) · exact huq (hus.trans (hs.symm.trans hq))
- The proof uses projection notation (`.resolve_left`, `.trans`, `.symm`) directly on hypotheses to invoke disjunctive syllogism (`Or.resolve_left`) and the symmetry and transitivity of equality (`Eq.symm`, `Eq.trans`).
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
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
theorem four_cycle_opposite_pairs_interface_contradiction {Ω : Type*} (p q r s d u v : Ω) (hu : u = p ∨ u = s) (hup : u ≠ p) (huq : u ≠ q) (hv : v = q ∨ v = r) (hvp : v ≠ p) (hvq : v ≠ q) (hd1 : d = p ∨ d = q) (hd2 : d = r ∨ d = s) : False := by have hus : u = s := hu.resolve_left hup have hvr : v = r := hv.resolve_left hvq rcases hd1 with hp | hq <;> rcases hd2 with hr | hs · exact hvp (hvr.trans (hr.symm.trans hp)) · exact hup (hus.trans (hs.symm.trans hp)) · exact hvq (hvr.trans (hr.symm.trans hq)) · exact huq (hus.trans (hs.symm.trans hq))