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

Theorem uniiunlem 4035
Description: A subset relationship useful for converting union to indexed union using dfiun2 4990 or dfiun2g 4988 and intersection to indexed intersection using dfiin2 4991. (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 2765 . . . . . 6 (𝑦 = 𝑧 → (𝑦 = 𝐵 ↔ 𝑧 = 𝐵))
21rexbidv 3187 . . . . 5 (𝑦 = 𝑧 → (∃𝑥 ∈ 𝐴 𝑦 = 𝐵 ↔ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵))
32cbvabv 2831 . . . 4 {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} = {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}
43sseq1i 3959 . . 3 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} ⊆ 𝐶)
5 r19.23v 3190 . . . . 5 (∀𝑥 ∈ 𝐴 (𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ (∃𝑥 ∈ 𝐴 𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
65albii 1852 . . . 4 (∀𝑧∀𝑥 ∈ 𝐴 (𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ ∀𝑧(∃𝑥 ∈ 𝐴 𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
7 ralcom4 3289 . . . 4 (∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ ∀𝑧∀𝑥 ∈ 𝐴 (𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
8 abss 4010 . . . 4 ({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} ⊆ 𝐶 ↔ ∀𝑧(∃𝑥 ∈ 𝐴 𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
96, 7, 83bitr4i 306 . . 3 (∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} ⊆ 𝐶)
104, 9bitr4i 281 . 2 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ ∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
11 nfv 1947 . . . . 5 Ⅎ𝑧 𝐵 ∈ 𝐶
12 eleq1 2849 . . . . 5 (𝑧 = 𝐵 → (𝑧 ∈ 𝐶 ↔ 𝐵 ∈ 𝐶))
1311, 12ceqsalg 3486 . . . 4 (𝐵 ∈ 𝐷 → (∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ 𝐵 ∈ 𝐶))
1413ralimi 3100 . . 3 (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐷 → ∀𝑥 ∈ 𝐴 (∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ 𝐵 ∈ 𝐶))
15 ralbi 3118 . . 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 1568   = wceq 1570   ∈ wcel 2145  {cab 2739  ∀wral 3077  ∃wrex 3087   ⊆ wss 3899
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-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ral 3078  df-rex 3088  df-ss 3916
This theorem is used by:  rankfilimbi  9895  mreiincl  17759  iunopn  23209  sigaclci  34757  dihglblem5  42335
  Copyright terms: Public domain W3C validator