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

Theorem uniiunlem 4015
Description: A subset relationship useful for converting union to indexed union using dfiun2 4995 or dfiun2g 4993 and intersection to indexed intersection using dfiin2 4996. (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 2767 . . . . . 6 (𝑦 = 𝑧 → (𝑦 = 𝐵 ↔ 𝑧 = 𝐵))
21rexbidv 3190 . . . . 5 (𝑦 = 𝑧 → (∃𝑥 ∈ 𝐴 𝑦 = 𝐵 ↔ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵))
32cbvabv 2834 . . . 4 {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} = {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}
43sseq1i 3941 . . 3 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} ⊆ 𝐶)
5 r19.23v 3193 . . . . 5 (∀𝑥 ∈ 𝐴 (𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ (∃𝑥 ∈ 𝐴 𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
65albii 1852 . . . 4 (∀𝑧∀𝑥 ∈ 𝐴 (𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ ∀𝑧(∃𝑥 ∈ 𝐴 𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
7 ralcom4 3292 . . . 4 (∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ ∀𝑧∀𝑥 ∈ 𝐴 (𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
8 abss 3990 . . . 4 ({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} ⊆ 𝐶 ↔ ∀𝑧(∃𝑥 ∈ 𝐴 𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
96, 7, 83bitr4i 306 . . 3 (∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} ⊆ 𝐶)
104, 9bitr4i 281 . 2 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ ∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
11 nfv 1949 . . . . 5 Ⅎ𝑧 𝐵 ∈ 𝐶
12 eleq1 2852 . . . . 5 (𝑧 = 𝐵 → (𝑧 ∈ 𝐶 ↔ 𝐵 ∈ 𝐶))
1311, 12ceqsalg 3489 . . . 4 (𝐵 ∈ 𝐷 → (∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ 𝐵 ∈ 𝐶))
1413ralimi 3103 . . 3 (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐷 → ∀𝑥 ∈ 𝐴 (∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ 𝐵 ∈ 𝐶))
15 ralbi 3121 . . 3 (∀𝑥 ∈ 𝐴 (∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ 𝐵 ∈ 𝐶) → (∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ ∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐶))
1614, 15syl 18 . 2 (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐷 → (∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ ∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐶))
1710, 16bitr2id 287 1 (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐷 → (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐶 ↔ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} ⊆ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209  ∀wal 1568   = wceq 1570   ∈ wcel 2147  {cab 2741  ∀wral 3080  ∃wrex 3090   ⊆ wss 3900
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ral 3081  df-rex 3091  df-ss 3901
This theorem is used by:  rankfilimbi  9939  mreiincl  17816  iunopn  23271  sigaclci  34875  dihglblem5  42621
  Copyright terms: Public domain W3C validator