OAI/Combinatorics/EditApproximation/Geometry/RankedMemoKernelFresh.lean
2 declarations, 0 contain sorry, 0 declared as axioms
- theorem
OAI.EditApproximation.FiniteQuery.requestWork_eq_fresh_sumline 8 - theorem
OAI.EditApproximation.rankedMemoKernelWork_eq_fresh_sumline 23Source documentation
The local kernel annotation is exactly the sum over the freshly evaluated keys, including the actual adaptive recursive execution.
theorem rankedMemoKernelWork_eq_fresh_sum {κ : Type*} (rank : κ → ℕ) (program : (key : κ) → FiniteQuery {child : κ // rank child < rank key}) (bits : ℕ) (encode cost : κ → ℕ) (key : κ) (memory : BinaryMemo ℚ) : rankedMemoKernelWork rank program bits encode cost key memory = ((rankedMemoEvaluate rank program bits encode key memory).freshKeys.map cost).sum := by …Mentions: OAI.EditApproximation.FiniteQuery, OAI.EditApproximation.BinaryMemo, OAI.EditApproximation.rankedMemoKernelWork, OAI.EditApproximation.rankedMemoEvaluate