Details

Time bar (total: 6.1s)

sample44.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (10.0ms)

IterNodesCost
05016
19516
221116
355315
4197415
5500115

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 11.7b

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

rewrite107.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:
63.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)
6.0ms
(* K (+ m n))
12.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series692.0ms

Counts
4 → 12
Calls
4 calls:
349.0ms
(* (cos (- (/ (* K (+ m n)) 2.0) M)) (exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))))
261.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
24.0ms
(* K (+ m n))
58.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify109.0ms

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
012284982
137364262
250024261

prune708.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 1.6b

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)

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

series454.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
207 → 207
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
06085050
116933609
250013001

prune381.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 1.6b

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

rewrite31.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)))
14.0ms
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

series380.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(cbrt (* K (+ m n)))
109.0ms
(cbrt (* K (+ m n)))
105.0ms
(cbrt (* K (+ m n)))
60.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 (46.0ms)

IterNodesCost
04261888
17861586
218781562
350021391

prune397.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 1.5b

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

rewrite59.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)))
42.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))

series375.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(cbrt (* K (+ m n)))
105.0ms
(cbrt (* K (+ m n)))
107.0ms
(cbrt (* K (+ m n)))
60.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

prune448.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 1.5b

regimes299.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.1s

Algorithm
intervals
Results
681.0ms8063×body80valid
63.0ms124×body1280valid
58.0ms164×body640valid
30.0ms117×body320valid
9.0ms55×body160valid
4.0msbody2560valid