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

Theorem rabxfr 2892
Description: Abstraction class membership after substituting an expression A (containing y) for x in the class expression ph.
Hypotheses
Ref Expression
rabxfr.1 |- (z e. B -> A.y z e. B)
rabxfr.2 |- (z e. C -> A.y z e. C)
rabxfr.3 |- (y e. D -> A e. D)
rabxfr.4 |- (x = A -> (ph <-> ps))
rabxfr.5 |- (y = B -> A = C)
Assertion
Ref Expression
rabxfr |- (B e. D -> (C e. {x e. D | ph} <-> B e. {y e. D | ps}))
Distinct variable groups:   x,A   z,B   z,C   x,y,z,D   ph,y,z   ps,x,z

Proof of Theorem rabxfr
StepHypRef Expression
1 rabxfr.3 . . . . . . . 8 |- (y e. D -> A e. D)
2 ibibr 589 . . . . . . . 8 |- ((y e. D -> A e. D) <-> (y e. D -> (A e. D <-> y e. D)))
31, 2mpbi 189 . . . . . . 7 |- (y e. D -> (A e. D <-> y e. D))
43anbi1d 615 . . . . . 6 |- (y e. D -> ((A e. D /\ ps) <-> (y e. D /\ ps)))
5 rabxfr.4 . . . . . . 7 |- (x = A -> (ph <-> ps))
65elrab 1896 . . . . . 6 |- (A e. {x e. D | ph} <-> (A e. D /\ ps))
7 rabid 1761 . . . . . 6 |- (y e. {y e. D | ps} <-> (y e. D /\ ps))
84, 6, 73bitr4g 553 . . . . 5 |- (y e. D -> (A e. {x e. D | ph} <-> y e. {y e. D | ps}))
98rabbii 1796 . . . 4 |- {y e. D | A e. {x e. D | ph}} = {y e. D | y e. {y e. D | ps}}
109eleq2i 1530 . . 3 |- (B e. {y e. D | A e. {x e. D | ph}} <-> B e. {y e. D | y e. {y e. D | ps}})
11 rabxfr.1 . . . 4 |- (z e. B -> A.y z e. B)
12 ax-17 968 . . . 4 |- (z e. D -> A.y z e. D)
13 rabxfr.2 . . . . 5 |- (z e. C -> A.y z e. C)
14 ax-17 968 . . . . 5 |- (z e. {x e. D | ph} -> A.y z e. {x e. D | ph})
1513, 14hbel 1558 . . . 4 |- (C e. {x e. D | ph} -> A.y C e. {x e. D | ph})
16 rabxfr.5 . . . . 5 |- (y = B -> A = C)
1716eleq1d 1532 . . . 4 |- (y = B -> (A e. {x e. D | ph} <-> C e. {x e. D | ph}))
1811, 12, 15, 17elrabf 1895 . . 3 |- (B e. {y e. D | A e. {x e. D | ph}} <-> (B e. D /\ C e. {x e. D | ph}))
19 hbrab1 1764 . . . . 5 |- (z e. {y e. D | ps} -> A.y z e. {y e. D | ps})
2011, 19hbel 1558 . . . 4 |- (B e. {y e. D | ps} -> A.y B e. {y e. D | ps})
21 eleq1 1526 . . . 4 |- (y = B -> (y e. {y e. D | ps} <-> B e. {y e. D | ps}))
2211, 12, 20, 21elrabf 1895 . . 3 |- (B e. {y e. D | y e. {y e. D | ps}} <-> (B e. D /\ B e. {y e. D | ps}))
2310, 18, 223bitr3 181 . 2 |- ((B e. D /\ C e. {x e. D | ph}) <-> (B e. D /\ B e. {y e. D | ps}))
24 pm5.32 642 . 2 |- ((B e. D -> (C e. {x e. D | ph} <-> B e. {y e. D | ps})) <-> ((B e. D /\ C e. {x e. D | ph}) <-> (B e. D /\ B e. {y e. D | ps})))
2523, 24mpbir 190 1 |- (B e. D -> (C e. {x e. D | ph} <-> B e. {y e. D | ps}))
Colors of variables: wff set class
Syntax hints:   -> wi 3   <-> wb 146   /\ wa 223  A.wal 951   = wceq 953   e. wcel 955  {crab 1640
This theorem is referenced by:  reuunixfr 2896  dfuz 6150
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 959  ax-gen 960  ax-8 961  ax-10 963  ax-12 965  ax-17 968  ax-4 970  ax-5o 972  ax-6o 975  ax-9o 1119  ax-10o 1136  ax-16 1206  ax-11o 1213  ax-ext 1452
This theorem depends on definitions:  df-bi 147  df-an 225  df-ex 978  df-sb 1168  df-clab 1457  df-cleq 1462  df-clel 1465  df-rab 1644  df-v 1803
Copyright terms: Public domain