Details

Time bar (total: 8.7s)

sample148.0ms

Algorithm
intervals
Results
79.0ms171×body1280valid
32.0ms116×body640valid
13.0ms42×body320valid
7.0ms131×body80valid
3.0ms21×body160valid

simplify90.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1447
21047
32137
43647
58507
614157
719687
849857
950017

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 56.3b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite47.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:
17.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
12.0ms
(- (exp (- 0.0 im)) (exp im))

series121.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
07144198
125142591
250032251

prune208.0ms

Filtered
190 candidates to 53 candidates (27.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1864190
Fresh000
Picked101
Done000
Total1874191

Merged error: 0.1b

Counts
191 → 4

localize21.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.1b
(* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
0.1b
(* 1/3 (pow im 3))

rewrite28.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)))
11.0ms
(* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
6.0ms
(* 1/3 (pow im 3))

series286.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06002606
126401641
250011628

prune312.0ms

Filtered
149 candidates to 68 candidates (45.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1409149
Fresh123
Picked101
Done000
Total14211153

Merged error: 0.0b

Counts
153 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
30×prod-diff
25×add-sqr-sqrt
20×add-cube-cbrt *-un-lft-identity
14×add-exp-log
13×distribute-rgt-in distribute-lft-in
12×distribute-lft-neg-in distribute-rgt-neg-in
11×add-cbrt-cube
10×fma-neg associate-*r*
pow1
add-log-exp
prod-exp
expm1-log1p-u neg-mul-1 unpow-prod-down associate-*l* cbrt-unprod fma-udef log1p-expm1-u
sub-neg distribute-neg-in pow-prod-down associate--l+ unswap-sqr
flip3-- diff-log associate-*r/ *-commutative flip-- sqr-pow
associate--l- neg-sub0 pow-to-exp neg-log pow-exp
Counts
4 → 122
Calls
4 calls:
5.0ms
(- (- (fma (pow im 3) 1/3 (* 1/60 (pow im 5)))) (* 2 im))
6.0ms
(* 1/60 (pow im 5))
1.0ms
(fma (pow im 3) 1/3 (* 1/60 (pow im 5)))
9.0ms
(* (* 0.5 (cos re)) (- (- (fma (pow im 3) 1/3 (* 1/60 (pow im 5)))) (* 2 im)))

series585.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(- (- (fma (pow im 3) 1/3 (* 1/60 (pow im 5)))) (* 2 im))
49.0ms
(* 1/60 (pow im 5))
120.0ms
(fma (pow im 3) 1/3 (* 1/60 (pow im 5)))
363.0ms
(* (* 0.5 (cos re)) (- (- (fma (pow im 3) 1/3 (* 1/60 (pow im 5)))) (* 2 im)))

simplify72.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05251438
122701299
250021235

prune328.0ms

Filtered
134 candidates to 80 candidates (59.7%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1340134
Fresh01010
Picked011
Done000
Total13411145

Merged error: 0.0b

Counts
145 → 11

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

rewrite30.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:
13.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))))
5.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

series718.0ms

Counts
4 → 12
Calls
4 calls:
205.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)))))
172.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
169.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
172.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

simplify65.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04182415
115322282
250012124

prune470.0ms

Filtered
121 candidates to 89 candidates (73.6%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1192121
Fresh099
Picked011
Done011
Total11913132

Merged error: 0.0b

Counts
132 → 13

regimes344.0ms

Accuracy

0% (0.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02210
12210

end0.0ms

sample4.6s

Algorithm
intervals
Results
2.6s5734×body1280valid
1.0s3602×body640valid
267.0ms1496×body320valid
248.0ms4572×body80valid
86.0ms683×body160valid