Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  stoweidlem21 Structured version   Unicode version

Theorem stoweidlem21 27746
Description: Once the Stone Weierstrass theorem has been proven for approximating nonnegative functions, then this lemma is used to extend the result to functions with (possibly) negative values. (Contributed by Glauco Siliprandi, 20-Apr-2017.)
Hypotheses
Ref Expression
stoweidlem21.1  |-  F/_ t G
stoweidlem21.2  |-  F/_ t H
stoweidlem21.3  |-  F/_ t S
stoweidlem21.4  |-  F/ t
ph
stoweidlem21.5  |-  G  =  ( t  e.  T  |->  ( ( H `  t )  +  S
) )
stoweidlem21.6  |-  ( ph  ->  F : T --> RR )
stoweidlem21.7  |-  ( ph  ->  S  e.  RR )
stoweidlem21.8  |-  ( (
ph  /\  f  e.  A  /\  g  e.  A
)  ->  ( t  e.  T  |->  ( ( f `  t )  +  ( g `  t ) ) )  e.  A )
stoweidlem21.9  |-  ( (
ph  /\  x  e.  RR )  ->  ( t  e.  T  |->  x )  e.  A )
stoweidlem21.10  |-  ( ph  ->  A. f  e.  A  f : T --> RR )
stoweidlem21.11  |-  ( ph  ->  H  e.  A )
stoweidlem21.12  |-  ( ph  ->  A. t  e.  T  ( abs `  ( ( H `  t )  -  ( ( F `
 t )  -  S ) ) )  <  E )
Assertion
Ref Expression
stoweidlem21  |-  ( ph  ->  E. f  e.  A  A. t  e.  T  ( abs `  ( ( f `  t )  -  ( F `  t ) ) )  <  E )
Distinct variable groups:    f, g,
t, T    A, f,
g    f, E, g    f, F, g    f, G, g   
f, H, g    ph, f,
g    S, g    x, t, T    x, A    x, S    ph, x
Allowed substitution hints:    ph( t)    A( t)    S( t, f)    E( x, t)    F( x, t)    G( x, t)    H( x, t)

Proof of Theorem stoweidlem21
Dummy variable  s is distinct from all other variables.
StepHypRef Expression
1 stoweidlem21.5 . . . 4  |-  G  =  ( t  e.  T  |->  ( ( H `  t )  +  S
) )
2 stoweidlem21.4 . . . . 5  |-  F/ t
ph
3 stoweidlem21.7 . . . . . . . 8  |-  ( ph  ->  S  e.  RR )
4 fvconst2g 5945 . . . . . . . 8  |-  ( ( S  e.  RR  /\  t  e.  T )  ->  ( ( T  X.  { S } ) `  t )  =  S )
53, 4sylan 458 . . . . . . 7  |-  ( (
ph  /\  t  e.  T )  ->  (
( T  X.  { S } ) `  t
)  =  S )
65eqcomd 2441 . . . . . 6  |-  ( (
ph  /\  t  e.  T )  ->  S  =  ( ( T  X.  { S }
) `  t )
)
76oveq2d 6097 . . . . 5  |-  ( (
ph  /\  t  e.  T )  ->  (
( H `  t
)  +  S )  =  ( ( H `
 t )  +  ( ( T  X.  { S } ) `  t ) ) )
82, 7mpteq2da 4294 . . . 4  |-  ( ph  ->  ( t  e.  T  |->  ( ( H `  t )  +  S
) )  =  ( t  e.  T  |->  ( ( H `  t
)  +  ( ( T  X.  { S } ) `  t
) ) ) )
91, 8syl5eq 2480 . . 3  |-  ( ph  ->  G  =  ( t  e.  T  |->  ( ( H `  t )  +  ( ( T  X.  { S }
) `  t )
) ) )
10 stoweidlem21.11 . . . 4  |-  ( ph  ->  H  e.  A )
11 fconstmpt 4921 . . . . . 6  |-  ( T  X.  { S }
)  =  ( s  e.  T  |->  S )
12 stoweidlem21.3 . . . . . . 7  |-  F/_ t S
13 nfcv 2572 . . . . . . 7  |-  F/_ s S
14 eqidd 2437 . . . . . . 7  |-  ( s  =  t  ->  S  =  S )
1512, 13, 14cbvmpt 4299 . . . . . 6  |-  ( s  e.  T  |->  S )  =  ( t  e.  T  |->  S )
1611, 15eqtri 2456 . . . . 5  |-  ( T  X.  { S }
)  =  ( t  e.  T  |->  S )
1712nfeq2 2583 . . . . . . . . . 10  |-  F/ t  x  =  S
18 simpl 444 . . . . . . . . . 10  |-  ( ( x  =  S  /\  t  e.  T )  ->  x  =  S )
1917, 18mpteq2da 4294 . . . . . . . . 9  |-  ( x  =  S  ->  (
t  e.  T  |->  x )  =  ( t  e.  T  |->  S ) )
2019eleq1d 2502 . . . . . . . 8  |-  ( x  =  S  ->  (
( t  e.  T  |->  x )  e.  A  <->  ( t  e.  T  |->  S )  e.  A ) )
2120imbi2d 308 . . . . . . 7  |-  ( x  =  S  ->  (
( ph  ->  ( t  e.  T  |->  x )  e.  A )  <->  ( ph  ->  ( t  e.  T  |->  S )  e.  A
) ) )
22 stoweidlem21.9 . . . . . . . 8  |-  ( (
ph  /\  x  e.  RR )  ->  ( t  e.  T  |->  x )  e.  A )
2322expcom 425 . . . . . . 7  |-  ( x  e.  RR  ->  ( ph  ->  ( t  e.  T  |->  x )  e.  A ) )
2421, 23vtoclga 3017 . . . . . 6  |-  ( S  e.  RR  ->  ( ph  ->  ( t  e.  T  |->  S )  e.  A ) )
253, 24mpcom 34 . . . . 5  |-  ( ph  ->  ( t  e.  T  |->  S )  e.  A
)
2616, 25syl5eqel 2520 . . . 4  |-  ( ph  ->  ( T  X.  { S } )  e.  A
)
27 stoweidlem21.8 . . . . 5  |-  ( (
ph  /\  f  e.  A  /\  g  e.  A
)  ->  ( t  e.  T  |->  ( ( f `  t )  +  ( g `  t ) ) )  e.  A )
28 stoweidlem21.2 . . . . 5  |-  F/_ t H
29 nfcv 2572 . . . . . 6  |-  F/_ t T
3012nfsn 3866 . . . . . 6  |-  F/_ t { S }
3129, 30nfxp 4904 . . . . 5  |-  F/_ t
( T  X.  { S } )
3227, 28, 31stoweidlem8 27733 . . . 4  |-  ( (
ph  /\  H  e.  A  /\  ( T  X.  { S } )  e.  A )  ->  (
t  e.  T  |->  ( ( H `  t
)  +  ( ( T  X.  { S } ) `  t
) ) )  e.  A )
3310, 26, 32mpd3an23 1281 . . 3  |-  ( ph  ->  ( t  e.  T  |->  ( ( H `  t )  +  ( ( T  X.  { S } ) `  t
) ) )  e.  A )
349, 33eqeltrd 2510 . 2  |-  ( ph  ->  G  e.  A )
35 simpr 448 . . . . . . . . 9  |-  ( (
ph  /\  t  e.  T )  ->  t  e.  T )
36 stoweidlem21.10 . . . . . . . . . . . 12  |-  ( ph  ->  A. f  e.  A  f : T --> RR )
37 feq1 5576 . . . . . . . . . . . . 13  |-  ( f  =  H  ->  (
f : T --> RR  <->  H : T
--> RR ) )
3837rspccva 3051 . . . . . . . . . . . 12  |-  ( ( A. f  e.  A  f : T --> RR  /\  H  e.  A )  ->  H : T --> RR )
3936, 10, 38syl2anc 643 . . . . . . . . . . 11  |-  ( ph  ->  H : T --> RR )
4039fnvinran 27661 . . . . . . . . . 10  |-  ( (
ph  /\  t  e.  T )  ->  ( H `  t )  e.  RR )
413adantr 452 . . . . . . . . . 10  |-  ( (
ph  /\  t  e.  T )  ->  S  e.  RR )
4240, 41readdcld 9115 . . . . . . . . 9  |-  ( (
ph  /\  t  e.  T )  ->  (
( H `  t
)  +  S )  e.  RR )
431fvmpt2 5812 . . . . . . . . 9  |-  ( ( t  e.  T  /\  ( ( H `  t )  +  S
)  e.  RR )  ->  ( G `  t )  =  ( ( H `  t
)  +  S ) )
4435, 42, 43syl2anc 643 . . . . . . . 8  |-  ( (
ph  /\  t  e.  T )  ->  ( G `  t )  =  ( ( H `
 t )  +  S ) )
4544oveq1d 6096 . . . . . . 7  |-  ( (
ph  /\  t  e.  T )  ->  (
( G `  t
)  -  ( F `
 t ) )  =  ( ( ( H `  t )  +  S )  -  ( F `  t ) ) )
4640recnd 9114 . . . . . . . 8  |-  ( (
ph  /\  t  e.  T )  ->  ( H `  t )  e.  CC )
47 stoweidlem21.6 . . . . . . . . . 10  |-  ( ph  ->  F : T --> RR )
4847fnvinran 27661 . . . . . . . . 9  |-  ( (
ph  /\  t  e.  T )  ->  ( F `  t )  e.  RR )
4948recnd 9114 . . . . . . . 8  |-  ( (
ph  /\  t  e.  T )  ->  ( F `  t )  e.  CC )
503recnd 9114 . . . . . . . . 9  |-  ( ph  ->  S  e.  CC )
5150adantr 452 . . . . . . . 8  |-  ( (
ph  /\  t  e.  T )  ->  S  e.  CC )
5246, 49, 51subsub3d 9441 . . . . . . 7  |-  ( (
ph  /\  t  e.  T )  ->  (
( H `  t
)  -  ( ( F `  t )  -  S ) )  =  ( ( ( H `  t )  +  S )  -  ( F `  t ) ) )
5345, 52eqtr4d 2471 . . . . . 6  |-  ( (
ph  /\  t  e.  T )  ->  (
( G `  t
)  -  ( F `
 t ) )  =  ( ( H `
 t )  -  ( ( F `  t )  -  S
) ) )
5453fveq2d 5732 . . . . 5  |-  ( (
ph  /\  t  e.  T )  ->  ( abs `  ( ( G `
 t )  -  ( F `  t ) ) )  =  ( abs `  ( ( H `  t )  -  ( ( F `
 t )  -  S ) ) ) )
55 stoweidlem21.12 . . . . . 6  |-  ( ph  ->  A. t  e.  T  ( abs `  ( ( H `  t )  -  ( ( F `
 t )  -  S ) ) )  <  E )
5655r19.21bi 2804 . . . . 5  |-  ( (
ph  /\  t  e.  T )  ->  ( abs `  ( ( H `
 t )  -  ( ( F `  t )  -  S
) ) )  < 
E )
5754, 56eqbrtrd 4232 . . . 4  |-  ( (
ph  /\  t  e.  T )  ->  ( abs `  ( ( G `
 t )  -  ( F `  t ) ) )  <  E
)
5857ex 424 . . 3  |-  ( ph  ->  ( t  e.  T  ->  ( abs `  (
( G `  t
)  -  ( F `
 t ) ) )  <  E ) )
592, 58ralrimi 2787 . 2  |-  ( ph  ->  A. t  e.  T  ( abs `  ( ( G `  t )  -  ( F `  t ) ) )  <  E )
60 stoweidlem21.1 . . . . 5  |-  F/_ t G
6160nfeq2 2583 . . . 4  |-  F/ t  f  =  G
62 fveq1 5727 . . . . . . 7  |-  ( f  =  G  ->  (
f `  t )  =  ( G `  t ) )
6362oveq1d 6096 . . . . . 6  |-  ( f  =  G  ->  (
( f `  t
)  -  ( F `
 t ) )  =  ( ( G `
 t )  -  ( F `  t ) ) )
6463fveq2d 5732 . . . . 5  |-  ( f  =  G  ->  ( abs `  ( ( f `
 t )  -  ( F `  t ) ) )  =  ( abs `  ( ( G `  t )  -  ( F `  t ) ) ) )
6564breq1d 4222 . . . 4  |-  ( f  =  G  ->  (
( abs `  (
( f `  t
)  -  ( F `
 t ) ) )  <  E  <->  ( abs `  ( ( G `  t )  -  ( F `  t )
) )  <  E
) )
6661, 65ralbid 2723 . . 3  |-  ( f  =  G  ->  ( A. t  e.  T  ( abs `  ( ( f `  t )  -  ( F `  t ) ) )  <  E  <->  A. t  e.  T  ( abs `  ( ( G `  t )  -  ( F `  t )
) )  <  E
) )
6766rspcev 3052 . 2  |-  ( ( G  e.  A  /\  A. t  e.  T  ( abs `  ( ( G `  t )  -  ( F `  t ) ) )  <  E )  ->  E. f  e.  A  A. t  e.  T  ( abs `  ( ( f `  t )  -  ( F `  t ) ) )  <  E )
6834, 59, 67syl2anc 643 1  |-  ( ph  ->  E. f  e.  A  A. t  e.  T  ( abs `  ( ( f `  t )  -  ( F `  t ) ) )  <  E )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 359    /\ w3a 936   F/wnf 1553    = wceq 1652    e. wcel 1725   F/_wnfc 2559   A.wral 2705   E.wrex 2706   {csn 3814   class class class wbr 4212    e. cmpt 4266    X. cxp 4876   -->wf 5450   ` cfv 5454  (class class class)co 6081   CCcc 8988   RRcr 8989    + caddc 8993    < clt 9120    - cmin 9291   abscabs 12039
This theorem is referenced by:  stoweidlem62  27787
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2417  ax-sep 4330  ax-nul 4338  ax-pow 4377  ax-pr 4403  ax-un 4701  ax-resscn 9047  ax-1cn 9048  ax-icn 9049  ax-addcl 9050  ax-addrcl 9051  ax-mulcl 9052  ax-mulrcl 9053  ax-mulcom 9054  ax-addass 9055  ax-mulass 9056  ax-distr 9057  ax-i2m1 9058  ax-1ne0 9059  ax-1rid 9060  ax-rnegex 9061  ax-rrecex 9062  ax-cnre 9063  ax-pre-lttri 9064  ax-pre-lttrn 9065  ax-pre-ltadd 9066
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2285  df-mo 2286  df-clab 2423  df-cleq 2429  df-clel 2432  df-nfc 2561  df-ne 2601  df-nel 2602  df-ral 2710  df-rex 2711  df-reu 2712  df-rab 2714  df-v 2958  df-sbc 3162  df-csb 3252  df-dif 3323  df-un 3325  df-in 3327  df-ss 3334  df-nul 3629  df-if 3740  df-pw 3801  df-sn 3820  df-pr 3821  df-op 3823  df-uni 4016  df-br 4213  df-opab 4267  df-mpt 4268  df-id 4498  df-po 4503  df-so 4504  df-xp 4884  df-rel 4885  df-cnv 4886  df-co 4887  df-dm 4888  df-rn 4889  df-res 4890  df-ima 4891  df-iota 5418  df-fun 5456  df-fn 5457  df-f 5458  df-f1 5459  df-fo 5460  df-f1o 5461  df-fv 5462  df-ov 6084  df-oprab 6085  df-mpt2 6086  df-riota 6549  df-er 6905  df-en 7110  df-dom 7111  df-sdom 7112  df-pnf 9122  df-mnf 9123  df-ltxr 9125  df-sub 9293
  Copyright terms: Public domain W3C validator