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 44771
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 864 . . . . 5 (𝑎 = 𝑑 → (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅))
21a1d 25 . . . 4 (𝑎 = 𝑑 → ((𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉)) → (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅)))
3 eliun 4928 . . . . . . . . . 10 (𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ↔ ∃𝑐𝑊 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩})
4 simprl 768 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉)) → 𝑎𝑉)
54adantl 482 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑐𝑊 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → 𝑎𝑉)
6 simprl 768 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑐𝑊 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → 𝐵𝑋)
7 simpl 483 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑐𝑊 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → 𝑐𝑊)
8 otthg 5400 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑎𝑉𝐵𝑋𝑐𝑊) → (⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩ ↔ (𝑎 = 𝑑𝐵 = 𝐵𝑐 = 𝑒)))
95, 6, 7, 8syl3anc 1370 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑐𝑊 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → (⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩ ↔ (𝑎 = 𝑑𝐵 = 𝐵𝑐 = 𝑒)))
10 simp1 1135 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑎 = 𝑑𝐵 = 𝐵𝑐 = 𝑒) → 𝑎 = 𝑑)
119, 10syl6bi 252 . . . . . . . . . . . . . . . . . . . . 21 ((𝑐𝑊 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → (⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩ → 𝑎 = 𝑑))
1211con3d 152 . . . . . . . . . . . . . . . . . . . 20 ((𝑐𝑊 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → (¬ 𝑎 = 𝑑 → ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩))
1312ex 413 . . . . . . . . . . . . . . . . . . 19 (𝑐𝑊 → ((𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉)) → (¬ 𝑎 = 𝑑 → ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩)))
1413com13 88 . . . . . . . . . . . . . . . . . 18 𝑎 = 𝑑 → ((𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉)) → (𝑐𝑊 → ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩)))
1514imp31 418 . . . . . . . . . . . . . . . . 17 (((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) → ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩)
1615adantr 481 . . . . . . . . . . . . . . . 16 ((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) → ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩)
1716adantr 481 . . . . . . . . . . . . . . 15 (((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) ∧ 𝑒𝑊) → ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩)
18 velsn 4577 . . . . . . . . . . . . . . . . . 18 (𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩} ↔ 𝑠 = ⟨𝑎, 𝐵, 𝑐⟩)
19 eqeq1 2742 . . . . . . . . . . . . . . . . . . 19 (𝑠 = ⟨𝑎, 𝐵, 𝑐⟩ → (𝑠 = ⟨𝑑, 𝐵, 𝑒⟩ ↔ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩))
2019notbid 318 . . . . . . . . . . . . . . . . . 18 (𝑠 = ⟨𝑎, 𝐵, 𝑐⟩ → (¬ 𝑠 = ⟨𝑑, 𝐵, 𝑒⟩ ↔ ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩))
2118, 20sylbi 216 . . . . . . . . . . . . . . . . 17 (𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩} → (¬ 𝑠 = ⟨𝑑, 𝐵, 𝑒⟩ ↔ ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩))
2221adantl 482 . . . . . . . . . . . . . . . 16 ((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) → (¬ 𝑠 = ⟨𝑑, 𝐵, 𝑒⟩ ↔ ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩))
2322adantr 481 . . . . . . . . . . . . . . 15 (((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) ∧ 𝑒𝑊) → (¬ 𝑠 = ⟨𝑑, 𝐵, 𝑒⟩ ↔ ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩))
2417, 23mpbird 256 . . . . . . . . . . . . . 14 (((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) ∧ 𝑒𝑊) → ¬ 𝑠 = ⟨𝑑, 𝐵, 𝑒⟩)
25 velsn 4577 . . . . . . . . . . . . . 14 (𝑠 ∈ {⟨𝑑, 𝐵, 𝑒⟩} ↔ 𝑠 = ⟨𝑑, 𝐵, 𝑒⟩)
2624, 25sylnibr 329 . . . . . . . . . . . . 13 (((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) ∧ 𝑒𝑊) → ¬ 𝑠 ∈ {⟨𝑑, 𝐵, 𝑒⟩})
2726nrexdv 3198 . . . . . . . . . . . 12 ((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) → ¬ ∃𝑒𝑊 𝑠 ∈ {⟨𝑑, 𝐵, 𝑒⟩})
28 eliun 4928 . . . . . . . . . . . 12 (𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩} ↔ ∃𝑒𝑊 𝑠 ∈ {⟨𝑑, 𝐵, 𝑒⟩})
2927, 28sylnibr 329 . . . . . . . . . . 11 ((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) → ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩})
3029rexlimdva2 3216 . . . . . . . . . 10 ((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → (∃𝑐𝑊 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩} → ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩}))
313, 30syl5bi 241 . . . . . . . . 9 ((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → (𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} → ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩}))
3231ralrimiv 3102 . . . . . . . 8 ((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → ∀𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩})
33 oteq3 4815 . . . . . . . . . . . . 13 (𝑐 = 𝑒 → ⟨𝑑, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩)
3433sneqd 4573 . . . . . . . . . . . 12 (𝑐 = 𝑒 → {⟨𝑑, 𝐵, 𝑐⟩} = {⟨𝑑, 𝐵, 𝑒⟩})
3534cbviunv 4970 . . . . . . . . . . 11 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩} = 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩}
3635eleq2i 2830 . . . . . . . . . 10 (𝑠 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩} ↔ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩})
3736notbii 320 . . . . . . . . 9 𝑠 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩} ↔ ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩})
3837ralbii 3092 . . . . . . . 8 (∀𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ¬ 𝑠 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩} ↔ ∀𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩})
3932, 38sylibr 233 . . . . . . 7 ((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → ∀𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ¬ 𝑠 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩})
40 disj 4381 . . . . . . 7 (( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅ ↔ ∀𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ¬ 𝑠 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩})
4139, 40sylibr 233 . . . . . 6 ((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅)
4241olcd 871 . . . . 5 ((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅))
4342ex 413 . . . 4 𝑎 = 𝑑 → ((𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉)) → (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅)))
442, 43pm2.61i 182 . . 3 ((𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉)) → (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅))
4544ralrimivva 3123 . 2 (𝐵𝑋 → ∀𝑎𝑉𝑑𝑉 (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅))
46 oteq1 4813 . . . . 5 (𝑎 = 𝑑 → ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑐⟩)
4746sneqd 4573 . . . 4 (𝑎 = 𝑑 → {⟨𝑎, 𝐵, 𝑐⟩} = {⟨𝑑, 𝐵, 𝑐⟩})
4847iuneq2d 4953 . . 3 (𝑎 = 𝑑 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} = 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩})
4948disjor 5054 . 2 (Disj 𝑎𝑉 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ↔ ∀𝑎𝑉𝑑𝑉 (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅))
5045, 49sylibr 233 1 (𝐵𝑋Disj 𝑎𝑉 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844  w3a 1086   = wceq 1539  wcel 2106  wral 3064  wrex 3065  cin 3886  c0 4256  {csn 4561  cotp 4569   ciun 4924  Disj wdisj 5039
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rmo 3071  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-ot 4570  df-iun 4926  df-disj 5040
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator