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

Theorem uniinqs 8875
Description: Class union distributes over the intersection of two subclasses of a quotient space. Compare uniin 4904. (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 4904 . . 3 ∪ (𝐵 ∩ 𝐶) ⊆ (∪ 𝐵 ∩ ∪ 𝐶)
21a1i 11 . 2 ((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) → ∪ (𝐵 ∩ 𝐶) ⊆ (∪ 𝐵 ∩ ∪ 𝐶))
3 eluni2 4884 . . . . . 6 (𝑥 ∈ ∪ 𝐵 ↔ ∃𝑏 ∈ 𝐵 𝑥 ∈ 𝑏)
4 eluni2 4884 . . . . . 6 (𝑥 ∈ ∪ 𝐶 ↔ ∃𝑐 ∈ 𝐶 𝑥 ∈ 𝑐)
53, 4anbi12i 640 . . . . 5 ((𝑥 ∈ ∪ 𝐵 ∧ 𝑥 ∈ ∪ 𝐶) ↔ (∃𝑏 ∈ 𝐵 𝑥 ∈ 𝑏 ∧ ∃𝑐 ∈ 𝐶 𝑥 ∈ 𝑐))
6 elin 4103 . . . . 5 (𝑥 ∈ (∪ 𝐵 ∩ ∪ 𝐶) ↔ (𝑥 ∈ ∪ 𝐵 ∧ 𝑥 ∈ ∪ 𝐶))
7 reeanv 3246 . . . . 5 (∃𝑏 ∈ 𝐵 ∃𝑐 ∈ 𝐶 (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐) ↔ (∃𝑏 ∈ 𝐵 𝑥 ∈ 𝑏 ∧ ∃𝑐 ∈ 𝐶 𝑥 ∈ 𝑐))
85, 6, 73bitr4i 306 . . . 4 (𝑥 ∈ (∪ 𝐵 ∩ ∪ 𝐶) ↔ ∃𝑏 ∈ 𝐵 ∃𝑐 ∈ 𝐶 (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐))
9 simp3l 1222 . . . . . . 7 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑥 ∈ 𝑏)
10 simp2l 1220 . . . . . . . 8 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑏 ∈ 𝐵)
11 inelcm 4428 . . . . . . . . . . 11 ((𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐) → (𝑏 ∩ 𝑐) ≠ ∅)
12113ad2ant3 1154 . . . . . . . . . 10 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → (𝑏 ∩ 𝑐) ≠ ∅)
13 uniinqs.1 . . . . . . . . . . . . . 14 𝑅 Er 𝑋
1413a1i 11 . . . . . . . . . . . . 13 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑅 Er 𝑋)
15 simp1l 1218 . . . . . . . . . . . . . 14 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝐵 ⊆ (𝐴 / 𝑅))
1615, 10sseldd 3921 . . . . . . . . . . . . 13 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑏 ∈ (𝐴 / 𝑅))
17 simp1r 1219 . . . . . . . . . . . . . 14 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝐶 ⊆ (𝐴 / 𝑅))
18 simp2r 1221 . . . . . . . . . . . . . 14 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑐 ∈ 𝐶)
1917, 18sseldd 3921 . . . . . . . . . . . . 13 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑐 ∈ (𝐴 / 𝑅))
2014, 16, 19qsdisj 8872 . . . . . . . . . . . 12 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → (𝑏 = 𝑐 ∨ (𝑏 ∩ 𝑐) = ∅))
2120ord 878 . . . . . . . . . . 11 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → (¬ 𝑏 = 𝑐 → (𝑏 ∩ 𝑐) = ∅))
2221necon1ad 2987 . . . . . . . . . 10 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → ((𝑏 ∩ 𝑐) ≠ ∅ → 𝑏 = 𝑐))
2312, 22mpd 16 . . . . . . . . 9 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑏 = 𝑐)
2423, 18eqeltrd 2875 . . . . . . . 8 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑏 ∈ 𝐶)
2510, 24elind 4107 . . . . . . 7 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑏 ∈ (𝐵 ∩ 𝐶))
26 elunii 4885 . . . . . . 7 ((𝑥 ∈ 𝑏 ∧ 𝑏 ∈ (𝐵 ∩ 𝐶)) → 𝑥 ∈ ∪ (𝐵 ∩ 𝐶))
279, 25, 26syl2anc 596 . . . . . 6 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶) ∧ (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐)) → 𝑥 ∈ ∪ (𝐵 ∩ 𝐶))
28273expia 1140 . . . . 5 (((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑐 ∈ 𝐶)) → ((𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐) → 𝑥 ∈ ∪ (𝐵 ∩ 𝐶)))
2928rexlimdvva 3231 . . . 4 ((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) → (∃𝑏 ∈ 𝐵 ∃𝑐 ∈ 𝐶 (𝑥 ∈ 𝑏 ∧ 𝑥 ∈ 𝑐) → 𝑥 ∈ ∪ (𝐵 ∩ 𝐶)))
308, 29biimtrid 245 . . 3 ((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) → (𝑥 ∈ (∪ 𝐵 ∩ ∪ 𝐶) → 𝑥 ∈ ∪ (𝐵 ∩ 𝐶)))
3130ssrdv 3926 . 2 ((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) → (∪ 𝐵 ∩ ∪ 𝐶) ⊆ ∪ (𝐵 ∩ 𝐶))
322, 31eqssd 3937 1 ((𝐵 ⊆ (𝐴 / 𝑅) ∧ 𝐶 ⊆ (𝐴 / 𝑅)) → ∪ (𝐵 ∩ 𝐶) = (∪ 𝐵 ∩ ∪ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1104   = wceq 1572   ∈ wcel 2156   ≠ wne 2970  ∃wrex 3101   ⊆ wss 3907   ∩ cin 4099  ∅c0 4288  ∪ cuni 4880   Er wer 8771   / cqs 8773
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746  ax-sep 5263  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-er 8774  df-ec 8776  df-qs 8780
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator