Documentation

LeanPool.FullyDynamicMatching.FD1D.Parameters

Parameter choices #

This file makes the parameter choices in the hierarchical matching argument computationally exact. Natural-number division is the floor in the definition of the tree depth.

The regularization parameter a = 200 * ceil(log₂(m+1)).

Equations
Instances For

    The positive integer whose largest dyadic power determines the tree.

    Equations
    Instances For

      The depth of the complete dyadic tree.

      Equations
      Instances For

        The number n = 2^L of leaves in the complete dyadic tree.

        Equations
        Instances For
          theorem FD1D.parameterA_pos {m : ℕ} (hm : 1 ≤ m) :
          theorem FD1D.parameterA_ne_zero {m : ℕ} (hm : 1 ≤ m) :
          theorem FD1D.parameterA_cast_pos {m : ℕ} (hm : 1 ≤ m) :
          0 < ↑(parameterA m)
          theorem FD1D.parameterA_cast_ne_zero {m : ℕ} (hm : 1 ≤ m) :
          ↑(parameterA m) ≠ 0
          theorem FD1D.depthTarget_le {m : ℕ} (hm : 1 ≤ m) :
          theorem FD1D.treeDepth_le_clog {m : ℕ} (hm : 1 ≤ m) :
          theorem FD1D.parameterA_cast_ge_treeDepth {m : ℕ} (hm : 1 ≤ m) :
          200 * ↑(treeDepth m) ≤ ↑(parameterA m)
          @[simp]

          n is a power of two not exceeding max(1, floor(m/a)).

          Exponent form of the fact that n is the largest admissible power of two.

          Every power of two below the target is at most n.

          The target is strictly less than twice its largest dyadic power.

          Natural-number form of the reciprocal leaf-size estimate.

          theorem FD1D.one_div_leafCount_le_two_mul_parameterA_div {m : ℕ} (hm : 1 ≤ m) :
          1 / ↑(leafCount m) ≤ 2 * ↑(parameterA m) / ↑m

          The paper's estimate 1/n ≤ 2a/m, over the reals.

          theorem FD1D.parameterA_cast_le_logb {m : ℕ} (hm : 2 ≤ m) :
          ↑(parameterA m) ≤ 800 * Real.logb 2 ↑m

          A convenient explicit logarithmic bound, still written in base two.

          theorem FD1D.parameterA_cast_le_log {m : ℕ} (hm : 2 ≤ m) :
          ↑(parameterA m) ≤ 800 / Real.log 2 * Real.log ↑m

          Explicit natural-log form of a = O(log m), valid for m ≥ 2.

          theorem FD1D.parameterA_isBigO_log :
          (fun (m : ℕ) => ↑(parameterA m)) =O[Filter.atTop] fun (m : ℕ) => Real.log ↑m

          Asymptotic form of the explicit logarithmic estimate.