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

Theorem uniiunlem 4022
Description: A subset relationship useful for converting union to indexed union using dfiun2 5003 or dfiun2g 5001 and intersection to indexed intersection using dfiin2 5004. (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 2778 . . . . . 6 (𝑦 = 𝑧 → (𝑦 = 𝐵 ↔ 𝑧 = 𝐵))
21rexbidv 3201 . . . . 5 (𝑦 = 𝑧 → (∃𝑥 ∈ 𝐴 𝑦 = 𝐵 ↔ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵))
32cbvabv 2845 . . . 4 {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} = {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}
43sseq1i 3948 . . 3 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} ⊆ 𝐶)
5 r19.23v 3204 . . . . 5 (∀𝑥 ∈ 𝐴 (𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ (∃𝑥 ∈ 𝐴 𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
65albii 1858 . . . 4 (∀𝑧∀𝑥 ∈ 𝐴 (𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ ∀𝑧(∃𝑥 ∈ 𝐴 𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
7 ralcom4 3300 . . . 4 (∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ ∀𝑧∀𝑥 ∈ 𝐴 (𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
8 abss 3997 . . . 4 ({𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} ⊆ 𝐶 ↔ ∀𝑧(∃𝑥 ∈ 𝐴 𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
96, 7, 83bitr4i 306 . . 3 (∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} ⊆ 𝐶)
104, 9bitr4i 281 . 2 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} ⊆ 𝐶 ↔ ∀𝑥 ∈ 𝐴 ∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶))
11 nfv 1956 . . . . 5 Ⅎ𝑧 𝐵 ∈ 𝐶
12 eleq1 2863 . . . . 5 (𝑧 = 𝐵 → (𝑧 ∈ 𝐶 ↔ 𝐵 ∈ 𝐶))
1311, 12ceqsalg 3496 . . . 4 (𝐵 ∈ 𝐷 → (∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ 𝐵 ∈ 𝐶))
1413ralimi 3114 . . 3 (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝐷 → ∀𝑥 ∈ 𝐴 (∀𝑧(𝑧 = 𝐵 → 𝑧 ∈ 𝐶) ↔ 𝐵 ∈ 𝐶))
15 ralbi 3132 . . 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 1570   = wceq 1572   ∈ wcel 2156  {cab 2752  ∀wral 3091  ∃wrex 3101   ⊆ wss 3907
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-ex 1819  df-nf 1823  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ral 3092  df-rex 3102  df-ss 3908
This theorem is used by:  rankfilimbi  9958  mreiincl  17844  iunopn  23324  sigaclci  34966  dihglblem5  42723
  Copyright terms: Public domain W3C validator