OAI/Combinatorics/EditApproximation/Geometry/Work.lean
2 declarations, 0 contain sorry, 0 declared as axioms
Finite dependency-path accounting
The double sum is the dependency-path budget in Section 10 of the edit-distance manuscript, with separate branching bounds for same-index and earlier-index requests.
- def
OAI.EditApproximation.dependencyPathBudgetline 19Source documentation
Overcount of dependency paths with at most
depthdescending edges andindicesstrictly earlier-index/pass edges.def dependencyPathBudget (depth indices same earlier : ℕ) : ℕ := …
- theorem
OAI.EditApproximation.dependencyPathBudget_leline 25Source documentation
Explicit bound on the double sum, before substituting asymptotic parameters. All quantities are natural numbers.
theorem dependencyPathBudget_le (depth indices same earlier : ℕ) (hsame : 1 ≤ same) (hearlier : 1 ≤ earlier) : dependencyPathBudget depth indices same earlier ≤ (depth + 1) * (indices + 1) * 2 ^ (depth + indices) * same ^ depth * earlier ^ indices := by …