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

Theorem dfiun2gOLD 5035
Description: Obsolete version of dfiun2g 5034 as of 11-Dec-2024. (Contributed by NM, 23-Mar-2006.) (Proof shortened by Andrew Salmon, 25-Jul-2011.) (Proof shortened by Rohan Ridenour, 11-Aug-2023.) (New usage is discouraged.) (Proof modification is discouraged.)
Assertion
Ref Expression
dfiun2gOLD (∀𝑥𝐴 𝐵𝐶 𝑥𝐴 𝐵 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵})
Distinct variable groups:   𝑦,𝐴   𝑦,𝐵   𝑥,𝑦
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥)   𝐶(𝑥,𝑦)

Proof of Theorem dfiun2gOLD
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 nfra1 3281 . . . . . 6 𝑥𝑥𝐴 𝐵𝐶
2 rspa 3245 . . . . . . 7 ((∀𝑥𝐴 𝐵𝐶𝑥𝐴) → 𝐵𝐶)
3 clel3g 3660 . . . . . . 7 (𝐵𝐶 → (𝑧𝐵 ↔ ∃𝑦(𝑦 = 𝐵𝑧𝑦)))
42, 3syl 17 . . . . . 6 ((∀𝑥𝐴 𝐵𝐶𝑥𝐴) → (𝑧𝐵 ↔ ∃𝑦(𝑦 = 𝐵𝑧𝑦)))
51, 4rexbida 3269 . . . . 5 (∀𝑥𝐴 𝐵𝐶 → (∃𝑥𝐴 𝑧𝐵 ↔ ∃𝑥𝐴𝑦(𝑦 = 𝐵𝑧𝑦)))
6 rexcom4 3285 . . . . 5 (∃𝑥𝐴𝑦(𝑦 = 𝐵𝑧𝑦) ↔ ∃𝑦𝑥𝐴 (𝑦 = 𝐵𝑧𝑦))
75, 6bitrdi 287 . . . 4 (∀𝑥𝐴 𝐵𝐶 → (∃𝑥𝐴 𝑧𝐵 ↔ ∃𝑦𝑥𝐴 (𝑦 = 𝐵𝑧𝑦)))
8 r19.41v 3186 . . . . . 6 (∃𝑥𝐴 (𝑦 = 𝐵𝑧𝑦) ↔ (∃𝑥𝐴 𝑦 = 𝐵𝑧𝑦))
98exbii 1844 . . . . 5 (∃𝑦𝑥𝐴 (𝑦 = 𝐵𝑧𝑦) ↔ ∃𝑦(∃𝑥𝐴 𝑦 = 𝐵𝑧𝑦))
10 exancom 1858 . . . . 5 (∃𝑦(∃𝑥𝐴 𝑦 = 𝐵𝑧𝑦) ↔ ∃𝑦(𝑧𝑦 ∧ ∃𝑥𝐴 𝑦 = 𝐵))
119, 10bitri 275 . . . 4 (∃𝑦𝑥𝐴 (𝑦 = 𝐵𝑧𝑦) ↔ ∃𝑦(𝑧𝑦 ∧ ∃𝑥𝐴 𝑦 = 𝐵))
127, 11bitrdi 287 . . 3 (∀𝑥𝐴 𝐵𝐶 → (∃𝑥𝐴 𝑧𝐵 ↔ ∃𝑦(𝑧𝑦 ∧ ∃𝑥𝐴 𝑦 = 𝐵)))
13 eliun 4999 . . 3 (𝑧 𝑥𝐴 𝐵 ↔ ∃𝑥𝐴 𝑧𝐵)
14 eluniab 4925 . . 3 (𝑧 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ↔ ∃𝑦(𝑧𝑦 ∧ ∃𝑥𝐴 𝑦 = 𝐵))
1512, 13, 143bitr4g 314 . 2 (∀𝑥𝐴 𝐵𝐶 → (𝑧 𝑥𝐴 𝐵𝑧 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵}))
1615eqrdv 2732 1 (∀𝑥𝐴 𝐵𝐶 𝑥𝐴 𝐵 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1536  wex 1775  wcel 2105  {cab 2711  wral 3058  wrex 3067   cuni 4911   ciun 4995
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1791  ax-4 1805  ax-5 1907  ax-6 1964  ax-7 2004  ax-8 2107  ax-9 2115  ax-10 2138  ax-11 2154  ax-12 2174  ax-ext 2705
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-tru 1539  df-ex 1776  df-nf 1780  df-sb 2062  df-clab 2712  df-cleq 2726  df-clel 2813  df-ral 3059  df-rex 3068  df-v 3479  df-uni 4912  df-iun 4997
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator