Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  otiunsndisjX Structured version   Visualization version   GIF version

Theorem otiunsndisjX 40621
Description: The union of singletons consisting of ordered triples which have distinct first and third components are disjunct. (Contributed by Alexander van der Vekens, 10-Mar-2018.)
Assertion
Ref Expression
otiunsndisjX (𝐵𝑋Disj 𝑎𝑉 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩})
Distinct variable groups:   𝐵,𝑎,𝑐   𝑉,𝑎,𝑐   𝑊,𝑎,𝑐   𝑋,𝑎,𝑐

Proof of Theorem otiunsndisjX
Dummy variables 𝑑 𝑒 𝑠 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 orc 400 . . . . 5 (𝑎 = 𝑑 → (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅))
21a1d 25 . . . 4 (𝑎 = 𝑑 → ((𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉)) → (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅)))
3 eliun 4495 . . . . . . . . . 10 (𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ↔ ∃𝑐𝑊 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩})
4 simprl 793 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉)) → 𝑎𝑉)
54adantl 482 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑐𝑊 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → 𝑎𝑉)
6 simprl 793 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑐𝑊 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → 𝐵𝑋)
7 simpl 473 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑐𝑊 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → 𝑐𝑊)
8 otthg 4919 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑎𝑉𝐵𝑋𝑐𝑊) → (⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩ ↔ (𝑎 = 𝑑𝐵 = 𝐵𝑐 = 𝑒)))
95, 6, 7, 8syl3anc 1323 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑐𝑊 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → (⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩ ↔ (𝑎 = 𝑑𝐵 = 𝐵𝑐 = 𝑒)))
10 simp1 1059 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑎 = 𝑑𝐵 = 𝐵𝑐 = 𝑒) → 𝑎 = 𝑑)
119, 10syl6bi 243 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑐𝑊 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → (⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩ → 𝑎 = 𝑑))
1211con3d 148 . . . . . . . . . . . . . . . . . . . . 21 ((𝑐𝑊 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → (¬ 𝑎 = 𝑑 → ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩))
1312ex 450 . . . . . . . . . . . . . . . . . . . 20 (𝑐𝑊 → ((𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉)) → (¬ 𝑎 = 𝑑 → ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩)))
1413com13 88 . . . . . . . . . . . . . . . . . . 19 𝑎 = 𝑑 → ((𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉)) → (𝑐𝑊 → ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩)))
1514imp31 448 . . . . . . . . . . . . . . . . . 18 (((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) → ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩)
1615adantr 481 . . . . . . . . . . . . . . . . 17 ((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) → ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩)
1716adantr 481 . . . . . . . . . . . . . . . 16 (((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) ∧ 𝑒𝑊) → ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩)
18 velsn 4169 . . . . . . . . . . . . . . . . . . 19 (𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩} ↔ 𝑠 = ⟨𝑎, 𝐵, 𝑐⟩)
19 eqeq1 2625 . . . . . . . . . . . . . . . . . . . 20 (𝑠 = ⟨𝑎, 𝐵, 𝑐⟩ → (𝑠 = ⟨𝑑, 𝐵, 𝑒⟩ ↔ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩))
2019notbid 308 . . . . . . . . . . . . . . . . . . 19 (𝑠 = ⟨𝑎, 𝐵, 𝑐⟩ → (¬ 𝑠 = ⟨𝑑, 𝐵, 𝑒⟩ ↔ ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩))
2118, 20sylbi 207 . . . . . . . . . . . . . . . . . 18 (𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩} → (¬ 𝑠 = ⟨𝑑, 𝐵, 𝑒⟩ ↔ ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩))
2221adantl 482 . . . . . . . . . . . . . . . . 17 ((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) → (¬ 𝑠 = ⟨𝑑, 𝐵, 𝑒⟩ ↔ ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩))
2322adantr 481 . . . . . . . . . . . . . . . 16 (((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) ∧ 𝑒𝑊) → (¬ 𝑠 = ⟨𝑑, 𝐵, 𝑒⟩ ↔ ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩))
2417, 23mpbird 247 . . . . . . . . . . . . . . 15 (((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) ∧ 𝑒𝑊) → ¬ 𝑠 = ⟨𝑑, 𝐵, 𝑒⟩)
25 velsn 4169 . . . . . . . . . . . . . . 15 (𝑠 ∈ {⟨𝑑, 𝐵, 𝑒⟩} ↔ 𝑠 = ⟨𝑑, 𝐵, 𝑒⟩)
2624, 25sylnibr 319 . . . . . . . . . . . . . 14 (((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) ∧ 𝑒𝑊) → ¬ 𝑠 ∈ {⟨𝑑, 𝐵, 𝑒⟩})
2726nrexdv 2996 . . . . . . . . . . . . 13 ((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) → ¬ ∃𝑒𝑊 𝑠 ∈ {⟨𝑑, 𝐵, 𝑒⟩})
28 eliun 4495 . . . . . . . . . . . . 13 (𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩} ↔ ∃𝑒𝑊 𝑠 ∈ {⟨𝑑, 𝐵, 𝑒⟩})
2927, 28sylnibr 319 . . . . . . . . . . . 12 ((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) → ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩})
3029ex 450 . . . . . . . . . . 11 (((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) → (𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩} → ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩}))
3130rexlimdva 3025 . . . . . . . . . 10 ((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → (∃𝑐𝑊 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩} → ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩}))
323, 31syl5bi 232 . . . . . . . . 9 ((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → (𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} → ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩}))
3332ralrimiv 2960 . . . . . . . 8 ((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → ∀𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩})
34 oteq3 4386 . . . . . . . . . . . . 13 (𝑐 = 𝑒 → ⟨𝑑, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩)
3534sneqd 4165 . . . . . . . . . . . 12 (𝑐 = 𝑒 → {⟨𝑑, 𝐵, 𝑐⟩} = {⟨𝑑, 𝐵, 𝑒⟩})
3635cbviunv 4530 . . . . . . . . . . 11 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩} = 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩}
3736eleq2i 2690 . . . . . . . . . 10 (𝑠 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩} ↔ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩})
3837notbii 310 . . . . . . . . 9 𝑠 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩} ↔ ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩})
3938ralbii 2975 . . . . . . . 8 (∀𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ¬ 𝑠 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩} ↔ ∀𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩})
4033, 39sylibr 224 . . . . . . 7 ((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → ∀𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ¬ 𝑠 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩})
41 disj 3994 . . . . . . 7 (( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅ ↔ ∀𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ¬ 𝑠 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩})
4240, 41sylibr 224 . . . . . 6 ((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅)
4342olcd 408 . . . . 5 ((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅))
4443ex 450 . . . 4 𝑎 = 𝑑 → ((𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉)) → (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅)))
452, 44pm2.61i 176 . . 3 ((𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉)) → (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅))
4645ralrimivva 2966 . 2 (𝐵𝑋 → ∀𝑎𝑉𝑑𝑉 (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅))
47 oteq1 4384 . . . . 5 (𝑎 = 𝑑 → ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑐⟩)
4847sneqd 4165 . . . 4 (𝑎 = 𝑑 → {⟨𝑎, 𝐵, 𝑐⟩} = {⟨𝑑, 𝐵, 𝑐⟩})
4948iuneq2d 4518 . . 3 (𝑎 = 𝑑 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} = 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩})
5049disjor 4602 . 2 (Disj 𝑎𝑉 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ↔ ∀𝑎𝑉𝑑𝑉 (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅))
5146, 50sylibr 224 1 (𝐵𝑋Disj 𝑎𝑉 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wo 383  wa 384  w3a 1036   = wceq 1480  wcel 1987  wral 2907  wrex 2908  cin 3558  c0 3896  {csn 4153  cotp 4161   ciun 4490  Disj wdisj 4588
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4746  ax-nul 4754  ax-pr 4872
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ral 2912  df-rex 2913  df-rmo 2915  df-rab 2916  df-v 3191  df-dif 3562  df-un 3564  df-in 3566  df-ss 3573  df-nul 3897  df-if 4064  df-sn 4154  df-pr 4156  df-op 4160  df-ot 4162  df-iun 4492  df-disj 4589
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator