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

Theorem freccllem 6072
Description: Lemma for freccl 6073. 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 6061 . . . 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 4656 . . . 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 2106 . . 3  |- frec ( F ,  A )  =  ( G  |`  om )
54fveq1i 5231 . 2  |-  (frec ( F ,  A ) `
 B )  =  ( ( G  |`  om ) `  B )
6 freccl.b . . . 4  |-  ( ph  ->  B  e.  om )
7 fvres 5251 . . . 4  |-  ( B  e.  om  ->  (
( G  |`  om ) `  B )  =  ( G `  B ) )
86, 7syl 14 . . 3  |-  ( ph  ->  ( ( G  |`  om ) `  B )  =  ( G `  B ) )
9 funmpt 4988 . . . . 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 4375 . . . . 5  |-  Ord  om
1211a1i 9 . . . 4  |-  ( ph  ->  Ord  om )
13 vex 2613 . . . . . 6  |-  f  e. 
_V
14 simp2 940 . . . . . . 7  |-  ( (
ph  /\  y  e.  om 
/\  f : y --> S )  ->  y  e.  om )
15 simp3 941 . . . . . . 7  |-  ( (
ph  /\  y  e.  om 
/\  f : y --> S )  ->  f : y --> S )
16 freccl.cl . . . . . . . . 9  |-  ( (
ph  /\  z  e.  S )  ->  ( F `  z )  e.  S )
1716ralrimiva 2439 . . . . . . . 8  |-  ( ph  ->  A. z  e.  S  ( F `  z )  e.  S )
18173ad2ant1 960 . . . . . . 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 960 . . . . . . 7  |-  ( (
ph  /\  y  e.  om 
/\  f : y --> S )  ->  A  e.  S )
2114, 15, 18, 20frecabcl 6069 . . . . . 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 4583 . . . . . . . . . . . 12  |-  ( g  =  f  ->  dom  g  =  dom  f )
2322eqeq1d 2091 . . . . . . . . . . 11  |-  ( g  =  f  ->  ( dom  g  =  suc  m 
<->  dom  f  =  suc  m ) )
24 fveq1 5229 . . . . . . . . . . . . 13  |-  ( g  =  f  ->  (
g `  m )  =  ( f `  m ) )
2524fveq2d 5234 . . . . . . . . . . . 12  |-  ( g  =  f  ->  ( F `  ( g `  m ) )  =  ( F `  (
f `  m )
) )
2625eleq2d 2152 . . . . . . . . . . 11  |-  ( g  =  f  ->  (
x  e.  ( F `
 ( g `  m ) )  <->  x  e.  ( F `  ( f `
 m ) ) ) )
2723, 26anbi12d 457 . . . . . . . . . 10  |-  ( g  =  f  ->  (
( dom  g  =  suc  m  /\  x  e.  ( F `  (
g `  m )
) )  <->  ( dom  f  =  suc  m  /\  x  e.  ( F `  ( f `  m
) ) ) ) )
2827rexbidv 2374 . . . . . . . . 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 2091 . . . . . . . . . 10  |-  ( g  =  f  ->  ( dom  g  =  (/)  <->  dom  f  =  (/) ) )
3029anbi1d 453 . . . . . . . . 9  |-  ( g  =  f  ->  (
( dom  g  =  (/) 
/\  x  e.  A
)  <->  ( dom  f  =  (/)  /\  x  e.  A ) ) )
3128, 30orbi12d 740 . . . . . . . 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 2200 . . . . . . 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 2083 . . . . . . 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 5301 . . . . . 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 405 . . . . 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 2159 . . . 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 4382 . . . . . . 7  |-  Lim  om
38 limuni 4179 . . . . . . 7  |-  ( Lim 
om  ->  om  =  U. om )
3937, 38ax-mp 7 . . . . . 6  |-  om  =  U. om
4039eleq2i 2149 . . . . 5  |-  ( y  e.  om  <->  y  e.  U.
om )
41 peano2 4364 . . . . . 6  |-  ( y  e.  om  ->  suc  y  e.  om )
4241adantl 271 . . . . 5  |-  ( (
ph  /\  y  e.  om )  ->  suc  y  e. 
om )
4340, 42sylan2br 282 . . . 4  |-  ( (
ph  /\  y  e.  U.
om )  ->  suc  y  e.  om )
446, 39syl6eleq 2175 . . . 4  |-  ( ph  ->  B  e.  U. om )
452, 10, 12, 36, 43, 44tfrcl 6034 . . 3  |-  ( ph  ->  ( G `  B
)  e.  S )
468, 45eqeltrd 2159 . 2  |-  ( ph  ->  ( ( G  |`  om ) `  B )  e.  S )
475, 46syl5eqel 2169 1  |-  ( ph  ->  (frec ( F ,  A ) `  B
)  e.  S )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 102    \/ wo 662    /\ w3a 920    = wceq 1285    e. wcel 1434   {cab 2069   A.wral 2353   E.wrex 2354   _Vcvv 2610   (/)c0 3267   U.cuni 3621    |-> cmpt 3859   Ord word 4145   Lim wlim 4147   suc csuc 4148   omcom 4359   dom cdm 4391    |` cres 4393   Fun wfun 4946   -->wf 4948   ` cfv 4952  recscrecs 5974  freccfrec 6060
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 577  ax-in2 578  ax-io 663  ax-5 1377  ax-7 1378  ax-gen 1379  ax-ie1 1423  ax-ie2 1424  ax-8 1436  ax-10 1437  ax-11 1438  ax-i12 1439  ax-bndl 1440  ax-4 1441  ax-13 1445  ax-14 1446  ax-17 1460  ax-i9 1464  ax-ial 1468  ax-i5r 1469  ax-ext 2065  ax-coll 3913  ax-sep 3916  ax-nul 3924  ax-pow 3968  ax-pr 3992  ax-un 4216  ax-setind 4308  ax-iinf 4357
This theorem depends on definitions:  df-bi 115  df-3an 922  df-tru 1288  df-fal 1291  df-nf 1391  df-sb 1688  df-eu 1946  df-mo 1947  df-clab 2070  df-cleq 2076  df-clel 2079  df-nfc 2212  df-ne 2250  df-ral 2358  df-rex 2359  df-reu 2360  df-rab 2362  df-v 2612  df-sbc 2825  df-csb 2918  df-dif 2984  df-un 2986  df-in 2988  df-ss 2995  df-nul 3268  df-pw 3402  df-sn 3422  df-pr 3423  df-op 3425  df-uni 3622  df-int 3657  df-iun 3700  df-br 3806  df-opab 3860  df-mpt 3861  df-tr 3896  df-id 4076  df-iord 4149  df-on 4151  df-ilim 4152  df-suc 4154  df-iom 4360  df-xp 4397  df-rel 4398  df-cnv 4399  df-co 4400  df-dm 4401  df-rn 4402  df-res 4403  df-ima 4404  df-iota 4917  df-fun 4954  df-fn 4955  df-f 4956  df-f1 4957  df-fo 4958  df-f1o 4959  df-fv 4960  df-recs 5975  df-frec 6061
This theorem is referenced by:  freccl  6073
  Copyright terms: Public domain W3C validator