File size: 823 Bytes
e63eb7f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import OAI.Combinatorics.EditApproximation.Refinement.ComputedPhysicalWork
import OAI.Combinatorics.EditApproximation.Refinement.PhysicalCoarseExecution
import OAI.Combinatorics.EditApproximation.Definitions


namespace OAI

namespace EditApproximation

open MeasureTheory





instance computedPhysicalCoarseLaw_probability (source target : List ℕ) (N : ℕ) :
    IsProbabilityMeasure (computedPhysicalCoarseLaw source target N) := by
  unfold computedPhysicalCoarseLaw
  infer_instance

noncomputable def computedPhysicalCoarseSeed (source target : List ℕ) (N : ℕ) :=
  physicalCoarseSeedTable (M := (integerParameters N).M)
    (J := intervalTreeDepth (integerParameters N).M source.length)
    source target N (integerParameters N).B (computedPhysicalCoarseDepth source target N)

end EditApproximation

end OAI