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

Theorem uniiunlem 3653
Description: A subset relationship useful for converting union to indexed union using dfiun2 4490 or dfiun2g 4488 and intersection to indexed intersection using dfiin2 4491. (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 2614 . . . . . 6 (𝑦 = 𝑧 → (𝑦 = 𝐵𝑧 = 𝐵))
21rexbidv 3034 . . . . 5 (𝑦 = 𝑧 → (∃𝑥𝐴 𝑦 = 𝐵 ↔ ∃𝑥𝐴 𝑧 = 𝐵))
32cbvabv 2734 . . . 4 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} = {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}
43sseq1i 3592 . . 3 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} ⊆ 𝐶)
5 r19.23v 3005 . . . . 5 (∀𝑥𝐴 (𝑧 = 𝐵𝑧𝐶) ↔ (∃𝑥𝐴 𝑧 = 𝐵𝑧𝐶))
65albii 1737 . . . 4 (∀𝑧𝑥𝐴 (𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑧(∃𝑥𝐴 𝑧 = 𝐵𝑧𝐶))
7 ralcom4 3197 . . . 4 (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑧𝑥𝐴 (𝑧 = 𝐵𝑧𝐶))
8 abss 3634 . . . 4 ({𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} ⊆ 𝐶 ↔ ∀𝑧(∃𝑥𝐴 𝑧 = 𝐵𝑧𝐶))
96, 7, 83bitr4i 291 . . 3 (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} ⊆ 𝐶)
104, 9bitr4i 266 . 2 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ ∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶))
11 nfv 1830 . . . . 5 𝑧 𝐵𝐶
12 eleq1 2676 . . . . 5 (𝑧 = 𝐵 → (𝑧𝐶𝐵𝐶))
1311, 12ceqsalg 3203 . . . 4 (𝐵𝐷 → (∀𝑧(𝑧 = 𝐵𝑧𝐶) ↔ 𝐵𝐶))
1413ralimi 2936 . . 3 (∀𝑥𝐴 𝐵𝐷 → ∀𝑥𝐴 (∀𝑧(𝑧 = 𝐵𝑧𝐶) ↔ 𝐵𝐶))
15 ralbi 3050 . . 3 (∀𝑥𝐴 (∀𝑧(𝑧 = 𝐵𝑧𝐶) ↔ 𝐵𝐶) → (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑥𝐴 𝐵𝐶))
1614, 15syl 17 . 2 (∀𝑥𝐴 𝐵𝐷 → (∀𝑥𝐴𝑧(𝑧 = 𝐵𝑧𝐶) ↔ ∀𝑥𝐴 𝐵𝐶))
1710, 16syl5rbb 272 1 (∀𝑥𝐴 𝐵𝐷 → (∀𝑥𝐴 𝐵𝐶 ↔ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ⊆ 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wal 1473   = wceq 1475  wcel 1977  {cab 2596  wral 2896  wrex 2897  wss 3540
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-v 3175  df-in 3547  df-ss 3554
This theorem is referenced by:  mreiincl  16079  iunopn  20528  sigaclci  29522  dihglblem5  35605
  Copyright terms: Public domain W3C validator