Details

Time bar (total: 6.1s)

sample48.0ms

Algorithm
intervals
Results
25.0ms259×body80valid
3.0msbody1280valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19516
221116
355315
4197415
5500115

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 11.7b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
179×add-sqr-sqrt
144×*-un-lft-identity
141×prod-diff
130×associate-*r*
123×exp-sum
72×add-cube-cbrt
66×unpow-prod-down
50×distribute-lft-neg-in distribute-rgt-neg-in
46×difference-of-squares
35×distribute-lft-out--
23×cos-sum
20×times-frac
11×sqr-pow
pow1
add-exp-log add-cbrt-cube
associate-*l*
neg-mul-1
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow associate-*r/ div-inv
sub-neg pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
distribute-rgt-in cos-diff pow-to-exp pow-pow distribute-lft-in flip3-+ exp-diff pow-exp flip-+ distribute-lft-out associate--r-
Counts
4 → 224
Calls
4 calls:
64.0ms
(* (cos (- (/ (* K (+ m n)) 2.0) M)) (exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))))
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
7.0ms
(* K (+ m n))
12.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series690.0ms

Counts
4 → 12
Calls
4 calls:
345.0ms
(* (cos (- (/ (* K (+ m n)) 2.0) M)) (exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))))
264.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
28.0ms
(* K (+ m n))
53.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify109.0ms

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
012284982
137364262
250024261

prune714.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 1.6b

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)

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

series462.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
207 → 207
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
06085050
116933609
250013001

prune379.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 1.6b

localize26.0ms

Local error

Found 4 expressions with local error:

12.0b
(cbrt (* K (+ m n)))
12.0b
(cbrt (* K (+ m n)))
12.0b
(cbrt (* K (+ m n)))
33.6b
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
23×cos-sum
21×prod-diff
17×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
cbrt-div associate-*r/
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod flip3-+ pow1/3 flip-+ div-inv
cos-diff sub-neg
Counts
4 → 72
Calls
4 calls:
5.0ms
(cbrt (* K (+ m n)))
5.0ms
(cbrt (* K (+ m n)))
5.0ms
(cbrt (* K (+ m n)))
18.0ms
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

series383.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(cbrt (* K (+ m n)))
109.0ms
(cbrt (* K (+ m n)))
111.0ms
(cbrt (* K (+ m n)))
54.0ms
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

simplify60.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
04261888
17861586
218781562
350021391

prune413.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 1.5b

localize31.0ms

Local error

Found 4 expressions with local error:

12.0b
(cbrt (* K (+ m n)))
12.0b
(cbrt (* K (+ m n)))
12.0b
(cbrt (* K (+ m n)))
33.7b
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (* (* (cbrt (cbrt (* K (+ m n)))) (cbrt (cbrt (* K (+ m n))))) (cbrt (cbrt (* K (+ m n)))))) 2.0) M))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
23×cos-sum
21×prod-diff
17×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
cbrt-div associate-*r/
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod flip3-+ pow1/3 flip-+ div-inv
cos-diff sub-neg
Counts
4 → 72
Calls
4 calls:
5.0ms
(cbrt (* K (+ m n)))
5.0ms
(cbrt (* K (+ m n)))
5.0ms
(cbrt (* K (+ m n)))
29.0ms
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (* (* (cbrt (cbrt (* K (+ m n)))) (cbrt (cbrt (* K (+ m n))))) (cbrt (cbrt (* K (+ m n)))))) 2.0) M))

series379.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(cbrt (* K (+ m n)))
112.0ms
(cbrt (* K (+ m n)))
106.0ms
(cbrt (* K (+ m n)))
54.0ms
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (* (* (cbrt (cbrt (* K (+ m n)))) (cbrt (cbrt (* K (+ m n))))) (cbrt (cbrt (* K (+ m n)))))) 2.0) M))

simplify73.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
04412746
18652356
223222332
350012029

prune446.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 1.5b

regimes302.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.1s

Algorithm
intervals
Results
675.0ms8063×body80valid
67.0ms124×body1280valid
62.0ms164×body640valid
30.0ms117×body320valid
13.0ms55×body160valid
4.0msbody2560valid