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

Theorem stowei 47487
Description: This theorem proves the Stone-Weierstrass theorem for real-valued functions: let 𝐽 be a compact topology on 𝑇, and 𝐶 be the set of real continuous functions on 𝑇. Assume that 𝐴 is a subalgebra of 𝐶 (closed under addition and multiplication of functions) containing constant functions and discriminating points (if 𝑟 and 𝑡 are distinct points in 𝑇, then there exists a function ℎ in 𝐴 such that h(r) is distinct from h(t) ). Then, for any continuous function 𝐹 and for any positive real 𝐸, there exists a function 𝑓 in the subalgebra 𝐴, such that 𝑓 approximates 𝐹 up to 𝐸 (𝐸 represents the usual ε value). As a classical example, given any a, b reals, the closed interval 𝑇 = [𝑎, 𝑏] could be taken, along with the subalgebra 𝐴 of real polynomials on 𝑇, and then use this theorem to easily prove that real polynomials are dense in the standard metric space of continuous functions on [𝑎, 𝑏]. The proof and lemmas are written following [BrosowskiDeutsh] p. 89 (through page 92). Some effort is put in avoiding the use of the axiom of choice. The deduction version of this theorem is stoweid 47486: often times it will be better to use stoweid 47486 in other proofs (but this version is probably easier to be read and understood). (Contributed by Glauco Siliprandi, 20-Apr-2017.)
Hypotheses
Ref Expression
stowei.1 𝐾 = (topGen‘ran (,))
stowei.2 𝐽 ∈ Comp
stowei.3 𝑇 = ∪ 𝐽
stowei.4 𝐶 = (𝐽 Cn 𝐾)
stowei.5 𝐴 ⊆ 𝐶
stowei.6 ((𝑓 ∈ 𝐴 ∧ 𝑔 ∈ 𝐴) → (𝑡 ∈ 𝑇 ↦ ((𝑓‘𝑡) + (𝑔‘𝑡))) ∈ 𝐴)
stowei.7 ((𝑓 ∈ 𝐴 ∧ 𝑔 ∈ 𝐴) → (𝑡 ∈ 𝑇 ↦ ((𝑓‘𝑡) · (𝑔‘𝑡))) ∈ 𝐴)
stowei.8 (𝑥 ∈ ℝ → (𝑡 ∈ 𝑇 ↦ 𝑥) ∈ 𝐴)
stowei.9 ((𝑟 ∈ 𝑇 ∧ 𝑡 ∈ 𝑇 ∧ 𝑟 ≠ 𝑡) → ∃ℎ ∈ 𝐴 (ℎ‘𝑟) ≠ (ℎ‘𝑡))
stowei.10 𝐹 ∈ 𝐶
stowei.11 𝐸 ∈ ℝ+
Assertion
Ref Expression
stowei ∃𝑓 ∈ 𝐴 ∀𝑡 ∈ 𝑇 (abs‘((𝑓‘𝑡) − (𝐹‘𝑡))) < 𝐸
Distinct variable groups:   𝑓,𝑔,𝑡,𝐴   𝑓,ℎ,𝑟,𝑥,𝑡,𝐴   𝑓,𝐸,𝑔,𝑡   𝑓,𝐹,𝑔,𝑡   𝑓,𝐽,𝑟,𝑡   𝑇,𝑓,𝑔,𝑡   ℎ,𝐸,𝑟,𝑥   ℎ,𝐹,𝑟,𝑥   𝑇,ℎ,𝑟,𝑥   𝑡,𝐾
Allowed substitution hints:   𝐶(𝑥, 𝑡, 𝑓, 𝑔, ℎ, 𝑟)   𝐽(𝑥, 𝑔, ℎ)   𝐾(𝑥, 𝑓, 𝑔, ℎ, 𝑟)

Proof of Theorem stowei
StepHypRef Expression
1 nfcv 2937 . . 3 Ⅎ𝑡𝐹
2 nftru 1843 . . 3 Ⅎ𝑡⊤
3 stowei.1 . . 3 𝐾 = (topGen‘ran (,))
4 stowei.2 . . . 4 𝐽 ∈ Comp
54a1i 11 . . 3 (⊤ → 𝐽 ∈ Comp)
6 stowei.3 . . 3 𝑇 = ∪ 𝐽
7 stowei.4 . . 3 𝐶 = (𝐽 Cn 𝐾)
8 stowei.5 . . . 4 𝐴 ⊆ 𝐶
98a1i 11 . . 3 (⊤ → 𝐴 ⊆ 𝐶)
10 stowei.6 . . . 4 ((𝑓 ∈ 𝐴 ∧ 𝑔 ∈ 𝐴) → (𝑡 ∈ 𝑇 ↦ ((𝑓‘𝑡) + (𝑔‘𝑡))) ∈ 𝐴)
11103adant1 1149 . . 3 ((⊤ ∧ 𝑓 ∈ 𝐴 ∧ 𝑔 ∈ 𝐴) → (𝑡 ∈ 𝑇 ↦ ((𝑓‘𝑡) + (𝑔‘𝑡))) ∈ 𝐴)
12 stowei.7 . . . 4 ((𝑓 ∈ 𝐴 ∧ 𝑔 ∈ 𝐴) → (𝑡 ∈ 𝑇 ↦ ((𝑓‘𝑡) · (𝑔‘𝑡))) ∈ 𝐴)
13123adant1 1149 . . 3 ((⊤ ∧ 𝑓 ∈ 𝐴 ∧ 𝑔 ∈ 𝐴) → (𝑡 ∈ 𝑇 ↦ ((𝑓‘𝑡) · (𝑔‘𝑡))) ∈ 𝐴)
14 stowei.8 . . . 4 (𝑥 ∈ ℝ → (𝑡 ∈ 𝑇 ↦ 𝑥) ∈ 𝐴)
1514adantl 487 . . 3 ((⊤ ∧ 𝑥 ∈ ℝ) → (𝑡 ∈ 𝑇 ↦ 𝑥) ∈ 𝐴)
16 stowei.9 . . . 4 ((𝑟 ∈ 𝑇 ∧ 𝑡 ∈ 𝑇 ∧ 𝑟 ≠ 𝑡) → ∃ℎ ∈ 𝐴 (ℎ‘𝑟) ≠ (ℎ‘𝑡))
1716adantl 487 . . 3 ((⊤ ∧ (𝑟 ∈ 𝑇 ∧ 𝑡 ∈ 𝑇 ∧ 𝑟 ≠ 𝑡)) → ∃ℎ ∈ 𝐴 (ℎ‘𝑟) ≠ (ℎ‘𝑡))
18 stowei.10 . . . 4 𝐹 ∈ 𝐶
1918a1i 11 . . 3 (⊤ → 𝐹 ∈ 𝐶)
20 stowei.11 . . . 4 𝐸 ∈ ℝ+
2120a1i 11 . . 3 (⊤ → 𝐸 ∈ ℝ+)
221, 2, 3, 5, 6, 7, 9, 11, 13, 15, 17, 19, 21stoweid 47486 . 2 (⊤ → ∃𝑓 ∈ 𝐴 ∀𝑡 ∈ 𝑇 (abs‘((𝑓‘𝑡) − (𝐹‘𝑡))) < 𝐸)
2322mptru 1579 1 ∃𝑓 ∈ 𝐴 ∀𝑡 ∈ 𝑇 (abs‘((𝑓‘𝑡) − (𝐹‘𝑡))) < 𝐸
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1104   = wceq 1572  ⊤wtru 1573   ∈ wcel 2156   ≠ wne 2970  ∀wral 3091  ∃wrex 3101   ⊆ wss 3907  ∪ cuni 4880   class class class wbr 5116   ↦ cmpt 5200  ran crn 5667  ‘cfv 6578  (class class class)co 7467  ℝcr 11254   + caddc 11258   · cmul 11260   < clt 11398   − cmin 11596  ℝ+crp 13176  (,)cioo 13532  abscabs 15462  topGenctg 17683   Cn ccn 23647  Compccmp 23809
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7799  ax-inf2 9695  ax-cnex 11311  ax-resscn 11312  ax-1cn 11313  ax-icn 11314  ax-addcl 11315  ax-addrcl 11316  ax-mulcl 11317  ax-mulrcl 11318  ax-mulcom 11319  ax-addass 11320  ax-mulass 11321  ax-distr 11322  ax-i2m1 11323  ax-1ne0 11324  ax-1rid 11325  ax-rnegex 11326  ax-rrecex 11327  ax-cnre 11328  ax-pre-lttri 11329  ax-pre-lttrn 11330  ax-pre-ltadd 11331  ax-pre-mulgt0 11332  ax-pre-sup 11333  ax-addf 11334
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-nel 3077  df-ral 3092  df-rex 3102  df-rmo 3376  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-tp 4600  df-op 4849  df-uni 4881  df-int 4921  df-iun 4966  df-iin 4967  df-br 5117  df-opab 5182  df-mpt 5201  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-se 5620  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6342  df-ord 6403  df-on 6404  df-lim 6405  df-suc 6406  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-f1 6583  df-fo 6584  df-f1o 6585  df-fv 6586  df-isom 6587  df-riota 7423  df-ov 7470  df-oprab 7471  df-mpo 7472  df-of 7741  df-om 7928  df-1st 8051  df-2nd 8052  df-supp 8231  df-frecs 8353  df-wrecs 8384  df-recs 8433  df-rdg 8472  df-1o 8530  df-2o 8531  df-er 8771  df-map 8903  df-pm 8904  df-ixp 8980  df-en 9028  df-dom 9029  df-sdom 9030  df-fin 9031  df-fsupp 9408  df-fi 9456  df-sup 9487  df-inf 9488  df-oi 9557  df-card 10073  df-pnf 11400  df-mnf 11401  df-xr 11402  df-ltxr 11403  df-le 11404  df-sub 11598  df-neg 11599  df-div 12030  df-nn 12392  df-2 12461  df-3 12462  df-4 12463  df-5 12464  df-6 12465  df-7 12466  df-8 12467  df-9 12468  df-n0 12663  df-z 12750  df-dec 12871  df-uz 13022  df-q 13132  df-rp 13177  df-xneg 13297  df-xadd 13298  df-xmul 13299  df-ioo 13536  df-ioc 13537  df-ico 13538  df-icc 13539  df-fz 13696  df-fzo 13845  df-fl 13990  df-seq 14203  df-exp 14263  df-hash 14534  df-cj 15327  df-re 15328  df-im 15329  df-sqrt 15463  df-abs 15464  df-clim 15717  df-rlim 15718  df-sum 15916  df-struct 17390  df-sets 17407  df-slot 17425  df-ndx 17437  df-base 17453  df-ress 17474  df-plusg 17507  df-mulr 17508  df-starv 17509  df-sca 17510  df-vsca 17511  df-ip 17512  df-tset 17513  df-ple 17514  df-ds 17516  df-unif 17517  df-hom 17518  df-cco 17519  df-euf 17520  df-rest 17668  df-topn 17669  df-0g 17687  df-gsum 17688  df-topgen 17689  df-pt 17690  df-prds 17693  df-xrs 17749  df-qtop 17754  df-imas 17755  df-xps 17757  df-mre 17831  df-mrc 17832  df-acs 17834  df-mgm 18891  df-sgrp 18983  df-mnd 18999  df-submnd 19054  df-mulg 19355  df-cntz 19609  df-cmn 20074  df-psmet 21763  df-xmet 21764  df-met 21765  df-bl 21766  df-mopn 21767  df-cnfld 21772  df-top 23317  df-topon 23334  df-topsp 23356  df-bases 23369  df-cld 23442  df-cn 23650  df-cnp 23651  df-cmp 23810  df-tx 23986  df-hmeo 24179  df-xms 24744  df-ms 24745  df-tms 24746
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator