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

Theorem zfrepclf 5165
 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 2975 . . . . 5 𝑥 𝑣 = 𝐴
4 eleq2 2881 . . . . . 6 (𝑣 = 𝐴 → (𝑥𝑣𝑥𝐴))
5 zfrepclf.3 . . . . . 6 (𝑥𝐴 → ∃𝑧𝑦(𝜑𝑦 = 𝑧))
64, 5syl6bi 256 . . . . 5 (𝑣 = 𝐴 → (𝑥𝑣 → ∃𝑧𝑦(𝜑𝑦 = 𝑧)))
73, 6alrimi 2212 . . . 4 (𝑣 = 𝐴 → ∀𝑥(𝑥𝑣 → ∃𝑧𝑦(𝜑𝑦 = 𝑧)))
8 nfv 1915 . . . . 5 𝑧𝜑
98axrep5 5163 . . . 4 (∀𝑥(𝑥𝑣 → ∃𝑧𝑦(𝜑𝑦 = 𝑧)) → ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)))
107, 9syl 17 . . 3 (𝑣 = 𝐴 → ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)))
114anbi1d 632 . . . . . . 7 (𝑣 = 𝐴 → ((𝑥𝑣𝜑) ↔ (𝑥𝐴𝜑)))
123, 11exbid 2224 . . . . . 6 (𝑣 = 𝐴 → (∃𝑥(𝑥𝑣𝜑) ↔ ∃𝑥(𝑥𝐴𝜑)))
1312bibi2d 346 . . . . 5 (𝑣 = 𝐴 → ((𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)) ↔ (𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑))))
1413albidv 1921 . . . 4 (𝑣 = 𝐴 → (∀𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)) ↔ ∀𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑))))
1514exbidv 1922 . . 3 (𝑣 = 𝐴 → (∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)) ↔ ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑))))
1610, 15mpbid 235 . 2 (𝑣 = 𝐴 → ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑)))
171, 16vtocle 3535 1 𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 209   ∧ wa 399  ∀wal 1536   = wceq 1538  ∃wex 1781   ∈ wcel 2112  Ⅎwnfc 2939  Vcvv 3444 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2773  ax-rep 5157 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-tru 1541  df-ex 1782  df-nf 1786  df-cleq 2794  df-clel 2873  df-nfc 2941 This theorem is referenced by:  zfrep3cl  5166  zfrep4  5167
 Copyright terms: Public domain W3C validator