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

Theorem axrep1 2694
Description: The version of the Axiom of Replacement used in the Metamath Solitaire applet http://us.metamath.org/mmsolitaire/mms.html. Equivalence is shown via the path ax-rep 2693 -> axrep1 2694 -> axrep2 2695 -> axrepnd 4946 -> zfcndrep 4966 = ax-rep 2693.
Assertion
Ref Expression
axrep1 |- E.x(E.yA.z(ph -> z = y) -> A.z(z e. x <-> E.x(x e. y /\ ph)))
Distinct variable groups:   ph,y   x,y,z

Proof of Theorem axrep1
StepHypRef Expression
1 elequ2 1137 . . . . . . . . . 10 |- (w = y -> (x e. w <-> x e. y))
21anbi1d 617 . . . . . . . . 9 |- (w = y -> ((x e. w /\ A.yph) <-> (x e. y /\ A.yph)))
32exbidv 1279 . . . . . . . 8 |- (w = y -> (E.x(x e. w /\ A.yph) <-> E.x(x e. y /\ A.yph)))
43bibi2d 618 . . . . . . 7 |- (w = y -> ((z e. x <-> E.x(x e. w /\ A.yph)) <-> (z e. x <-> E.x(x e. y /\ A.yph))))
54albidv 1278 . . . . . 6 |- (w = y -> (A.z(z e. x <-> E.x(x e. w /\ A.yph)) <-> A.z(z e. x <-> E.x(x e. y /\ A.yph))))
65exbidv 1279 . . . . 5 |- (w = y -> (E.xA.z(z e. x <-> E.x(x e. w /\ A.yph)) <-> E.xA.z(z e. x <-> E.x(x e. y /\ A.yph))))
76imbi2d 612 . . . 4 |- (w = y -> ((A.xE.yA.z(ph -> z = y) -> E.xA.z(z e. x <-> E.x(x e. w /\ A.yph))) <-> (A.xE.yA.z(ph -> z = y) -> E.xA.z(z e. x <-> E.x(x e. y /\ A.yph)))))
8 ax-4 973 . . . . . . . . . 10 |- (A.yph -> ph)
98imim1i 16 . . . . . . . . 9 |- ((ph -> z = y) -> (A.yph -> z = y))
10919.20i 992 . . . . . . . 8 |- (A.z(ph -> z = y) -> A.z(A.yph -> z = y))
111019.22i 1040 . . . . . . 7 |- (E.yA.z(ph -> z = y) -> E.yA.z(A.yph -> z = y))
121119.20i 992 . . . . . 6 |- (A.xE.yA.z(ph -> z = y) -> A.xE.yA.z(A.yph -> z = y))
13 ax-rep 2693 . . . . . 6 |- (A.xE.yA.z(A.yph -> z = y) -> E.yA.z(z e. y <-> E.x(x e. w /\ A.yph)))
1412, 13syl 10 . . . . 5 |- (A.xE.yA.z(ph -> z = y) -> E.yA.z(z e. y <-> E.x(x e. w /\ A.yph)))
15 ax-17 971 . . . . . . . 8 |- (z e. y -> A.x z e. y)
16 hbe1 1016 . . . . . . . 8 |- (E.x(x e. w /\ A.yph) -> A.xE.x(x e. w /\ A.yph))
1715, 16hbbi 1010 . . . . . . 7 |- ((z e. y <-> E.x(x e. w /\ A.yph)) -> A.x(z e. y <-> E.x(x e. w /\ A.yph)))
1817hbal 1005 . . . . . 6 |- (A.z(z e. y <-> E.x(x e. w /\ A.yph)) -> A.xA.z(z e. y <-> E.x(x e. w /\ A.yph)))
19 ax-17 971 . . . . . . . 8 |- (z e. x -> A.y z e. x)
20 ax-17 971 . . . . . . . . . 10 |- (x e. w -> A.y x e. w)
21 hba1 1003 . . . . . . . . . 10 |- (A.yph -> A.yA.yph)
2220, 21hban 1009 . . . . . . . . 9 |- ((x e. w /\ A.yph) -> A.y(x e. w /\ A.yph))
2322hbex 1006 . . . . . . . 8 |- (E.x(x e. w /\ A.yph) -> A.yE.x(x e. w /\ A.yph))
2419, 23hbbi 1010 . . . . . . 7 |- ((z e. x <-> E.x(x e. w /\ A.yph)) -> A.y(z e. x <-> E.x(x e. w /\ A.yph)))
2524hbal 1005 . . . . . 6 |- (A.z(z e. x <-> E.x(x e. w /\ A.yph)) -> A.yA.z(z e. x <-> E.x(x e. w /\ A.yph)))
26 elequ2 1137 . . . . . . . 8 |- (y = x -> (z e. y <-> z e. x))
2726bibi1d 619 . . . . . . 7 |- (y = x -> ((z e. y <-> E.x(x e. w /\ A.yph)) <-> (z e. x <-> E.x(x e. w /\ A.yph))))
2827albidv 1278 . . . . . 6 |- (y = x -> (A.z(z e. y <-> E.x(x e. w /\ A.yph)) <-> A.z(z e. x <-> E.x(x e. w /\ A.yph))))
2918, 25, 28cbvex 1166 . . . . 5 |- (E.yA.z(z e. y <-> E.x(x e. w /\ A.yph)) <-> E.xA.z(z e. x <-> E.x(x e. w /\ A.yph)))
3014, 29sylib 198 . . . 4 |- (A.xE.yA.z(ph -> z = y) -> E.xA.z(z e. x <-> E.x(x e. w /\ A.yph)))
317, 30chvarv 1327 . . 3 |- (A.xE.yA.z(ph -> z = y) -> E.xA.z(z e. x <-> E.x(x e. y /\ A.yph)))
323119.35ri 1077 . 2 |- E.x(E.yA.z(ph -> z = y) -> A.z(z e. x <-> E.x(x e. y /\ A.yph)))
33 ax-17 971 . . . . . . . . 9 |- (ph -> A.yph)
343319.3 1031 . . . . . . . 8 |- (A.yph <-> ph)
3534anbi2i 480 . . . . . . 7 |- ((x e. y /\ A.yph) <-> (x e. y /\ ph))
3635exbii 1051 . . . . . 6 |- (E.x(x e. y /\ A.yph) <-> E.x(x e. y /\ ph))
3736bibi2i 608 . . . . 5 |- ((z e. x <-> E.x(x e. y /\ A.yph)) <-> (z e. x <-> E.x(x e. y /\ ph)))
3837albii 999 . . . 4 |- (A.z(z e. x <-> E.x(x e. y /\ A.yph)) <-> A.z(z e. x <-> E.x(x e. y /\ ph)))
3938imbi2i 185 . . 3 |- ((E.yA.z(ph -> z = y) -> A.z(z e. x <-> E.x(x e. y /\ A.yph))) <-> (E.yA.z(ph -> z = y) -> A.z(z e. x <-> E.x(x e. y /\ ph))))
4039exbii 1051 . 2 |- (E.x(E.yA.z(ph -> z = y) -> A.z(z e. x <-> E.x(x e. y /\ A.yph))) <-> E.x(E.yA.z(ph -> z = y) -> A.z(z e. x <-> E.x(x e. y /\ ph))))
4132, 40mpbi 189 1 |- E.x(E.yA.z(ph -> z = y) -> A.z(z e. x <-> E.x(x e. y /\ ph)))
Colors of variables: wff set class
Syntax hints:   -> wi 3   <-> wb 146   /\ wa 223  A.wal 954   = wceq 956   e. wcel 958  E.wex 980
This theorem is referenced by:  axrep2 2695
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 962  ax-gen 963  ax-8 964  ax-12 968  ax-14 970  ax-17 971  ax-4 973  ax-5o 975  ax-6o 978  ax-9o 1123  ax-rep 2693
This theorem depends on definitions:  df-bi 147  df-an 225  df-ex 981
Copyright terms: Public domain