Details

Time bar (total: 10.8s)

sample179.0ms

Algorithm
intervals
Results
98.0ms176×body1280valid
34.0ms102×body640valid
14.0ms129×body80valid
12.0ms51×body320valid
4.0ms26×body160valid

simplify133.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: 56.9b

localize10.0ms

Local error

Found 2 expressions with local error:

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

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

series118.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
07144198
125142591
250032251

prune228.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize15.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.1b
(* 1/3 (pow im 3))

rewrite39.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)))
21.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))

series405.0ms

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

simplify98.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06032649
126481687
250011676

prune379.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
144×prod-diff
102×add-sqr-sqrt
101×*-un-lft-identity
91×add-cube-cbrt
65×log-pow
64×distribute-rgt-neg-in
60×distribute-lft-neg-in
53×distribute-rgt-in distribute-lft-in
32×pow1
28×add-log-exp
21×exp-prod exp-to-pow
19×associate-*r*
16×fma-neg
14×add-exp-log
12×log-prod
11×add-cbrt-cube
10×neg-mul-1
distribute-neg-in associate--l+
prod-exp distribute-lft-out--
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-- difference-of-squares sqr-pow
associate--l- neg-sub0 cube-mult pow-to-exp unpow3 rem-log-exp neg-log pow-exp fma-udef associate--r+
Counts
4 → 269
Calls
4 calls:
19.0ms
(- (- (log (exp (* 1/3 (pow im 3))))) (fma 1/60 (pow im 5) (* 2 im)))
44.0ms
(* (* 0.5 (cos re)) (- (- (log (exp (* 1/3 (pow im 3))))) (fma 1/60 (pow im 5) (* 2 im))))
10.0ms
(* 1/3 (pow im 3))
1.0ms
(log (exp (* 1/3 (pow im 3))))

series312.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(- (- (log (exp (* 1/3 (pow im 3))))) (fma 1/60 (pow im 5) (* 2 im)))
174.0ms
(* (* 0.5 (cos re)) (- (- (log (exp (* 1/3 (pow im 3))))) (fma 1/60 (pow im 5) (* 2 im))))
42.0ms
(* 1/3 (pow im 3))
37.0ms
(log (exp (* 1/3 (pow im 3))))

simplify130.0ms

Algorithm
egg-herbie
Counts
281 → 281
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
08036545
133753795
250023629

prune502.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

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

rewrite60.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:
29.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))))))
9.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
10.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
10.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:
563.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))))))
309.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
315.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
310.0ms
(cbrt (* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))

simplify67.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04342047
116971877
250021776

prune448.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0.0b

regimes277.0ms

Accuracy

0% (0.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02412
12412

end0.0ms

sample5.5s

Algorithm
intervals
Results
3.0s5642×body1280valid
1.2s3539×body640valid
395.0ms4262×body80valid
364.0ms1506×body320valid
117.0ms686×body160valid