MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  otsndisj Structured version   Visualization version   GIF version

Theorem otsndisj 4904
Description: The singletons consisting of ordered triples which have distinct third components are disjoint. (Contributed by Alexander van der Vekens, 10-Mar-2018.)
Assertion
Ref Expression
otsndisj ((𝐴𝑋𝐵𝑌) → Disj 𝑐𝑉 {⟨𝐴, 𝐵, 𝑐⟩})
Distinct variable groups:   𝐴,𝑐   𝐵,𝑐   𝑉,𝑐   𝑋,𝑐   𝑌,𝑐

Proof of Theorem otsndisj
Dummy variable 𝑑 is distinct from all other variables.
StepHypRef Expression
1 otthg 4880 . . . . . . . . . . . 12 ((𝐴𝑋𝐵𝑌𝑐𝑉) → (⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩ ↔ (𝐴 = 𝐴𝐵 = 𝐵𝑐 = 𝑑)))
213expa 1257 . . . . . . . . . . 11 (((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉) → (⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩ ↔ (𝐴 = 𝐴𝐵 = 𝐵𝑐 = 𝑑)))
3 simp3 1056 . . . . . . . . . . 11 ((𝐴 = 𝐴𝐵 = 𝐵𝑐 = 𝑑) → 𝑐 = 𝑑)
42, 3syl6bi 242 . . . . . . . . . 10 (((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉) → (⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩ → 𝑐 = 𝑑))
54con3rr3 150 . . . . . . . . 9 𝑐 = 𝑑 → (((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉) → ¬ ⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩))
65imp 444 . . . . . . . 8 ((¬ 𝑐 = 𝑑 ∧ ((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉)) → ¬ ⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩)
76neqned 2789 . . . . . . 7 ((¬ 𝑐 = 𝑑 ∧ ((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉)) → ⟨𝐴, 𝐵, 𝑐⟩ ≠ ⟨𝐴, 𝐵, 𝑑⟩)
8 disjsn2 4193 . . . . . . 7 (⟨𝐴, 𝐵, 𝑐⟩ ≠ ⟨𝐴, 𝐵, 𝑑⟩ → ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅)
97, 8syl 17 . . . . . 6 ((¬ 𝑐 = 𝑑 ∧ ((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉)) → ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅)
109expcom 450 . . . . 5 (((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉) → (¬ 𝑐 = 𝑑 → ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
1110orrd 392 . . . 4 (((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉) → (𝑐 = 𝑑 ∨ ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
1211adantrr 749 . . 3 (((𝐴𝑋𝐵𝑌) ∧ (𝑐𝑉𝑑𝑉)) → (𝑐 = 𝑑 ∨ ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
1312ralrimivva 2954 . 2 ((𝐴𝑋𝐵𝑌) → ∀𝑐𝑉𝑑𝑉 (𝑐 = 𝑑 ∨ ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
14 oteq3 4351 . . . 4 (𝑐 = 𝑑 → ⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩)
1514sneqd 4137 . . 3 (𝑐 = 𝑑 → {⟨𝐴, 𝐵, 𝑐⟩} = {⟨𝐴, 𝐵, 𝑑⟩})
1615disjor 4567 . 2 (Disj 𝑐𝑉 {⟨𝐴, 𝐵, 𝑐⟩} ↔ ∀𝑐𝑉𝑑𝑉 (𝑐 = 𝑑 ∨ ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
1713, 16sylibr 223 1 ((𝐴𝑋𝐵𝑌) → Disj 𝑐𝑉 {⟨𝐴, 𝐵, 𝑐⟩})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wo 382  wa 383  w3a 1031   = wceq 1475  wcel 1977  wne 2780  wral 2896  cin 3539  c0 3874  {csn 4125  cotp 4133  Disj wdisj 4553
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rmo 2904  df-rab 2905  df-v 3175  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-ot 4134  df-disj 4554
This theorem is referenced by:  usgreghash2spotv  26593
  Copyright terms: Public domain W3C validator