MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  mbfi1fseq Structured version   Visualization version   GIF version

Theorem mbfi1fseq 24325
Description: A characterization of measurability in terms of simple functions (this is an if and only if for nonnegative functions, although we don't prove it). Any nonnegative measurable function is the limit of an increasing sequence of nonnegative simple functions. This proof is an example of a poor de Bruijn factor - the formalized proof is much longer than an average hand proof, which usually just describes the function 𝐺 and "leaves the details as an exercise to the reader". (Contributed by Mario Carneiro, 16-Aug-2014.) (Revised by Mario Carneiro, 23-Aug-2014.)
Hypotheses
Ref Expression
mbfi1fseq.1 (𝜑𝐹 ∈ MblFn)
mbfi1fseq.2 (𝜑𝐹:ℝ⟶(0[,)+∞))
Assertion
Ref Expression
mbfi1fseq (𝜑 → ∃𝑔(𝑔:ℕ⟶dom ∫1 ∧ ∀𝑛 ∈ ℕ (0𝑝r ≤ (𝑔𝑛) ∧ (𝑔𝑛) ∘r ≤ (𝑔‘(𝑛 + 1))) ∧ ∀𝑥 ∈ ℝ (𝑛 ∈ ℕ ↦ ((𝑔𝑛)‘𝑥)) ⇝ (𝐹𝑥)))
Distinct variable groups:   𝑔,𝑛,𝑥,𝐹   𝜑,𝑛,𝑥
Allowed substitution hint:   𝜑(𝑔)

Proof of Theorem mbfi1fseq
Dummy variables 𝑗 𝑘 𝑚 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mbfi1fseq.1 . 2 (𝜑𝐹 ∈ MblFn)
2 mbfi1fseq.2 . 2 (𝜑𝐹:ℝ⟶(0[,)+∞))
3 oveq2 7143 . . . . . 6 (𝑗 = 𝑘 → (2↑𝑗) = (2↑𝑘))
43oveq2d 7151 . . . . 5 (𝑗 = 𝑘 → ((𝐹𝑧) · (2↑𝑗)) = ((𝐹𝑧) · (2↑𝑘)))
54fveq2d 6649 . . . 4 (𝑗 = 𝑘 → (⌊‘((𝐹𝑧) · (2↑𝑗))) = (⌊‘((𝐹𝑧) · (2↑𝑘))))
65, 3oveq12d 7153 . . 3 (𝑗 = 𝑘 → ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)) = ((⌊‘((𝐹𝑧) · (2↑𝑘))) / (2↑𝑘)))
7 fveq2 6645 . . . . 5 (𝑧 = 𝑦 → (𝐹𝑧) = (𝐹𝑦))
87fvoveq1d 7157 . . . 4 (𝑧 = 𝑦 → (⌊‘((𝐹𝑧) · (2↑𝑘))) = (⌊‘((𝐹𝑦) · (2↑𝑘))))
98oveq1d 7150 . . 3 (𝑧 = 𝑦 → ((⌊‘((𝐹𝑧) · (2↑𝑘))) / (2↑𝑘)) = ((⌊‘((𝐹𝑦) · (2↑𝑘))) / (2↑𝑘)))
106, 9cbvmpov 7228 . 2 (𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗))) = (𝑘 ∈ ℕ, 𝑦 ∈ ℝ ↦ ((⌊‘((𝐹𝑦) · (2↑𝑘))) / (2↑𝑘)))
11 eleq1w 2872 . . . . . 6 (𝑦 = 𝑥 → (𝑦 ∈ (-𝑚[,]𝑚) ↔ 𝑥 ∈ (-𝑚[,]𝑚)))
12 oveq2 7143 . . . . . . . 8 (𝑦 = 𝑥 → (𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑦) = (𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥))
1312breq1d 5040 . . . . . . 7 (𝑦 = 𝑥 → ((𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑦) ≤ 𝑚 ↔ (𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥) ≤ 𝑚))
1413, 12ifbieq1d 4448 . . . . . 6 (𝑦 = 𝑥 → if((𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑦) ≤ 𝑚, (𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑦), 𝑚) = if((𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥) ≤ 𝑚, (𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥), 𝑚))
1511, 14ifbieq1d 4448 . . . . 5 (𝑦 = 𝑥 → if(𝑦 ∈ (-𝑚[,]𝑚), if((𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑦) ≤ 𝑚, (𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑦), 𝑚), 0) = if(𝑥 ∈ (-𝑚[,]𝑚), if((𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥) ≤ 𝑚, (𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥), 𝑚), 0))
1615cbvmptv 5133 . . . 4 (𝑦 ∈ ℝ ↦ if(𝑦 ∈ (-𝑚[,]𝑚), if((𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑦) ≤ 𝑚, (𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑦), 𝑚), 0)) = (𝑥 ∈ ℝ ↦ if(𝑥 ∈ (-𝑚[,]𝑚), if((𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥) ≤ 𝑚, (𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥), 𝑚), 0))
17 negeq 10867 . . . . . . . 8 (𝑚 = 𝑘 → -𝑚 = -𝑘)
18 id 22 . . . . . . . 8 (𝑚 = 𝑘𝑚 = 𝑘)
1917, 18oveq12d 7153 . . . . . . 7 (𝑚 = 𝑘 → (-𝑚[,]𝑚) = (-𝑘[,]𝑘))
2019eleq2d 2875 . . . . . 6 (𝑚 = 𝑘 → (𝑥 ∈ (-𝑚[,]𝑚) ↔ 𝑥 ∈ (-𝑘[,]𝑘)))
21 oveq1 7142 . . . . . . . 8 (𝑚 = 𝑘 → (𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥) = (𝑘(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥))
2221, 18breq12d 5043 . . . . . . 7 (𝑚 = 𝑘 → ((𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥) ≤ 𝑚 ↔ (𝑘(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥) ≤ 𝑘))
2322, 21, 18ifbieq12d 4452 . . . . . 6 (𝑚 = 𝑘 → if((𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥) ≤ 𝑚, (𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥), 𝑚) = if((𝑘(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥) ≤ 𝑘, (𝑘(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥), 𝑘))
2420, 23ifbieq1d 4448 . . . . 5 (𝑚 = 𝑘 → if(𝑥 ∈ (-𝑚[,]𝑚), if((𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥) ≤ 𝑚, (𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥), 𝑚), 0) = if(𝑥 ∈ (-𝑘[,]𝑘), if((𝑘(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥) ≤ 𝑘, (𝑘(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥), 𝑘), 0))
2524mpteq2dv 5126 . . . 4 (𝑚 = 𝑘 → (𝑥 ∈ ℝ ↦ if(𝑥 ∈ (-𝑚[,]𝑚), if((𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥) ≤ 𝑚, (𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥), 𝑚), 0)) = (𝑥 ∈ ℝ ↦ if(𝑥 ∈ (-𝑘[,]𝑘), if((𝑘(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥) ≤ 𝑘, (𝑘(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥), 𝑘), 0)))
2616, 25syl5eq 2845 . . 3 (𝑚 = 𝑘 → (𝑦 ∈ ℝ ↦ if(𝑦 ∈ (-𝑚[,]𝑚), if((𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑦) ≤ 𝑚, (𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑦), 𝑚), 0)) = (𝑥 ∈ ℝ ↦ if(𝑥 ∈ (-𝑘[,]𝑘), if((𝑘(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥) ≤ 𝑘, (𝑘(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥), 𝑘), 0)))
2726cbvmptv 5133 . 2 (𝑚 ∈ ℕ ↦ (𝑦 ∈ ℝ ↦ if(𝑦 ∈ (-𝑚[,]𝑚), if((𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑦) ≤ 𝑚, (𝑚(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑦), 𝑚), 0))) = (𝑘 ∈ ℕ ↦ (𝑥 ∈ ℝ ↦ if(𝑥 ∈ (-𝑘[,]𝑘), if((𝑘(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥) ≤ 𝑘, (𝑘(𝑗 ∈ ℕ, 𝑧 ∈ ℝ ↦ ((⌊‘((𝐹𝑧) · (2↑𝑗))) / (2↑𝑗)))𝑥), 𝑘), 0)))
281, 2, 10, 27mbfi1fseqlem6 24324 1 (𝜑 → ∃𝑔(𝑔:ℕ⟶dom ∫1 ∧ ∀𝑛 ∈ ℕ (0𝑝r ≤ (𝑔𝑛) ∧ (𝑔𝑛) ∘r ≤ (𝑔‘(𝑛 + 1))) ∧ ∀𝑥 ∈ ℝ (𝑛 ∈ ℕ ↦ ((𝑔𝑛)‘𝑥)) ⇝ (𝐹𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  w3a 1084  wex 1781  wcel 2111  wral 3106  ifcif 4425   class class class wbr 5030  cmpt 5110  dom cdm 5519  wf 6320  cfv 6324  (class class class)co 7135  cmpo 7137  r cofr 7388  cr 10525  0cc0 10526  1c1 10527   + caddc 10529   · cmul 10531  +∞cpnf 10661  cle 10665  -cneg 10860   / cdiv 11286  cn 11625  2c2 11680  [,)cico 12728  [,]cicc 12729  cfl 13155  cexp 13425  cli 14833  MblFncmbf 24218  1citg1 24219  0𝑝c0p 24273
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441  ax-inf2 9088  ax-cnex 10582  ax-resscn 10583  ax-1cn 10584  ax-icn 10585  ax-addcl 10586  ax-addrcl 10587  ax-mulcl 10588  ax-mulrcl 10589  ax-mulcom 10590  ax-addass 10591  ax-mulass 10592  ax-distr 10593  ax-i2m1 10594  ax-1ne0 10595  ax-1rid 10596  ax-rnegex 10597  ax-rrecex 10598  ax-cnre 10599  ax-pre-lttri 10600  ax-pre-lttrn 10601  ax-pre-ltadd 10602  ax-pre-mulgt0 10603  ax-pre-sup 10604
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-nel 3092  df-ral 3111  df-rex 3112  df-reu 3113  df-rmo 3114  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4801  df-int 4839  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-se 5479  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-pred 6116  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-isom 6333  df-riota 7093  df-ov 7138  df-oprab 7139  df-mpo 7140  df-of 7389  df-ofr 7390  df-om 7561  df-1st 7671  df-2nd 7672  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-1o 8085  df-2o 8086  df-oadd 8089  df-er 8272  df-map 8391  df-pm 8392  df-en 8493  df-dom 8494  df-sdom 8495  df-fin 8496  df-fi 8859  df-sup 8890  df-inf 8891  df-oi 8958  df-dju 9314  df-card 9352  df-pnf 10666  df-mnf 10667  df-xr 10668  df-ltxr 10669  df-le 10670  df-sub 10861  df-neg 10862  df-div 11287  df-nn 11626  df-2 11688  df-3 11689  df-n0 11886  df-z 11970  df-uz 12232  df-q 12337  df-rp 12378  df-xneg 12495  df-xadd 12496  df-xmul 12497  df-ioo 12730  df-ico 12732  df-icc 12733  df-fz 12886  df-fzo 13029  df-fl 13157  df-seq 13365  df-exp 13426  df-hash 13687  df-cj 14450  df-re 14451  df-im 14452  df-sqrt 14586  df-abs 14587  df-clim 14837  df-rlim 14838  df-sum 15035  df-rest 16688  df-topgen 16709  df-psmet 20083  df-xmet 20084  df-met 20085  df-bl 20086  df-mopn 20087  df-top 21499  df-topon 21516  df-bases 21551  df-cmp 21992  df-ovol 24068  df-vol 24069  df-mbf 24223  df-itg1 24224  df-0p 24274
This theorem is referenced by:  mbfi1flimlem  24326  itg2add  24363
  Copyright terms: Public domain W3C validator