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

Theorem uniinqs 8825
Description: Class union distributes over the intersection of two subclasses of a quotient space. Compare uniin 4890. (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 4890 . . 3 ∪ (𝐵 ∩ 𝐶) ⊆ (∪ 𝐵 ∩ ∪ 𝐶)
21a1i 11 . 2 ((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) → ∪ (𝐵 ∩ 𝐶) ⊆ (∪ 𝐵 ∩ ∪ 𝐶))
3 eluni2 4870 . . . . . 6 (𝑥 ∈ ∪ 𝐵 ↔ ∃𝑏 ∈ 𝐵 𝑥 ∈ 𝑏)
4 eluni2 4870 . . . . . 6 (𝑥 ∈ ∪ 𝐶 ↔ ∃𝑐 ∈ 𝐶 𝑥 ∈ 𝑐)
53, 4anbi12i 640 . . . . 5 ((𝑥 ∈ ∪ 𝐵 ∧ 𝑥 ∈ ∪ 𝐶) ↔ (∃𝑏 ∈ 𝐵 𝑥 ∈ 𝑏 ∧ ∃𝑐 ∈ 𝐶 𝑥 ∈ 𝑐))
6 elin 4092 . . . . 5 (𝑥 ∈ (∪ 𝐵 ∩ ∪ 𝐶) ↔ (𝑥 ∈ ∪ 𝐵 ∧ 𝑥 ∈ ∪ 𝐶))
7 reeanv 3234 . . . . 5 (∃𝑏 ∈ 𝐵 ∃𝑐 ∈ 𝐶 (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐) ↔ (∃𝑏 ∈ 𝐵 𝑥 ∈ 𝑏 ∧ ∃𝑐 ∈ 𝐶 𝑥 ∈ 𝑐))
85, 6, 73bitr4i 306 . . . 4 (𝑥 ∈ (∪ 𝐵 ∩ ∪ 𝐶) ↔ ∃𝑏 ∈ 𝐵 ∃𝑐 ∈ 𝐶 (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐))
9 simp3l 1220 . . . . . . 7 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑥 ∈ 𝑏)
10 simp2l 1218 . . . . . . . 8 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑏 ∈ 𝐵)
11 inelcm 4417 . . . . . . . . . . 11 ((𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐) → (𝑏 ∩ 𝑐) ≠ ∅)
12113ad2ant3 1153 . . . . . . . . . 10 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → (𝑏 ∩ 𝑐) ≠ ∅)
13 uniinqs.1 . . . . . . . . . . . . . 14 𝑅 Er 𝑋
1413a1i 11 . . . . . . . . . . . . 13 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑅 Er 𝑋)
15 simp1l 1216 . . . . . . . . . . . . . 14 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝐵 ⊆ (𝐴 / 𝑅))
1615, 10sseldd 3910 . . . . . . . . . . . . 13 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑏 ∈ (𝐴 / 𝑅))
17 simp1r 1217 . . . . . . . . . . . . . 14 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝐶 ⊆ (𝐴 / 𝑅))
18 simp2r 1219 . . . . . . . . . . . . . 14 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑐 ∈ 𝐶)
1917, 18sseldd 3910 . . . . . . . . . . . . 13 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑐 ∈ (𝐴 / 𝑅))
2014, 16, 19qsdisj 8822 . . . . . . . . . . . 12 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → (𝑏 = 𝑐 ∨ (𝑏 ∩ 𝑐) = ∅))
2120ord 878 . . . . . . . . . . 11 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → (¬ 𝑏 = 𝑐 → (𝑏 ∩ 𝑐) = ∅))
2221necon1ad 2972 . . . . . . . . . 10 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → ((𝑏 ∩ 𝑐) ≠ ∅ → 𝑏 = 𝑐))
2312, 22mpd 16 . . . . . . . . 9 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑏 = 𝑐)
2423, 18eqeltrd 2860 . . . . . . . 8 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑏 ∈ 𝐶)
2510, 24elind 4096 . . . . . . 7 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑏 ∈ (𝐵 ∩ 𝐶))
26 elunii 4871 . . . . . . 7 ((𝑥 ∈ 𝑏 ∧ 𝑏 ∈ (𝐵 ∩ 𝐶)) → 𝑥 ∈ ∪ (𝐵 ∩ 𝐶))
279, 25, 26syl2anc 596 . . . . . 6 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑥 ∈ ∪ (𝐵 ∩ 𝐶))
28273expia 1139 . . . . 5 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶)) → ((𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐) → 𝑥 ∈ ∪ (𝐵 ∩ 𝐶)))
2928rexlimdvva 3219 . . . 4 ((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) → (∃𝑏 ∈ 𝐵 ∃𝑐 ∈ 𝐶 (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐) → 𝑥 ∈ ∪ (𝐵 ∩ 𝐶)))
308, 29biimtrid 245 . . 3 ((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) → (𝑥 ∈ (∪ 𝐵 ∩ ∪ 𝐶) → 𝑥 ∈ ∪ (𝐵 ∩ 𝐶)))
3130ssrdv 3915 . 2 ((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) → (∪ 𝐵 ∩ ∪ 𝐶) ⊆ ∪ (𝐵 ∩ 𝐶))
322, 31eqssd 3926 1 ((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) → ∪ (𝐵 ∩ 𝐶) = (∪ 𝐵 ∩ ∪ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  ∃wrex 3086   ⊆ wss 3896   ∩ cin 4088  ∅c0 4277  ∪ cuni 4866   Er wer 8721   / cqs 8723
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 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5391
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 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  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 8724  df-ec 8726  df-qs 8730
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator