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

Theorem pcoval2 21279
Description: Evaluate the concatenation of two paths on the second half. (Contributed by Jeff Madsen, 15-Jun-2010.) (Proof shortened by Mario Carneiro, 7-Jun-2014.)
Hypotheses
Ref Expression
pcoval.2  |-  ( ph  ->  F  e.  ( II 
Cn  J ) )
pcoval.3  |-  ( ph  ->  G  e.  ( II 
Cn  J ) )
pcoval2.4  |-  ( ph  ->  ( F `  1
)  =  ( G `
 0 ) )
Assertion
Ref Expression
pcoval2  |-  ( (
ph  /\  X  e.  ( ( 1  / 
2 ) [,] 1
) )  ->  (
( F ( *p
`  J ) G ) `  X )  =  ( G `  ( ( 2  x.  X )  -  1 ) ) )

Proof of Theorem pcoval2
StepHypRef Expression
1 0re 9596 . . . . 5  |-  0  e.  RR
2 1re 9595 . . . . 5  |-  1  e.  RR
3 halfre 10754 . . . . . 6  |-  ( 1  /  2 )  e.  RR
4 halfgt0 10756 . . . . . 6  |-  0  <  ( 1  /  2
)
51, 3, 4ltleii 9707 . . . . 5  |-  0  <_  ( 1  /  2
)
6 1le1 10177 . . . . 5  |-  1  <_  1
7 iccss 11592 . . . . 5  |-  ( ( ( 0  e.  RR  /\  1  e.  RR )  /\  ( 0  <_ 
( 1  /  2
)  /\  1  <_  1 ) )  ->  (
( 1  /  2
) [,] 1 ) 
C_  ( 0 [,] 1 ) )
81, 2, 5, 6, 7mp4an 673 . . . 4  |-  ( ( 1  /  2 ) [,] 1 )  C_  ( 0 [,] 1
)
98sseli 3500 . . 3  |-  ( X  e.  ( ( 1  /  2 ) [,] 1 )  ->  X  e.  ( 0 [,] 1
) )
10 pcoval.2 . . . 4  |-  ( ph  ->  F  e.  ( II 
Cn  J ) )
11 pcoval.3 . . . 4  |-  ( ph  ->  G  e.  ( II 
Cn  J ) )
1210, 11pcovalg 21275 . . 3  |-  ( (
ph  /\  X  e.  ( 0 [,] 1
) )  ->  (
( F ( *p
`  J ) G ) `  X )  =  if ( X  <_  ( 1  / 
2 ) ,  ( F `  ( 2  x.  X ) ) ,  ( G `  ( ( 2  x.  X )  -  1 ) ) ) )
139, 12sylan2 474 . 2  |-  ( (
ph  /\  X  e.  ( ( 1  / 
2 ) [,] 1
) )  ->  (
( F ( *p
`  J ) G ) `  X )  =  if ( X  <_  ( 1  / 
2 ) ,  ( F `  ( 2  x.  X ) ) ,  ( G `  ( ( 2  x.  X )  -  1 ) ) ) )
14 pcoval2.4 . . . . . . . 8  |-  ( ph  ->  ( F `  1
)  =  ( G `
 0 ) )
1514adantr 465 . . . . . . 7  |-  ( (
ph  /\  ( X  e.  ( ( 1  / 
2 ) [,] 1
)  /\  X  <_  ( 1  /  2 ) ) )  ->  ( F `  1 )  =  ( G ` 
0 ) )
16 simprr 756 . . . . . . . . . . 11  |-  ( (
ph  /\  ( X  e.  ( ( 1  / 
2 ) [,] 1
)  /\  X  <_  ( 1  /  2 ) ) )  ->  X  <_  ( 1  /  2
) )
173, 2elicc2i 11590 . . . . . . . . . . . . 13  |-  ( X  e.  ( ( 1  /  2 ) [,] 1 )  <->  ( X  e.  RR  /\  ( 1  /  2 )  <_  X  /\  X  <_  1
) )
1817simp2bi 1012 . . . . . . . . . . . 12  |-  ( X  e.  ( ( 1  /  2 ) [,] 1 )  ->  (
1  /  2 )  <_  X )
1918ad2antrl 727 . . . . . . . . . . 11  |-  ( (
ph  /\  ( X  e.  ( ( 1  / 
2 ) [,] 1
)  /\  X  <_  ( 1  /  2 ) ) )  ->  (
1  /  2 )  <_  X )
2017simp1bi 1011 . . . . . . . . . . . . 13  |-  ( X  e.  ( ( 1  /  2 ) [,] 1 )  ->  X  e.  RR )
2120ad2antrl 727 . . . . . . . . . . . 12  |-  ( (
ph  /\  ( X  e.  ( ( 1  / 
2 ) [,] 1
)  /\  X  <_  ( 1  /  2 ) ) )  ->  X  e.  RR )
22 letri3 9670 . . . . . . . . . . . 12  |-  ( ( X  e.  RR  /\  ( 1  /  2
)  e.  RR )  ->  ( X  =  ( 1  /  2
)  <->  ( X  <_ 
( 1  /  2
)  /\  ( 1  /  2 )  <_  X ) ) )
2321, 3, 22sylancl 662 . . . . . . . . . . 11  |-  ( (
ph  /\  ( X  e.  ( ( 1  / 
2 ) [,] 1
)  /\  X  <_  ( 1  /  2 ) ) )  ->  ( X  =  ( 1  /  2 )  <->  ( X  <_  ( 1  /  2
)  /\  ( 1  /  2 )  <_  X ) ) )
2416, 19, 23mpbir2and 920 . . . . . . . . . 10  |-  ( (
ph  /\  ( X  e.  ( ( 1  / 
2 ) [,] 1
)  /\  X  <_  ( 1  /  2 ) ) )  ->  X  =  ( 1  / 
2 ) )
2524oveq2d 6300 . . . . . . . . 9  |-  ( (
ph  /\  ( X  e.  ( ( 1  / 
2 ) [,] 1
)  /\  X  <_  ( 1  /  2 ) ) )  ->  (
2  x.  X )  =  ( 2  x.  ( 1  /  2
) ) )
26 2cn 10606 . . . . . . . . . 10  |-  2  e.  CC
27 2ne0 10628 . . . . . . . . . 10  |-  2  =/=  0
2826, 27recidi 10275 . . . . . . . . 9  |-  ( 2  x.  ( 1  / 
2 ) )  =  1
2925, 28syl6eq 2524 . . . . . . . 8  |-  ( (
ph  /\  ( X  e.  ( ( 1  / 
2 ) [,] 1
)  /\  X  <_  ( 1  /  2 ) ) )  ->  (
2  x.  X )  =  1 )
3029fveq2d 5870 . . . . . . 7  |-  ( (
ph  /\  ( X  e.  ( ( 1  / 
2 ) [,] 1
)  /\  X  <_  ( 1  /  2 ) ) )  ->  ( F `  ( 2  x.  X ) )  =  ( F `  1
) )
3129oveq1d 6299 . . . . . . . . 9  |-  ( (
ph  /\  ( X  e.  ( ( 1  / 
2 ) [,] 1
)  /\  X  <_  ( 1  /  2 ) ) )  ->  (
( 2  x.  X
)  -  1 )  =  ( 1  -  1 ) )
32 1m1e0 10604 . . . . . . . . 9  |-  ( 1  -  1 )  =  0
3331, 32syl6eq 2524 . . . . . . . 8  |-  ( (
ph  /\  ( X  e.  ( ( 1  / 
2 ) [,] 1
)  /\  X  <_  ( 1  /  2 ) ) )  ->  (
( 2  x.  X
)  -  1 )  =  0 )
3433fveq2d 5870 . . . . . . 7  |-  ( (
ph  /\  ( X  e.  ( ( 1  / 
2 ) [,] 1
)  /\  X  <_  ( 1  /  2 ) ) )  ->  ( G `  ( (
2  x.  X )  -  1 ) )  =  ( G ` 
0 ) )
3515, 30, 343eqtr4d 2518 . . . . . 6  |-  ( (
ph  /\  ( X  e.  ( ( 1  / 
2 ) [,] 1
)  /\  X  <_  ( 1  /  2 ) ) )  ->  ( F `  ( 2  x.  X ) )  =  ( G `  (
( 2  x.  X
)  -  1 ) ) )
3635ifeq1d 3957 . . . . 5  |-  ( (
ph  /\  ( X  e.  ( ( 1  / 
2 ) [,] 1
)  /\  X  <_  ( 1  /  2 ) ) )  ->  if ( X  <_  ( 1  /  2 ) ,  ( F `  (
2  x.  X ) ) ,  ( G `
 ( ( 2  x.  X )  - 
1 ) ) )  =  if ( X  <_  ( 1  / 
2 ) ,  ( G `  ( ( 2  x.  X )  -  1 ) ) ,  ( G `  ( ( 2  x.  X )  -  1 ) ) ) )
37 ifid 3976 . . . . 5  |-  if ( X  <_  ( 1  /  2 ) ,  ( G `  (
( 2  x.  X
)  -  1 ) ) ,  ( G `
 ( ( 2  x.  X )  - 
1 ) ) )  =  ( G `  ( ( 2  x.  X )  -  1 ) )
3836, 37syl6eq 2524 . . . 4  |-  ( (
ph  /\  ( X  e.  ( ( 1  / 
2 ) [,] 1
)  /\  X  <_  ( 1  /  2 ) ) )  ->  if ( X  <_  ( 1  /  2 ) ,  ( F `  (
2  x.  X ) ) ,  ( G `
 ( ( 2  x.  X )  - 
1 ) ) )  =  ( G `  ( ( 2  x.  X )  -  1 ) ) )
3938expr 615 . . 3  |-  ( (
ph  /\  X  e.  ( ( 1  / 
2 ) [,] 1
) )  ->  ( X  <_  ( 1  / 
2 )  ->  if ( X  <_  ( 1  /  2 ) ,  ( F `  (
2  x.  X ) ) ,  ( G `
 ( ( 2  x.  X )  - 
1 ) ) )  =  ( G `  ( ( 2  x.  X )  -  1 ) ) ) )
40 iffalse 3948 . . 3  |-  ( -.  X  <_  ( 1  /  2 )  ->  if ( X  <_  (
1  /  2 ) ,  ( F `  ( 2  x.  X
) ) ,  ( G `  ( ( 2  x.  X )  -  1 ) ) )  =  ( G `
 ( ( 2  x.  X )  - 
1 ) ) )
4139, 40pm2.61d1 159 . 2  |-  ( (
ph  /\  X  e.  ( ( 1  / 
2 ) [,] 1
) )  ->  if ( X  <_  ( 1  /  2 ) ,  ( F `  (
2  x.  X ) ) ,  ( G `
 ( ( 2  x.  X )  - 
1 ) ) )  =  ( G `  ( ( 2  x.  X )  -  1 ) ) )
4213, 41eqtrd 2508 1  |-  ( (
ph  /\  X  e.  ( ( 1  / 
2 ) [,] 1
) )  ->  (
( F ( *p
`  J ) G ) `  X )  =  ( G `  ( ( 2  x.  X )  -  1 ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1379    e. wcel 1767    C_ wss 3476   ifcif 3939   class class class wbr 4447   ` cfv 5588  (class class class)co 6284   RRcr 9491   0cc0 9492   1c1 9493    x. cmul 9497    <_ cle 9629    - cmin 9805    / cdiv 10206   2c2 10585   [,]cicc 11532    Cn ccn 19519   IIcii 21142   *pcpco 21263
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1601  ax-4 1612  ax-5 1680  ax-6 1719  ax-7 1739  ax-8 1769  ax-9 1771  ax-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445  ax-rep 4558  ax-sep 4568  ax-nul 4576  ax-pow 4625  ax-pr 4686  ax-un 6576  ax-cnex 9548  ax-resscn 9549  ax-1cn 9550  ax-icn 9551  ax-addcl 9552  ax-addrcl 9553  ax-mulcl 9554  ax-mulrcl 9555  ax-mulcom 9556  ax-addass 9557  ax-mulass 9558  ax-distr 9559  ax-i2m1 9560  ax-1ne0 9561  ax-1rid 9562  ax-rnegex 9563  ax-rrecex 9564  ax-cnre 9565  ax-pre-lttri 9566  ax-pre-lttrn 9567  ax-pre-ltadd 9568  ax-pre-mulgt0 9569
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 974  df-3an 975  df-tru 1382  df-ex 1597  df-nf 1600  df-sb 1712  df-eu 2279  df-mo 2280  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-ne 2664  df-nel 2665  df-ral 2819  df-rex 2820  df-reu 2821  df-rmo 2822  df-rab 2823  df-v 3115  df-sbc 3332  df-csb 3436  df-dif 3479  df-un 3481  df-in 3483  df-ss 3490  df-nul 3786  df-if 3940  df-pw 4012  df-sn 4028  df-pr 4030  df-op 4034  df-uni 4246  df-iun 4327  df-br 4448  df-opab 4506  df-mpt 4507  df-id 4795  df-po 4800  df-so 4801  df-xp 5005  df-rel 5006  df-cnv 5007  df-co 5008  df-dm 5009  df-rn 5010  df-res 5011  df-ima 5012  df-iota 5551  df-fun 5590  df-fn 5591  df-f 5592  df-f1 5593  df-fo 5594  df-f1o 5595  df-fv 5596  df-riota 6245  df-ov 6287  df-oprab 6288  df-mpt2 6289  df-1st 6784  df-2nd 6785  df-er 7311  df-map 7422  df-en 7517  df-dom 7518  df-sdom 7519  df-pnf 9630  df-mnf 9631  df-xr 9632  df-ltxr 9633  df-le 9634  df-sub 9807  df-neg 9808  df-div 10207  df-2 10594  df-icc 11536  df-top 19194  df-topon 19197  df-cn 19522  df-pco 21268
This theorem is referenced by:  pcoass  21287  pcorevlem  21289
  Copyright terms: Public domain W3C validator