Details

Time bar (total: 9.1s)

sample144.0ms

Algorithm
intervals
Results
82.0ms188×body1280valid
29.0ms122×body640valid
9.0ms58×body320valid
6.0ms129×body80valid
2.0ms19×body160valid

simplify92.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1447
21047
32137
43647
58507
614157
719687
849857
950017

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 58.2b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite151.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:
92.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
45.0ms
(- (exp (- 0.0 im)) (exp im))

series115.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
07144198
125142591
250032251

prune220.0ms

Filtered
190 candidates to 53 candidates (27.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.0ms

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

series398.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06032658
126481693
250021680

prune371.0ms

Filtered
162 candidates to 79 candidates (48.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))) (cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
0.6b
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
0.6b
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
0.6b
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
43×cbrt-prod
37×add-sqr-sqrt
35×*-un-lft-identity
18×cbrt-div
15×add-cube-cbrt
11×pow1
10×swap-sqr
flip3-- pow1/3 flip-- distribute-lft-out--
associate-*r* associate-*l*
difference-of-squares
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 109
Calls
4 calls:
37.0ms
(* (cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))) (cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
4.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
4.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
4.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

series735.0ms

Counts
4 → 12
Calls
4 calls:
208.0ms
(* (cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))) (cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
177.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
174.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
175.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

simplify64.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04182415
115322282
250012124

prune529.0ms

Filtered
121 candidates to 89 candidates (73.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log
24×add-sqr-sqrt
22×add-cbrt-cube
19×*-un-lft-identity
18×associate-*r*
16×pow1
15×add-cube-cbrt
10×prod-exp
cbrt-unprod
associate-*l*
unswap-sqr
expm1-log1p-u unpow-prod-down times-frac cube-prod pow-prod-down associate-/r* fma-udef log1p-expm1-u add-log-exp
cbrt-undiv swap-sqr div-exp *-commutative
distribute-rgt-in distribute-lft-in associate-/r/ distribute-lft-out sqr-pow
pow2 cube-mult pow-to-exp frac-2neg flip3-+ pow-plus unpow3 pow-exp clear-num pow-sqr pow-prod-up flip-+ div-inv associate-/l*
Counts
4 → 113
Calls
4 calls:
6.0ms
(* (fma 1/60 (pow im 5) (* 2 im)) (fma 1/60 (pow im 5) (* 2 im)))
7.0ms
(* (* 0.5 (cos re)) (fma (* 1/3 1/3) (pow im 6) (- (* (fma 1/60 (pow im 5) (* 2 im)) (fma 1/60 (pow im 5) (* 2 im))))))
7.0ms
(* 1/3 (pow im 3))
14.0ms
(/ (* (* 0.5 (cos re)) (fma (* 1/3 1/3) (pow im 6) (- (* (fma 1/60 (pow im 5) (* 2 im)) (fma 1/60 (pow im 5) (* 2 im)))))) (+ (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

series1.0s

Counts
4 → 12
Calls
4 calls:
114.0ms
(* (fma 1/60 (pow im 5) (* 2 im)) (fma 1/60 (pow im 5) (* 2 im)))
510.0ms
(* (* 0.5 (cos re)) (fma (* 1/3 1/3) (pow im 6) (- (* (fma 1/60 (pow im 5) (* 2 im)) (fma 1/60 (pow im 5) (* 2 im))))))
37.0ms
(* 1/3 (pow im 3))
352.0ms
(/ (* (* 0.5 (cos re)) (fma (* 1/3 1/3) (pow im 6) (- (* (fma 1/60 (pow im 5) (* 2 im)) (fma 1/60 (pow im 5) (* 2 im)))))) (+ (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

simplify117.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
05971636
133551309
250031293

prune442.0ms

Filtered
125 candidates to 80 candidates (64.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

regimes177.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02610
12810
22810

end0.0ms

sample4.2s

Algorithm
intervals
Results
2.4s5769×body1280valid
895.0ms3648×body640valid
238.0ms1500×body320valid
199.0ms4417×body80valid
77.0ms734×body160valid