Tent Defect
DefinitionAnalyticCombinatorics_Ch8_Partitions_TentDefectanalytic-combinatoricsdrift-coalescencelean4partitions-support
The source-linked mathematical setting supplies the finite-kernel, rank, moment, renewal or sequence models used by the exact support contracts in this group. The literal model declarations, where catalogued below, retain their source parameters and assumptions. Definition prose must be refined against the actual complete compiler-derived owner before an upload payload is prepared.
Definition code
import Mathlib
set_option autoImplicit true
set_option relaxedAutoImplicit false
set_option maxSynthPendingDepth 3
/-!
# The tent / defect function `Φ_W(d) = max(|d| − W, 0)` (renewal route B primitives)
The fixed-window Tanaka-DEFECT route to the renewal limit uses `Φ_W(d) = max(|d| − W, 0)`: it counts
window crossings robustly to the soft far jumps that break the plain window-occupation local time
(route A is dead — fixed-`b` truncation removes constant mass; see `DOCTRINE-walls.md`).
This file banks the certain primitives:
* `tentW_nonneg`, `tentW_ge` (`Φ_W d ≥ |d| − W`, the PZ-transfer with a `−W` loss),
* `tentW_le_abs`, `tentW_lipschitz`,
* `expected_tentW_ge` (`E[Φ_W(D)] ≥ E|D| − W`), turning the banked `E|D_T| ≥ c√T` into growth of the
defect potential.
-/
noncomputable section
open Finset
namespace AnalyticCombinatorics.Ch8.Partitions.Erdos
variable {ι : Type*} [Fintype ι]
/-- The tent/defect function `Φ_W(d) = max(|d| − W, 0)`. -/
def tentW (W : ℝ) (d : ℝ) : ℝ := max (|d| - W) 0
end AnalyticCombinatorics.Ch8.Partitions.Erdos
Source