Details

Time bar (total: 6.9s)

sample38.0ms

Algorithm
intervals
Results
20.0ms260×body80valid
1.0msbody640valid
1.0msbody320valid
0.0msbody1280valid
0.0msbody160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19516
221116
355315
4197415
5500115

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.5b

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)
34.7b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite742.0ms

Algorithm
rewrite-expression-head
Rules
198×add-sqr-sqrt
167×*-un-lft-identity
150×prod-diff
81×add-cube-cbrt
78×unpow-prod-down
62×distribute-rgt-neg-in
60×distribute-lft-neg-in
51×difference-of-squares
43×distribute-lft-out--
24×fma-neg
23×cos-sum
22×times-frac
14×add-log-exp
13×sqr-pow
11×associate--r+
pow1 add-exp-log
neg-mul-1 diff-log add-cbrt-cube
expm1-log1p-u associate-*r* log1p-expm1-u
sub-neg pow-unpow associate-*l* div-inv
associate-*r/ neg-log
associate--l- neg-sub0 distribute-rgt-in cos-diff pow-to-exp flip3-- pow-pow distribute-lft-in flip3-+ pow-prod-down pow-exp prod-exp *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out associate--r- unswap-sqr
Counts
4 → 259
Calls
4 calls:
662.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
12.0ms
(* K (+ m n))
31.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
20.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series525.0ms

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

simplify103.0ms

Algorithm
egg-herbie
Counts
271 → 271
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
09916064
128834404
250014329

prune699.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.6b

localize20.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)

rewrite707.0ms

Algorithm
rewrite-expression-head
Rules
179×add-sqr-sqrt
148×*-un-lft-identity
129×prod-diff
78×unpow-prod-down
64×add-cube-cbrt
62×distribute-rgt-neg-in
60×distribute-lft-neg-in
51×difference-of-squares
43×distribute-lft-out--
24×fma-neg
13×times-frac sqr-pow
12×add-log-exp
11×associate--r+
neg-mul-1 diff-log
pow1 add-exp-log pow-unpow
expm1-log1p-u sub-neg neg-log add-cbrt-cube log1p-expm1-u
associate--l- neg-sub0 pow-to-exp flip3-- pow-pow pow-exp flip-- associate--r-
Counts
2 → 201
Calls
2 calls:
663.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
31.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series447.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
207 → 207
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
06085050
116933609
250013001

prune369.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.6b

localize46.0ms

Local error

Found 4 expressions with local error:

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

rewrite4.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 fma-udef
cos-sum sin-sum
Counts
4 → 46
Calls
4 calls:
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 1))))
1.0ms
(sin (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))

series414.0ms

Counts
4 → 8
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
205.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
209.0ms
(sin (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))

simplify128.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (27.0ms)

IterNodesCost
0162538
1381481
2991472
33226466
45001466

prune449.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.6b

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (fma K n (* m K)) 3)
1.3b
(fma K n (* m K))
25.8b
(cbrt (pow (fma K n (* m K)) 3))
34.7b
(cos (- (/ (cbrt (pow (fma K n (* m K)) 3)) 2.0) M))

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
149×cos-sum
147×prod-diff
143×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
135×times-frac
120×cbrt-prod
33×unpow-prod-down cube-prod
11×cube-mult unpow3 sqr-pow
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow div-inv
cos-diff pow-to-exp sub-neg pow-pow pow1/3 pow-exp rem-cbrt-cube fma-udef rem-cube-cbrt
Counts
4 → 217
Calls
4 calls:
1.0ms
(pow (fma K n (* m K)) 3)
0.0ms
(fma K n (* m K))
1.0ms
(cbrt (pow (fma K n (* m K)) 3))
89.0ms
(cos (- (/ (cbrt (pow (fma K n (* m K)) 3)) 2.0) M))

series179.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(pow (fma K n (* m K)) 3)
32.0ms
(fma K n (* m K))
38.0ms
(cbrt (pow (fma K n (* m K)) 3))
52.0ms
(cos (- (/ (cbrt (pow (fma K n (* m K)) 3)) 2.0) M))

simplify106.0ms

Algorithm
egg-herbie
Counts
229 → 229
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
013197694
123956106
250025814

prune430.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.6b

regimes151.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.0s

Algorithm
intervals
Results
628.0ms8103×body80valid
51.0ms158×body640valid
49.0ms106×body1280valid
24.0ms104×body320valid
7.0ms46×body160valid
3.0msbody2560valid