ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  uniiunlem GIF version

Theorem uniiunlem 3338
Description: A subset relationship useful for converting union to indexed union using dfiun2 or dfiun2g and intersection to indexed intersection using dfiin2 . (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 2245 . . . . . 6 (𝑦 = 𝑧 → (𝑦 = 𝐵 ↔ 𝑧 = 𝐵))
21rexbidv 2551 . . . . 5 (𝑦 = 𝑧 → (∃𝑥 ∈ 𝐴 𝑦 = 𝐵 ↔ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵))
32cbvabv 2365 . . . 4 {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} = {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}
43sseq1i 3274 . . 3 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} ⊆ 𝐶)
5 r19.23v 2660 . . . . 5 (∀𝑥 ∈ 𝐴 (𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ (∃𝑥 ∈ 𝐴 𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
65albii 1523 . . . 4 (∀𝑧∀𝑥 ∈ 𝐴 (𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ ∀𝑧(∃𝑥 ∈ 𝐴 𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
7 ralcom4 2844 . . . 4 (∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ ∀𝑧∀𝑥 ∈ 𝐴 (𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
8 abss 3317 . . . 4 ({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} ⊆ 𝐶 ↔ ∀𝑧(∃𝑥 ∈ 𝐴 𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
96, 7, 83bitr4i 212 . . 3 (∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} ⊆ 𝐶)
104, 9bitr4i 187 . 2 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ ∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
11 nfv 1581 . . . . 5 Ⅎ𝑧 𝐵 ∈ 𝐶
12 eleq1 2301 . . . . 5 (𝑧 = 𝐵 → (𝑧 ∈ 𝐶 ↔ 𝐵 ∈ 𝐶))
1311, 12ceqsalg 2850 . . . 4 (𝐵 ∈ 𝐷 → (∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ 𝐵 ∈ 𝐶))
1413ralimi 2613 . . 3 (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐷 → ∀𝑥 ∈ 𝐴 (∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ 𝐵 ∈ 𝐶))
15 ralbi 2683 . . 3 (∀𝑥 ∈ 𝐴 (∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ 𝐵 ∈ 𝐶) → (∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ ∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐶))
1614, 15syl 14 . 2 (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐷 → (∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ ∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐶))
1710, 16bitr2id 193 1 (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐷 → (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐶 ↔ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} ⊆ 𝐶))
Colors of variables:    wff set class
This proof depends on syntax axioms:   → wi 4   ↔ wb 105  ∀wal 1400   = wceq 1402   ∈ wcel 2209  {cab 2224  ∀wral 2528  ∃wrex 2529   ⊆ wss 3220
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-ext 2220
This proof depends on definitions:  df-bi 117  df-tru 1405  df-nf 1514  df-sb 1816  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ral 2533  df-rex 2534  df-v 2823  df-in 3226  df-ss 3233
This theorem is used by:  iunopn  15194
  Copyright terms: Public domain W3C validator