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

Theorem ruclem6 12761
Description: Lemma for ruc 12769. Domain and range of the interval sequence. (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
ruclem6  |-  ( ph  ->  G : NN0 --> ( RR 
X.  RR ) )
Distinct variable groups:    x, m, y, F    m, G, x, y
Allowed substitution hints:    ph( x, y, m)    C( x, y, m)    D( x, y, m)

Proof of Theorem ruclem6
Dummy variables  w  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ruc.5 . . . . . . 7  |-  G  =  seq  0 ( D ,  C )
21fveq1i 5669 . . . . . 6  |-  ( G `
 0 )  =  (  seq  0 ( D ,  C ) `
 0 )
3 0z 10225 . . . . . . 7  |-  0  e.  ZZ
4 seq1 11263 . . . . . . 7  |-  ( 0  e.  ZZ  ->  (  seq  0 ( D ,  C ) `  0
)  =  ( C `
 0 ) )
53, 4ax-mp 8 . . . . . 6  |-  (  seq  0 ( D ,  C ) `  0
)  =  ( C `
 0 )
62, 5eqtri 2407 . . . . 5  |-  ( G `
 0 )  =  ( C `  0
)
7 ruc.1 . . . . . 6  |-  ( ph  ->  F : NN --> RR )
8 ruc.2 . . . . . 6  |-  ( 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
) >. ) ) )
9 ruc.4 . . . . . 6  |-  C  =  ( { <. 0 ,  <. 0 ,  1
>. >. }  u.  F
)
107, 8, 9, 1ruclem4 12760 . . . . 5  |-  ( ph  ->  ( G `  0
)  =  <. 0 ,  1 >. )
116, 10syl5eqr 2433 . . . 4  |-  ( ph  ->  ( C `  0
)  =  <. 0 ,  1 >. )
12 0re 9024 . . . . 5  |-  0  e.  RR
13 1re 9023 . . . . 5  |-  1  e.  RR
14 opelxpi 4850 . . . . 5  |-  ( ( 0  e.  RR  /\  1  e.  RR )  -> 
<. 0 ,  1
>.  e.  ( RR  X.  RR ) )
1512, 13, 14mp2an 654 . . . 4  |-  <. 0 ,  1 >.  e.  ( RR  X.  RR )
1611, 15syl6eqel 2475 . . 3  |-  ( ph  ->  ( C `  0
)  e.  ( RR 
X.  RR ) )
17 1st2nd2 6325 . . . . . 6  |-  ( z  e.  ( RR  X.  RR )  ->  z  = 
<. ( 1st `  z
) ,  ( 2nd `  z ) >. )
1817ad2antrl 709 . . . . 5  |-  ( (
ph  /\  ( z  e.  ( RR  X.  RR )  /\  w  e.  RR ) )  ->  z  =  <. ( 1st `  z
) ,  ( 2nd `  z ) >. )
1918oveq1d 6035 . . . 4  |-  ( (
ph  /\  ( z  e.  ( RR  X.  RR )  /\  w  e.  RR ) )  ->  (
z D w )  =  ( <. ( 1st `  z ) ,  ( 2nd `  z
) >. D w ) )
207adantr 452 . . . . . 6  |-  ( (
ph  /\  ( z  e.  ( RR  X.  RR )  /\  w  e.  RR ) )  ->  F : NN --> RR )
218adantr 452 . . . . . 6  |-  ( (
ph  /\  ( z  e.  ( RR  X.  RR )  /\  w  e.  RR ) )  ->  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
) >. ) ) )
22 xp1st 6315 . . . . . . 7  |-  ( z  e.  ( RR  X.  RR )  ->  ( 1st `  z )  e.  RR )
2322ad2antrl 709 . . . . . 6  |-  ( (
ph  /\  ( z  e.  ( RR  X.  RR )  /\  w  e.  RR ) )  ->  ( 1st `  z )  e.  RR )
24 xp2nd 6316 . . . . . . 7  |-  ( z  e.  ( RR  X.  RR )  ->  ( 2nd `  z )  e.  RR )
2524ad2antrl 709 . . . . . 6  |-  ( (
ph  /\  ( z  e.  ( RR  X.  RR )  /\  w  e.  RR ) )  ->  ( 2nd `  z )  e.  RR )
26 simprr 734 . . . . . 6  |-  ( (
ph  /\  ( z  e.  ( RR  X.  RR )  /\  w  e.  RR ) )  ->  w  e.  RR )
27 eqid 2387 . . . . . 6  |-  ( 1st `  ( <. ( 1st `  z
) ,  ( 2nd `  z ) >. D w ) )  =  ( 1st `  ( <.
( 1st `  z
) ,  ( 2nd `  z ) >. D w ) )
28 eqid 2387 . . . . . 6  |-  ( 2nd `  ( <. ( 1st `  z
) ,  ( 2nd `  z ) >. D w ) )  =  ( 2nd `  ( <.
( 1st `  z
) ,  ( 2nd `  z ) >. D w ) )
2920, 21, 23, 25, 26, 27, 28ruclem1 12757 . . . . 5  |-  ( (
ph  /\  ( z  e.  ( RR  X.  RR )  /\  w  e.  RR ) )  ->  (
( <. ( 1st `  z
) ,  ( 2nd `  z ) >. D w )  e.  ( RR 
X.  RR )  /\  ( 1st `  ( <.
( 1st `  z
) ,  ( 2nd `  z ) >. D w ) )  =  if ( ( ( ( 1st `  z )  +  ( 2nd `  z
) )  /  2
)  <  w , 
( 1st `  z
) ,  ( ( ( ( ( 1st `  z )  +  ( 2nd `  z ) )  /  2 )  +  ( 2nd `  z
) )  /  2
) )  /\  ( 2nd `  ( <. ( 1st `  z ) ,  ( 2nd `  z
) >. D w ) )  =  if ( ( ( ( 1st `  z )  +  ( 2nd `  z ) )  /  2 )  <  w ,  ( ( ( 1st `  z
)  +  ( 2nd `  z ) )  / 
2 ) ,  ( 2nd `  z ) ) ) )
3029simp1d 969 . . . 4  |-  ( (
ph  /\  ( z  e.  ( RR  X.  RR )  /\  w  e.  RR ) )  ->  ( <. ( 1st `  z
) ,  ( 2nd `  z ) >. D w )  e.  ( RR 
X.  RR ) )
3119, 30eqeltrd 2461 . . 3  |-  ( (
ph  /\  ( z  e.  ( RR  X.  RR )  /\  w  e.  RR ) )  ->  (
z D w )  e.  ( RR  X.  RR ) )
32 nn0uz 10452 . . 3  |-  NN0  =  ( ZZ>= `  0 )
333a1i 11 . . 3  |-  ( ph  ->  0  e.  ZZ )
34 0p1e1 10025 . . . . . . 7  |-  ( 0  +  1 )  =  1
3534fveq2i 5671 . . . . . 6  |-  ( ZZ>= `  ( 0  +  1 ) )  =  (
ZZ>= `  1 )
36 nnuz 10453 . . . . . 6  |-  NN  =  ( ZZ>= `  1 )
3735, 36eqtr4i 2410 . . . . 5  |-  ( ZZ>= `  ( 0  +  1 ) )  =  NN
3837eleq2i 2451 . . . 4  |-  ( z  e.  ( ZZ>= `  (
0  +  1 ) )  <->  z  e.  NN )
399equncomi 3436 . . . . . . . 8  |-  C  =  ( F  u.  { <. 0 ,  <. 0 ,  1 >. >. } )
4039fveq1i 5669 . . . . . . 7  |-  ( C `
 z )  =  ( ( F  u.  {
<. 0 ,  <. 0 ,  1 >. >. } ) `  z
)
41 nnne0 9964 . . . . . . . . 9  |-  ( z  e.  NN  ->  z  =/=  0 )
4241necomd 2633 . . . . . . . 8  |-  ( z  e.  NN  ->  0  =/=  z )
43 fvunsn 5864 . . . . . . . 8  |-  ( 0  =/=  z  ->  (
( F  u.  { <. 0 ,  <. 0 ,  1 >. >. } ) `
 z )  =  ( F `  z
) )
4442, 43syl 16 . . . . . . 7  |-  ( z  e.  NN  ->  (
( F  u.  { <. 0 ,  <. 0 ,  1 >. >. } ) `
 z )  =  ( F `  z
) )
4540, 44syl5eq 2431 . . . . . 6  |-  ( z  e.  NN  ->  ( C `  z )  =  ( F `  z ) )
4645adantl 453 . . . . 5  |-  ( (
ph  /\  z  e.  NN )  ->  ( C `
 z )  =  ( F `  z
) )
477ffvelrnda 5809 . . . . 5  |-  ( (
ph  /\  z  e.  NN )  ->  ( F `
 z )  e.  RR )
4846, 47eqeltrd 2461 . . . 4  |-  ( (
ph  /\  z  e.  NN )  ->  ( C `
 z )  e.  RR )
4938, 48sylan2b 462 . . 3  |-  ( (
ph  /\  z  e.  ( ZZ>= `  ( 0  +  1 ) ) )  ->  ( C `  z )  e.  RR )
5016, 31, 32, 33, 49seqf2 11269 . 2  |-  ( ph  ->  seq  0 ( D ,  C ) : NN0 --> ( RR  X.  RR ) )
511feq1i 5525 . 2  |-  ( G : NN0 --> ( RR 
X.  RR )  <->  seq  0
( D ,  C
) : NN0 --> ( RR 
X.  RR ) )
5250, 51sylibr 204 1  |-  ( ph  ->  G : NN0 --> ( RR 
X.  RR ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 359    = wceq 1649    e. wcel 1717    =/= wne 2550   [_csb 3194    u. cun 3261   ifcif 3682   {csn 3757   <.cop 3760   class class class wbr 4153    X. cxp 4816   -->wf 5390   ` cfv 5394  (class class class)co 6020    e. cmpt2 6022   1stc1st 6286   2ndc2nd 6287   RRcr 8922   0cc0 8923   1c1 8924    + caddc 8926    < clt 9053    / cdiv 9609   NNcn 9932   2c2 9981   NN0cn0 10153   ZZcz 10214   ZZ>=cuz 10420    seq cseq 11250
This theorem is referenced by:  ruclem8  12763  ruclem9  12764  ruclem10  12765  ruclem11  12766  ruclem12  12767
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-13 1719  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2368  ax-sep 4271  ax-nul 4279  ax-pow 4318  ax-pr 4344  ax-un 4641  ax-cnex 8979  ax-resscn 8980  ax-1cn 8981  ax-icn 8982  ax-addcl 8983  ax-addrcl 8984  ax-mulcl 8985  ax-mulrcl 8986  ax-mulcom 8987  ax-addass 8988  ax-mulass 8989  ax-distr 8990  ax-i2m1 8991  ax-1ne0 8992  ax-1rid 8993  ax-rnegex 8994  ax-rrecex 8995  ax-cnre 8996  ax-pre-lttri 8997  ax-pre-lttrn 8998  ax-pre-ltadd 8999  ax-pre-mulgt0 9000
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2242  df-mo 2243  df-clab 2374  df-cleq 2380  df-clel 2383  df-nfc 2512  df-ne 2552  df-nel 2553  df-ral 2654  df-rex 2655  df-reu 2656  df-rmo 2657  df-rab 2658  df-v 2901  df-sbc 3105  df-csb 3195  df-dif 3266  df-un 3268  df-in 3270  df-ss 3277  df-pss 3279  df-nul 3572  df-if 3683  df-pw 3744  df-sn 3763  df-pr 3764  df-tp 3765  df-op 3766  df-uni 3958  df-iun 4037  df-br 4154  df-opab 4208  df-mpt 4209  df-tr 4244  df-eprel 4435  df-id 4439  df-po 4444  df-so 4445  df-fr 4482  df-we 4484  df-ord 4525  df-on 4526  df-lim 4527  df-suc 4528  df-om 4786  df-xp 4824  df-rel 4825  df-cnv 4826  df-co 4827  df-dm 4828  df-rn 4829  df-res 4830  df-ima 4831  df-iota 5358  df-fun 5396  df-fn 5397  df-f 5398  df-f1 5399  df-fo 5400  df-f1o 5401  df-fv 5402  df-ov 6023  df-oprab 6024  df-mpt2 6025  df-1st 6288  df-2nd 6289  df-riota 6485  df-recs 6569  df-rdg 6604  df-er 6841  df-en 7046  df-dom 7047  df-sdom 7048  df-pnf 9055  df-mnf 9056  df-xr 9057  df-ltxr 9058  df-le 9059  df-sub 9225  df-neg 9226  df-div 9610  df-nn 9933  df-2 9990  df-n0 10154  df-z 10215  df-uz 10421  df-fz 10976  df-seq 11251
  Copyright terms: Public domain W3C validator