Index of theproofnetwork/open-problems@860a535/Prove2Me/Definitions/Def_KPZBallistic_Defs.lean
qedmarket’s copy of theproofnetwork/open-problems@860a535, 30 Nov 2026original source ↗
/-From Prove2Me, definition `KPZBallistic_Defs` (https://prove2.me/definitions/4d63d8b2-ff40-4065-a038-7fd9190fd107). Apache-2.0 per Prove2Me's terms.-/import Mathlib /-!# Ballistic deposition and random deposition on `ℤ` Model layer for the KPZ-universality mission on one-dimensional ballistic deposition. Each column `x : ℤ` carries a rate-one Poisson clock, encoded by its i.i.d. `Exp(1)`inter-arrival times `τ x k`. The `n`-th ring (`n = 0, 1, 2, …`) of column `x` happens at time`arrivalTime τ x n = τ x 0 + ⋯ + τ x n`. * **Random deposition**: the height of column `x` at time `t` is the number of rings of the clock of `x` in `[0, t]`.* **Ballistic deposition** (nearest-neighbour model, flat initial surface): when the clock of column `x` rings, the height of `x` is updated to `max (f x + 1) (max (f (x - 1)) (f (x + 1)))`. On the finite substrate `Q_L = [-L, L]` only the clocks in `Q_L` are used and columns outside `Q_L` stay at height `0`; the rings in `[0, t]` are processed in increasing time order. The height on the infinite substrate `ℤ` is the (monotone) limit `L → ∞`, i.e. the supremum over `L`, taken in `ℕ∞`.-/ open MeasureTheory ProbabilityTheory namespace KPZBallistic /-- Standing hypotheses on the clock data: the inter-arrival times `τ x k`, indexed by`(x, k) ∈ ℤ × ℕ`, are measurable, mutually independent, and each has the exponential law ofrate `1`. -/structure IsPoissonClocks {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) (τ : ℤ → ℕ → Ω → ℝ) : Prop where measurable : ∀ x k, Measurable (τ x k) indep : iIndepFun (fun p : ℤ × ℕ => τ p.1 p.2) P law : ∀ x k, P.map (τ x k) = expMeasure 1 /-- Time of the `n`-th ring (counting from `n = 0`) of the clock of column `x`. -/def arrivalTime {Ω : Type*} (τ : ℤ → ℕ → Ω → ℝ) (x : ℤ) (n : ℕ) (ω : Ω) : ℝ := ∑ k ∈ Finset.range (n + 1), τ x k ω /-- Random deposition height of column `x` at time `t`: the number of rings of the clock of`x` during `[0, t]`. -/noncomputable def rdHeight {Ω : Type*} (τ : ℤ → ℕ → Ω → ℝ) (t : ℝ) (x : ℤ) (ω : Ω) : ℕ := {n : ℕ | arrivalTime τ x n ω ≤ t}.ncard /-- One ballistic-deposition update at column `x`: the new height of `x` is`max (f x + 1) (max (f (x - 1)) (f (x + 1)))`, all other heights are unchanged. -/def bdStep (f : ℤ → ℕ) (x : ℤ) : ℤ → ℕ := Function.update f x (max (f x + 1) (max (f (x - 1)) (f (x + 1)))) /-- The rings in the box `[-L, L]` during `[0, t]`, as (time, column) pairs orderedlexicographically (so by time first). -/noncomputable def boxEvents {Ω : Type*} (τ : ℤ → ℕ → Ω → ℝ) (L : ℕ) (t : ℝ) (ω : Ω) : Finset (ℝ ×ₗ ℤ) := open Classical in let S : Set (ℝ ×ₗ ℤ) := {e | |(ofLex e).2| ≤ (L : ℤ) ∧ (ofLex e).1 ≤ t ∧ ∃ n : ℕ, arrivalTime τ (ofLex e).2 n ω = (ofLex e).1} if h : S.Finite then h.toFinset else ∅ /-- Ballistic deposition on the finite substrate `[-L, L]` with flat initial surface: startfrom height `0` everywhere and apply `bdStep` at each ring of `[0, t]` in time order. -/noncomputable def boxHeight {Ω : Type*} (τ : ℤ → ℕ → Ω → ℝ) (L : ℕ) (t : ℝ) (ω : Ω) : ℤ → ℕ := open Classical in ((boxEvents τ L t ω).sort (· ≤ ·)).foldl (fun f e => bdStep f (ofLex e).2) (fun _ => 0) /-- Ballistic deposition height (last-arrival height) of column `x` at time `t` on theinfinite substrate `ℤ`, flat initial surface: the limit of the finite-substrate heights as`L → ∞`, which is their supremum. -/noncomputable def bdHeight {Ω : Type*} (τ : ℤ → ℕ → Ω → ℝ) (t : ℝ) (x : ℤ) (ω : Ω) : ℕ∞ := ⨆ L : ℕ, ((boxHeight τ L t ω x : ℕ) : ℕ∞) /-- Next-arrival height of column `x` at time `t`: the height column `x` would jump to if itsclock rang at time `t`. -/noncomputable def bdNextHeight {Ω : Type*} (τ : ℤ → ℕ → Ω → ℝ) (t : ℝ) (x : ℤ) (ω : Ω) : ℕ∞ := max (bdHeight τ t x ω + 1) (max (bdHeight τ t (x - 1) ω) (bdHeight τ t (x + 1) ω)) /-- Real-valued ballistic deposition height (`0` on the null event where the height isinfinite). -/noncomputable def bdHeightReal {Ω : Type*} (τ : ℤ → ℕ → Ω → ℝ) (t : ℝ) (x : ℤ) (ω : Ω) : ℝ := ((bdHeight τ t x ω).toNat : ℝ) end KPZBallistic