Details

Time bar (total: 7.8s)

sample126.0ms

Algorithm
intervals
Results
70.0ms170×body1280valid
25.0ms104×body640valid
8.0ms47×body320valid
6.0ms129×body80valid
2.0ms22×body160valid

simplify89.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: 57.9b

localize15.0ms

Local error

Found 2 expressions with local error:

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

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

series115.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
07144198
125142591
250032251

prune229.0ms

Pruning

3 alts after pruning (3 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))

rewrite29.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:
1.0ms
(fma 1/60 (pow im 5) (* 2 im))
6.0ms
(- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))
10.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))

series390.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(fma 1/60 (pow im 5) (* 2 im))
61.0ms
(- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))
173.0ms
(* (* 0.5 (cos re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
39.0ms
(* 1/3 (pow im 3))

simplify97.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06032658
126481693
250021680

prune388.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (cos re) (pow im 5))
0.1b
(* (cos re) (pow im 3))
0.1b
(* 0.16666666666666666 (* (cos re) (pow im 3)))
0.1b
(* (cos re) im)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
26×add-exp-log
23×associate-*r*
15×add-cbrt-cube
14×add-cube-cbrt *-un-lft-identity prod-exp
12×associate-*l*
pow1 unpow-prod-down unswap-sqr
cbrt-unprod
expm1-log1p-u cube-prod *-commutative log1p-expm1-u add-log-exp sqr-pow
pow-to-exp pow-exp
pow-prod-down
cube-mult unpow3
Counts
4 → 101
Calls
4 calls:
5.0ms
(* (cos re) (pow im 5))
6.0ms
(* (cos re) (pow im 3))
6.0ms
(* 0.16666666666666666 (* (cos re) (pow im 3)))
4.0ms
(* (cos re) im)

series339.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(* (cos re) (pow im 5))
81.0ms
(* (cos re) (pow im 3))
93.0ms
(* 0.16666666666666666 (* (cos re) (pow im 3)))
37.0ms
(* (cos re) im)

simplify50.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0343536
11477470
25001470

prune374.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (cos re)) (cbrt (cos re)))
0.3b
(cbrt (cos re))
0.3b
(cbrt (cos re))
0.3b
(cbrt (cos re))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
6.0ms
(* (cbrt (cos re)) (cbrt (cos re)))
1.0ms
(cbrt (cos re))
1.0ms
(cbrt (cos re))
2.0ms
(cbrt (cos re))

series453.0ms

Counts
4 → 12
Calls
4 calls:
159.0ms
(* (cbrt (cos re)) (cbrt (cos re)))
97.0ms
(cbrt (cos re))
97.0ms
(cbrt (cos re))
99.0ms
(cbrt (cos re))

simplify106.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0128471
1500419
23232387
35002381

prune373.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes275.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02713
13513
23513

end0.0ms

sample4.2s

Algorithm
intervals
Results
2.4s5668×body1280valid
913.0ms3648×body640valid
233.0ms1464×body320valid
209.0ms4404×body80valid
70.0ms692×body160valid