Details

Time bar (total: 5.8s)

sample44.0ms

Algorithm
intervals
Results
21.0ms258×body80valid
3.0msbody1280valid
2.0msbody640valid
2.0msbody320valid
0.0msbody160valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19516
221116
355315
4197415
5500115

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.2b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt
42×*-un-lft-identity prod-diff
36×add-cube-cbrt
23×cos-sum
22×times-frac
pow1 add-exp-log fma-neg div-inv
unpow-prod-down add-cbrt-cube add-log-exp
expm1-log1p-u associate-*r* log1p-expm1-u
pow-unpow associate-*l* difference-of-squares
sub-neg associate-*r/ distribute-lft-out--
distribute-rgt-in cos-diff pow-to-exp flip3-- pow-pow distribute-lft-in flip3-+ diff-log pow-prod-down pow-exp prod-exp *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out unswap-sqr sqr-pow
Counts
4 → 124
Calls
4 calls:
9.0ms
(- (/ (* K (+ m n)) 2.0) M)
6.0ms
(* K (+ m n))
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
11.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series397.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(- (/ (* K (+ m n)) 2.0) M)
24.0ms
(* K (+ m n))
257.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
58.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify59.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
06121660
119071270
250031268

prune467.0ms

Filtered
136 candidates to 82 candidates (60.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.8b

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

rewrite50.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:
26.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series442.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
207 → 207
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
06085050
116933609
250013001

prune352.0ms

Filtered
207 candidates to 71 candidates (34.3%)
Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.8b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
23×cos-sum
21×prod-diff
20×add-sqr-sqrt add-cube-cbrt
12×cbrt-prod
times-frac
cbrt-div
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-+ pow1/3 flip-+ div-inv distribute-lft-out
cos-diff sub-neg
Counts
4 → 81
Calls
4 calls:
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
24.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

series482.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(cbrt (+ m n))
131.0ms
(cbrt (+ m n))
125.0ms
(cbrt (+ m n))
101.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

simplify88.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
04271747
19061467
231541458
350011308

prune443.0ms

Filtered
93 candidates to 63 candidates (67.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.8b

localize35.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ m n))
0.5b
(cbrt (+ m n))
2.7b
(pow (+ m n) 1/3)
19.0b
(cos (- (/ (* (* K (* (pow (+ m n) 1/3) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
23×cos-sum
21×add-sqr-sqrt add-cube-cbrt prod-diff
times-frac
cbrt-prod
pow1 add-exp-log
expm1-log1p-u unpow-prod-down cbrt-div add-cbrt-cube log1p-expm1-u add-log-exp
pow-unpow div-inv distribute-lft-out
flip3-+ pow1/3 flip-+
cos-diff pow-to-exp sub-neg pow-pow unpow1/3 pow-exp sqr-pow
Counts
4 → 86
Calls
4 calls:
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
5.0ms
(pow (+ m n) 1/3)
19.0ms
(cos (- (/ (* (* K (* (pow (+ m n) 1/3) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

series602.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(cbrt (+ m n))
125.0ms
(cbrt (+ m n))
143.0ms
(pow (+ m n) 1/3)
202.0ms
(cos (- (/ (* (* K (* (pow (+ m n) 1/3) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

simplify52.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
05351746
114361454
250011445

prune480.0ms

Filtered
98 candidates to 68 candidates (69.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.8b

regimes365.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.2s

Algorithm
intervals
Results
707.0ms8088×body80valid
66.0ms128×body1280valid
58.0ms154×body640valid
34.0ms118×body320valid
13.0ms57×body160valid
3.0msbody2560valid