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

Theorem tfrlem5 6282
Description: Lemma for transfinite recursion. The values of two acceptable functions are the same within their domains. (Contributed by NM, 9-Apr-1995.) (Revised by Mario Carneiro, 24-May-2019.)
Hypothesis
Ref Expression
tfrlem.1  |-  A  =  { f  |  E. x  e.  On  (
f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y
) ) ) }
Assertion
Ref Expression
tfrlem5  |-  ( ( g  e.  A  /\  h  e.  A )  ->  ( ( x g u  /\  x h v )  ->  u  =  v ) )
Distinct variable groups:    f, g, x, y, h, u, v, F    A, g, h
Allowed substitution hints:    A( x, y, v, u, f)

Proof of Theorem tfrlem5
Dummy variables  z  a  w are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 tfrlem.1 . . 3  |-  A  =  { f  |  E. x  e.  On  (
f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y
) ) ) }
2 vex 2729 . . 3  |-  g  e. 
_V
31, 2tfrlem3a 6278 . 2  |-  ( g  e.  A  <->  E. z  e.  On  ( g  Fn  z  /\  A. a  e.  z  ( g `  a )  =  ( F `  ( g  |`  a ) ) ) )
4 vex 2729 . . 3  |-  h  e. 
_V
51, 4tfrlem3a 6278 . 2  |-  ( h  e.  A  <->  E. w  e.  On  ( h  Fn  w  /\  A. a  e.  w  ( h `  a )  =  ( F `  ( h  |`  a ) ) ) )
6 reeanv 2635 . . 3  |-  ( E. z  e.  On  E. w  e.  On  (
( g  Fn  z  /\  A. a  e.  z  ( g `  a
)  =  ( F `
 ( g  |`  a ) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a )  =  ( F `  ( h  |`  a ) ) ) )  <->  ( E. z  e.  On  ( g  Fn  z  /\  A. a  e.  z  ( g `  a )  =  ( F `  ( g  |`  a ) ) )  /\  E. w  e.  On  ( h  Fn  w  /\  A. a  e.  w  ( h `  a )  =  ( F `  ( h  |`  a ) ) ) ) )
7 fveq2 5486 . . . . . . . . 9  |-  ( a  =  x  ->  (
g `  a )  =  ( g `  x ) )
8 fveq2 5486 . . . . . . . . 9  |-  ( a  =  x  ->  (
h `  a )  =  ( h `  x ) )
97, 8eqeq12d 2180 . . . . . . . 8  |-  ( a  =  x  ->  (
( g `  a
)  =  ( h `
 a )  <->  ( g `  x )  =  ( h `  x ) ) )
10 onin 4364 . . . . . . . . . 10  |-  ( ( z  e.  On  /\  w  e.  On )  ->  ( z  i^i  w
)  e.  On )
11103ad2ant1 1008 . . . . . . . . 9  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  ( z  i^i  w )  e.  On )
12 simp2ll 1054 . . . . . . . . . . 11  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  g  Fn  z
)
13 fnfun 5285 . . . . . . . . . . 11  |-  ( g  Fn  z  ->  Fun  g )
1412, 13syl 14 . . . . . . . . . 10  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  Fun  g )
15 inss1 3342 . . . . . . . . . . 11  |-  ( z  i^i  w )  C_  z
16 fndm 5287 . . . . . . . . . . . 12  |-  ( g  Fn  z  ->  dom  g  =  z )
1712, 16syl 14 . . . . . . . . . . 11  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  dom  g  =  z )
1815, 17sseqtrrid 3193 . . . . . . . . . 10  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  ( z  i^i  w )  C_  dom  g )
1914, 18jca 304 . . . . . . . . 9  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  ( Fun  g  /\  ( z  i^i  w
)  C_  dom  g ) )
20 simp2rl 1056 . . . . . . . . . . 11  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  h  Fn  w
)
21 fnfun 5285 . . . . . . . . . . 11  |-  ( h  Fn  w  ->  Fun  h )
2220, 21syl 14 . . . . . . . . . 10  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  Fun  h )
23 inss2 3343 . . . . . . . . . . 11  |-  ( z  i^i  w )  C_  w
24 fndm 5287 . . . . . . . . . . . 12  |-  ( h  Fn  w  ->  dom  h  =  w )
2520, 24syl 14 . . . . . . . . . . 11  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  dom  h  =  w )
2623, 25sseqtrrid 3193 . . . . . . . . . 10  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  ( z  i^i  w )  C_  dom  h )
2722, 26jca 304 . . . . . . . . 9  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  ( Fun  h  /\  ( z  i^i  w
)  C_  dom  h ) )
28 simp2lr 1055 . . . . . . . . . 10  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  A. a  e.  z  ( g `  a
)  =  ( F `
 ( g  |`  a ) ) )
29 ssralv 3206 . . . . . . . . . 10  |-  ( ( z  i^i  w ) 
C_  z  ->  ( A. a  e.  z 
( g `  a
)  =  ( F `
 ( g  |`  a ) )  ->  A. a  e.  (
z  i^i  w )
( g `  a
)  =  ( F `
 ( g  |`  a ) ) ) )
3015, 28, 29mpsyl 65 . . . . . . . . 9  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  A. a  e.  ( z  i^i  w ) ( g `  a
)  =  ( F `
 ( g  |`  a ) ) )
31 simp2rr 1057 . . . . . . . . . 10  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) )
32 ssralv 3206 . . . . . . . . . 10  |-  ( ( z  i^i  w ) 
C_  w  ->  ( A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) )  ->  A. a  e.  (
z  i^i  w )
( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )
3323, 31, 32mpsyl 65 . . . . . . . . 9  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  A. a  e.  ( z  i^i  w ) ( h `  a
)  =  ( F `
 ( h  |`  a ) ) )
3411, 19, 27, 30, 33tfrlem1 6276 . . . . . . . 8  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  A. a  e.  ( z  i^i  w ) ( g `  a
)  =  ( h `
 a ) )
35 simp3l 1015 . . . . . . . . . 10  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  x g u )
36 fnbr 5290 . . . . . . . . . 10  |-  ( ( g  Fn  z  /\  x g u )  ->  x  e.  z )
3712, 35, 36syl2anc 409 . . . . . . . . 9  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  x  e.  z )
38 simp3r 1016 . . . . . . . . . 10  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  x h v )
39 fnbr 5290 . . . . . . . . . 10  |-  ( ( h  Fn  w  /\  x h v )  ->  x  e.  w
)
4020, 38, 39syl2anc 409 . . . . . . . . 9  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  x  e.  w
)
41 elin 3305 . . . . . . . . 9  |-  ( x  e.  ( z  i^i  w )  <->  ( x  e.  z  /\  x  e.  w ) )
4237, 40, 41sylanbrc 414 . . . . . . . 8  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  x  e.  ( z  i^i  w ) )
439, 34, 42rspcdva 2835 . . . . . . 7  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  ( g `  x )  =  ( h `  x ) )
44 funbrfv 5525 . . . . . . . 8  |-  ( Fun  g  ->  ( x
g u  ->  (
g `  x )  =  u ) )
4514, 35, 44sylc 62 . . . . . . 7  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  ( g `  x )  =  u )
46 funbrfv 5525 . . . . . . . 8  |-  ( Fun  h  ->  ( x h v  ->  (
h `  x )  =  v ) )
4722, 38, 46sylc 62 . . . . . . 7  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  ( h `  x )  =  v )
4843, 45, 473eqtr3d 2206 . . . . . 6  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  u  =  v )
49483exp 1192 . . . . 5  |-  ( ( z  e.  On  /\  w  e.  On )  ->  ( ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  ->  ( (
x g u  /\  x h v )  ->  u  =  v ) ) )
5049rexlimdva 2583 . . . 4  |-  ( z  e.  On  ->  ( E. w  e.  On  ( ( g  Fn  z  /\  A. a  e.  z  ( g `  a )  =  ( F `  ( g  |`  a ) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a )  =  ( F `  ( h  |`  a ) ) ) )  ->  ( (
x g u  /\  x h v )  ->  u  =  v ) ) )
5150rexlimiv 2577 . . 3  |-  ( E. z  e.  On  E. w  e.  On  (
( g  Fn  z  /\  A. a  e.  z  ( g `  a
)  =  ( F `
 ( g  |`  a ) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a )  =  ( F `  ( h  |`  a ) ) ) )  ->  ( (
x g u  /\  x h v )  ->  u  =  v ) )
526, 51sylbir 134 . 2  |-  ( ( E. z  e.  On  ( g  Fn  z  /\  A. a  e.  z  ( g `  a
)  =  ( F `
 ( g  |`  a ) ) )  /\  E. w  e.  On  ( h  Fn  w  /\  A. a  e.  w  ( h `  a )  =  ( F `  ( h  |`  a ) ) ) )  ->  ( (
x g u  /\  x h v )  ->  u  =  v ) )
533, 5, 52syl2anb 289 1  |-  ( ( g  e.  A  /\  h  e.  A )  ->  ( ( x g u  /\  x h v )  ->  u  =  v ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    /\ w3a 968    = wceq 1343    e. wcel 2136   {cab 2151   A.wral 2444   E.wrex 2445    i^i cin 3115    C_ wss 3116   class class class wbr 3982   Oncon0 4341   dom cdm 4604    |` cres 4606   Fun wfun 5182    Fn wfn 5183   ` cfv 5188
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-sep 4100  ax-pow 4153  ax-pr 4187  ax-setind 4514
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-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-id 4271  df-iord 4344  df-on 4346  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-res 4616  df-iota 5153  df-fun 5190  df-fn 5191  df-fv 5196
This theorem is referenced by:  tfrlem7  6285  tfrexlem  6302
  Copyright terms: Public domain W3C validator