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

Theorem frecsuc 6383
Description: The successor value resulting from finite recursive definition generation. (Contributed by Jim Kingdon, 31-Mar-2022.)
Assertion
Ref Expression
frecsuc  |-  ( ( A. z  e.  S  ( F `  z )  e.  S  /\  A  e.  S  /\  B  e. 
om )  ->  (frec ( F ,  A ) `
 suc  B )  =  ( F `  (frec ( F ,  A
) `  B )
) )
Distinct variable groups:    z, F    z, S
Allowed substitution hints:    A( z)    B( z)

Proof of Theorem frecsuc
Dummy variables  f  g  m  x  y  n are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dmeq 4809 . . . . . . . . 9  |-  ( f  =  g  ->  dom  f  =  dom  g )
21eqeq1d 2179 . . . . . . . 8  |-  ( f  =  g  ->  ( dom  f  =  suc  n 
<->  dom  g  =  suc  n ) )
3 fveq1 5493 . . . . . . . . . 10  |-  ( f  =  g  ->  (
f `  n )  =  ( g `  n ) )
43fveq2d 5498 . . . . . . . . 9  |-  ( f  =  g  ->  ( F `  ( f `  n ) )  =  ( F `  (
g `  n )
) )
54eleq2d 2240 . . . . . . . 8  |-  ( f  =  g  ->  (
y  e.  ( F `
 ( f `  n ) )  <->  y  e.  ( F `  ( g `
 n ) ) ) )
62, 5anbi12d 470 . . . . . . 7  |-  ( f  =  g  ->  (
( dom  f  =  suc  n  /\  y  e.  ( F `  (
f `  n )
) )  <->  ( dom  g  =  suc  n  /\  y  e.  ( F `  ( g `  n
) ) ) ) )
76rexbidv 2471 . . . . . 6  |-  ( f  =  g  ->  ( E. n  e.  om  ( dom  f  =  suc  n  /\  y  e.  ( F `  ( f `
 n ) ) )  <->  E. n  e.  om  ( dom  g  =  suc  n  /\  y  e.  ( F `  ( g `
 n ) ) ) ) )
81eqeq1d 2179 . . . . . . 7  |-  ( f  =  g  ->  ( dom  f  =  (/)  <->  dom  g  =  (/) ) )
98anbi1d 462 . . . . . 6  |-  ( f  =  g  ->  (
( dom  f  =  (/) 
/\  y  e.  A
)  <->  ( dom  g  =  (/)  /\  y  e.  A ) ) )
107, 9orbi12d 788 . . . . 5  |-  ( f  =  g  ->  (
( E. n  e. 
om  ( dom  f  =  suc  n  /\  y  e.  ( F `  (
f `  n )
) )  \/  ( dom  f  =  (/)  /\  y  e.  A ) )  <->  ( E. n  e.  om  ( dom  g  =  suc  n  /\  y  e.  ( F `  ( g `
 n ) ) )  \/  ( dom  g  =  (/)  /\  y  e.  A ) ) ) )
1110abbidv 2288 . . . 4  |-  ( f  =  g  ->  { y  |  ( E. n  e.  om  ( dom  f  =  suc  n  /\  y  e.  ( F `  (
f `  n )
) )  \/  ( dom  f  =  (/)  /\  y  e.  A ) ) }  =  { y  |  ( E. n  e. 
om  ( dom  g  =  suc  n  /\  y  e.  ( F `  (
g `  n )
) )  \/  ( dom  g  =  (/)  /\  y  e.  A ) ) } )
1211cbvmptv 4083 . . 3  |-  ( f  e.  _V  |->  { y  |  ( E. n  e.  om  ( dom  f  =  suc  n  /\  y  e.  ( F `  (
f `  n )
) )  \/  ( dom  f  =  (/)  /\  y  e.  A ) ) } )  =  ( g  e.  _V  |->  { y  |  ( E. n  e.  om  ( dom  g  =  suc  n  /\  y  e.  ( F `  (
g `  n )
) )  \/  ( dom  g  =  (/)  /\  y  e.  A ) ) } )
13 eleq1 2233 . . . . . . . 8  |-  ( y  =  x  ->  (
y  e.  ( F `
 ( g `  n ) )  <->  x  e.  ( F `  ( g `
 n ) ) ) )
1413anbi2d 461 . . . . . . 7  |-  ( y  =  x  ->  (
( dom  g  =  suc  n  /\  y  e.  ( F `  (
g `  n )
) )  <->  ( dom  g  =  suc  n  /\  x  e.  ( F `  ( g `  n
) ) ) ) )
1514rexbidv 2471 . . . . . 6  |-  ( y  =  x  ->  ( E. n  e.  om  ( dom  g  =  suc  n  /\  y  e.  ( F `  ( g `
 n ) ) )  <->  E. n  e.  om  ( dom  g  =  suc  n  /\  x  e.  ( F `  ( g `
 n ) ) ) ) )
16 eleq1 2233 . . . . . . 7  |-  ( y  =  x  ->  (
y  e.  A  <->  x  e.  A ) )
1716anbi2d 461 . . . . . 6  |-  ( y  =  x  ->  (
( dom  g  =  (/) 
/\  y  e.  A
)  <->  ( dom  g  =  (/)  /\  x  e.  A ) ) )
1815, 17orbi12d 788 . . . . 5  |-  ( y  =  x  ->  (
( E. n  e. 
om  ( dom  g  =  suc  n  /\  y  e.  ( F `  (
g `  n )
) )  \/  ( dom  g  =  (/)  /\  y  e.  A ) )  <->  ( E. n  e.  om  ( dom  g  =  suc  n  /\  x  e.  ( F `  ( g `
 n ) ) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) ) )
1918cbvabv 2295 . . . 4  |-  { y  |  ( E. n  e.  om  ( dom  g  =  suc  n  /\  y  e.  ( F `  (
g `  n )
) )  \/  ( dom  g  =  (/)  /\  y  e.  A ) ) }  =  { x  |  ( E. n  e. 
om  ( dom  g  =  suc  n  /\  x  e.  ( F `  (
g `  n )
) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) }
2019mpteq2i 4074 . . 3  |-  ( g  e.  _V  |->  { y  |  ( E. n  e.  om  ( dom  g  =  suc  n  /\  y  e.  ( F `  (
g `  n )
) )  \/  ( dom  g  =  (/)  /\  y  e.  A ) ) } )  =  ( g  e.  _V  |->  { x  |  ( E. n  e.  om  ( dom  g  =  suc  n  /\  x  e.  ( F `  (
g `  n )
) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) } )
21 suceq 4385 . . . . . . . . 9  |-  ( n  =  m  ->  suc  n  =  suc  m )
2221eqeq2d 2182 . . . . . . . 8  |-  ( n  =  m  ->  ( dom  g  =  suc  n 
<->  dom  g  =  suc  m ) )
23 fveq2 5494 . . . . . . . . . 10  |-  ( n  =  m  ->  (
g `  n )  =  ( g `  m ) )
2423fveq2d 5498 . . . . . . . . 9  |-  ( n  =  m  ->  ( F `  ( g `  n ) )  =  ( F `  (
g `  m )
) )
2524eleq2d 2240 . . . . . . . 8  |-  ( n  =  m  ->  (
x  e.  ( F `
 ( g `  n ) )  <->  x  e.  ( F `  ( g `
 m ) ) ) )
2622, 25anbi12d 470 . . . . . . 7  |-  ( n  =  m  ->  (
( dom  g  =  suc  n  /\  x  e.  ( F `  (
g `  n )
) )  <->  ( dom  g  =  suc  m  /\  x  e.  ( F `  ( g `  m
) ) ) ) )
2726cbvrexv 2697 . . . . . 6  |-  ( E. n  e.  om  ( dom  g  =  suc  n  /\  x  e.  ( F `  ( g `
 n ) ) )  <->  E. m  e.  om  ( dom  g  =  suc  m  /\  x  e.  ( F `  ( g `
 m ) ) ) )
2827orbi1i 758 . . . . 5  |-  ( ( E. n  e.  om  ( dom  g  =  suc  n  /\  x  e.  ( F `  ( g `
 n ) ) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) )  <->  ( E. m  e.  om  ( dom  g  =  suc  m  /\  x  e.  ( F `  ( g `
 m ) ) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) )
2928abbii 2286 . . . 4  |-  { x  |  ( E. n  e.  om  ( dom  g  =  suc  n  /\  x  e.  ( F `  (
g `  n )
) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) }  =  { x  |  ( E. m  e. 
om  ( dom  g  =  suc  m  /\  x  e.  ( F `  (
g `  m )
) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) }
3029mpteq2i 4074 . . 3  |-  ( g  e.  _V  |->  { x  |  ( E. n  e.  om  ( dom  g  =  suc  n  /\  x  e.  ( F `  (
g `  n )
) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) } )  =  ( g  e.  _V  |->  { x  |  ( E. m  e.  om  ( dom  g  =  suc  m  /\  x  e.  ( F `  (
g `  m )
) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) } )
3112, 20, 303eqtri 2195 . 2  |-  ( f  e.  _V  |->  { y  |  ( E. n  e.  om  ( dom  f  =  suc  n  /\  y  e.  ( F `  (
f `  n )
) )  \/  ( dom  f  =  (/)  /\  y  e.  A ) ) } )  =  ( g  e.  _V  |->  { x  |  ( E. m  e.  om  ( dom  g  =  suc  m  /\  x  e.  ( F `  (
g `  m )
) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) } )
3231frecsuclem 6382 1  |-  ( ( A. z  e.  S  ( F `  z )  e.  S  /\  A  e.  S  /\  B  e. 
om )  ->  (frec ( F ,  A ) `
 suc  B )  =  ( F `  (frec ( F ,  A
) `  B )
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    \/ wo 703    /\ w3a 973    = wceq 1348    e. wcel 2141   {cab 2156   A.wral 2448   E.wrex 2449   _Vcvv 2730   (/)c0 3414    |-> cmpt 4048   suc csuc 4348   omcom 4572   dom cdm 4609   ` cfv 5196  freccfrec 6366
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-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4102  ax-sep 4105  ax-nul 4113  ax-pow 4158  ax-pr 4192  ax-un 4416  ax-setind 4519  ax-iinf 4570
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-pw 3566  df-sn 3587  df-pr 3588  df-op 3590  df-uni 3795  df-int 3830  df-iun 3873  df-br 3988  df-opab 4049  df-mpt 4050  df-tr 4086  df-id 4276  df-iord 4349  df-on 4351  df-ilim 4352  df-suc 4354  df-iom 4573  df-xp 4615  df-rel 4616  df-cnv 4617  df-co 4618  df-dm 4619  df-rn 4620  df-res 4621  df-ima 4622  df-iota 5158  df-fun 5198  df-fn 5199  df-f 5200  df-f1 5201  df-fo 5202  df-f1o 5203  df-fv 5204  df-recs 6281  df-frec 6367
This theorem is referenced by:  frecrdg  6384  frec2uzsucd  10344  frec2uzrdg  10352  frecuzrdgsuc  10357  frecuzrdgg  10359  frecuzrdgsuctlem  10366  seq3val  10401  seqvalcd  10402
  Copyright terms: Public domain W3C validator