Documentation

LeanPool.AutoconvolutionSharpness.GoodBlocks

Enumerating the plateaus #

The index of a plateau records its level and the sets of digits selected on each side. Its start is D * peakCode D x, its width is x.1, and its height is Estimate.height n x.1. peakCode_injOn and peak_sum let the analysis use this family directly without listing any example numerically.

@[reducible, inline]

A plateau level together with its two zero-one multiplicity vectors.

Equations
Instances For
    noncomputable def Autoconvolutions.Blocks.peakSet {m : ℕ} (I J : Finset (Fin m)) (n K : ℕ) :

    For each plateau use its level and the two zero / one multiplicity vectors.

    Equations
    Instances For

      Divide the block start by D, so a single unit of this index separates two blocks.

      Equations
      Instances For
        theorem Autoconvolutions.Blocks.peak_mem {m n K : ℕ} {I J : Finset (Fin m)} {x : Peak m} (hx : x ∈ peakSet I J n K) :
        x.fst ≤ K ∧ x.snd.1 ∈ goodVectors I (2 * n - x.fst) ∧ x.snd.2 ∈ goodVectors J (2 * n + x.fst)
        theorem Autoconvolutions.Blocks.peak_row {m n K D h : ℕ} {I J : Finset (Fin m)} {x : Peak m} (hx : x ∈ peakSet I J n K) (hh : h < D) :
        (x.snd, h) ∈ rows I J (2 * n - x.fst) (2 * n + x.fst) D
        @[simp]
        theorem Autoconvolutions.Blocks.peak_rowKey {m : ℕ} (x : Peak m) (D h : ℕ) :
        rowKey D (x.snd, h) = D * peakCode D x + h
        theorem Autoconvolutions.Blocks.peakCode_injOn {m n K D : ℕ} {I J : Finset (Fin m)} (hD : 1 < D) (hd : Disjoint I J) (hK : K ≤ n) (hnD : 4 * n < D) :
        Set.InjOn (peakCode D) ↑(peakSet I J n K)

        Distinct peak indices have distinct starts, even when their levels differ.

        theorem Autoconvolutions.Blocks.peak_sum {m : ℕ} (I J : Finset (Fin m)) (n K : ℕ) :
        ∑ x ∈ peakSet I J n K, ↑x.fst * Estimate.height n x.fst ^ 2 = ∑ s ∈ Finset.range (K + 1), ↑s * Estimate.count n I.card J.card s * Estimate.height n s ^ 2

        Summing s A_s² once per plateau gives exactly the binomial sum in §2.