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

Theorem freccllem 6370
Description: Lemma for freccl 6371. Just giving a name to a common expression to simplify the proof. (Contributed by Jim Kingdon, 27-Mar-2022.)
Hypotheses
Ref Expression
freccl.a  |-  ( ph  ->  A  e.  S )
freccl.cl  |-  ( (
ph  /\  z  e.  S )  ->  ( F `  z )  e.  S )
freccl.b  |-  ( ph  ->  B  e.  om )
freccllem.g  |-  G  = recs ( ( g  e. 
_V  |->  { x  |  ( E. m  e. 
om  ( dom  g  =  suc  m  /\  x  e.  ( F `  (
g `  m )
) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) } ) )
Assertion
Ref Expression
freccllem  |-  ( ph  ->  (frec ( F ,  A ) `  B
)  e.  S )
Distinct variable groups:    A, g, m, x    z, A, m, x    x, B    g, F, m, x    z, F    S, m, x, z    ph, m, x, z
Allowed substitution hints:    ph( g)    B( z,
g, m)    S( g)    G( x, z, g, m)

Proof of Theorem freccllem
Dummy variables  f  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-frec 6359 . . . 4  |- frec ( F ,  A )  =  (recs ( ( g  e.  _V  |->  { x  |  ( E. m  e.  om  ( dom  g  =  suc  m  /\  x  e.  ( F `  (
g `  m )
) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) } ) )  |`  om )
2 freccllem.g . . . . 5  |-  G  = recs ( ( g  e. 
_V  |->  { x  |  ( E. m  e. 
om  ( dom  g  =  suc  m  /\  x  e.  ( F `  (
g `  m )
) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) } ) )
32reseq1i 4880 . . . 4  |-  ( G  |`  om )  =  (recs ( ( g  e. 
_V  |->  { x  |  ( E. m  e. 
om  ( dom  g  =  suc  m  /\  x  e.  ( F `  (
g `  m )
) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) } ) )  |`  om )
41, 3eqtr4i 2189 . . 3  |- frec ( F ,  A )  =  ( G  |`  om )
54fveq1i 5487 . 2  |-  (frec ( F ,  A ) `
 B )  =  ( ( G  |`  om ) `  B )
6 freccl.b . . . 4  |-  ( ph  ->  B  e.  om )
7 fvres 5510 . . . 4  |-  ( B  e.  om  ->  (
( G  |`  om ) `  B )  =  ( G `  B ) )
86, 7syl 14 . . 3  |-  ( ph  ->  ( ( G  |`  om ) `  B )  =  ( G `  B ) )
9 funmpt 5226 . . . . 5  |-  Fun  (
g  e.  _V  |->  { x  |  ( E. m  e.  om  ( dom  g  =  suc  m  /\  x  e.  ( F `  ( g `
 m ) ) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) } )
109a1i 9 . . . 4  |-  ( ph  ->  Fun  ( g  e. 
_V  |->  { x  |  ( E. m  e. 
om  ( dom  g  =  suc  m  /\  x  e.  ( F `  (
g `  m )
) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) } ) )
11 ordom 4584 . . . . 5  |-  Ord  om
1211a1i 9 . . . 4  |-  ( ph  ->  Ord  om )
13 vex 2729 . . . . . 6  |-  f  e. 
_V
14 simp2 988 . . . . . . 7  |-  ( (
ph  /\  y  e.  om 
/\  f : y --> S )  ->  y  e.  om )
15 simp3 989 . . . . . . 7  |-  ( (
ph  /\  y  e.  om 
/\  f : y --> S )  ->  f : y --> S )
16 freccl.cl . . . . . . . . 9  |-  ( (
ph  /\  z  e.  S )  ->  ( F `  z )  e.  S )
1716ralrimiva 2539 . . . . . . . 8  |-  ( ph  ->  A. z  e.  S  ( F `  z )  e.  S )
18173ad2ant1 1008 . . . . . . 7  |-  ( (
ph  /\  y  e.  om 
/\  f : y --> S )  ->  A. z  e.  S  ( F `  z )  e.  S
)
19 freccl.a . . . . . . . 8  |-  ( ph  ->  A  e.  S )
20193ad2ant1 1008 . . . . . . 7  |-  ( (
ph  /\  y  e.  om 
/\  f : y --> S )  ->  A  e.  S )
2114, 15, 18, 20frecabcl 6367 . . . . . 6  |-  ( (
ph  /\  y  e.  om 
/\  f : y --> S )  ->  { x  |  ( E. m  e.  om  ( dom  f  =  suc  m  /\  x  e.  ( F `  (
f `  m )
) )  \/  ( dom  f  =  (/)  /\  x  e.  A ) ) }  e.  S )
22 dmeq 4804 . . . . . . . . . . . 12  |-  ( g  =  f  ->  dom  g  =  dom  f )
2322eqeq1d 2174 . . . . . . . . . . 11  |-  ( g  =  f  ->  ( dom  g  =  suc  m 
<->  dom  f  =  suc  m ) )
24 fveq1 5485 . . . . . . . . . . . . 13  |-  ( g  =  f  ->  (
g `  m )  =  ( f `  m ) )
2524fveq2d 5490 . . . . . . . . . . . 12  |-  ( g  =  f  ->  ( F `  ( g `  m ) )  =  ( F `  (
f `  m )
) )
2625eleq2d 2236 . . . . . . . . . . 11  |-  ( g  =  f  ->  (
x  e.  ( F `
 ( g `  m ) )  <->  x  e.  ( F `  ( f `
 m ) ) ) )
2723, 26anbi12d 465 . . . . . . . . . 10  |-  ( g  =  f  ->  (
( dom  g  =  suc  m  /\  x  e.  ( F `  (
g `  m )
) )  <->  ( dom  f  =  suc  m  /\  x  e.  ( F `  ( f `  m
) ) ) ) )
2827rexbidv 2467 . . . . . . . . 9  |-  ( g  =  f  ->  ( E. m  e.  om  ( dom  g  =  suc  m  /\  x  e.  ( F `  ( g `
 m ) ) )  <->  E. m  e.  om  ( dom  f  =  suc  m  /\  x  e.  ( F `  ( f `
 m ) ) ) ) )
2922eqeq1d 2174 . . . . . . . . . 10  |-  ( g  =  f  ->  ( dom  g  =  (/)  <->  dom  f  =  (/) ) )
3029anbi1d 461 . . . . . . . . 9  |-  ( g  =  f  ->  (
( dom  g  =  (/) 
/\  x  e.  A
)  <->  ( dom  f  =  (/)  /\  x  e.  A ) ) )
3128, 30orbi12d 783 . . . . . . . 8  |-  ( g  =  f  ->  (
( E. m  e. 
om  ( dom  g  =  suc  m  /\  x  e.  ( F `  (
g `  m )
) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) )  <->  ( E. m  e.  om  ( dom  f  =  suc  m  /\  x  e.  ( F `  ( f `
 m ) ) )  \/  ( dom  f  =  (/)  /\  x  e.  A ) ) ) )
3231abbidv 2284 . . . . . . 7  |-  ( g  =  f  ->  { x  |  ( E. m  e.  om  ( dom  g  =  suc  m  /\  x  e.  ( F `  (
g `  m )
) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) }  =  { x  |  ( E. m  e. 
om  ( dom  f  =  suc  m  /\  x  e.  ( F `  (
f `  m )
) )  \/  ( dom  f  =  (/)  /\  x  e.  A ) ) } )
33 eqid 2165 . . . . . . 7  |-  ( g  e.  _V  |->  { x  |  ( E. m  e.  om  ( dom  g  =  suc  m  /\  x  e.  ( F `  (
g `  m )
) )  \/  ( 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 ) ) } )
3432, 33fvmptg 5562 . . . . . 6  |-  ( ( f  e.  _V  /\  { x  |  ( E. m  e.  om  ( dom  f  =  suc  m  /\  x  e.  ( F `  ( f `
 m ) ) )  \/  ( dom  f  =  (/)  /\  x  e.  A ) ) }  e.  S )  -> 
( ( g  e. 
_V  |->  { x  |  ( E. m  e. 
om  ( dom  g  =  suc  m  /\  x  e.  ( F `  (
g `  m )
) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) } ) `  f )  =  { x  |  ( E. m  e. 
om  ( dom  f  =  suc  m  /\  x  e.  ( F `  (
f `  m )
) )  \/  ( dom  f  =  (/)  /\  x  e.  A ) ) } )
3513, 21, 34sylancr 411 . . . . 5  |-  ( (
ph  /\  y  e.  om 
/\  f : y --> S )  ->  (
( g  e.  _V  |->  { x  |  ( E. m  e.  om  ( dom  g  =  suc  m  /\  x  e.  ( F `  ( g `
 m ) ) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) } ) `  f )  =  { x  |  ( E. m  e. 
om  ( dom  f  =  suc  m  /\  x  e.  ( F `  (
f `  m )
) )  \/  ( dom  f  =  (/)  /\  x  e.  A ) ) } )
3635, 21eqeltrd 2243 . . . 4  |-  ( (
ph  /\  y  e.  om 
/\  f : y --> S )  ->  (
( g  e.  _V  |->  { x  |  ( E. m  e.  om  ( dom  g  =  suc  m  /\  x  e.  ( F `  ( g `
 m ) ) )  \/  ( dom  g  =  (/)  /\  x  e.  A ) ) } ) `  f )  e.  S )
37 limom 4591 . . . . . . 7  |-  Lim  om
38 limuni 4374 . . . . . . 7  |-  ( Lim 
om  ->  om  =  U. om )
3937, 38ax-mp 5 . . . . . 6  |-  om  =  U. om
4039eleq2i 2233 . . . . 5  |-  ( y  e.  om  <->  y  e.  U.
om )
41 peano2 4572 . . . . . 6  |-  ( y  e.  om  ->  suc  y  e.  om )
4241adantl 275 . . . . 5  |-  ( (
ph  /\  y  e.  om )  ->  suc  y  e. 
om )
4340, 42sylan2br 286 . . . 4  |-  ( (
ph  /\  y  e.  U.
om )  ->  suc  y  e.  om )
446, 39eleqtrdi 2259 . . . 4  |-  ( ph  ->  B  e.  U. om )
452, 10, 12, 36, 43, 44tfrcl 6332 . . 3  |-  ( ph  ->  ( G `  B
)  e.  S )
468, 45eqeltrd 2243 . 2  |-  ( ph  ->  ( ( G  |`  om ) `  B )  e.  S )
475, 46eqeltrid 2253 1  |-  ( ph  ->  (frec ( F ,  A ) `  B
)  e.  S )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    \/ wo 698    /\ w3a 968    = wceq 1343    e. wcel 2136   {cab 2151   A.wral 2444   E.wrex 2445   _Vcvv 2726   (/)c0 3409   U.cuni 3789    |-> cmpt 4043   Ord word 4340   Lim wlim 4342   suc csuc 4343   omcom 4567   dom cdm 4604    |` cres 4606   Fun wfun 5182   -->wf 5184   ` cfv 5188  recscrecs 6272  freccfrec 6358
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 604  ax-in2 605  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-13 2138  ax-14 2139  ax-ext 2147  ax-coll 4097  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514  ax-iinf 4565
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-fal 1349  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-ne 2337  df-ral 2449  df-rex 2450  df-reu 2451  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-id 4271  df-iord 4344  df-on 4346  df-ilim 4347  df-suc 4349  df-iom 4568  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-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-recs 6273  df-frec 6359
This theorem is referenced by:  freccl  6371
  Copyright terms: Public domain W3C validator