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

Theorem uniiunlem 4063
Description: A subset relationship useful for converting union to indexed union using dfiun2 4960 or dfiun2g 4957 and intersection to indexed intersection using dfiin2 4961. (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 2827 . . . . . 6 (𝑦 = 𝑧 → (𝑦 = 𝐵𝑧 = 𝐵))
21rexbidv 3299 . . . . 5 (𝑦 = 𝑧 → (∃𝑥𝐴 𝑦 = 𝐵 ↔ ∃𝑥𝐴 𝑧 = 𝐵))
32cbvabv 2891 . . . 4 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} = {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}
43sseq1i 3997 . . 3 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} ⊆ 𝐶)
5 r19.23v 3281 . . . . 5 (∀𝑥𝐴 (𝑧 = 𝐵𝑧𝐶) ↔ (∃𝑥𝐴 𝑧 = 𝐵𝑧𝐶))
65albii 1820 . . . 4 (∀𝑧𝑥𝐴 (𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑧(∃𝑥𝐴 𝑧 = 𝐵𝑧𝐶))
7 ralcom4 3237 . . . 4 (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑧𝑥𝐴 (𝑧 = 𝐵𝑧𝐶))
8 abss 4042 . . . 4 ({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} ⊆ 𝐶 ↔ ∀𝑧(∃𝑥𝐴 𝑧 = 𝐵𝑧𝐶))
96, 7, 83bitr4i 305 . . 3 (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} ⊆ 𝐶)
104, 9bitr4i 280 . 2 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ ∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶))
11 nfv 1915 . . . . 5 𝑧 𝐵𝐶
12 eleq1 2902 . . . . 5 (𝑧 = 𝐵 → (𝑧𝐶𝐵𝐶))
1311, 12ceqsalg 3531 . . . 4 (𝐵𝐷 → (∀𝑧(𝑧 = 𝐵𝑧𝐶) ↔ 𝐵𝐶))
1413ralimi 3162 . . 3 (∀𝑥𝐴 𝐵𝐷 → ∀𝑥𝐴 (∀𝑧(𝑧 = 𝐵𝑧𝐶) ↔ 𝐵𝐶))
15 ralbi 3169 . . 3 (∀𝑥𝐴 (∀𝑧(𝑧 = 𝐵𝑧𝐶) ↔ 𝐵𝐶) → (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑥𝐴 𝐵𝐶))
1614, 15syl 17 . 2 (∀𝑥𝐴 𝐵𝐷 → (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑥𝐴 𝐵𝐶))
1710, 16syl5rbb 286 1 (∀𝑥𝐴 𝐵𝐷 → (∀𝑥𝐴 𝐵𝐶 ↔ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ⊆ 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wal 1535   = wceq 1537  wcel 2114  {cab 2801  wral 3140  wrex 3141  wss 3938
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rex 3146  df-in 3945  df-ss 3954
This theorem is referenced by:  mreiincl  16869  iunopn  21508  sigaclci  31393  dihglblem5  38436
  Copyright terms: Public domain W3C validator