Details

Time bar (total: 10.1s)

sample188.0ms

Algorithm
intervals
Results
104.0ms195×body1280valid
42.0ms129×body640valid
13.0ms56×body320valid
9.0ms130×body80valid
3.0ms22×body160valid

simplify94.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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 58.5b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite140.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:
82.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
42.0ms
(- (exp (- 0.0 im)) (exp im))

series120.0ms

Counts
2 → 6
Calls
2 calls:
83.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
37.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

prune219.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(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))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
35×add-sqr-sqrt
28×*-un-lft-identity
26×add-cube-cbrt
20×distribute-rgt-in distribute-lft-in
17×associate-*r*
13×add-exp-log
10×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
expm1-log1p-u pow-prod-down log1p-expm1-u add-log-exp
sub-neg associate-*r/ *-commutative sqr-pow
cube-mult pow-to-exp flip3-- unpow3 pow-exp flip-- fma-udef distribute-lft-out-- difference-of-squares
Counts
3 → 107
Calls
3 calls:
1.0ms
(fma 1/60 (pow im 5) (* 2 im))
20.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))

series342.0ms

Counts
3 → 9
Calls
3 calls:
124.0ms
(fma 1/60 (pow im 5) (* 2 im))
176.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))

simplify76.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05631867
124471252
250011217

prune255.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 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)) (fma 1/9 (pow im 6) (- (* (fma 1/60 (pow im 5) (* 2 im)) (fma 1/60 (pow im 5) (* 2 im))))))
0.1b
(* 1/3 (pow im 3))
28.9b
(/ (* (* 0.5 (cos re)) (fma 1/9 (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))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log
20×add-cbrt-cube
19×add-sqr-sqrt
18×*-un-lft-identity
15×associate-*r*
12×add-cube-cbrt
pow1 prod-exp
add-log-exp
cbrt-unprod
fma-def
expm1-log1p-u unpow-prod-down times-frac cube-prod associate-*l* associate-/r* log1p-expm1-u unswap-sqr
cbrt-undiv div-exp pow-prod-down fma-udef distribute-lft-out
flip3-+ sum-log associate-/r/ *-commutative flip-+ sqr-pow
+-commutative neg-sub0 distribute-lft-neg-in distribute-rgt-in cube-mult pow-to-exp associate-+l- neg-mul-1 associate-+r+ distribute-rgt-neg-in frac-2neg distribute-lft-in unpow3 neg-log pow-exp clear-num div-inv associate-/l*
Counts
4 → 107
Calls
4 calls:
7.0ms
(+ (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))
7.0ms
(* (* 0.5 (cos re)) (fma 1/9 (pow im 6) (- (* (fma 1/60 (pow im 5) (* 2 im)) (fma 1/60 (pow im 5) (* 2 im))))))
6.0ms
(* 1/3 (pow im 3))
13.0ms
(/ (* (* 0.5 (cos re)) (fma 1/9 (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))))

series991.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(+ (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))
528.0ms
(* (* 0.5 (cos re)) (fma 1/9 (pow im 6) (- (* (fma 1/60 (pow im 5) (* 2 im)) (fma 1/60 (pow im 5) (* 2 im))))))
38.0ms
(* 1/3 (pow im 3))
360.0ms
(/ (* (* 0.5 (cos re)) (fma 1/9 (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))))

simplify101.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
05561604
131591273
250021271

prune469.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (fma (pow im 5) 1/60 (- (* 2 im) (* 1/3 (pow im 3)))) (* 0.5 (cos re)))
0.1b
(* 1/3 (pow im 3))
0.4b
(/ 1 (/ (/ (fma (pow im 5) 1/60 (- (* 2 im) (* 1/3 (pow im 3)))) (* 0.5 (cos re))) (fma 1/9 (pow im 6) (- (* (fma 1/60 (pow im 5) (* 2 im)) (fma 1/60 (pow im 5) (* 2 im)))))))
28.8b
(/ (/ (fma (pow im 5) 1/60 (- (* 2 im) (* 1/3 (pow im 3)))) (* 0.5 (cos re))) (fma 1/9 (pow im 6) (- (* (fma 1/60 (pow im 5) (* 2 im)) (fma 1/60 (pow im 5) (* 2 im))))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
231×times-frac
115×add-sqr-sqrt
108×add-cube-cbrt *-un-lft-identity
57×add-exp-log
34×add-cbrt-cube
30×div-exp
29×associate-/r*
23×div-inv
16×cbrt-undiv
13×associate-/l*
12×associate-*r*
prod-exp
pow1
expm1-log1p-u unpow-prod-down rec-exp 1-exp cube-prod cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
frac-2neg associate-*l* clear-num
sqr-pow
cube-mult pow-to-exp pow-flip unpow3 pow-exp associate-/r/ *-commutative associate-/l/ inv-pow
Counts
4 → 240
Calls
4 calls:
3.0ms
(/ (fma (pow im 5) 1/60 (- (* 2 im) (* 1/3 (pow im 3)))) (* 0.5 (cos re)))
7.0ms
(* 1/3 (pow im 3))
11.0ms
(/ 1 (/ (/ (fma (pow im 5) 1/60 (- (* 2 im) (* 1/3 (pow im 3)))) (* 0.5 (cos re))) (fma 1/9 (pow im 6) (- (* (fma 1/60 (pow im 5) (* 2 im)) (fma 1/60 (pow im 5) (* 2 im)))))))
6.0ms
(/ (/ (fma (pow im 5) 1/60 (- (* 2 im) (* 1/3 (pow im 3)))) (* 0.5 (cos re))) (fma 1/9 (pow im 6) (- (* (fma 1/60 (pow im 5) (* 2 im)) (fma 1/60 (pow im 5) (* 2 im))))))

series441.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(/ (fma (pow im 5) 1/60 (- (* 2 im) (* 1/3 (pow im 3)))) (* 0.5 (cos re)))
38.0ms
(* 1/3 (pow im 3))
158.0ms
(/ 1 (/ (/ (fma (pow im 5) 1/60 (- (* 2 im) (* 1/3 (pow im 3)))) (* 0.5 (cos re))) (fma 1/9 (pow im 6) (- (* (fma 1/60 (pow im 5) (* 2 im)) (fma 1/60 (pow im 5) (* 2 im)))))))
154.0ms
(/ (/ (fma (pow im 5) 1/60 (- (* 2 im) (* 1/3 (pow im 3)))) (* 0.5 (cos re))) (fma 1/9 (pow im 6) (- (* (fma 1/60 (pow im 5) (* 2 im)) (fma 1/60 (pow im 5) (* 2 im))))))

simplify91.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
010046874
150026142

prune851.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.0b

regimes180.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 (1.0ms)

IterNodesCost
02610
12810
22810

end0.0ms

sample5.3s

Algorithm
intervals
Results
3.0s5759×body1280valid
1.2s3538×body640valid
336.0ms1487×body320valid
316.0ms4313×body80valid
106.0ms695×body160valid