Analysis I, Section 11.3: Upper and lower Riemann integrals #
I have attempted to make the translation as faithful a paraphrasing as possible of the original text. When there is a choice between a more idiomatic Lean solution and a more faithful translation, I have generally chosen the latter. In particular, there will be places where the Lean code could be "golfed" to be more elegant and idiomatic, but I have consciously avoided doing so.
Main constructions and results of this section:
- The upper and lower Riemann integral; the Riemann integral.
- Upper and lower Riemann sums.
Definition 11.3.1 (Majorization of functions)
Equations
- Chapter11.MajorizesOn g f I = ∀ x ∈ ↑I, f x ≤ g x
Instances For
Definition 11.3.2 (Uppper and lower Riemann integrals )
Equations
- Chapter11.upper_integral f I = sInf ((fun (x : ℝ → ℝ) => Chapter11.PiecewiseConstantOn.integ x I) '' {g : ℝ → ℝ | Chapter11.MajorizesOn g f I ∧ Chapter11.PiecewiseConstantOn g I})
Instances For
Equations
- Chapter11.lower_integral f I = sSup ((fun (x : ℝ → ℝ) => Chapter11.PiecewiseConstantOn.integ x I) '' {g : ℝ → ℝ | Chapter11.MinorizesOn g f I ∧ Chapter11.PiecewiseConstantOn g I})
Instances For
Lemma 11.3.3. The proof has been reorganized somewhat from the textbook.
Definition 11.3.4 (Riemann integral) As we permit junk values, the simplest definition for the Riemann integral is the upper integral.
Equations
- Chapter11.integ f I = Chapter11.upper_integral f I
Instances For
Equations
- Chapter11.IntegrableOn f I = (Chapter9.BddOn f ↑I ∧ Chapter11.lower_integral f I = Chapter11.upper_integral f I)
Instances For
Lemma 11.3.7 / Exercise 11.3.3
Remark 11.3.8
Definition 11.3.9 (Riemann sums). The restriction to positive length J is not needed thanks to various junk value conventions.
Instances For
Instances For
Lemma 11.3.11 / Exercise 11.3.4
Proposition 11.3.12 / Exercise 11.3.5
Exercise 11.3.1
Exercise 11.3.1
Exercise 11.3.2