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

Theorem ruclem8 12531
Description: Lemma for ruc 12537. 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 5541 . . . . . 6  |-  ( k  =  0  ->  ( G `  k )  =  ( G ` 
0 ) )
21fveq2d 5545 . . . . 5  |-  ( k  =  0  ->  ( 1st `  ( G `  k ) )  =  ( 1st `  ( G `  0 )
) )
31fveq2d 5545 . . . . 5  |-  ( k  =  0  ->  ( 2nd `  ( G `  k ) )  =  ( 2nd `  ( G `  0 )
) )
42, 3breq12d 4052 . . . 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 5541 . . . . . 6  |-  ( k  =  n  ->  ( G `  k )  =  ( G `  n ) )
76fveq2d 5545 . . . . 5  |-  ( k  =  n  ->  ( 1st `  ( G `  k ) )  =  ( 1st `  ( G `  n )
) )
86fveq2d 5545 . . . . 5  |-  ( k  =  n  ->  ( 2nd `  ( G `  k ) )  =  ( 2nd `  ( G `  n )
) )
97, 8breq12d 4052 . . . 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 5541 . . . . . 6  |-  ( k  =  ( n  + 
1 )  ->  ( G `  k )  =  ( G `  ( n  +  1
) ) )
1211fveq2d 5545 . . . . 5  |-  ( k  =  ( n  + 
1 )  ->  ( 1st `  ( G `  k ) )  =  ( 1st `  ( G `  ( n  +  1 ) ) ) )
1311fveq2d 5545 . . . . 5  |-  ( k  =  ( n  + 
1 )  ->  ( 2nd `  ( G `  k ) )  =  ( 2nd `  ( G `  ( n  +  1 ) ) ) )
1412, 13breq12d 4052 . . . 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 5541 . . . . . 6  |-  ( k  =  N  ->  ( G `  k )  =  ( G `  N ) )
1716fveq2d 5545 . . . . 5  |-  ( k  =  N  ->  ( 1st `  ( G `  k ) )  =  ( 1st `  ( G `  N )
) )
1816fveq2d 5545 . . . . 5  |-  ( k  =  N  ->  ( 2nd `  ( G `  k ) )  =  ( 2nd `  ( G `  N )
) )
1917, 18breq12d 4052 . . . 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 9312 . . . . 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 12528 . . . . . 6  |-  ( ph  ->  ( G `  0
)  =  <. 0 ,  1 >. )
2827fveq2d 5545 . . . . 5  |-  ( ph  ->  ( 1st `  ( G `  0 )
)  =  ( 1st `  <. 0 ,  1
>. ) )
29 c0ex 8848 . . . . . 6  |-  0  e.  _V
30 1ex 8849 . . . . . 6  |-  1  e.  _V
3129, 30op1st 6144 . . . . 5  |-  ( 1st `  <. 0 ,  1
>. )  =  0
3228, 31syl6eq 2344 . . . 4  |-  ( ph  ->  ( 1st `  ( G `  0 )
)  =  0 )
3327fveq2d 5545 . . . . 5  |-  ( ph  ->  ( 2nd `  ( G `  0 )
)  =  ( 2nd `  <. 0 ,  1
>. ) )
3429, 30op2nd 6145 . . . . 5  |-  ( 2nd `  <. 0 ,  1
>. )  =  1
3533, 34syl6eq 2344 . . . 4  |-  ( ph  ->  ( 2nd `  ( G `  0 )
)  =  1 )
3622, 32, 353brtr4d 4069 . . 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 12529 . . . . . . . . . . . 12  |-  ( ph  ->  G : NN0 --> ( RR 
X.  RR ) )
40 ffvelrn 5679 . . . . . . . . . . . 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 6165 . . . . . . . . . 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 6166 . . . . . . . . . 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 10019 . . . . . . . . . . 11  |-  ( n  e.  NN0  ->  ( n  +  1 )  e.  NN )
48 ffvelrn 5679 . . . . . . . . . . 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 2296 . . . . . . . . 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 2296 . . . . . . . . 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 12526 . . . . . . . 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 12530 . . . . . . . . . 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 6175 . . . . . . . . . . 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 5889 . . . . . . . . 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 2328 . . . . . . . 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 5545 . . . . . . 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 5545 . . . . . . 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 4069 . . . . . 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 10124 . 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 1632    e. wcel 1696   [_csb 3094    u. cun 3163   ifcif 3578   {csn 3653   <.cop 3656   class class class wbr 4039    X. cxp 4703   -->wf 5267   ` cfv 5271  (class class class)co 5874    e. cmpt2 5876   1stc1st 6136   2ndc2nd 6137   RRcr 8752   0cc0 8753   1c1 8754    + caddc 8756    < clt 8883    <_ cle 8884    / cdiv 9439   NNcn 9762   2c2 9811   NN0cn0 9981    seq cseq 11062
This theorem is referenced by:  ruclem9  12532  ruclem10  12533  ruclem12  12535
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528  ax-cnex 8809  ax-resscn 8810  ax-1cn 8811  ax-icn 8812  ax-addcl 8813  ax-addrcl 8814  ax-mulcl 8815  ax-mulrcl 8816  ax-mulcom 8817  ax-addass 8818  ax-mulass 8819  ax-distr 8820  ax-i2m1 8821  ax-1ne0 8822  ax-1rid 8823  ax-rnegex 8824  ax-rrecex 8825  ax-cnre 8826  ax-pre-lttri 8827  ax-pre-lttrn 8828  ax-pre-ltadd 8829  ax-pre-mulgt0 8830
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 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-nel 2462  df-ral 2561  df-rex 2562  df-reu 2563  df-rmo 2564  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-pss 3181  df-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-tp 3661  df-op 3662  df-uni 3844  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-tr 4130  df-eprel 4321  df-id 4325  df-po 4330  df-so 4331  df-fr 4368  df-we 4370  df-ord 4411  df-on 4412  df-lim 4413  df-suc 4414  df-om 4673  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279  df-ov 5877  df-oprab 5878  df-mpt2 5879  df-1st 6138  df-2nd 6139  df-riota 6320  df-recs 6404  df-rdg 6439  df-er 6676  df-en 6880  df-dom 6881  df-sdom 6882  df-pnf 8885  df-mnf 8886  df-xr 8887  df-ltxr 8888  df-le 8889  df-sub 9055  df-neg 9056  df-div 9440  df-nn 9763  df-2 9820  df-n0 9982  df-z 10041  df-uz 10247  df-fz 10799  df-seq 11063
  Copyright terms: Public domain W3C validator