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

Theorem zfrepclf 5200
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 2997 . . . . 5 𝑥 𝑣 = 𝐴
4 eleq2 2903 . . . . . 6 (𝑣 = 𝐴 → (𝑥𝑣𝑥𝐴))
5 zfrepclf.3 . . . . . 6 (𝑥𝐴 → ∃𝑧𝑦(𝜑𝑦 = 𝑧))
64, 5syl6bi 255 . . . . 5 (𝑣 = 𝐴 → (𝑥𝑣 → ∃𝑧𝑦(𝜑𝑦 = 𝑧)))
73, 6alrimi 2213 . . . 4 (𝑣 = 𝐴 → ∀𝑥(𝑥𝑣 → ∃𝑧𝑦(𝜑𝑦 = 𝑧)))
8 nfv 1915 . . . . 5 𝑧𝜑
98axrep5 5198 . . . 4 (∀𝑥(𝑥𝑣 → ∃𝑧𝑦(𝜑𝑦 = 𝑧)) → ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)))
107, 9syl 17 . . 3 (𝑣 = 𝐴 → ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)))
114anbi1d 631 . . . . . . 7 (𝑣 = 𝐴 → ((𝑥𝑣𝜑) ↔ (𝑥𝐴𝜑)))
123, 11exbid 2225 . . . . . 6 (𝑣 = 𝐴 → (∃𝑥(𝑥𝑣𝜑) ↔ ∃𝑥(𝑥𝐴𝜑)))
1312bibi2d 345 . . . . 5 (𝑣 = 𝐴 → ((𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)) ↔ (𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑))))
1413albidv 1921 . . . 4 (𝑣 = 𝐴 → (∀𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)) ↔ ∀𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑))))
1514exbidv 1922 . . 3 (𝑣 = 𝐴 → (∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑣𝜑)) ↔ ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑))))
1610, 15mpbid 234 . 2 (𝑣 = 𝐴 → ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑)))
171, 16vtocle 3586 1 𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝐴𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wal 1535   = wceq 1537  wex 1780  wcel 2114  wnfc 2963  Vcvv 3496
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-rep 5192
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-cleq 2816  df-clel 2895  df-nfc 2965
This theorem is referenced by:  zfrep3cl  5201  zfrep4  5202
  Copyright terms: Public domain W3C validator