Details

Time bar (total: 9.8s)

sample136.0ms

Algorithm
intervals
Results
77.0ms180×body1280valid
30.0ms125×body640valid
7.0ms46×body320valid
6.0ms131×body80valid
1.0ms13×body160valid

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

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

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

simplify80.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
07144198
125142591
250032251

prune220.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
34×add-sqr-sqrt
27×*-un-lft-identity
25×add-cube-cbrt
20×distribute-rgt-in distribute-lft-in
17×associate-*r*
12×add-exp-log
add-cbrt-cube
pow1
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in prod-exp
unpow-prod-down cube-prod associate-*l* cbrt-unprod unswap-sqr
pow-prod-down
expm1-log1p-u sub-neg associate-*r/ *-commutative log1p-expm1-u add-log-exp sqr-pow
cube-mult pow-to-exp flip3-- unpow3 pow-exp flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 97
Calls
2 calls:
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))))

series208.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(* 1/3 (pow im 3))
169.0ms
(* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

simplify74.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05571815
123841200
250031165

prune224.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.1b

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:
555.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))))))
308.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)))))
307.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 (44.0ms)

IterNodesCost
04342047
116971877
250021776

prune495.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (* 0.5 (cos re))) (* (cbrt (- (- (* 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.7b
(cbrt (- (- (* 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
pow1 add-exp-log flip3-- flip--
cbrt-prod add-sqr-sqrt *-un-lft-identity
add-cube-cbrt pow1/3
pow-prod-down add-cbrt-cube
expm1-log1p-u frac-times associate-*l* log1p-expm1-u add-log-exp
prod-exp cbrt-unprod
associate-*l/
associate-*r* *-commutative distribute-lft-out-- difference-of-squares
Counts
4 → 73
Calls
4 calls:
13.0ms
(* (cbrt (* 0.5 (cos re))) (* (cbrt (- (- (* 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)))))
4.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

series1.4s

Counts
4 → 12
Calls
4 calls:
659.0ms
(* (cbrt (* 0.5 (cos re))) (* (cbrt (- (- (* 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)))))))
304.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)))))
168.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

simplify64.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
06181918
121471758
250021743

prune510.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 0.0b

regimes272.0ms

Accuracy

0% (0.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02610
12810
22810

end0.0ms

sample4.1s

Algorithm
intervals
Results
2.4s5792×body1280valid
890.0ms3647×body640valid
234.0ms1533×body320valid
197.0ms4446×body80valid
70.0ms696×body160valid