Details

Time bar (total: 8.3s)

sample134.0ms

Algorithm
intervals
Results
74.0ms167×body1280valid
29.0ms117×body640valid
8.0ms52×body320valid
6.0ms119×body80valid
3.0ms33×body160valid

simplify72.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1407
2927
31637
44057
58657
611897
727717
850017

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 45.6b

localize14.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
4.7b
(- (exp (- im)) (exp im))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
27×prod-diff
26×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r*
add-log-exp
sub-neg fma-neg 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 → 74
Calls
2 calls:
31.0ms
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
13.0ms
(- (exp (- im)) (exp im))

series115.0ms

Counts
2 → 6
Calls
2 calls:
78.0ms
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
38.0ms
(- (exp (- im)) (exp im))

simplify47.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03711102
11544774
25001722

prune162.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
0.1b
(* 1/3 (pow im 3))

rewrite38.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)))
20.0ms
(* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
6.0ms
(* 1/3 (pow im 3))

series267.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))
169.0ms
(* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
39.0ms
(* 1/3 (pow im 3))

simplify85.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05832592
125481630
250011618

prune324.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 3 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log associate-*r*
18×add-sqr-sqrt
15×add-cbrt-cube
13×prod-exp
11×add-cube-cbrt *-un-lft-identity
10×pow1
associate-*l* cbrt-unprod
unpow-prod-down cube-prod pow-prod-down unswap-sqr
distribute-lft-neg-in expm1-log1p-u distribute-rgt-neg-in *-commutative log1p-expm1-u add-log-exp
pow-to-exp distribute-neg-in pow-exp fma-udef sqr-pow
distribute-rgt-in cube-mult neg-mul-1 distribute-lft-in unpow3 distribute-rgt-neg-out
Counts
3 → 84
Calls
3 calls:
9.0ms
(* (sin re) (* -1/3 (pow im 3)))
9.0ms
(* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im))))
6.0ms
(* -1/3 (pow im 3))

series379.0ms

Counts
3 → 9
Calls
3 calls:
92.0ms
(* (sin re) (* -1/3 (pow im 3)))
252.0ms
(* (* 0.5 (sin re)) (- (fma 1/60 (pow im 5) (* 2 im))))
35.0ms
(* -1/3 (pow im 3))

simplify60.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0422548
12040475
25002475

prune296.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))) (cbrt (* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))))
13.1b
(cbrt (* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
13.1b
(cbrt (* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
13.1b
(cbrt (* (* 0.5 (sin 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:
28.0ms
(* (cbrt (* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))) (cbrt (* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))))
10.0ms
(cbrt (* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
10.0ms
(cbrt (* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
10.0ms
(cbrt (* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))

series1.3s

Counts
4 → 12
Calls
4 calls:
394.0ms
(* (cbrt (* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))) (cbrt (* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))))
311.0ms
(cbrt (* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
307.0ms
(cbrt (* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
301.0ms
(cbrt (* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))

simplify65.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04112066
116311868
250021735

prune441.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

regimes231.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02913
13313
24013
34013

end0.0ms

sample4.1s

Algorithm
intervals
Results
2.1s4797×body1280valid
937.0ms3840×body640valid
304.0ms1896×body320valid
220.0ms4496×body80valid
97.0ms913×body160valid