Details

Time bar (total: 2.6s)

sample41.0ms

Algorithm
intervals
Results
21.0ms260×body80valid
2.0msbody1280valid
1.0msbody640valid
0.0msbody320valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune8.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 13.5b

Counts
2 → 1

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
0.0b
(* K (+ m n))
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
36.1b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
sub-neg
+-commutative distribute-rgt-in cos-sum distribute-lft-in associate-*r/ associate--r+
associate--l- neg-sub0 cos-diff pow-to-exp flip3-- flip3-+ *-commutative flip-- flip-+ associate--r- sqr-pow
Counts
4 → 20
Calls
4 calls:
7.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
3.0ms
(* K (+ m n))
4.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
7.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series536.0ms

Counts
4 → 12
Calls
4 calls:
172.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
27.0ms
(* K (+ m n))
285.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
52.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify55.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0242228
1581220
21930215
35001208

prune111.0ms

Filtered
32 candidates to 22 candidates (68.8%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New31132
Fresh000
Picked011
Done000
Total31233

Merged error: 0.6b

Counts
33 → 2

localize15.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
sub-neg associate--r+
associate--l- neg-sub0 pow-to-exp flip3-- flip-- associate--r- sqr-pow
Counts
2 → 10
Calls
2 calls:
6.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
4.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series421.0ms

Counts
2 → 6
Calls
2 calls:
172.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
248.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify49.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0172154
1423146
21531141
35001134

prune53.0ms

Filtered
16 candidates to 13 candidates (81.3%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New16016
Fresh000
Picked011
Done011
Total16218

Merged error: 0.6b

Counts
18 → 2

regimes125.0ms

Accuracy

0% (0.2b remaining)

Error of 1.4b against oracle of 1.2b and baseline of 1.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.1s

Algorithm
intervals
Results
656.0ms8087×body80valid
66.0ms132×body1280valid
51.0ms145×body640valid
32.0ms108×body320valid
10.0ms43×body160valid
1.0msbody2560valid