ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  isarep2 Unicode version

Theorem isarep2 5275
Description: Part of a study of the Axiom of Replacement used by the Isabelle prover. In Isabelle, the sethood of PrimReplace is apparently postulated implicitly by its type signature " [ i, 
[ i, i  ] => o  ] => i", which automatically asserts that it is a set without using any axioms. To prove that it is a set in Metamath, we need the hypotheses of Isabelle's "Axiom of Replacement" as well as the Axiom of Replacement in the form funimaex 5273. (Contributed by NM, 26-Oct-2006.)
Hypotheses
Ref Expression
isarep2.1  |-  A  e. 
_V
isarep2.2  |-  A. x  e.  A  A. y A. z ( ( ph  /\ 
[ z  /  y ] ph )  ->  y  =  z )
Assertion
Ref Expression
isarep2  |-  E. w  w  =  ( { <. x ,  y >.  |  ph } " A
)
Distinct variable groups:    x, w, y, A    y, z    ph, w    ph, z
Allowed substitution hints:    ph( x, y)    A( z)

Proof of Theorem isarep2
StepHypRef Expression
1 resima 4917 . . . 4  |-  ( ( { <. x ,  y
>.  |  ph }  |`  A )
" A )  =  ( { <. x ,  y >.  |  ph } " A )
2 resopab 4928 . . . . 5  |-  ( {
<. x ,  y >.  |  ph }  |`  A )  =  { <. x ,  y >.  |  ( x  e.  A  /\  ph ) }
32imaeq1i 4943 . . . 4  |-  ( ( { <. x ,  y
>.  |  ph }  |`  A )
" A )  =  ( { <. x ,  y >.  |  ( x  e.  A  /\  ph ) } " A
)
41, 3eqtr3i 2188 . . 3  |-  ( {
<. x ,  y >.  |  ph } " A
)  =  ( {
<. x ,  y >.  |  ( x  e.  A  /\  ph ) } " A )
5 funopab 5223 . . . . 5  |-  ( Fun 
{ <. x ,  y
>.  |  ( x  e.  A  /\  ph ) } 
<-> 
A. x E* y
( x  e.  A  /\  ph ) )
6 isarep2.2 . . . . . . . 8  |-  A. x  e.  A  A. y A. z ( ( ph  /\ 
[ z  /  y ] ph )  ->  y  =  z )
76rspec 2518 . . . . . . 7  |-  ( x  e.  A  ->  A. y A. z ( ( ph  /\ 
[ z  /  y ] ph )  ->  y  =  z ) )
8 nfv 1516 . . . . . . . 8  |-  F/ z
ph
98mo3 2068 . . . . . . 7  |-  ( E* y ph  <->  A. y A. z ( ( ph  /\ 
[ z  /  y ] ph )  ->  y  =  z ) )
107, 9sylibr 133 . . . . . 6  |-  ( x  e.  A  ->  E* y ph )
11 moanimv 2089 . . . . . 6  |-  ( E* y ( x  e.  A  /\  ph )  <->  ( x  e.  A  ->  E* y ph ) )
1210, 11mpbir 145 . . . . 5  |-  E* y
( x  e.  A  /\  ph )
135, 12mpgbir 1441 . . . 4  |-  Fun  { <. x ,  y >.  |  ( x  e.  A  /\  ph ) }
14 isarep2.1 . . . . 5  |-  A  e. 
_V
1514funimaex 5273 . . . 4  |-  ( Fun 
{ <. x ,  y
>.  |  ( x  e.  A  /\  ph ) }  ->  ( { <. x ,  y >.  |  ( x  e.  A  /\  ph ) } " A
)  e.  _V )
1613, 15ax-mp 5 . . 3  |-  ( {
<. x ,  y >.  |  ( x  e.  A  /\  ph ) } " A )  e. 
_V
174, 16eqeltri 2239 . 2  |-  ( {
<. x ,  y >.  |  ph } " A
)  e.  _V
1817isseti 2734 1  |-  E. w  w  =  ( { <. x ,  y >.  |  ph } " A
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103   A.wal 1341    = wceq 1343   E.wex 1480   [wsb 1750   E*wmo 2015    e. wcel 2136   A.wral 2444   _Vcvv 2726   {copab 4042    |` cres 4606   "cima 4607   Fun wfun 5182
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-14 2139  ax-ext 2147  ax-coll 4097  ax-sep 4100  ax-pow 4153  ax-pr 4187
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-v 2728  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-br 3983  df-opab 4044  df-id 4271  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-fun 5190
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator