Three-term asymptotic expansion of (Massias–Nicolas–Robin 1988)
ProvedLandauFunction.landau_log_asymptotic_expansionAs ,
This refines Landau's theorem by two further terms.
Formalization Note The statement is that the difference between and the explicit main term is along in .
import Mathlib import Definitions.Def_LandauFunction_landau
namespace LandauFunction
theorem landau_log_asymptotic_expansion :
(fun n : ℕ => Real.log (landau n) - Real.sqrt (n * Real.log n) *
(1 + (Real.log (Real.log n) - 1) / (2 * Real.log n)
- (Real.log (Real.log n) ^ 2 - 6 * Real.log (Real.log n) + 9) / (8 * Real.log n ^ 2)))
=O[Filter.atTop]
(fun n : ℕ => Real.sqrt (n * Real.log n) * (Real.log (Real.log n) / Real.log n) ^ 3) := by
sorry
end LandauFunction
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — non-blind, same agent as the drafter
Non-blind read-back — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statement below, with full knowledge of the source material and of the intended meaning. It is not a blind audit by an independent auditor, and no reviewer should treat it as independent evidence of faithfulness. It was produced at the explicit request of the proposal owner.
Write and (real natural logarithms; the library sets and , and , but these conventions only matter for , which is irrelevant to an eventual statement). Let be the maximal order of a permutation of an -element set (definition landau). The statement asserts that, as through the natural numbers,
i.e. there are constants and such that for all the absolute value of the left-hand side is at most times the absolute value of . No hypotheses are imposed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.