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

Theorem zfrepclf 5213
Description: An inference based on the Axiom of Replacement. Typically, 𝜑 defines a function from 𝑥 to 𝑦. (Contributed by NM, 26-Nov-1995.)
Hypotheses
Ref Expression
zfrepclf.1 𝑥𝐴
zfrepclf.2 𝐴 ∈ V
zfrepclf.3 (𝑥𝐴 → ∃𝑧𝑦(𝜑𝑦 = 𝑧))
Assertion
Ref Expression
zfrepclf 𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑))
Distinct variable groups:   𝑦,𝑧,𝐴   𝜑,𝑧   𝑥,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐴(𝑥)

Proof of Theorem zfrepclf
Dummy variable 𝑣 is distinct from all other variables.
StepHypRef Expression
1 zfrepclf.2 . 2 𝐴 ∈ V
2 zfrepclf.1 . . . . . 6 𝑥𝐴
32nfeq2 2923 . . . . 5 𝑥 𝑣 = 𝐴
4 eleq2 2827 . . . . . 6 (𝑣 = 𝐴 → (𝑥𝑣𝑥𝐴))
5 zfrepclf.3 . . . . . 6 (𝑥𝐴 → ∃𝑧𝑦(𝜑𝑦 = 𝑧))
64, 5syl6bi 252 . . . . 5 (𝑣 = 𝐴 → (𝑥𝑣 → ∃𝑧𝑦(𝜑𝑦 = 𝑧)))
73, 6alrimi 2209 . . . 4 (𝑣 = 𝐴 → ∀𝑥(𝑥𝑣 → ∃𝑧𝑦(𝜑𝑦 = 𝑧)))
8 nfv 1918 . . . . 5 𝑧𝜑
98axrep5 5211 . . . 4 (∀𝑥(𝑥𝑣 → ∃𝑧𝑦(𝜑𝑦 = 𝑧)) → ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)))
107, 9syl 17 . . 3 (𝑣 = 𝐴 → ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)))
114anbi1d 629 . . . . . . 7 (𝑣 = 𝐴 → ((𝑥𝑣𝜑) ↔ (𝑥𝐴𝜑)))
123, 11exbid 2219 . . . . . 6 (𝑣 = 𝐴 → (∃𝑥(𝑥𝑣𝜑) ↔ ∃𝑥(𝑥𝐴𝜑)))
1312bibi2d 342 . . . . 5 (𝑣 = 𝐴 → ((𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)) ↔ (𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑))))
1413albidv 1924 . . . 4 (𝑣 = 𝐴 → (∀𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)) ↔ ∀𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑))))
1514exbidv 1925 . . 3 (𝑣 = 𝐴 → (∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)) ↔ ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑))))
1610, 15mpbid 231 . 2 (𝑣 = 𝐴 → ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑)))
171, 16vtocle 3514 1 𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wex 1783  wcel 2108  wnfc 2886  Vcvv 3422
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888
This theorem is referenced by:  zfrep3cl  5214  zfrep4  5215
  Copyright terms: Public domain W3C validator