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

Theorem otsndisj 5400
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 5368 . . . . . . . . . . . 12 ((𝐴𝑋𝐵𝑌𝑐𝑉) → (⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩ ↔ (𝐴 = 𝐴𝐵 = 𝐵𝑐 = 𝑑)))
213expa 1110 . . . . . . . . . . 11 (((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉) → (⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩ ↔ (𝐴 = 𝐴𝐵 = 𝐵𝑐 = 𝑑)))
3 simp3 1130 . . . . . . . . . . 11 ((𝐴 = 𝐴𝐵 = 𝐵𝑐 = 𝑑) → 𝑐 = 𝑑)
42, 3syl6bi 254 . . . . . . . . . 10 (((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉) → (⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩ → 𝑐 = 𝑑))
54con3rr3 158 . . . . . . . . 9 𝑐 = 𝑑 → (((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉) → ¬ ⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩))
65imp 407 . . . . . . . 8 ((¬ 𝑐 = 𝑑 ∧ ((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉)) → ¬ ⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩)
76neqned 3020 . . . . . . 7 ((¬ 𝑐 = 𝑑 ∧ ((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉)) → ⟨𝐴, 𝐵, 𝑐⟩ ≠ ⟨𝐴, 𝐵, 𝑑⟩)
8 disjsn2 4640 . . . . . . 7 (⟨𝐴, 𝐵, 𝑐⟩ ≠ ⟨𝐴, 𝐵, 𝑑⟩ → ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅)
97, 8syl 17 . . . . . 6 ((¬ 𝑐 = 𝑑 ∧ ((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉)) → ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅)
109expcom 414 . . . . 5 (((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉) → (¬ 𝑐 = 𝑑 → ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
1110orrd 857 . . . 4 (((𝐴𝑋𝐵𝑌) ∧ 𝑐𝑉) → (𝑐 = 𝑑 ∨ ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
1211adantrr 713 . . 3 (((𝐴𝑋𝐵𝑌) ∧ (𝑐𝑉𝑑𝑉)) → (𝑐 = 𝑑 ∨ ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
1312ralrimivva 3188 . 2 ((𝐴𝑋𝐵𝑌) → ∀𝑐𝑉𝑑𝑉 (𝑐 = 𝑑 ∨ ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
14 oteq3 4806 . . . 4 (𝑐 = 𝑑 → ⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩)
1514sneqd 4569 . . 3 (𝑐 = 𝑑 → {⟨𝐴, 𝐵, 𝑐⟩} = {⟨𝐴, 𝐵, 𝑑⟩})
1615disjor 5037 . 2 (Disj 𝑐𝑉 {⟨𝐴, 𝐵, 𝑐⟩} ↔ ∀𝑐𝑉𝑑𝑉 (𝑐 = 𝑑 ∨ ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
1713, 16sylibr 235 1 ((𝐴𝑋𝐵𝑌) → Disj 𝑐𝑉 {⟨𝐴, 𝐵, 𝑐⟩})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 207  wa 396  wo 841  w3a 1079   = wceq 1528  wcel 2105  wne 3013  wral 3135  cin 3932  c0 4288  {csn 4557  cotp 4565  Disj wdisj 5022
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pr 5320
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ne 3014  df-ral 3140  df-rmo 3143  df-rab 3144  df-v 3494  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-ot 4566  df-disj 5023
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator