File size: 608 Bytes
e63eb7f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import OAI.Combinatorics.EditApproximation.Geometry.RankedMemoKernelFresh
import OAI.Combinatorics.EditApproximation.Refinement.ComputedKernelWork

namespace OAI

namespace EditApproximation

theorem computedFamilyKernelWork_eq_fresh_sum (source target : List ℕ) (N : ℕ)
    (input : ComputedFamilyInput source target N)
    (cost : ComputedFamilyMemoKey source target N → ℕ) :
    computedFamilyKernelWork source target N input cost =
      ((computedFamilyResult source target N input).freshKeys.map cost).sum :=
  rankedMemoKernelWork_eq_fresh_sum _ _ _ _ cost _ _

end EditApproximation

end OAI