MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  isarep1 Structured version   Unicode version

Theorem isarep1 5680
Description: Part of a study of the Axiom of Replacement used by the Isabelle prover. The object PrimReplace is apparently the image of the function encoded by  ph ( x ,  y ) i.e. the class  ( { <. x ,  y >.  |  ph } " A ). If so, we can prove Isabelle's "Axiom of Replacement" conclusion without using the Axiom of Replacement, for which I (N. Megill) currently have no explanation. (Contributed by NM, 26-Oct-2006.) (Proof shortened by Mario Carneiro, 4-Dec-2016.)
Assertion
Ref Expression
isarep1  |-  ( b  e.  ( { <. x ,  y >.  |  ph } " A )  <->  E. x  e.  A  [ b  /  y ] ph )
Distinct variable groups:    x, A    x, b, y
Allowed substitution hints:    ph( x, y, b)    A( y, b)

Proof of Theorem isarep1
Dummy variable  z is distinct from all other variables.
StepHypRef Expression
1 vex 3090 . . 3  |-  b  e. 
_V
21elima 5193 . 2  |-  ( b  e.  ( { <. x ,  y >.  |  ph } " A )  <->  E. z  e.  A  z { <. x ,  y >.  |  ph } b )
3 df-br 4427 . . . 4  |-  ( z { <. x ,  y
>.  |  ph } b  <->  <. z ,  b >.  e.  { <. x ,  y
>.  |  ph } )
4 opelopabsb 4731 . . . 4  |-  ( <.
z ,  b >.  e.  { <. x ,  y
>.  |  ph }  <->  [. z  /  x ]. [. b  / 
y ]. ph )
5 sbsbc 3309 . . . . . 6  |-  ( [ b  /  y ]
ph 
<-> 
[. b  /  y ]. ph )
65sbbii 1796 . . . . 5  |-  ( [ z  /  x ] [ b  /  y ] ph  <->  [ z  /  x ] [. b  /  y ]. ph )
7 sbsbc 3309 . . . . 5  |-  ( [ z  /  x ] [. b  /  y ]. ph  <->  [. z  /  x ]. [. b  /  y ]. ph )
86, 7bitr2i 253 . . . 4  |-  ( [. z  /  x ]. [. b  /  y ]. ph  <->  [ z  /  x ] [ b  /  y ] ph )
93, 4, 83bitri 274 . . 3  |-  ( z { <. x ,  y
>.  |  ph } b  <->  [ z  /  x ] [ b  /  y ] ph )
109rexbii 2934 . 2  |-  ( E. z  e.  A  z { <. x ,  y
>.  |  ph } b  <->  E. z  e.  A  [ z  /  x ] [ b  /  y ] ph )
11 nfs1v 2233 . . 3  |-  F/ x [ z  /  x ] [ b  /  y ] ph
12 nfv 1754 . . 3  |-  F/ z [ b  /  y ] ph
13 sbequ12r 2050 . . 3  |-  ( z  =  x  ->  ( [ z  /  x ] [ b  /  y ] ph  <->  [ b  /  y ] ph ) )
1411, 12, 13cbvrex 3059 . 2  |-  ( E. z  e.  A  [
z  /  x ] [ b  /  y ] ph  <->  E. x  e.  A  [ b  /  y ] ph )
152, 10, 143bitri 274 1  |-  ( b  e.  ( { <. x ,  y >.  |  ph } " A )  <->  E. x  e.  A  [ b  /  y ] ph )
Colors of variables: wff setvar class
Syntax hints:    <-> wb 187   [wsb 1789    e. wcel 1870   E.wrex 2783   [.wsbc 3305   <.cop 4008   class class class wbr 4426   {copab 4483   "cima 4857
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1665  ax-4 1678  ax-5 1751  ax-6 1797  ax-7 1841  ax-9 1874  ax-10 1889  ax-11 1894  ax-12 1907  ax-13 2055  ax-ext 2407  ax-sep 4548  ax-nul 4556  ax-pr 4661
This theorem depends on definitions:  df-bi 188  df-or 371  df-an 372  df-3an 984  df-tru 1440  df-ex 1660  df-nf 1664  df-sb 1790  df-eu 2270  df-mo 2271  df-clab 2415  df-cleq 2421  df-clel 2424  df-nfc 2579  df-ne 2627  df-ral 2787  df-rex 2788  df-rab 2791  df-v 3089  df-sbc 3306  df-dif 3445  df-un 3447  df-in 3449  df-ss 3456  df-nul 3768  df-if 3916  df-sn 4003  df-pr 4005  df-op 4009  df-br 4427  df-opab 4485  df-xp 4860  df-cnv 4862  df-dm 4864  df-rn 4865  df-res 4866  df-ima 4867
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator