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

Theorem uniiunlem 3190
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 2147 . . . . . 6 (𝑦 = 𝑧 → (𝑦 = 𝐵𝑧 = 𝐵))
21rexbidv 2439 . . . . 5 (𝑦 = 𝑧 → (∃𝑥𝐴 𝑦 = 𝐵 ↔ ∃𝑥𝐴 𝑧 = 𝐵))
32cbvabv 2265 . . . 4 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} = {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}
43sseq1i 3128 . . 3 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} ⊆ 𝐶)
5 r19.23v 2544 . . . . 5 (∀𝑥𝐴 (𝑧 = 𝐵𝑧𝐶) ↔ (∃𝑥𝐴 𝑧 = 𝐵𝑧𝐶))
65albii 1447 . . . 4 (∀𝑧𝑥𝐴 (𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑧(∃𝑥𝐴 𝑧 = 𝐵𝑧𝐶))
7 ralcom4 2711 . . . 4 (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑧𝑥𝐴 (𝑧 = 𝐵𝑧𝐶))
8 abss 3171 . . . 4 ({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} ⊆ 𝐶 ↔ ∀𝑧(∃𝑥𝐴 𝑧 = 𝐵𝑧𝐶))
96, 7, 83bitr4i 211 . . 3 (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} ⊆ 𝐶)
104, 9bitr4i 186 . 2 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ ∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶))
11 nfv 1509 . . . . 5 𝑧 𝐵𝐶
12 eleq1 2203 . . . . 5 (𝑧 = 𝐵 → (𝑧𝐶𝐵𝐶))
1311, 12ceqsalg 2717 . . . 4 (𝐵𝐷 → (∀𝑧(𝑧 = 𝐵𝑧𝐶) ↔ 𝐵𝐶))
1413ralimi 2498 . . 3 (∀𝑥𝐴 𝐵𝐷 → ∀𝑥𝐴 (∀𝑧(𝑧 = 𝐵𝑧𝐶) ↔ 𝐵𝐶))
15 ralbi 2567 . . 3 (∀𝑥𝐴 (∀𝑧(𝑧 = 𝐵𝑧𝐶) ↔ 𝐵𝐶) → (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑥𝐴 𝐵𝐶))
1614, 15syl 14 . 2 (∀𝑥𝐴 𝐵𝐷 → (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑥𝐴 𝐵𝐶))
1710, 16syl5rbb 192 1 (∀𝑥𝐴 𝐵𝐷 → (∀𝑥𝐴 𝐵𝐶 ↔ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ⊆ 𝐶))
Colors of variables: wff set class
Syntax hints:  wi 4  wb 104  wal 1330   = wceq 1332  wcel 1481  {cab 2126  wral 2417  wrex 2418  wss 3076
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122
This theorem depends on definitions:  df-bi 116  df-tru 1335  df-nf 1438  df-sb 1737  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ral 2422  df-rex 2423  df-v 2691  df-in 3082  df-ss 3089
This theorem is referenced by:  iunopn  12208
  Copyright terms: Public domain W3C validator