The Henstock–Sacks inequality
ProvedFamousTheorems.henstock_sacks_inequalityThe Henstock–Sacks inequality. Let be integrable on a box (with respect to a gauge-type integration scheme such as the Henstock–Kurzweil, McShane or Riemann integral, and a box-additive volume), and let . Then there is a gauge such that:
- every tagged partition of subordinate to has Riemann sum within of , and
- every tagged prepartition subordinate to has Riemann sum within of , where runs over the boxes of any prepartition covering the same region as .
Part 2 is Henstock's lemma (also called the Saks–Henstock lemma). It is the basic tool of the theory of gauge integrals: it gives the additivity of the integral over subboxes, the monotone and dominated convergence theorems, and the fundamental theorem of calculus for the Henstock–Kurzweil integral.
Formalization note. Mathlib's BoxIntegral.Integrable.dist_integralSum_sum_integral_le_of_memBaseSet_of_iUnion_eq and BoxIntegral.Integrable.dist_integralSum_integral_le_of_memBaseSet, with witness gauge h.convergenceR ε. l : BoxIntegral.IntegrationParams selects the integral (Riemann, McShane, Henstock–Kurzweil and so on). The gauge depends on an extra parameter bounding the distortion of boxes, and l.MemBaseSet I c (r c) π says that is subordinate to the gauge and satisfies the side conditions of l. The volume is a box-additive map vol with values in continuous linear maps , which covers Lebesgue measure. The target must be complete.
import Mathlib
namespace FamousTheorems
theorem henstock_sacks_inequality {ι E F : Type*} [Fintype ι] [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F]
{I : BoxIntegral.Box ι} {l : BoxIntegral.IntegrationParams} {f : (ι → ℝ) → E}
{vol : BoxIntegral.BoxAdditiveMap ι (E →L[ℝ] F) ⊤} (h : BoxIntegral.Integrable I l f vol) {ε : ℝ} (hε : 0 < ε) :
∃ r : NNReal → (ι → ℝ) → Set.Ioi (0 : ℝ),
(∀ (c : NNReal) (π : BoxIntegral.TaggedPrepartition I), l.MemBaseSet I c (r c) π → π.IsPartition →
dist (BoxIntegral.integralSum f vol π) (BoxIntegral.integral I l f vol) ≤ ε) ∧
∀ (c : NNReal) (π : BoxIntegral.TaggedPrepartition I) (π₀ : BoxIntegral.Prepartition I),
l.MemBaseSet I c (r c) π → π.iUnion = π₀.iUnion →
dist (BoxIntegral.integralSum f vol π) (∑ J ∈ π₀.boxes, BoxIntegral.integral J l f vol) ≤ ε := by sorry
end FamousTheorems