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

Theorem isarep1 5977
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 3203 . . 3  |-  b  e. 
_V
21elima 5471 . 2  |-  ( b  e.  ( { <. x ,  y >.  |  ph } " A )  <->  E. z  e.  A  z { <. x ,  y >.  |  ph } b )
3 df-br 4654 . . . 4  |-  ( z { <. x ,  y
>.  |  ph } b  <->  <. z ,  b >.  e.  { <. x ,  y
>.  |  ph } )
4 opelopabsb 4985 . . . 4  |-  ( <.
z ,  b >.  e.  { <. x ,  y
>.  |  ph }  <->  [. z  /  x ]. [. b  / 
y ]. ph )
5 sbsbc 3439 . . . . . 6  |-  ( [ b  /  y ]
ph 
<-> 
[. b  /  y ]. ph )
65sbbii 1887 . . . . 5  |-  ( [ z  /  x ] [ b  /  y ] ph  <->  [ z  /  x ] [. b  /  y ]. ph )
7 sbsbc 3439 . . . . 5  |-  ( [ z  /  x ] [. b  /  y ]. ph  <->  [. z  /  x ]. [. b  /  y ]. ph )
86, 7bitr2i 265 . . . 4  |-  ( [. z  /  x ]. [. b  /  y ]. ph  <->  [ z  /  x ] [ b  /  y ] ph )
93, 4, 83bitri 286 . . 3  |-  ( z { <. x ,  y
>.  |  ph } b  <->  [ z  /  x ] [ b  /  y ] ph )
109rexbii 3041 . 2  |-  ( E. z  e.  A  z { <. x ,  y
>.  |  ph } b  <->  E. z  e.  A  [ z  /  x ] [ b  /  y ] ph )
11 nfs1v 2437 . . 3  |-  F/ x [ z  /  x ] [ b  /  y ] ph
12 nfv 1843 . . 3  |-  F/ z [ b  /  y ] ph
13 sbequ12r 2112 . . 3  |-  ( z  =  x  ->  ( [ z  /  x ] [ b  /  y ] ph  <->  [ b  /  y ] ph ) )
1411, 12, 13cbvrex 3168 . 2  |-  ( E. z  e.  A  [
z  /  x ] [ b  /  y ] ph  <->  E. x  e.  A  [ b  /  y ] ph )
152, 10, 143bitri 286 1  |-  ( b  e.  ( { <. x ,  y >.  |  ph } " A )  <->  E. x  e.  A  [ b  /  y ] ph )
Colors of variables: wff setvar class
Syntax hints:    <-> wb 196   [wsb 1880    e. wcel 1990   E.wrex 2913   [.wsbc 3435   <.cop 4183   class class class wbr 4653   {copab 4712   "cima 5117
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-br 4654  df-opab 4713  df-xp 5120  df-cnv 5122  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator