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

Theorem dfiun2gOLD 5054
Description: Obsolete version of dfiun2g 5053 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 3290 . . . . . 6 𝑥𝑥𝐴 𝐵𝐶
2 rspa 3254 . . . . . . 7 ((∀𝑥𝐴 𝐵𝐶𝑥𝐴) → 𝐵𝐶)
3 clel3g 3674 . . . . . . 7 (𝐵𝐶 → (𝑧𝐵 ↔ ∃𝑦(𝑦 = 𝐵𝑧𝑦)))
42, 3syl 17 . . . . . 6 ((∀𝑥𝐴 𝐵𝐶𝑥𝐴) → (𝑧𝐵 ↔ ∃𝑦(𝑦 = 𝐵𝑧𝑦)))
51, 4rexbida 3278 . . . . 5 (∀𝑥𝐴 𝐵𝐶 → (∃𝑥𝐴 𝑧𝐵 ↔ ∃𝑥𝐴𝑦(𝑦 = 𝐵𝑧𝑦)))
6 rexcom4 3294 . . . . 5 (∃𝑥𝐴𝑦(𝑦 = 𝐵𝑧𝑦) ↔ ∃𝑦𝑥𝐴 (𝑦 = 𝐵𝑧𝑦))
75, 6bitrdi 287 . . . 4 (∀𝑥𝐴 𝐵𝐶 → (∃𝑥𝐴 𝑧𝐵 ↔ ∃𝑦𝑥𝐴 (𝑦 = 𝐵𝑧𝑦)))
8 r19.41v 3195 . . . . . 6 (∃𝑥𝐴 (𝑦 = 𝐵𝑧𝑦) ↔ (∃𝑥𝐴 𝑦 = 𝐵𝑧𝑦))
98exbii 1846 . . . . 5 (∃𝑦𝑥𝐴 (𝑦 = 𝐵𝑧𝑦) ↔ ∃𝑦(∃𝑥𝐴 𝑦 = 𝐵𝑧𝑦))
10 exancom 1860 . . . . 5 (∃𝑦(∃𝑥𝐴 𝑦 = 𝐵𝑧𝑦) ↔ ∃𝑦(𝑧𝑦 ∧ ∃𝑥𝐴 𝑦 = 𝐵))
119, 10bitri 275 . . . 4 (∃𝑦𝑥𝐴 (𝑦 = 𝐵𝑧𝑦) ↔ ∃𝑦(𝑧𝑦 ∧ ∃𝑥𝐴 𝑦 = 𝐵))
127, 11bitrdi 287 . . 3 (∀𝑥𝐴 𝐵𝐶 → (∃𝑥𝐴 𝑧𝐵 ↔ ∃𝑦(𝑧𝑦 ∧ ∃𝑥𝐴 𝑦 = 𝐵)))
13 eliun 5019 . . 3 (𝑧 𝑥𝐴 𝐵 ↔ ∃𝑥𝐴 𝑧𝐵)
14 eluniab 4945 . . 3 (𝑧 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ↔ ∃𝑦(𝑧𝑦 ∧ ∃𝑥𝐴 𝑦 = 𝐵))
1512, 13, 143bitr4g 314 . 2 (∀𝑥𝐴 𝐵𝐶 → (𝑧 𝑥𝐴 𝐵𝑧 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵}))
1615eqrdv 2738 1 (∀𝑥𝐴 𝐵𝐶 𝑥𝐴 𝐵 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1537  wex 1777  wcel 2108  {cab 2717  wral 3067  wrex 3076   cuni 4931   ciun 5015
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-tru 1540  df-ex 1778  df-nf 1782  df-sb 2065  df-clab 2718  df-cleq 2732  df-clel 2819  df-ral 3068  df-rex 3077  df-v 3490  df-uni 4932  df-iun 5017
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator