Mass Rate Assembly mathematical objects
DefinitionAnalyticCombinatorics_Ch8_Partitions_MassRateAssemblyanalytic-combinatoricsinteger-partitionslean4
kernelMassApprox2 is the explicit second approximation to the partition recurrence kernel mass.
Definition code
import Definitions.Def_AnalyticCombinatorics_Ch8_Partitions_ErdosKernel import Definitions.Def_AnalyticCombinatorics_Ch8_Partitions_MassRateMoments import Mathlib set_option autoImplicit true set_option relaxedAutoImplicit false set_option maxSynthPendingDepth 3 /-! # Mass-rate campaign: §6 the √n-cancellation in the second-order approximation `kernelMassApprox2 n = (1/n)·M₀(t) + (1/n²)·M₁(t) − (C/(8n²√n))·M₂(t)` at `t = lam/√n` satisfies `|kernelMassApprox2 n − 1| ≤ K/n` eventually: the three weak asymptotics give a leading `1`, the `1/√n` terms cancel exactly (`mass_rate_sqrt_coeff_cancel`, `massLam_sq` i.e. `lam²=π²/6`), and all remainders are `O(1/n)`. Opus-authored. -/ set_option maxHeartbeats 1000000 noncomputable section open Filter open scoped Topology namespace AnalyticCombinatorics.Ch8.Partitions.Erdos /-- The second-order approximation to the kernel mass (R8 §5). -/ noncomputable def kernelMassApprox2 (n : ℕ) : ℝ := let t := massLam / Real.sqrt (n : ℝ) (1 / (n : ℝ)) * sigmaMoment 0 t + (1 / (n : ℝ) ^ 2) * sigmaMoment 1 t - (C / (8 * (n : ℝ) ^ 2 * Real.sqrt (n : ℝ))) * sigmaMoment 2 t end AnalyticCombinatorics.Ch8.Partitions.Erdos
Source