MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  tfrlem16 Unicode version

Theorem tfrlem16 6342
Description: Lemma for finite recursion. Without assuming ax-rep 4071, we can show that the domain of the constructed function is a limit ordinal, and hence contains all the finite ordinals. (Contributed by Mario Carneiro, 14-Nov-2014.)
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
tfrlem16  |-  Lim  dom recs ( F )
Distinct variable group:    x, f, y, F
Allowed substitution hints:    A( x, y, f)

Proof of Theorem tfrlem16
StepHypRef Expression
1 tfrlem.1 . . . 4  |-  A  =  { f  |  E. x  e.  On  (
f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y
) ) ) }
21tfrlem8 6333 . . 3  |-  Ord  dom recs ( F )
3 ordzsl 4573 . . 3  |-  ( Ord 
dom recs ( F )  <->  ( dom recs ( F )  =  (/)  \/ 
E. z  e.  On  dom recs ( F )  =  suc  z  \/  Lim  dom recs
( F ) ) )
42, 3mpbi 201 . 2  |-  ( dom recs
( F )  =  (/)  \/  E. z  e.  On  dom recs ( F
)  =  suc  z  \/  Lim  dom recs ( F
) )
5 res0 4912 . . . . . . 7  |-  (recs ( F )  |`  (/) )  =  (/)
6 0ex 4090 . . . . . . 7  |-  (/)  e.  _V
75, 6eqeltri 2326 . . . . . 6  |-  (recs ( F )  |`  (/) )  e. 
_V
8 0elon 4382 . . . . . . 7  |-  (/)  e.  On
91tfrlem15 6341 . . . . . . 7  |-  ( (/)  e.  On  ->  ( (/)  e.  dom recs ( F )  <->  (recs ( F )  |`  (/) )  e. 
_V ) )
108, 9ax-mp 10 . . . . . 6  |-  ( (/)  e.  dom recs ( F )  <-> 
(recs ( F )  |`  (/) )  e.  _V )
117, 10mpbir 202 . . . . 5  |-  (/)  e.  dom recs ( F )
12 n0i 3402 . . . . 5  |-  ( (/)  e.  dom recs ( F )  ->  -.  dom recs ( F )  =  (/) )
1311, 12ax-mp 10 . . . 4  |-  -.  dom recs ( F )  =  (/)
1413pm2.21i 125 . . 3  |-  ( dom recs
( F )  =  (/)  ->  Lim  dom recs ( F ) )
151tfrlem13 6339 . . . . 5  |-  -. recs ( F )  e.  _V
16 simpr 449 . . . . . . . . . 10  |-  ( ( z  e.  On  /\  dom recs ( F )  =  suc  z )  ->  dom recs ( F )  =  suc  z )
17 df-suc 4335 . . . . . . . . . 10  |-  suc  z  =  ( z  u. 
{ z } )
1816, 17syl6eq 2304 . . . . . . . . 9  |-  ( ( z  e.  On  /\  dom recs ( F )  =  suc  z )  ->  dom recs ( F )  =  ( z  u.  {
z } ) )
1918reseq2d 4908 . . . . . . . 8  |-  ( ( z  e.  On  /\  dom recs ( F )  =  suc  z )  -> 
(recs ( F )  |`  dom recs ( F ) )  =  (recs ( F )  |`  (
z  u.  { z } ) ) )
201tfrlem6 6331 . . . . . . . . 9  |-  Rel recs ( F )
21 resdm 4946 . . . . . . . . 9  |-  ( Rel recs
( F )  -> 
(recs ( F )  |`  dom recs ( F ) )  = recs ( F ) )
2220, 21ax-mp 10 . . . . . . . 8  |-  (recs ( F )  |`  dom recs ( F ) )  = recs ( F )
23 resundi 4922 . . . . . . . 8  |-  (recs ( F )  |`  (
z  u.  { z } ) )  =  ( (recs ( F )  |`  z )  u.  (recs ( F )  |`  { z } ) )
2419, 22, 233eqtr3g 2311 . . . . . . 7  |-  ( ( z  e.  On  /\  dom recs ( F )  =  suc  z )  -> recs ( F )  =  ( (recs ( F )  |`  z )  u.  (recs ( F )  |`  { z } ) ) )
25 vex 2743 . . . . . . . . . . 11  |-  z  e. 
_V
2625sucid 4408 . . . . . . . . . 10  |-  z  e. 
suc  z
2726, 16syl5eleqr 2343 . . . . . . . . 9  |-  ( ( z  e.  On  /\  dom recs ( F )  =  suc  z )  -> 
z  e.  dom recs ( F ) )
281tfrlem9a 6335 . . . . . . . . 9  |-  ( z  e.  dom recs ( F
)  ->  (recs ( F )  |`  z
)  e.  _V )
2927, 28syl 17 . . . . . . . 8  |-  ( ( z  e.  On  /\  dom recs ( F )  =  suc  z )  -> 
(recs ( F )  |`  z )  e.  _V )
30 snex 4154 . . . . . . . . 9  |-  { <. z ,  (recs ( F ) `  z )
>. }  e.  _V
311tfrlem7 6332 . . . . . . . . . 10  |-  Fun recs ( F )
32 funressn 5605 . . . . . . . . . 10  |-  ( Fun recs
( F )  -> 
(recs ( F )  |`  { z } ) 
C_  { <. z ,  (recs ( F ) `
 z ) >. } )
3331, 32ax-mp 10 . . . . . . . . 9  |-  (recs ( F )  |`  { z } )  C_  { <. z ,  (recs ( F ) `  z )
>. }
3430, 33ssexi 4099 . . . . . . . 8  |-  (recs ( F )  |`  { z } )  e.  _V
35 unexg 4458 . . . . . . . 8  |-  ( ( (recs ( F )  |`  z )  e.  _V  /\  (recs ( F )  |`  { z } )  e.  _V )  -> 
( (recs ( F )  |`  z )  u.  (recs ( F )  |`  { z } ) )  e.  _V )
3629, 34, 35sylancl 646 . . . . . . 7  |-  ( ( z  e.  On  /\  dom recs ( F )  =  suc  z )  -> 
( (recs ( F )  |`  z )  u.  (recs ( F )  |`  { z } ) )  e.  _V )
3724, 36eqeltrd 2330 . . . . . 6  |-  ( ( z  e.  On  /\  dom recs ( F )  =  suc  z )  -> recs ( F )  e.  _V )
3837rexlimiva 2633 . . . . 5  |-  ( E. z  e.  On  dom recs ( F )  =  suc  z  -> recs ( F )  e.  _V )
3915, 38mto 169 . . . 4  |-  -.  E. z  e.  On  dom recs ( F )  =  suc  z
4039pm2.21i 125 . . 3  |-  ( E. z  e.  On  dom recs ( F )  =  suc  z  ->  Lim  dom recs ( F ) )
41 id 21 . . 3  |-  ( Lim 
dom recs ( F )  ->  Lim  dom recs ( F ) )
4214, 40, 413jaoi 1250 . 2  |-  ( ( dom recs ( F )  =  (/)  \/  E. z  e.  On  dom recs ( F
)  =  suc  z  \/  Lim  dom recs ( F
) )  ->  Lim  dom recs
( F ) )
434, 42ax-mp 10 1  |-  Lim  dom recs ( F )
Colors of variables: wff set class
Syntax hints:   -. wn 5    <-> wb 178    /\ wa 360    \/ w3o 938    = wceq 1619    e. wcel 1621   {cab 2242   A.wral 2516   E.wrex 2517   _Vcvv 2740    u. cun 3092    C_ wss 3094   (/)c0 3397   {csn 3581   <.cop 3584   Ord word 4328   Oncon0 4329   Lim wlim 4330   suc csuc 4331   dom cdm 4626    |` cres 4628   Rel wrel 4631   Fun wfun 4632    Fn wfn 4633   ` cfv 4638  recscrecs 6320
This theorem is referenced by:  tfr1a  6343
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-5 1533  ax-6 1534  ax-7 1535  ax-gen 1536  ax-8 1623  ax-11 1624  ax-13 1625  ax-14 1626  ax-17 1628  ax-12o 1664  ax-10 1678  ax-9 1684  ax-4 1692  ax-16 1927  ax-ext 2237  ax-sep 4081  ax-nul 4089  ax-pr 4152  ax-un 4449
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 940  df-3an 941  df-tru 1315  df-ex 1538  df-nf 1540  df-sb 1884  df-eu 2121  df-mo 2122  df-clab 2243  df-cleq 2249  df-clel 2252  df-nfc 2381  df-ne 2421  df-ral 2520  df-rex 2521  df-reu 2522  df-rab 2523  df-v 2742  df-sbc 2936  df-csb 3024  df-dif 3097  df-un 3099  df-in 3101  df-ss 3108  df-pss 3110  df-nul 3398  df-if 3507  df-pw 3568  df-sn 3587  df-pr 3588  df-tp 3589  df-op 3590  df-uni 3769  df-iun 3848  df-br 3964  df-opab 4018  df-mpt 4019  df-tr 4054  df-eprel 4242  df-id 4246  df-po 4251  df-so 4252  df-fr 4289  df-we 4291  df-ord 4332  df-on 4333  df-lim 4334  df-suc 4335  df-xp 4640  df-rel 4641  df-cnv 4642  df-co 4643  df-dm 4644  df-rn 4645  df-res 4646  df-ima 4647  df-fun 4648  df-fn 4649  df-f 4650  df-f1 4651  df-fo 4652  df-f1o 4653  df-fv 4654  df-recs 6321
  Copyright terms: Public domain W3C validator