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

Theorem uniiunlem 4012
Description: A subset relationship useful for converting union to indexed union using dfiun2 4920 or dfiun2g 4917 and intersection to indexed intersection using dfiin2 4921. (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 2802 . . . . . 6 (𝑦 = 𝑧 → (𝑦 = 𝐵𝑧 = 𝐵))
21rexbidv 3256 . . . . 5 (𝑦 = 𝑧 → (∃𝑥𝐴 𝑦 = 𝐵 ↔ ∃𝑥𝐴 𝑧 = 𝐵))
32cbvabv 2866 . . . 4 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} = {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}
43sseq1i 3943 . . 3 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} ⊆ 𝐶)
5 r19.23v 3238 . . . . 5 (∀𝑥𝐴 (𝑧 = 𝐵𝑧𝐶) ↔ (∃𝑥𝐴 𝑧 = 𝐵𝑧𝐶))
65albii 1821 . . . 4 (∀𝑧𝑥𝐴 (𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑧(∃𝑥𝐴 𝑧 = 𝐵𝑧𝐶))
7 ralcom4 3198 . . . 4 (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑧𝑥𝐴 (𝑧 = 𝐵𝑧𝐶))
8 abss 3988 . . . 4 ({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} ⊆ 𝐶 ↔ ∀𝑧(∃𝑥𝐴 𝑧 = 𝐵𝑧𝐶))
96, 7, 83bitr4i 306 . . 3 (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} ⊆ 𝐶)
104, 9bitr4i 281 . 2 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ ∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶))
11 nfv 1915 . . . . 5 𝑧 𝐵𝐶
12 eleq1 2877 . . . . 5 (𝑧 = 𝐵 → (𝑧𝐶𝐵𝐶))
1311, 12ceqsalg 3476 . . . 4 (𝐵𝐷 → (∀𝑧(𝑧 = 𝐵𝑧𝐶) ↔ 𝐵𝐶))
1413ralimi 3128 . . 3 (∀𝑥𝐴 𝐵𝐷 → ∀𝑥𝐴 (∀𝑧(𝑧 = 𝐵𝑧𝐶) ↔ 𝐵𝐶))
15 ralbi 3135 . . 3 (∀𝑥𝐴 (∀𝑧(𝑧 = 𝐵𝑧𝐶) ↔ 𝐵𝐶) → (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑥𝐴 𝐵𝐶))
1614, 15syl 17 . 2 (∀𝑥𝐴 𝐵𝐷 → (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑥𝐴 𝐵𝐶))
1710, 16syl5rbb 287 1 (∀𝑥𝐴 𝐵𝐷 → (∀𝑥𝐴 𝐵𝐶 ↔ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ⊆ 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wal 1536   = wceq 1538  wcel 2111  {cab 2776  wral 3106  wrex 3107  wss 3881
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-v 3443  df-in 3888  df-ss 3898
This theorem is referenced by:  mreiincl  16859  iunopn  21503  sigaclci  31501  dihglblem5  38594
  Copyright terms: Public domain W3C validator