HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Theorem zfrep2 1475
Description: A more traditional version of the Axiom of Replacement.
Hypothesis
Ref Expression
zfrep2.1 |- (ph -> A.zph)
Assertion
Ref Expression
zfrep2 |- (A.xE.zA.y(ph -> y = z) -> E.zA.y(y e. z <-> E.x(x e. w /\ ph)))
Distinct variable group(s):   x,y,z,w

Proof of Theorem zfrep2
StepHypRef Expression
1 axrep2 1474 . . 3 |- E.x(E.zA.y(ph -> y = z) -> A.y(y e. x <-> E.x(x e. w /\ A.zph)))
2119.35i 755 . 2 |- (A.xE.zA.y(ph -> y = z) -> E.xA.y(y e. x <-> E.x(x e. w /\ A.zph)))
3 ax-17 925 . . . . 5 |- (y e. x -> A.z y e. x)
4 ax-17 925 . . . . . . 7 |- (x e. w -> A.z x e. w)
5 hba1 698 . . . . . . 7 |- (A.zph -> A.zA.zph)
64, 5hban 704 . . . . . 6 |- ((x e. w /\ A.zph) -> A.z(x e. w /\ A.zph))
76hbex 701 . . . . 5 |- (E.x(x e. w /\ A.zph) -> A.zE.x(x e. w /\ A.zph))
83, 7hbbi 705 . . . 4 |- ((y e. x <-> E.x(x e. w /\ A.zph)) -> A.z(y e. x <-> E.x(x e. w /\ A.zph)))
98hbal 700 . . 3 |- (A.y(y e. x <-> E.x(x e. w /\ A.zph)) -> A.zA.y(y e. x <-> E.x(x e. w /\ A.zph)))
10 ax-17 925 . . . . 5 |- (y e. z -> A.x y e. z)
11 hbe1 709 . . . . 5 |- (E.x(x e. w /\ ph) -> A.xE.x(x e. w /\ ph))
1210, 11hbbi 705 . . . 4 |- ((y e. z <-> E.x(x e. w /\ ph)) -> A.x(y e. z <-> E.x(x e. w /\ ph)))
1312hbal 700 . . 3 |- (A.y(y e. z <-> E.x(x e. w /\ ph)) -> A.xA.y(y e. z <-> E.x(x e. w /\ ph)))
14 ax-17 925 . . . 4 |- (x = z -> A.y x = z)
15 a14b 820 . . . . 5 |- (x = z -> (y e. x <-> y e. z))
16 ax-4 673 . . . . . . . . 9 |- (A.zph -> ph)
17 zfrep2.1 . . . . . . . . 9 |- (ph -> A.zph)
1816, 17impbi 139 . . . . . . . 8 |- (A.zph <-> ph)
1918anbi2i 367 . . . . . . 7 |- ((x e. w /\ A.zph) <-> (x e. w /\ ph))
2019biex 733 . . . . . 6 |- (E.x(x e. w /\ A.zph) <-> E.x(x e. w /\ ph))
2120a1i 7 . . . . 5 |- (x = z -> (E.x(x e. w /\ A.zph) <-> E.x(x e. w /\ ph)))
2215, 21bibi12d 477 . . . 4 |- (x = z -> ((y e. x <-> E.x(x e. w /\ A.zph)) <-> (y e. z <-> E.x(x e. w /\ ph))))
2314, 22biald 782 . . 3 |- (x = z -> (A.y(y e. x <-> E.x(x e. w /\ A.zph)) <-> A.y(y e. z <-> E.x(x e. w /\ ph))))
249, 13, 23cbvex 849 . 2 |- (E.xA.y(y e. x <-> E.x(x e. w /\ A.zph)) <-> E.zA.y(y e. z <-> E.x(x e. w /\ ph)))
252, 24sylib 173 1 |- (A.xE.zA.y(ph -> y = z) -> E.zA.y(y e. z <-> E.x(x e. w /\ ph)))
Colors of variables: wff set class
Syntax hints:   -> wi 2   <-> wb 127   /\ wa 196  A.wal 672  E.wex 678   = weq 797   e. wel 803
This theorem is referenced by:  zfrep3 1476  funimaexg 2715
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-8 798  ax-9 799  ax-12 802  ax-14 805  ax-17 925  ax-ext 1074  ax-rep 1075
This theorem depends on definitions:  df-bi 128  df-an 198  df-ex 679  df-sb 853  df-clab 1093  df-cleq 1097  df-clel 1099  df-v 1349
metamath.org