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 44304
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 866 . . . . 5 (𝑎 = 𝑑 → (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅))
21a1d 25 . . . 4 (𝑎 = 𝑑 → ((𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉)) → (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅)))
3 eliun 4885 . . . . . . . . . 10 (𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ↔ ∃𝑐𝑊 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩})
4 simprl 771 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉)) → 𝑎𝑉)
54adantl 485 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑐𝑊 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → 𝑎𝑉)
6 simprl 771 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑐𝑊 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → 𝐵𝑋)
7 simpl 486 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑐𝑊 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → 𝑐𝑊)
8 otthg 5343 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑎𝑉𝐵𝑋𝑐𝑊) → (⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩ ↔ (𝑎 = 𝑑𝐵 = 𝐵𝑐 = 𝑒)))
95, 6, 7, 8syl3anc 1372 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑐𝑊 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → (⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩ ↔ (𝑎 = 𝑑𝐵 = 𝐵𝑐 = 𝑒)))
10 simp1 1137 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑎 = 𝑑𝐵 = 𝐵𝑐 = 𝑒) → 𝑎 = 𝑑)
119, 10syl6bi 256 . . . . . . . . . . . . . . . . . . . . 21 ((𝑐𝑊 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → (⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩ → 𝑎 = 𝑑))
1211con3d 155 . . . . . . . . . . . . . . . . . . . 20 ((𝑐𝑊 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → (¬ 𝑎 = 𝑑 → ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩))
1312ex 416 . . . . . . . . . . . . . . . . . . 19 (𝑐𝑊 → ((𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉)) → (¬ 𝑎 = 𝑑 → ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩)))
1413com13 88 . . . . . . . . . . . . . . . . . 18 𝑎 = 𝑑 → ((𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉)) → (𝑐𝑊 → ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩)))
1514imp31 421 . . . . . . . . . . . . . . . . 17 (((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) → ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩)
1615adantr 484 . . . . . . . . . . . . . . . 16 ((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) → ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩)
1716adantr 484 . . . . . . . . . . . . . . 15 (((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) ∧ 𝑒𝑊) → ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩)
18 velsn 4532 . . . . . . . . . . . . . . . . . 18 (𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩} ↔ 𝑠 = ⟨𝑎, 𝐵, 𝑐⟩)
19 eqeq1 2742 . . . . . . . . . . . . . . . . . . 19 (𝑠 = ⟨𝑎, 𝐵, 𝑐⟩ → (𝑠 = ⟨𝑑, 𝐵, 𝑒⟩ ↔ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩))
2019notbid 321 . . . . . . . . . . . . . . . . . 18 (𝑠 = ⟨𝑎, 𝐵, 𝑐⟩ → (¬ 𝑠 = ⟨𝑑, 𝐵, 𝑒⟩ ↔ ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩))
2118, 20sylbi 220 . . . . . . . . . . . . . . . . 17 (𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩} → (¬ 𝑠 = ⟨𝑑, 𝐵, 𝑒⟩ ↔ ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩))
2221adantl 485 . . . . . . . . . . . . . . . 16 ((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) → (¬ 𝑠 = ⟨𝑑, 𝐵, 𝑒⟩ ↔ ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩))
2322adantr 484 . . . . . . . . . . . . . . 15 (((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) ∧ 𝑒𝑊) → (¬ 𝑠 = ⟨𝑑, 𝐵, 𝑒⟩ ↔ ¬ ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩))
2417, 23mpbird 260 . . . . . . . . . . . . . 14 (((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) ∧ 𝑒𝑊) → ¬ 𝑠 = ⟨𝑑, 𝐵, 𝑒⟩)
25 velsn 4532 . . . . . . . . . . . . . 14 (𝑠 ∈ {⟨𝑑, 𝐵, 𝑒⟩} ↔ 𝑠 = ⟨𝑑, 𝐵, 𝑒⟩)
2624, 25sylnibr 332 . . . . . . . . . . . . 13 (((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) ∧ 𝑒𝑊) → ¬ 𝑠 ∈ {⟨𝑑, 𝐵, 𝑒⟩})
2726nrexdv 3180 . . . . . . . . . . . 12 ((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) → ¬ ∃𝑒𝑊 𝑠 ∈ {⟨𝑑, 𝐵, 𝑒⟩})
28 eliun 4885 . . . . . . . . . . . 12 (𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩} ↔ ∃𝑒𝑊 𝑠 ∈ {⟨𝑑, 𝐵, 𝑒⟩})
2927, 28sylnibr 332 . . . . . . . . . . 11 ((((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) ∧ 𝑐𝑊) ∧ 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩}) → ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩})
3029rexlimdva2 3197 . . . . . . . . . 10 ((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → (∃𝑐𝑊 𝑠 ∈ {⟨𝑎, 𝐵, 𝑐⟩} → ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩}))
313, 30syl5bi 245 . . . . . . . . 9 ((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → (𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} → ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩}))
3231ralrimiv 3095 . . . . . . . 8 ((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → ∀𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩})
33 oteq3 4772 . . . . . . . . . . . . 13 (𝑐 = 𝑒 → ⟨𝑑, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑒⟩)
3433sneqd 4528 . . . . . . . . . . . 12 (𝑐 = 𝑒 → {⟨𝑑, 𝐵, 𝑐⟩} = {⟨𝑑, 𝐵, 𝑒⟩})
3534cbviunv 4926 . . . . . . . . . . 11 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩} = 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩}
3635eleq2i 2824 . . . . . . . . . 10 (𝑠 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩} ↔ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩})
3736notbii 323 . . . . . . . . 9 𝑠 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩} ↔ ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩})
3837ralbii 3080 . . . . . . . 8 (∀𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ¬ 𝑠 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩} ↔ ∀𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ¬ 𝑠 𝑒𝑊 {⟨𝑑, 𝐵, 𝑒⟩})
3932, 38sylibr 237 . . . . . . 7 ((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → ∀𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ¬ 𝑠 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩})
40 disj 4337 . . . . . . 7 (( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅ ↔ ∀𝑠 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ¬ 𝑠 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩})
4139, 40sylibr 237 . . . . . 6 ((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅)
4241olcd 873 . . . . 5 ((¬ 𝑎 = 𝑑 ∧ (𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉))) → (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅))
4342ex 416 . . . 4 𝑎 = 𝑑 → ((𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉)) → (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅)))
442, 43pm2.61i 185 . . 3 ((𝐵𝑋 ∧ (𝑎𝑉𝑑𝑉)) → (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅))
4544ralrimivva 3103 . 2 (𝐵𝑋 → ∀𝑎𝑉𝑑𝑉 (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅))
46 oteq1 4770 . . . . 5 (𝑎 = 𝑑 → ⟨𝑎, 𝐵, 𝑐⟩ = ⟨𝑑, 𝐵, 𝑐⟩)
4746sneqd 4528 . . . 4 (𝑎 = 𝑑 → {⟨𝑎, 𝐵, 𝑐⟩} = {⟨𝑑, 𝐵, 𝑐⟩})
4847iuneq2d 4910 . . 3 (𝑎 = 𝑑 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} = 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩})
4948disjor 5010 . 2 (Disj 𝑎𝑉 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ↔ ∀𝑎𝑉𝑑𝑉 (𝑎 = 𝑑 ∨ ( 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩} ∩ 𝑐𝑊 {⟨𝑑, 𝐵, 𝑐⟩}) = ∅))
5045, 49sylibr 237 1 (𝐵𝑋Disj 𝑎𝑉 𝑐𝑊 {⟨𝑎, 𝐵, 𝑐⟩})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wo 846  w3a 1088   = wceq 1542  wcel 2114  wral 3053  wrex 3054  cin 3842  c0 4211  {csn 4516  cotp 4524   ciun 4881  Disj wdisj 4995
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-11 2162  ax-12 2179  ax-ext 2710  ax-sep 5167  ax-nul 5174  ax-pr 5296
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2540  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ral 3058  df-rex 3059  df-rmo 3061  df-v 3400  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-nul 4212  df-if 4415  df-sn 4517  df-pr 4519  df-op 4523  df-ot 4525  df-iun 4883  df-disj 4996
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator