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

Theorem uniiunlem 3185
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 2146 . . . . . 6 (𝑦 = 𝑧 → (𝑦 = 𝐵𝑧 = 𝐵))
21rexbidv 2438 . . . . 5 (𝑦 = 𝑧 → (∃𝑥𝐴 𝑦 = 𝐵 ↔ ∃𝑥𝐴 𝑧 = 𝐵))
32cbvabv 2264 . . . 4 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} = {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}
43sseq1i 3123 . . 3 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} ⊆ 𝐶)
5 r19.23v 2541 . . . . 5 (∀𝑥𝐴 (𝑧 = 𝐵𝑧𝐶) ↔ (∃𝑥𝐴 𝑧 = 𝐵𝑧𝐶))
65albii 1446 . . . 4 (∀𝑧𝑥𝐴 (𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑧(∃𝑥𝐴 𝑧 = 𝐵𝑧𝐶))
7 ralcom4 2708 . . . 4 (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑧𝑥𝐴 (𝑧 = 𝐵𝑧𝐶))
8 abss 3166 . . . 4 ({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} ⊆ 𝐶 ↔ ∀𝑧(∃𝑥𝐴 𝑧 = 𝐵𝑧𝐶))
96, 7, 83bitr4i 211 . . 3 (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} ⊆ 𝐶)
104, 9bitr4i 186 . 2 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ ∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶))
11 nfv 1508 . . . . 5 𝑧 𝐵𝐶
12 eleq1 2202 . . . . 5 (𝑧 = 𝐵 → (𝑧𝐶𝐵𝐶))
1311, 12ceqsalg 2714 . . . 4 (𝐵𝐷 → (∀𝑧(𝑧 = 𝐵𝑧𝐶) ↔ 𝐵𝐶))
1413ralimi 2495 . . 3 (∀𝑥𝐴 𝐵𝐷 → ∀𝑥𝐴 (∀𝑧(𝑧 = 𝐵𝑧𝐶) ↔ 𝐵𝐶))
15 ralbi 2564 . . 3 (∀𝑥𝐴 (∀𝑧(𝑧 = 𝐵𝑧𝐶) ↔ 𝐵𝐶) → (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑥𝐴 𝐵𝐶))
1614, 15syl 14 . 2 (∀𝑥𝐴 𝐵𝐷 → (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑥𝐴 𝐵𝐶))
1710, 16syl5rbb 192 1 (∀𝑥𝐴 𝐵𝐷 → (∀𝑥𝐴 𝐵𝐶 ↔ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ⊆ 𝐶))
Colors of variables: wff set class
Syntax hints:  wi 4  wb 104  wal 1329   = wceq 1331  wcel 1480  {cab 2125  wral 2416  wrex 2417  wss 3071
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 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2121
This theorem depends on definitions:  df-bi 116  df-tru 1334  df-nf 1437  df-sb 1736  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-ral 2421  df-rex 2422  df-v 2688  df-in 3077  df-ss 3084
This theorem is referenced by:  iunopn  12169
  Copyright terms: Public domain W3C validator