OAI/Combinatorics/EditApproximation/Binary/IntegerKernelWork.lean
4 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.EditApproximation.computedFullKernelWorkline 11Source documentation
Full execution counter: the exact fallback branch or the charged randomized execution, including its concrete local kernel costs.
noncomputable def computedFullKernelWork (source target : List ℕ) (N : ℕ) (cost : ComputedFamilyInput source target N → ComputedFamilyMemoKey source target N → ℕ) (setup : ℝ) : ComputedFullOutcome source target N → ℝ | .inl _ => setup + (chargedSuffixDP source target).2 | .inr execution => setup + computedExecutionTotalWork source target N cost executionMentions: OAI.EditApproximation.ComputedFamilyInput, OAI.EditApproximation.ComputedFamilyMemoKey, OAI.EditApproximation.ComputedFullOutcome, OAI.EditApproximation.chargedSuffixDP, OAI.EditApproximation.computedExecutionTotalWork
- theorem
OAI.EditApproximation.computedFullKernelWork_expected_leline 17 - def
OAI.EditApproximation.integerFullKernelWorkline 34 - theorem
OAI.EditApproximation.integerFullKernelWork_expected_near_linearline 44Source documentation
Runtime transport for the concrete local evaluator, with no additional probability hypothesis.
theorem integerFullKernelWork_expected_near_linear (C D : ℕ) (epsilon : BinaryFraction) (hepsilon : 0 < epsilon.value) (epsilonTime : ℝ) (htime : 0 < epsilonTime) : ∀ᶠ N in atTop, ∀ source target : List ℤ, source.length + target.length ≤ N → (∀ z ∈ source ++ target, z.natAbs ≤ (N + 2) ^ C) → ∀ cost : ComputedFamilyInput (source.map integerSymbolCode) (target.map integerSymbolCode) N → ComputedFamilyMemoKey (source.map integerSymbolCode) (target.map integerSymbolCode) N → ℕ, (∀ input key, cost input key ≤ computedLocalKernelBudget D N) → (∫ outcome, integerFullKernelWork source target N epsilon cost outcome ∂computedFullLaw (source.map integerSymbolCode) (target.map integerSymbolCode) N epsilon) ≤ (N + 2 : ℝ) ^ (1 + epsilonTime) := by …Mentions: OAI.EditApproximation.BinaryFraction, OAI.EditApproximation.ComputedFamilyInput, OAI.EditApproximation.integerSymbolCode, OAI.EditApproximation.ComputedFamilyMemoKey, OAI.EditApproximation.computedLocalKernelBudget, OAI.EditApproximation.integerFullKernelWork, OAI.EditApproximation.computedFullLaw