Proof of Theorem 1, p.12 — the integral equals
ProvedCorrelatedRounding.integral_p12correlated-roundinge-commerce-fulfillmentp2o-gran-per-chapterp2o-plan-paperp2o-v1
For every integer ,
This elementary integral is the source of the constant in Theorem 1.
Differences from the source: none.
Preamble
import Mathlib
Formal statement
namespace CorrelatedRounding
/-- **The elementary integral.** W. Ma, *Order-optimal Correlated Rounding for Fulfilling Multi-item E-commerce Orders*, arXiv:2207.04774v4, proof of Theorem 1, p.12:
"∫_0^∞ min{q e^{−t}, 1} dt = ln(q) + ∫_{ln(q)}^∞ q e^{−t} dt = ln(q) + q e^{−ln(q)} = 1 + ln(q)."
**Formalization Note.** The three equalities of the chain are the three conjuncts. For `q ≥ 1` the integrands
are integrable, so the Bochner integrals are the true values (the value `1 + ln q ≠ 0` of the first integral
in any case rules out the junk value `0`). -/
theorem integral_p12 (q : ℕ) (hq : 1 ≤ q) :
(∫ t in Set.Ioi (0 : ℝ), min ((q : ℝ) * Real.exp (-t)) 1) =
Real.log q + ∫ t in Set.Ioi (Real.log q), (q : ℝ) * Real.exp (-t) ∧
Real.log q + (∫ t in Set.Ioi (Real.log q), (q : ℝ) * Real.exp (-t)) =
Real.log q + q * Real.exp (-Real.log q) ∧
Real.log q + q * Real.exp (-Real.log q) = 1 + Real.log q := by sorry
end CorrelatedRounding
Source
Ma, Order-optimal Correlated Rounding for Fulfilling Multi-item E-commerce Orders, arXiv:2207.04774v4, proof of Theorem 1, display, p.12
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.