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

Theorem otsndisj 5427
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 5394 . . . . . . . . . . . 12 ((𝐴𝑋𝐵𝑌𝑐𝑉) → (⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩ ↔ (𝐴 = 𝐴𝐵 = 𝐵𝑐 = 𝑑)))
213expa 1116 . . . . . . . . . . 11 (((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉) → (⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩ ↔ (𝐴 = 𝐴𝐵 = 𝐵𝑐 = 𝑑)))
3 simp3 1136 . . . . . . . . . . 11 ((𝐴 = 𝐴𝐵 = 𝐵𝑐 = 𝑑) → 𝑐 = 𝑑)
42, 3syl6bi 252 . . . . . . . . . 10 (((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉) → (⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩ → 𝑐 = 𝑑))
54con3rr3 155 . . . . . . . . 9 𝑐 = 𝑑 → (((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉) → ¬ ⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩))
65imp 406 . . . . . . . 8 ((¬ 𝑐 = 𝑑 ∧ ((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉)) → ¬ ⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩)
76neqned 2949 . . . . . . 7 ((¬ 𝑐 = 𝑑 ∧ ((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉)) → ⟨𝐴, 𝐵, 𝑐⟩ ≠ ⟨𝐴, 𝐵, 𝑑⟩)
8 disjsn2 4645 . . . . . . 7 (⟨𝐴, 𝐵, 𝑐⟩ ≠ ⟨𝐴, 𝐵, 𝑑⟩ → ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅)
97, 8syl 17 . . . . . 6 ((¬ 𝑐 = 𝑑 ∧ ((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉)) → ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅)
109expcom 413 . . . . 5 (((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉) → (¬ 𝑐 = 𝑑 → ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
1110orrd 859 . . . 4 (((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉) → (𝑐 = 𝑑 ∨ ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
1211adantrr 713 . . 3 (((𝐴𝑋𝐵𝑌) ∧ (𝑐𝑉𝑑𝑉)) → (𝑐 = 𝑑 ∨ ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
1312ralrimivva 3114 . 2 ((𝐴𝑋𝐵𝑌) → ∀𝑐𝑉𝑑𝑉 (𝑐 = 𝑑 ∨ ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
14 oteq3 4812 . . . 4 (𝑐 = 𝑑 → ⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩)
1514sneqd 4570 . . 3 (𝑐 = 𝑑 → {⟨𝐴, 𝐵, 𝑐⟩} = {⟨𝐴, 𝐵, 𝑑⟩})
1615disjor 5050 . 2 (Disj 𝑐𝑉 {⟨𝐴, 𝐵, 𝑐⟩} ↔ ∀𝑐𝑉𝑑𝑉 (𝑐 = 𝑑 ∨ ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
1713, 16sylibr 233 1 ((𝐴𝑋𝐵𝑌) → Disj 𝑐𝑉 {⟨𝐴, 𝐵, 𝑐⟩})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843  w3a 1085   = wceq 1539  wcel 2108  wne 2942  wral 3063  cin 3882  c0 4253  {csn 4558  cotp 4566  Disj wdisj 5035
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-11 2156  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-mo 2540  df-clab 2716  df-cleq 2730  df-clel 2817  df-ne 2943  df-ral 3068  df-rmo 3071  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-ot 4567  df-disj 5036
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator