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

Theorem uniinqs 8811
Description: Class union distributes over the intersection of two subclasses of a quotient space. Compare uniin 4891. (Contributed by FL, 25-May-2007.) (Proof shortened by Mario Carneiro, 11-Jul-2014.)
Hypothesis
Ref Expression
uniinqs.1 𝑅 Er 𝑋
Assertion
Ref Expression
uniinqs ((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) → ∪ (𝐵 ∩ 𝐶) = (∪ 𝐵 ∩ ∪ 𝐶))

Proof of Theorem uniinqs
Dummy variables 𝑏 𝑐 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 uniin 4891 . . 3 ∪ (𝐵 ∩ 𝐶) ⊆ (∪ 𝐵 ∩ ∪ 𝐶)
21a1i 11 . 2 ((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) → ∪ (𝐵 ∩ 𝐶) ⊆ (∪ 𝐵 ∩ ∪ 𝐶))
3 eluni2 4871 . . . . . 6 (𝑥 ∈ ∪ 𝐵 ↔ ∃𝑏 ∈ 𝐵 𝑥 ∈ 𝑏)
4 eluni2 4871 . . . . . 6 (𝑥 ∈ ∪ 𝐶 ↔ ∃𝑐 ∈ 𝐶 𝑥 ∈ 𝑐)
53, 4anbi12i 640 . . . . 5 ((𝑥 ∈ ∪ 𝐵 ∧ 𝑥 ∈ ∪ 𝐶) ↔ (∃𝑏 ∈ 𝐵 𝑥 ∈ 𝑏 ∧ ∃𝑐 ∈ 𝐶 𝑥 ∈ 𝑐))
6 elin 3915 . . . . 5 (𝑥 ∈ (∪ 𝐵 ∩ ∪ 𝐶) ↔ (𝑥 ∈ ∪ 𝐵 ∧ 𝑥 ∈ ∪ 𝐶))
7 reeanv 3235 . . . . 5 (∃𝑏 ∈ 𝐵 ∃𝑐 ∈ 𝐶 (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐) ↔ (∃𝑏 ∈ 𝐵 𝑥 ∈ 𝑏 ∧ ∃𝑐 ∈ 𝐶 𝑥 ∈ 𝑐))
85, 6, 73bitr4i 306 . . . 4 (𝑥 ∈ (∪ 𝐵 ∩ ∪ 𝐶) ↔ ∃𝑏 ∈ 𝐵 ∃𝑐 ∈ 𝐶 (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐))
9 simp3l 1220 . . . . . . 7 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑥 ∈ 𝑏)
10 simp2l 1218 . . . . . . . 8 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑏 ∈ 𝐵)
11 inelcm 4418 . . . . . . . . . . 11 ((𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐) → (𝑏 ∩ 𝑐) ≠ ∅)
12113ad2ant3 1153 . . . . . . . . . 10 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → (𝑏 ∩ 𝑐) ≠ ∅)
13 uniinqs.1 . . . . . . . . . . . . . 14 𝑅 Er 𝑋
1413a1i 11 . . . . . . . . . . . . 13 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑅 Er 𝑋)
15 simp1l 1216 . . . . . . . . . . . . . 14 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝐵 ⊆ (𝐴 / 𝑅))
1615, 10sseldd 3932 . . . . . . . . . . . . 13 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑏 ∈ (𝐴 / 𝑅))
17 simp1r 1217 . . . . . . . . . . . . . 14 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝐶 ⊆ (𝐴 / 𝑅))
18 simp2r 1219 . . . . . . . . . . . . . 14 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑐 ∈ 𝐶)
1917, 18sseldd 3932 . . . . . . . . . . . . 13 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑐 ∈ (𝐴 / 𝑅))
2014, 16, 19qsdisj 8808 . . . . . . . . . . . 12 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → (𝑏 = 𝑐 ∨ (𝑏 ∩ 𝑐) = ∅))
2120ord 878 . . . . . . . . . . 11 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → (¬ 𝑏 = 𝑐 → (𝑏 ∩ 𝑐) = ∅))
2221necon1ad 2973 . . . . . . . . . 10 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → ((𝑏 ∩ 𝑐) ≠ ∅ → 𝑏 = 𝑐))
2312, 22mpd 16 . . . . . . . . 9 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑏 = 𝑐)
2423, 18eqeltrd 2861 . . . . . . . 8 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑏 ∈ 𝐶)
2510, 24elind 4146 . . . . . . 7 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑏 ∈ (𝐵 ∩ 𝐶))
26 elunii 4872 . . . . . . 7 ((𝑥 ∈ 𝑏 ∧ 𝑏 ∈ (𝐵 ∩ 𝐶)) → 𝑥 ∈ ∪ (𝐵 ∩ 𝐶))
279, 25, 26syl2anc 596 . . . . . 6 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑥 ∈ ∪ (𝐵 ∩ 𝐶))
28273expia 1139 . . . . 5 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶)) → ((𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐) → 𝑥 ∈ ∪ (𝐵 ∩ 𝐶)))
2928rexlimdvva 3220 . . . 4 ((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) → (∃𝑏 ∈ 𝐵 ∃𝑐 ∈ 𝐶 (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐) → 𝑥 ∈ ∪ (𝐵 ∩ 𝐶)))
308, 29biimtrid 245 . . 3 ((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) → (𝑥 ∈ (∪ 𝐵 ∩ ∪ 𝐶) → 𝑥 ∈ ∪ (𝐵 ∩ 𝐶)))
3130ssrdv 3937 . 2 ((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) → (∪ 𝐵 ∩ ∪ 𝐶) ⊆ ∪ (𝐵 ∩ 𝐶))
322, 31eqssd 3948 1 ((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) → ∪ (𝐵 ∩ 𝐶) = (∪ 𝐵 ∩ ∪ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2145   ≠ wne 2956  ∃wrex 3087   ∩ cin 3898   ⊆ wss 3899  ∅c0 4279  ∪ cuni 4867   Er wer 8707   / cqs 8709
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733  ax-sep 5249  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-er 8710  df-ec 8712  df-qs 8716
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator