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

Theorem uniiunlem 4011
Description: A subset relationship useful for converting union to indexed union using dfiun2 4989 or dfiun2g 4987 and intersection to indexed intersection using dfiin2 4990. (Contributed by NM, 5-Oct-2006.) (Proof shortened by Mario Carneiro, 26-Sep-2015.)
Assertion
Ref Expression
uniiunlem (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐷 → (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐶 ↔ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} ⊆ 𝐶))
Distinct variable groups:   𝑥,𝑦   𝑦,𝐴   𝑦,𝐵   𝑥,𝐶
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥)   𝐶(𝑦)   𝐷(𝑥, 𝑦)

Proof of Theorem uniiunlem
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 eqeq1 2764 . . . . . 6 (𝑦 = 𝑧 → (𝑦 = 𝐵 ↔ 𝑧 = 𝐵))
21rexbidv 3186 . . . . 5 (𝑦 = 𝑧 → (∃𝑥 ∈ 𝐴 𝑦 = 𝐵 ↔ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵))
32cbvabv 2830 . . . 4 {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} = {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}
43sseq1i 3937 . . 3 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} ⊆ 𝐶)
5 r19.23v 3189 . . . . 5 (∀𝑥 ∈ 𝐴 (𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ (∃𝑥 ∈ 𝐴 𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
65albii 1851 . . . 4 (∀𝑧∀𝑥 ∈ 𝐴 (𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ ∀𝑧(∃𝑥 ∈ 𝐴 𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
7 ralcom4 3288 . . . 4 (∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ ∀𝑧∀𝑥 ∈ 𝐴 (𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
8 abss 3986 . . . 4 ({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} ⊆ 𝐶 ↔ ∀𝑧(∃𝑥 ∈ 𝐴 𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
96, 7, 83bitr4i 306 . . 3 (∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} ⊆ 𝐶)
104, 9bitr4i 281 . 2 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ ∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
11 nfv 1946 . . . . 5 Ⅎ𝑧 𝐵 ∈ 𝐶
12 eleq1 2848 . . . . 5 (𝑧 = 𝐵 → (𝑧 ∈ 𝐶 ↔ 𝐵 ∈ 𝐶))
1311, 12ceqsalg 3485 . . . 4 (𝐵 ∈ 𝐷 → (∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ 𝐵 ∈ 𝐶))
1413ralimi 3099 . . 3 (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐷 → ∀𝑥 ∈ 𝐴 (∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ 𝐵 ∈ 𝐶))
15 ralbi 3117 . . 3 (∀𝑥 ∈ 𝐴 (∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ 𝐵 ∈ 𝐶) → (∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ ∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐶))
1614, 15syl 18 . 2 (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐷 → (∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ ∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐶))
1710, 16bitr2id 287 1 (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐷 → (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐶 ↔ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} ⊆ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209  ∀wal 1567   = wceq 1569   ∈ wcel 2144  {cab 2738  ∀wral 3076  ∃wrex 3086   ⊆ wss 3896
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-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-ss 3897
This theorem is used by:  rankfilimbi  9909  mreiincl  17775  iunopn  23225  sigaclci  34814  dihglblem5  42464
  Copyright terms: Public domain W3C validator