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

Theorem zfrepclf 5172
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 2914 . . . . 5 𝑥 𝑣 = 𝐴
4 eleq2 2819 . . . . . 6 (𝑣 = 𝐴 → (𝑥𝑣𝑥𝐴))
5 zfrepclf.3 . . . . . 6 (𝑥𝐴 → ∃𝑧𝑦(𝜑𝑦 = 𝑧))
64, 5syl6bi 256 . . . . 5 (𝑣 = 𝐴 → (𝑥𝑣 → ∃𝑧𝑦(𝜑𝑦 = 𝑧)))
73, 6alrimi 2213 . . . 4 (𝑣 = 𝐴 → ∀𝑥(𝑥𝑣 → ∃𝑧𝑦(𝜑𝑦 = 𝑧)))
8 nfv 1922 . . . . 5 𝑧𝜑
98axrep5 5170 . . . 4 (∀𝑥(𝑥𝑣 → ∃𝑧𝑦(𝜑𝑦 = 𝑧)) → ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)))
107, 9syl 17 . . 3 (𝑣 = 𝐴 → ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)))
114anbi1d 633 . . . . . . 7 (𝑣 = 𝐴 → ((𝑥𝑣𝜑) ↔ (𝑥𝐴𝜑)))
123, 11exbid 2223 . . . . . 6 (𝑣 = 𝐴 → (∃𝑥(𝑥𝑣𝜑) ↔ ∃𝑥(𝑥𝐴𝜑)))
1312bibi2d 346 . . . . 5 (𝑣 = 𝐴 → ((𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)) ↔ (𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑))))
1413albidv 1928 . . . 4 (𝑣 = 𝐴 → (∀𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)) ↔ ∀𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑))))
1514exbidv 1929 . . 3 (𝑣 = 𝐴 → (∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)) ↔ ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑))))
1610, 15mpbid 235 . 2 (𝑣 = 𝐴 → ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑)))
171, 16vtocle 3490 1 𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wal 1541   = wceq 1543  wex 1787  wcel 2112  wnfc 2877  Vcvv 3398
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708  ax-rep 5164
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-tru 1546  df-ex 1788  df-nf 1792  df-sb 2073  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879
This theorem is referenced by:  zfrep3cl  5173  zfrep4  5174
  Copyright terms: Public domain W3C validator