Details

Time bar (total: 9.3s)

sample62.0ms

Algorithm
intervals
Results
38.0ms253×body80valid
4.0msbody1280valid
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19516
221116
355315
4197415
5500115

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.7b

localize23.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)) (- l (fabs (- m n))))
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
38.5b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite742.0ms

Algorithm
rewrite-expression-head
Rules
211×add-sqr-sqrt
180×*-un-lft-identity
171×prod-diff
94×add-cube-cbrt
78×unpow-prod-down
62×distribute-rgt-neg-in
60×distribute-lft-neg-in
52×difference-of-squares
44×distribute-lft-out--
34×times-frac
31×fma-neg
23×cos-sum
16×add-log-exp
13×sqr-pow
11×associate--r+
diff-log div-inv
neg-mul-1
pow1 add-exp-log
expm1-log1p-u sub-neg add-cbrt-cube log1p-expm1-u
pow-unpow
flip3-- neg-log flip--
associate--l- neg-sub0 cos-diff pow-to-exp pow-pow pow-exp associate--r-
Counts
4 → 278
Calls
4 calls:
11.0ms
(- (/ (* K (+ m n)) 2.0) M)
660.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
31.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
22.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series563.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(- (/ (* K (+ m n)) 2.0) M)
186.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
263.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
53.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify103.0ms

Algorithm
egg-herbie
Counts
290 → 290
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
09486447
125754632
250024553

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

rewrite724.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:
678.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
33.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series461.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
207 → 207
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
06085050
116933609
250013001

prune366.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 1.6b

localize31.0ms

Local error

Found 4 expressions with local error:

18.0b
(cbrt (/ (* K (+ m n)) 2.0))
18.0b
(cbrt (/ (* K (+ m n)) 2.0))
18.0b
(cbrt (/ (* K (+ m n)) 2.0))
38.6b
(cos (fma (* (cbrt (/ (* K (+ m n)) 2.0)) (cbrt (/ (* K (+ m n)) 2.0))) (cbrt (/ (* K (+ m n)) 2.0)) (- M)))

rewrite12.0ms

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

series987.0ms

Counts
4 → 12
Calls
4 calls:
165.0ms
(cbrt (/ (* K (+ m n)) 2.0))
165.0ms
(cbrt (/ (* K (+ m n)) 2.0))
163.0ms
(cbrt (/ (* K (+ m n)) 2.0))
493.0ms
(cos (fma (* (cbrt (/ (* K (+ m n)) 2.0)) (cbrt (/ (* K (+ m n)) 2.0))) (cbrt (/ (* K (+ m n)) 2.0)) (- M)))

simplify51.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0242746
1545685
21523661
35001655

prune515.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 1.5b

localize31.0ms

Local error

Found 4 expressions with local error:

18.0b
(cbrt (/ (* K (+ m n)) 2.0))
18.0b
(cbrt (/ (* K (+ m n)) 2.0))
18.0b
(cbrt (/ (* K (+ m n)) 2.0))
38.6b
(cos (fma (* (cbrt (/ (* K (+ m n)) 2.0)) (cbrt (/ (* K (+ m n)) 2.0))) (cbrt (/ (* K (+ m n)) 2.0)) (- M)))

rewrite12.0ms

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

series980.0ms

Counts
4 → 12
Calls
4 calls:
161.0ms
(cbrt (/ (* K (+ m n)) 2.0))
159.0ms
(cbrt (/ (* K (+ m n)) 2.0))
160.0ms
(cbrt (/ (* K (+ m n)) 2.0))
499.0ms
(cos (fma (* (cbrt (/ (* K (+ m n)) 2.0)) (cbrt (/ (* K (+ m n)) 2.0))) (cbrt (/ (* K (+ m n)) 2.0)) (- M)))

simplify50.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0242746
1545685
21523661
35001655

prune518.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 1.5b

regimes317.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.6s

Algorithm
intervals
Results
1.1s8077×body80valid
87.0ms179×body640valid
74.0ms118×body1280valid
41.0ms118×body320valid
11.0ms46×body160valid
2.0msbody2560valid