Details

Time bar (total: 5.0s)

sample63.0ms

Algorithm
intervals
Results
37.0ms257×body80valid
3.0msbody1280valid
3.0msbody640valid
2.0msbody320valid
1.0msbody2560valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.5b

localize22.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ (* K (+ m n)) 2.0) M)
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
32.1b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
*-un-lft-identity
unpow-prod-down
add-cube-cbrt add-log-exp
pow1 add-exp-log
pow-unpow add-cbrt-cube difference-of-squares
sub-neg cos-sum distribute-lft-out--
cos-diff pow-to-exp flip3-- pow-pow times-frac diff-log pow-exp flip-- sqr-pow
Counts
3 → 44
Calls
3 calls:
9.0ms
(- (/ (* K (+ m n)) 2.0) M)
33.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
14.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series379.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(- (/ (* K (+ m n)) 2.0) M)
264.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
53.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify78.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
0274399
1743371
23043367
35002364

prune245.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 1.4b

localize20.0ms

Local error

Found 1 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
unpow-prod-down
*-un-lft-identity
add-cube-cbrt pow-unpow
pow1 add-exp-log difference-of-squares
pow-to-exp pow-pow times-frac pow-exp add-cbrt-cube distribute-lft-out-- add-log-exp sqr-pow
Counts
1 → 20
Calls
1 calls:
31.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series273.0ms

Counts
1 → 3
Calls
1 calls:
273.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify44.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0156164
1433159
21446158
35001155

prune101.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 1.4b

localize26.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
32.1b
(cos (- (/ (* K (+ m n)) 2.0) M))
32.1b
(cos (- (/ (* K (+ m n)) 2.0) M))
32.1b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
cos-sum
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-prod cos-diff sub-neg
pow1/3
Counts
4 → 41
Calls
4 calls:
1.0ms
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
14.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
17.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
14.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series352.0ms

Counts
4 → 12
Calls
4 calls:
142.0ms
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
58.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
66.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
85.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify123.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 6 (118.0ms)

IterNodesCost
083464
1123418
2183416
3334416
41040416
53218416
65001397

prune301.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 1.4b

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
0.1b
(exp (cos (- (/ (* K (+ m n)) 2.0) M)))
0.5b
(log (exp (cos (- (/ (* K (+ m n)) 2.0) M))))
32.1b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×*-un-lft-identity
add-cube-cbrt
pow1 unpow-prod-down cos-sum exp-prod
add-exp-log add-log-exp
log-prod exp-diff log-pow add-cbrt-cube
cos-diff sub-neg pow-unpow
log-div exp-sum difference-of-squares
pow-to-exp pow-pow times-frac rem-log-exp pow-exp rem-exp-log distribute-lft-out-- sqr-pow
Counts
4 → 62
Calls
4 calls:
31.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
15.0ms
(exp (cos (- (/ (* K (+ m n)) 2.0) M)))
28.0ms
(log (exp (cos (- (/ (* K (+ m n)) 2.0) M))))
14.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series455.0ms

Counts
4 → 12
Calls
4 calls:
261.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
83.0ms
(exp (cos (- (/ (* K (+ m n)) 2.0) M)))
53.0ms
(log (exp (cos (- (/ (* K (+ m n)) 2.0) M))))
57.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify50.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0258606
1621559
21855558
35002555

prune338.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 1.4b

regimes238.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.6s

Algorithm
intervals
Results
1.1s8090×body80valid
88.0ms161×body640valid
71.0ms97×body1280valid
41.0ms101×body320valid
12.0ms45×body160valid
5.0msbody2560valid