The Buchstab integral over an ordered box
DefinitionLL_Decomp587j_buchstabIntegralFor , , vectors with coordinates indexed by , and , the real number , the integral with respect to Lebesgue measure on over the set of monotone with for all . Here is the penultimate coordinate, so it appears squared in the denominator. As for every Bochner integral, the value is if the integrand is not integrable on .
import Mathlib
import Definitions.Def_LL_Decomp587j_domain
open Real Set MeasureTheory
open scoped Classical
namespace LL_Decomp587j
noncomputable section
def buchstabIntegral (ω : ℝ → ℝ) (n : ℕ) (lo hi : Fin (n + 2) → ℝ) (φ : ℝ) : ℝ :=
∫ x in domain lo hi,
ω ((φ - ∑ j, x j) / x ⟨n, by omega⟩) / ((∏ j, x j) * x ⟨n, by omega⟩)
end
end LL_Decomp587jRead-back
What the Lean code literally says, in plain math · claude-haiku
Read-back of LL_Decomp587j.buchstabIntegral
This is a definition of a real number. Its inputs are a function , a natural number , two vectors (coordinates indexed by ), and a real number . The definition relies on domain lo hi, a set taken from the imported file Definitions.Def_LL_Decomp587j_domain. That file is not unfolded here, so the set of integration is described only as , a subset of determined by that imported definition.
The value is
where is the integration variable. The index in the Lean code is the coordinate in position (zero-based), which is the second-to-last coordinate of the coordinates, not the last one (). The same coordinate appears both in the argument of and as an extra factor in the denominator.
Points worth an auditor's attention:
- The integral is a Lean Bochner integral (
∫ x in S, f x) with respect to the default measure on in Mathlib. The text does not name the measure explicitly. - Lean's real division is total: division by zero returns . So at points where or the integrand takes a junk value, and these points are not excluded by the definition itself. Whether they matter depends on the imported set and on measure theory, which is not visible here.
- Bochner integrals return when the integrand is not integrable on the set. So the displayed value is both for a genuinely zero integral and for a non-integrable integrand. The definition alone does not distinguish these cases.
- The definition is not vacuous or trivially zero in its text, since it is a general formula in , , and . Its content beyond this formula depends on the imported
domainset. - The
by omegaside conditions only certify that , so they are harmless.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.