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

Theorem ruclem8 12515
Description: Lemma for ruc 12521. The intervals of the  G sequence are all nonempty. (Contributed by Mario Carneiro, 28-May-2014.)
Hypotheses
Ref Expression
ruc.1  |-  ( ph  ->  F : NN --> RR )
ruc.2  |-  ( ph  ->  D  =  ( x  e.  ( RR  X.  RR ) ,  y  e.  RR  |->  [_ ( ( ( 1st `  x )  +  ( 2nd `  x
) )  /  2
)  /  m ]_ if ( m  <  y ,  <. ( 1st `  x
) ,  m >. , 
<. ( ( m  +  ( 2nd `  x ) )  /  2 ) ,  ( 2nd `  x
) >. ) ) )
ruc.4  |-  C  =  ( { <. 0 ,  <. 0 ,  1
>. >. }  u.  F
)
ruc.5  |-  G  =  seq  0 ( D ,  C )
Assertion
Ref Expression
ruclem8  |-  ( (
ph  /\  N  e.  NN0 )  ->  ( 1st `  ( G `  N
) )  <  ( 2nd `  ( G `  N ) ) )
Distinct variable groups:    x, m, y, F    m, G, x, y    m, N, x, y
Allowed substitution hints:    ph( x, y, m)    C( x, y, m)    D( x, y, m)

Proof of Theorem ruclem8
Dummy variables  n  k are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fveq2 5525 . . . . . 6  |-  ( k  =  0  ->  ( G `  k )  =  ( G ` 
0 ) )
21fveq2d 5529 . . . . 5  |-  ( k  =  0  ->  ( 1st `  ( G `  k ) )  =  ( 1st `  ( G `  0 )
) )
31fveq2d 5529 . . . . 5  |-  ( k  =  0  ->  ( 2nd `  ( G `  k ) )  =  ( 2nd `  ( G `  0 )
) )
42, 3breq12d 4036 . . . 4  |-  ( k  =  0  ->  (
( 1st `  ( G `  k )
)  <  ( 2nd `  ( G `  k
) )  <->  ( 1st `  ( G `  0
) )  <  ( 2nd `  ( G ` 
0 ) ) ) )
54imbi2d 307 . . 3  |-  ( k  =  0  ->  (
( ph  ->  ( 1st `  ( G `  k
) )  <  ( 2nd `  ( G `  k ) ) )  <-> 
( ph  ->  ( 1st `  ( G `  0
) )  <  ( 2nd `  ( G ` 
0 ) ) ) ) )
6 fveq2 5525 . . . . . 6  |-  ( k  =  n  ->  ( G `  k )  =  ( G `  n ) )
76fveq2d 5529 . . . . 5  |-  ( k  =  n  ->  ( 1st `  ( G `  k ) )  =  ( 1st `  ( G `  n )
) )
86fveq2d 5529 . . . . 5  |-  ( k  =  n  ->  ( 2nd `  ( G `  k ) )  =  ( 2nd `  ( G `  n )
) )
97, 8breq12d 4036 . . . 4  |-  ( k  =  n  ->  (
( 1st `  ( G `  k )
)  <  ( 2nd `  ( G `  k
) )  <->  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) ) )
109imbi2d 307 . . 3  |-  ( k  =  n  ->  (
( ph  ->  ( 1st `  ( G `  k
) )  <  ( 2nd `  ( G `  k ) ) )  <-> 
( ph  ->  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) ) ) )
11 fveq2 5525 . . . . . 6  |-  ( k  =  ( n  + 
1 )  ->  ( G `  k )  =  ( G `  ( n  +  1
) ) )
1211fveq2d 5529 . . . . 5  |-  ( k  =  ( n  + 
1 )  ->  ( 1st `  ( G `  k ) )  =  ( 1st `  ( G `  ( n  +  1 ) ) ) )
1311fveq2d 5529 . . . . 5  |-  ( k  =  ( n  + 
1 )  ->  ( 2nd `  ( G `  k ) )  =  ( 2nd `  ( G `  ( n  +  1 ) ) ) )
1412, 13breq12d 4036 . . . 4  |-  ( k  =  ( n  + 
1 )  ->  (
( 1st `  ( G `  k )
)  <  ( 2nd `  ( G `  k
) )  <->  ( 1st `  ( G `  (
n  +  1 ) ) )  <  ( 2nd `  ( G `  ( n  +  1
) ) ) ) )
1514imbi2d 307 . . 3  |-  ( k  =  ( n  + 
1 )  ->  (
( ph  ->  ( 1st `  ( G `  k
) )  <  ( 2nd `  ( G `  k ) ) )  <-> 
( ph  ->  ( 1st `  ( G `  (
n  +  1 ) ) )  <  ( 2nd `  ( G `  ( n  +  1
) ) ) ) ) )
16 fveq2 5525 . . . . . 6  |-  ( k  =  N  ->  ( G `  k )  =  ( G `  N ) )
1716fveq2d 5529 . . . . 5  |-  ( k  =  N  ->  ( 1st `  ( G `  k ) )  =  ( 1st `  ( G `  N )
) )
1816fveq2d 5529 . . . . 5  |-  ( k  =  N  ->  ( 2nd `  ( G `  k ) )  =  ( 2nd `  ( G `  N )
) )
1917, 18breq12d 4036 . . . 4  |-  ( k  =  N  ->  (
( 1st `  ( G `  k )
)  <  ( 2nd `  ( G `  k
) )  <->  ( 1st `  ( G `  N
) )  <  ( 2nd `  ( G `  N ) ) ) )
2019imbi2d 307 . . 3  |-  ( k  =  N  ->  (
( ph  ->  ( 1st `  ( G `  k
) )  <  ( 2nd `  ( G `  k ) ) )  <-> 
( ph  ->  ( 1st `  ( G `  N
) )  <  ( 2nd `  ( G `  N ) ) ) ) )
21 0lt1 9296 . . . . 5  |-  0  <  1
2221a1i 10 . . . 4  |-  ( ph  ->  0  <  1 )
23 ruc.1 . . . . . . 7  |-  ( ph  ->  F : NN --> RR )
24 ruc.2 . . . . . . 7  |-  ( ph  ->  D  =  ( x  e.  ( RR  X.  RR ) ,  y  e.  RR  |->  [_ ( ( ( 1st `  x )  +  ( 2nd `  x
) )  /  2
)  /  m ]_ if ( m  <  y ,  <. ( 1st `  x
) ,  m >. , 
<. ( ( m  +  ( 2nd `  x ) )  /  2 ) ,  ( 2nd `  x
) >. ) ) )
25 ruc.4 . . . . . . 7  |-  C  =  ( { <. 0 ,  <. 0 ,  1
>. >. }  u.  F
)
26 ruc.5 . . . . . . 7  |-  G  =  seq  0 ( D ,  C )
2723, 24, 25, 26ruclem4 12512 . . . . . 6  |-  ( ph  ->  ( G `  0
)  =  <. 0 ,  1 >. )
2827fveq2d 5529 . . . . 5  |-  ( ph  ->  ( 1st `  ( G `  0 )
)  =  ( 1st `  <. 0 ,  1
>. ) )
29 c0ex 8832 . . . . . 6  |-  0  e.  _V
30 1ex 8833 . . . . . 6  |-  1  e.  _V
3129, 30op1st 6128 . . . . 5  |-  ( 1st `  <. 0 ,  1
>. )  =  0
3228, 31syl6eq 2331 . . . 4  |-  ( ph  ->  ( 1st `  ( G `  0 )
)  =  0 )
3327fveq2d 5529 . . . . 5  |-  ( ph  ->  ( 2nd `  ( G `  0 )
)  =  ( 2nd `  <. 0 ,  1
>. ) )
3429, 30op2nd 6129 . . . . 5  |-  ( 2nd `  <. 0 ,  1
>. )  =  1
3533, 34syl6eq 2331 . . . 4  |-  ( ph  ->  ( 2nd `  ( G `  0 )
)  =  1 )
3622, 32, 353brtr4d 4053 . . 3  |-  ( ph  ->  ( 1st `  ( G `  0 )
)  <  ( 2nd `  ( G `  0
) ) )
3723adantr 451 . . . . . . . . 9  |-  ( (
ph  /\  ( n  e.  NN0  /\  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) ) )  ->  F : NN
--> RR )
3824adantr 451 . . . . . . . . 9  |-  ( (
ph  /\  ( n  e.  NN0  /\  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) ) )  ->  D  =  ( x  e.  ( RR  X.  RR ) ,  y  e.  RR  |->  [_ ( ( ( 1st `  x )  +  ( 2nd `  x ) )  /  2 )  /  m ]_ if ( m  <  y , 
<. ( 1st `  x
) ,  m >. , 
<. ( ( m  +  ( 2nd `  x ) )  /  2 ) ,  ( 2nd `  x
) >. ) ) )
3923, 24, 25, 26ruclem6 12513 . . . . . . . . . . . 12  |-  ( ph  ->  G : NN0 --> ( RR 
X.  RR ) )
40 ffvelrn 5663 . . . . . . . . . . . 12  |-  ( ( G : NN0 --> ( RR 
X.  RR )  /\  n  e.  NN0 )  -> 
( G `  n
)  e.  ( RR 
X.  RR ) )
4139, 40sylan 457 . . . . . . . . . . 11  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( G `  n )  e.  ( RR  X.  RR ) )
4241adantrr 697 . . . . . . . . . 10  |-  ( (
ph  /\  ( n  e.  NN0  /\  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) ) )  ->  ( G `  n )  e.  ( RR  X.  RR ) )
43 xp1st 6149 . . . . . . . . . 10  |-  ( ( G `  n )  e.  ( RR  X.  RR )  ->  ( 1st `  ( G `  n
) )  e.  RR )
4442, 43syl 15 . . . . . . . . 9  |-  ( (
ph  /\  ( n  e.  NN0  /\  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) ) )  ->  ( 1st `  ( G `  n
) )  e.  RR )
45 xp2nd 6150 . . . . . . . . . 10  |-  ( ( G `  n )  e.  ( RR  X.  RR )  ->  ( 2nd `  ( G `  n
) )  e.  RR )
4642, 45syl 15 . . . . . . . . 9  |-  ( (
ph  /\  ( n  e.  NN0  /\  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) ) )  ->  ( 2nd `  ( G `  n
) )  e.  RR )
47 nn0p1nn 10003 . . . . . . . . . . 11  |-  ( n  e.  NN0  ->  ( n  +  1 )  e.  NN )
48 ffvelrn 5663 . . . . . . . . . . 11  |-  ( ( F : NN --> RR  /\  ( n  +  1
)  e.  NN )  ->  ( F `  ( n  +  1
) )  e.  RR )
4923, 47, 48syl2an 463 . . . . . . . . . 10  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( F `  ( n  +  1 ) )  e.  RR )
5049adantrr 697 . . . . . . . . 9  |-  ( (
ph  /\  ( n  e.  NN0  /\  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) ) )  ->  ( F `  ( n  +  1 ) )  e.  RR )
51 eqid 2283 . . . . . . . . 9  |-  ( 1st `  ( <. ( 1st `  ( G `  n )
) ,  ( 2nd `  ( G `  n
) ) >. D ( F `  ( n  +  1 ) ) ) )  =  ( 1st `  ( <.
( 1st `  ( G `  n )
) ,  ( 2nd `  ( G `  n
) ) >. D ( F `  ( n  +  1 ) ) ) )
52 eqid 2283 . . . . . . . . 9  |-  ( 2nd `  ( <. ( 1st `  ( G `  n )
) ,  ( 2nd `  ( G `  n
) ) >. D ( F `  ( n  +  1 ) ) ) )  =  ( 2nd `  ( <.
( 1st `  ( G `  n )
) ,  ( 2nd `  ( G `  n
) ) >. D ( F `  ( n  +  1 ) ) ) )
53 simprr 733 . . . . . . . . 9  |-  ( (
ph  /\  ( n  e.  NN0  /\  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) ) )  ->  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) )
5437, 38, 44, 46, 50, 51, 52, 53ruclem2 12510 . . . . . . . 8  |-  ( (
ph  /\  ( n  e.  NN0  /\  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) ) )  ->  ( ( 1st `  ( G `  n ) )  <_ 
( 1st `  ( <. ( 1st `  ( G `  n )
) ,  ( 2nd `  ( G `  n
) ) >. D ( F `  ( n  +  1 ) ) ) )  /\  ( 1st `  ( <. ( 1st `  ( G `  n ) ) ,  ( 2nd `  ( G `  n )
) >. D ( F `
 ( n  + 
1 ) ) ) )  <  ( 2nd `  ( <. ( 1st `  ( G `  n )
) ,  ( 2nd `  ( G `  n
) ) >. D ( F `  ( n  +  1 ) ) ) )  /\  ( 2nd `  ( <. ( 1st `  ( G `  n ) ) ,  ( 2nd `  ( G `  n )
) >. D ( F `
 ( n  + 
1 ) ) ) )  <_  ( 2nd `  ( G `  n
) ) ) )
5554simp2d 968 . . . . . . 7  |-  ( (
ph  /\  ( n  e.  NN0  /\  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) ) )  ->  ( 1st `  ( <. ( 1st `  ( G `  n )
) ,  ( 2nd `  ( G `  n
) ) >. D ( F `  ( n  +  1 ) ) ) )  <  ( 2nd `  ( <. ( 1st `  ( G `  n ) ) ,  ( 2nd `  ( G `  n )
) >. D ( F `
 ( n  + 
1 ) ) ) ) )
5623, 24, 25, 26ruclem7 12514 . . . . . . . . . 10  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( G `  ( n  +  1 ) )  =  ( ( G `  n
) D ( F `
 ( n  + 
1 ) ) ) )
5756adantrr 697 . . . . . . . . 9  |-  ( (
ph  /\  ( n  e.  NN0  /\  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) ) )  ->  ( G `  ( n  +  1 ) )  =  ( ( G `  n
) D ( F `
 ( n  + 
1 ) ) ) )
58 1st2nd2 6159 . . . . . . . . . . 11  |-  ( ( G `  n )  e.  ( RR  X.  RR )  ->  ( G `
 n )  = 
<. ( 1st `  ( G `  n )
) ,  ( 2nd `  ( G `  n
) ) >. )
5942, 58syl 15 . . . . . . . . . 10  |-  ( (
ph  /\  ( n  e.  NN0  /\  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) ) )  ->  ( G `  n )  =  <. ( 1st `  ( G `
 n ) ) ,  ( 2nd `  ( G `  n )
) >. )
6059oveq1d 5873 . . . . . . . . 9  |-  ( (
ph  /\  ( n  e.  NN0  /\  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) ) )  ->  ( ( G `  n ) D ( F `  ( n  +  1
) ) )  =  ( <. ( 1st `  ( G `  n )
) ,  ( 2nd `  ( G `  n
) ) >. D ( F `  ( n  +  1 ) ) ) )
6157, 60eqtrd 2315 . . . . . . . 8  |-  ( (
ph  /\  ( n  e.  NN0  /\  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) ) )  ->  ( G `  ( n  +  1 ) )  =  (
<. ( 1st `  ( G `  n )
) ,  ( 2nd `  ( G `  n
) ) >. D ( F `  ( n  +  1 ) ) ) )
6261fveq2d 5529 . . . . . . 7  |-  ( (
ph  /\  ( n  e.  NN0  /\  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) ) )  ->  ( 1st `  ( G `  (
n  +  1 ) ) )  =  ( 1st `  ( <.
( 1st `  ( G `  n )
) ,  ( 2nd `  ( G `  n
) ) >. D ( F `  ( n  +  1 ) ) ) ) )
6361fveq2d 5529 . . . . . . 7  |-  ( (
ph  /\  ( n  e.  NN0  /\  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) ) )  ->  ( 2nd `  ( G `  (
n  +  1 ) ) )  =  ( 2nd `  ( <.
( 1st `  ( G `  n )
) ,  ( 2nd `  ( G `  n
) ) >. D ( F `  ( n  +  1 ) ) ) ) )
6455, 62, 633brtr4d 4053 . . . . . 6  |-  ( (
ph  /\  ( n  e.  NN0  /\  ( 1st `  ( G `  n
) )  <  ( 2nd `  ( G `  n ) ) ) )  ->  ( 1st `  ( G `  (
n  +  1 ) ) )  <  ( 2nd `  ( G `  ( n  +  1
) ) ) )
6564expr 598 . . . . 5  |-  ( (
ph  /\  n  e.  NN0 )  ->  ( ( 1st `  ( G `  n ) )  < 
( 2nd `  ( G `  n )
)  ->  ( 1st `  ( G `  (
n  +  1 ) ) )  <  ( 2nd `  ( G `  ( n  +  1
) ) ) ) )
6665expcom 424 . . . 4  |-  ( n  e.  NN0  ->  ( ph  ->  ( ( 1st `  ( G `  n )
)  <  ( 2nd `  ( G `  n
) )  ->  ( 1st `  ( G `  ( n  +  1
) ) )  < 
( 2nd `  ( G `  ( n  +  1 ) ) ) ) ) )
6766a2d 23 . . 3  |-  ( n  e.  NN0  ->  ( (
ph  ->  ( 1st `  ( G `  n )
)  <  ( 2nd `  ( G `  n
) ) )  -> 
( ph  ->  ( 1st `  ( G `  (
n  +  1 ) ) )  <  ( 2nd `  ( G `  ( n  +  1
) ) ) ) ) )
685, 10, 15, 20, 36, 67nn0ind 10108 . 2  |-  ( N  e.  NN0  ->  ( ph  ->  ( 1st `  ( G `  N )
)  <  ( 2nd `  ( G `  N
) ) ) )
6968impcom 419 1  |-  ( (
ph  /\  N  e.  NN0 )  ->  ( 1st `  ( G `  N
) )  <  ( 2nd `  ( G `  N ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    = wceq 1623    e. wcel 1684   [_csb 3081    u. cun 3150   ifcif 3565   {csn 3640   <.cop 3643   class class class wbr 4023    X. cxp 4687   -->wf 5251   ` cfv 5255  (class class class)co 5858    e. cmpt2 5860   1stc1st 6120   2ndc2nd 6121   RRcr 8736   0cc0 8737   1c1 8738    + caddc 8740    < clt 8867    <_ cle 8868    / cdiv 9423   NNcn 9746   2c2 9795   NN0cn0 9965    seq cseq 11046
This theorem is referenced by:  ruclem9  12516  ruclem10  12517  ruclem12  12519
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512  ax-cnex 8793  ax-resscn 8794  ax-1cn 8795  ax-icn 8796  ax-addcl 8797  ax-addrcl 8798  ax-mulcl 8799  ax-mulrcl 8800  ax-mulcom 8801  ax-addass 8802  ax-mulass 8803  ax-distr 8804  ax-i2m1 8805  ax-1ne0 8806  ax-1rid 8807  ax-rnegex 8808  ax-rrecex 8809  ax-cnre 8810  ax-pre-lttri 8811  ax-pre-lttrn 8812  ax-pre-ltadd 8813  ax-pre-mulgt0 8814
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-nel 2449  df-ral 2548  df-rex 2549  df-reu 2550  df-rmo 2551  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-1st 6122  df-2nd 6123  df-riota 6304  df-recs 6388  df-rdg 6423  df-er 6660  df-en 6864  df-dom 6865  df-sdom 6866  df-pnf 8869  df-mnf 8870  df-xr 8871  df-ltxr 8872  df-le 8873  df-sub 9039  df-neg 9040  df-div 9424  df-nn 9747  df-2 9804  df-n0 9966  df-z 10025  df-uz 10231  df-fz 10783  df-seq 11047
  Copyright terms: Public domain W3C validator