Details

Time bar (total: 9.4s)

sample144.0ms

Algorithm
intervals
Results
81.0ms180×body1280valid
31.0ms104×body640valid
10.0ms54×body320valid
7.0ms126×body80valid
1.0ms12×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: 58.1b

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.4b
(- (exp (- 0.0 im)) (exp im))

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

series112.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
07144198
125142591
250032251

prune197.0ms

Filtered
190 candidates to 53 candidates (27.9%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1891190
Fresh000
Picked101
Done000
Total1901191

Merged error: 0.1b

Counts
191 → 1

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

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

series262.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))
165.0ms
(* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
35.0ms
(* 1/3 (pow im 3))

simplify96.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06002597
126401635
250011624

prune290.0ms

Filtered
149 candidates to 69 candidates (46.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1436149
Fresh000
Picked011
Done000
Total1437150

Merged error: 0.1b

Counts
150 → 7

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

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

series714.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04182415
115322282
250012124

prune511.0ms

Filtered
121 candidates to 89 candidates (73.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1183121
Fresh055
Picked101
Done011
Total1199128

Merged error: 0.0b

Counts
128 → 9

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*r/
18×cbrt-div
11×pow1
10×add-sqr-sqrt
flip3-- pow1/3 flip--
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
expm1-log1p-u frac-times swap-sqr associate-*r* associate-*l* add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 80
Calls
4 calls:
9.0ms
(* (cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))) (cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))))
7.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
7.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
7.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))

series1.5s

Counts
4 → 12
Calls
4 calls:
542.0ms
(* (cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))) (cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))))
306.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
301.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
304.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))

simplify62.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04342047
116971877
250021776

prune419.0ms

Filtered
92 candidates to 78 candidates (84.8%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New89392
Fresh077
Picked011
Done011
Total8912101

Merged error: 0.0b

Counts
101 → 12

regimes266.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02610
12810
22810

end0.0ms

sample4.4s

Algorithm
intervals
Results
2.6s5727×body1280valid
960.0ms3605×body640valid
264.0ms1496×body320valid
228.0ms4330×body80valid
73.0ms640×body160valid