Details

Time bar (total: 6.4s)

sample63.0ms

Algorithm
intervals
Results
36.0ms261×body80valid
2.0msbody640valid
1.0msbody320valid
1.0msbody160valid
1.0msbody1280valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19516
221116
355315
4197415
5500115

prune26.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.7b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
42×prod-diff
40×*-un-lft-identity
36×add-cube-cbrt
25×times-frac
23×cos-sum
10×add-exp-log
add-cbrt-cube
div-inv
fma-neg
unpow-prod-down add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
pow-unpow associate-/r* difference-of-squares
cbrt-undiv sub-neg associate-*r/ div-exp associate-/l/ distribute-lft-out--
cos-diff pow-to-exp flip3-- pow-pow frac-2neg flip3-+ diff-log pow-exp prod-exp clear-num flip-- cbrt-unprod flip-+ associate-/l* sqr-pow
Counts
4 → 124
Calls
4 calls:
11.0ms
(- (/ (* K (+ m n)) 2.0) M)
35.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
5.0ms
(/ (* K (+ m n)) 2.0)
20.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series91.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(- (/ (* K (+ m n)) 2.0) M)
45.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
9.0ms
(/ (* K (+ m n)) 2.0)
23.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify61.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
06221697
120681299
250021294

prune1.4s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.8b

localize14.0ms

Local error

Found 1 expressions with local error:

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

rewrite34.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
expm1-log1p-u pow-to-exp pow-pow times-frac pow-exp add-cbrt-cube log1p-expm1-u distribute-lft-out-- add-log-exp sqr-pow
Counts
1 → 22
Calls
1 calls:
33.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series44.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0159174
1445168
21492167
35001162

prune292.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.8b

localize27.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
36.0b
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- M)))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
cos-sum fma-udef
Counts
4 → 49
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
1.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- M)))

series41.0ms

Counts
4 → 6
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
40.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- M)))

simplify100.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (28.0ms)

IterNodesCost
077281
1144253
2316247
3854247
43641244
55002244

prune864.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.8b

localize30.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
36.0b
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- M)))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
cos-sum fma-udef
Counts
4 → 49
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
1.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- M)))

series40.0ms

Counts
4 → 6
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
40.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- M)))

simplify98.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (28.0ms)

IterNodesCost
077311
1144283
2316277
3854277
43641274
55002274

prune865.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.8b

regimes531.0ms

Accuracy

0% (0.2b remaining)

Error of 1.3b against oracle of 1.1b and baseline of 1.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.1s8076×body80valid
99.0ms126×body1280valid
89.0ms144×body640valid
47.0ms103×body320valid
12.0ms43×body160valid
7.0msbody2560valid