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

Theorem otsndisj 5495
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 5457 . . . . . . . . . . . 12 ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌 ∧ 𝑐 ∈ 𝑉) → (⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩ ↔ (𝐴 = 𝐴 ∧ 𝐵 = 𝐵 ∧ 𝑐 = 𝑑)))
213expa 1136 . . . . . . . . . . 11 (((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) ∧ 𝑐 ∈ 𝑉) → (⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩ ↔ (𝐴 = 𝐴 ∧ 𝐵 = 𝐵 ∧ 𝑐 = 𝑑)))
3 simp3 1156 . . . . . . . . . . 11 ((𝐴 = 𝐴 ∧ 𝐵 = 𝐵 ∧ 𝑐 = 𝑑) → 𝑐 = 𝑑)
42, 3biimtrdi 256 . . . . . . . . . 10 (((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) ∧ 𝑐 ∈ 𝑉) → (⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩ → 𝑐 = 𝑑))
54con3rr3 156 . . . . . . . . 9 (¬ 𝑐 = 𝑑 → (((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) ∧ 𝑐 ∈ 𝑉) → ¬ ⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩))
65imp 412 . . . . . . . 8 ((¬ 𝑐 = 𝑑 ∧ ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) ∧ 𝑐 ∈ 𝑉)) → ¬ ⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩)
76neqned 2965 . . . . . . 7 ((¬ 𝑐 = 𝑑 ∧ ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) ∧ 𝑐 ∈ 𝑉)) → ⟨𝐴, 𝐵, 𝑐⟩ ≠ ⟨𝐴, 𝐵, 𝑑⟩)
8 disjsn2 4672 . . . . . . 7 (⟨𝐴, 𝐵, 𝑐⟩ ≠ ⟨𝐴, 𝐵, 𝑑⟩ → ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅)
97, 8syl 18 . . . . . 6 ((¬ 𝑐 = 𝑑 ∧ ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) ∧ 𝑐 ∈ 𝑉)) → ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅)
109expcom 419 . . . . 5 (((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) ∧ 𝑐 ∈ 𝑉) → (¬ 𝑐 = 𝑑 → ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
1110orrd 877 . . . 4 (((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) ∧ 𝑐 ∈ 𝑉) → (𝑐 = 𝑑 ∨ ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
1211adantrr 730 . . 3 (((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) ∧ (𝑐 ∈ 𝑉 ∧ 𝑑 ∈ 𝑉)) → (𝑐 = 𝑑 ∨ ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
1312ralrimivva 3208 . 2 ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → ∀𝑐 ∈ 𝑉 ∀𝑑 ∈ 𝑉 (𝑐 = 𝑑 ∨ ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
14 oteq3 4864 . . . 4 (𝑐 = 𝑑 → ⟨𝐴, 𝐵, 𝑐⟩ = ⟨𝐴, 𝐵, 𝑑⟩)
1514sneqd 4595 . . 3 (𝑐 = 𝑑 → {⟨𝐴, 𝐵, 𝑐⟩} = {⟨𝐴, 𝐵, 𝑑⟩})
1615disjor 5087 . 2 (Disj 𝑐 ∈ 𝑉 {⟨𝐴, 𝐵, 𝑐⟩} ↔ ∀𝑐 ∈ 𝑉 ∀𝑑 ∈ 𝑉 (𝑐 = 𝑑 ∨ ({⟨𝐴, 𝐵, 𝑐⟩} ∩ {⟨𝐴, 𝐵, 𝑑⟩}) = ∅))
1713, 16sylibr 237 1 ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → Disj 𝑐 ∈ 𝑉 {⟨𝐴, 𝐵, 𝑐⟩})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   ∧ w3a 1103   = wceq 1569   ∈ wcel 2146   ≠ wne 2958  ∀wral 3079   ∩ cin 4091  ∅c0 4280  {csn 4587  ⟨cotp 4860  Disj wdisj 5072
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-11 2196  ax-ext 2735  ax-sep 5251  ax-pr 5394
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2101  df-mo 2567  df-clab 2742  df-cleq 2755  df-clel 2838  df-ne 2959  df-ral 3080  df-rmo 3368  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4838  df-ot 4861  df-disj 5073
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator