Details

Time bar (total: 7.3s)

sample134.0ms

Algorithm
intervals
Results
75.0ms174×body1280valid
27.0ms116×body640valid
7.0ms49×body320valid
6.0ms142×body80valid
3.0ms27×body160valid

simplify84.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1447
21047
32137
43647
58507
614157
719687
849857
950017

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 58.8b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
5.0b
(- (exp (- 0.0 im)) (exp im))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
216×prod-diff
119×add-sqr-sqrt *-un-lft-identity
115×add-cube-cbrt
110×exp-sum
44×distribute-rgt-in distribute-lft-in
14×fma-neg
13×sub-neg
pow1 add-exp-log add-cbrt-cube
associate-*r*
add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
2 → 184
Calls
2 calls:
18.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
12.0ms
(- (exp (- 0.0 im)) (exp im))

series120.0ms

Counts
2 → 6
Calls
2 calls:
84.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
36.0ms
(- (exp (- 0.0 im)) (exp im))

simplify77.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
07144198
125142591
250032251

prune222.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize20.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))
0.2b
(* 1/3 (pow im 3))
0.2b
(* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
54×prod-diff
47×add-sqr-sqrt
40×*-un-lft-identity
36×add-cube-cbrt
20×distribute-rgt-in distribute-lft-in
17×associate-*r*
13×add-exp-log
10×distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in add-cbrt-cube
pow1
add-log-exp
fma-neg prod-exp
unpow-prod-down cube-prod associate-*l* cbrt-unprod unswap-sqr
expm1-log1p-u sub-neg pow-prod-down log1p-expm1-u
flip3-- diff-log associate-*r/ *-commutative flip-- distribute-lft-out-- difference-of-squares sqr-pow
associate--l- neg-sub0 cube-mult pow-to-exp unpow3 neg-log pow-exp fma-udef associate--r+
Counts
3 → 140
Calls
3 calls:
6.0ms
(- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))
6.0ms
(* 1/3 (pow im 3))
11.0ms
(* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

series274.0ms

Counts
3 → 9
Calls
3 calls:
63.0ms
(- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))
37.0ms
(* 1/3 (pow im 3))
174.0ms
(* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

simplify88.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
06002597
126401635
250011624

prune343.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))
0.2b
(* (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im))) (cos re))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
2 → 30
Calls
2 calls:
1.0ms
(fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))
8.0ms
(* (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im))) (cos re))

series135.0ms

Counts
2 → 6
Calls
2 calls:
59.0ms
(fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))
75.0ms
(* (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im))) (cos re))

simplify92.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0127311
1519269
23958264
35001264

prune160.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (cos re)) (cbrt (cos re)))
0.3b
(cbrt (cos re))
0.3b
(cbrt (cos re))
0.3b
(cbrt (cos re))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
6.0ms
(* (cbrt (cos re)) (cbrt (cos re)))
1.0ms
(cbrt (cos re))
1.0ms
(cbrt (cos re))
1.0ms
(cbrt (cos re))

series467.0ms

Counts
4 → 12
Calls
4 calls:
164.0ms
(* (cbrt (cos re)) (cbrt (cos re)))
106.0ms
(cbrt (cos re))
98.0ms
(cbrt (cos re))
99.0ms
(cbrt (cos re))

simplify102.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (96.0ms)

IterNodesCost
0128471
1500419
23232387
35002381

prune368.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

regimes271.0ms

Accuracy

0% (0.1b remaining)

Error of 0.8b against oracle of 0.7b and baseline of 0.8b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0269
1329
2339
3339

end0.0ms

sample4.1s

Algorithm
intervals
Results
2.4s5738×body1280valid
885.0ms3570×body640valid
239.0ms1459×body320valid
211.0ms4381×body80valid
75.0ms702×body160valid