Documentation

LeanPool.ParameterFreeGradient.V7.Proofs.Stage8Main.Accounting

Regime-specific local trial costs combine with geometric path amortization.

A universal constant selected from the geometric trial amortization theorem.

Equations
Instances For
    noncomputable def V7.Stage8Main.amortFor (p : ℝ) (hp : 1 < p) :

    The exponent-dependent constant selected from the geometric trial amortization theorem.

    Equations
    Instances For
      theorem V7.Stage8Main.amortFor_pos (p : ℝ) (hp : 1 < p) :
      0 < amortFor p hp
      noncomputable def V7.Stage8Main.selectedAmort (p : ℝ) (hp : 1 < p) :

      The universal amortization constant at exponent two and the regime constant otherwise.

      Equations
      Instances For
        theorem V7.Stage8Main.selectedAmort_pos (p : ℝ) (hp : 1 < p) :
        theorem V7.Stage8Main.reportCalls_bound {d : ℕ} (data : RuntimeData d) (inst : PositiveInstance data.input.p d data.input.x0) (hcached : data.cached.observation = O3.PairOracle.observe inst.oracle data.input.x0) (hlarge : data.input.eps < lpNorm (conjugateExponent data.input.p) (inst.oracle.gradient data.input.x0)) (hMaBound : data.Ma < 2 * inst.L) (hDaBound : data.G / data.Ma ≤ 2 * inst.R) {finish : RuntimeFinish d} (hinv : FinishInvariant data inst finish) :
        ↑(List.map (fun (report : TrialReport d) => report.calls) finish.reports).sum ≤ runtimeCoefficient data * selectedAmort data.input.p ⋯ * conditionBar inst data.input.eps ^ localCostExponent data.input.p