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

Theorem axrep1 2749
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 2748 -> axrep1 2749 -> axrep2 2750 -> axrepnd 5011 -> zfcndrep 5031 = ax-rep 2748.
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 1179 . . . . . . . . . 10 |- (w = y -> (x e. w <-> x e. y))
21anbi1d 628 . . . . . . . . 9 |- (w = y -> ((x e. w /\ A.yph) <-> (x e. y /\ A.yph)))
32exbidv 1321 . . . . . . . 8 |- (w = y -> (E.x(x e. w /\ A.yph) <-> E.x(x e. y /\ A.yph)))
43bibi2d 629 . . . . . . 7 |- (w = y -> ((z e. x <-> E.x(x e. w /\ A.yph)) <-> (z e. x <-> E.x(x e. y /\ A.yph))))
54albidv 1320 . . . . . 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 1321 . . . . 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 623 . . . 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 1014 . . . . . . . . . 10 |- (A.yph -> ph)
98imim1i 16 . . . . . . . . 9 |- ((ph -> z = y) -> (A.yph -> z = y))
10919.20i 1033 . . . . . . . 8 |- (A.z(ph -> z = y) -> A.z(A.yph -> z = y))
111019.22i 1081 . . . . . . 7 |- (E.yA.z(ph -> z = y) -> E.yA.z(A.yph -> z = y))
121119.20i 1033 . . . . . 6 |- (A.xE.yA.z(ph -> z = y) -> A.xE.yA.z(A.yph -> z = y))
13 ax-rep 2748 . . . . . 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 1012 . . . . . . . 8 |- (z e. y -> A.x z e. y)
16 hbe1 1057 . . . . . . . 8 |- (E.x(x e. w /\ A.yph) -> A.xE.x(x e. w /\ A.yph))
1715, 16hbbi 1051 . . . . . . 7 |- ((z e. y <-> E.x(x e. w /\ A.yph)) -> A.x(z e. y <-> E.x(x e. w /\ A.yph)))
1817hbal 1046 . . . . . 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 1012 . . . . . . . 8 |- (z e. x -> A.y z e. x)
20 ax-17 1012 . . . . . . . . . 10 |- (x e. w -> A.y x e. w)
21 hba1 1044 . . . . . . . . . 10 |- (A.yph -> A.yA.yph)
2220, 21hban 1050 . . . . . . . . 9 |- ((x e. w /\ A.yph) -> A.y(x e. w /\ A.yph))
2322hbex 1047 . . . . . . . 8 |- (E.x(x e. w /\ A.yph) -> A.yE.x(x e. w /\ A.yph))
2419, 23hbbi 1051 . . . . . . 7 |- ((z e. x <-> E.x(x e. w /\ A.yph)) -> A.y(z e. x <-> E.x(x e. w /\ A.yph)))
2524hbal 1046 . . . . . 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 1179 . . . . . . . 8 |- (y = x -> (z e. y <-> z e. x))
2726bibi1d 630 . . . . . . 7 |- (y = x -> ((z e. y <-> E.x(x e. w /\ A.yph)) <-> (z e. x <-> E.x(x e. w /\ A.yph))))
2827albidv 1320 . . . . . 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 1208 . . . . 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 205 . . . 4 |- (A.xE.yA.z(ph -> z = y) -> E.xA.z(z e. x <-> E.x(x e. w /\ A.yph)))
317, 30chvarv 1369 . . 3 |- (A.xE.yA.z(ph -> z = y) -> E.xA.z(z e. x <-> E.x(x e. y /\ A.yph)))
323119.35ri 1118 . 2 |- E.x(E.yA.z(ph -> z = y) -> A.z(z e. x <-> E.x(x e. y /\ A.yph)))
33 ax-17 1012 . . . . . . . . 9 |- (ph -> A.yph)
343319.3 1072 . . . . . . . 8 |- (A.yph <-> ph)
3534anbi2i 491 . . . . . . 7 |- ((x e. y /\ A.yph) <-> (x e. y /\ ph))
3635exbii 1092 . . . . . 6 |- (E.x(x e. y /\ A.yph) <-> E.x(x e. y /\ ph))
3736bibi2i 619 . . . . 5 |- ((z e. x <-> E.x(x e. y /\ A.yph)) <-> (z e. x <-> E.x(x e. y /\ ph)))
3837albii 1040 . . . 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 192 . . 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 1092 . 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 196 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 153   /\ wa 230  A.wal 995   = wceq 997   e. wcel 999  E.wex 1021
This theorem is referenced by:  axrep2 2750
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 1003  ax-gen 1004  ax-8 1005  ax-12 1009  ax-14 1011  ax-17 1012  ax-4 1014  ax-5o 1016  ax-6o 1019  ax-9o 1164  ax-rep 2748
This theorem depends on definitions:  df-bi 154  df-an 232  df-ex 1022
Copyright terms: Public domain