Details

Time bar (total: 8.5s)

sample138.0ms

Algorithm
intervals
Results
73.0ms158×body1280valid
30.0ms109×body640valid
9.0ms60×body320valid
7.0ms153×body80valid
2.0ms19×body160valid

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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 44.3b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite49.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:
34.0ms
(* (* 0.5 (sin re)) (- (exp (- im)) (exp im)))
12.0ms
(- (exp (- im)) (exp im))

series120.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
03711102
11544774
25001722

prune173.0ms

Filtered
80 candidates to 43 candidates (53.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

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

series276.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))
178.0ms
(* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
42.0ms
(* 1/3 (pow im 3))

simplify99.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
05832592
125481630
250011618

prune329.0ms

Filtered
149 candidates to 69 candidates (46.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

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

rewrite85.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:
18.0ms
(- (- (log (exp (* 1/3 (pow im 3))))) (fma 1/60 (pow im 5) (* 2 im)))
46.0ms
(* (* 0.5 (sin re)) (- (- (log (exp (* 1/3 (pow im 3))))) (fma 1/60 (pow im 5) (* 2 im))))
6.0ms
(* 1/3 (pow im 3))
1.0ms
(log (exp (* 1/3 (pow im 3))))

series312.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(- (- (log (exp (* 1/3 (pow im 3))))) (fma 1/60 (pow im 5) (* 2 im)))
173.0ms
(* (* 0.5 (sin re)) (- (- (log (exp (* 1/3 (pow im 3))))) (fma 1/60 (pow im 5) (* 2 im))))
35.0ms
(* 1/3 (pow im 3))
41.0ms
(log (exp (* 1/3 (pow im 3))))

simplify127.0ms

Algorithm
egg-herbie
Counts
281 → 281
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
07866533
132813785
250013620

prune510.0ms

Filtered
281 candidates to 96 candidates (34.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))) (cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
0.6b
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
0.6b
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
0.6b
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
43×cbrt-prod
37×add-sqr-sqrt
35×*-un-lft-identity
18×cbrt-div
15×add-cube-cbrt
11×pow1
10×swap-sqr
flip3-- pow1/3 flip-- distribute-lft-out--
associate-*r* associate-*l*
difference-of-squares
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 109
Calls
4 calls:
31.0ms
(* (cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))) (cbrt (- (- (* 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))))
4.0ms
(cbrt (- (- (* 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))))

series739.0ms

Counts
4 → 12
Calls
4 calls:
206.0ms
(* (cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))) (cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))))
178.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
175.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))
181.0ms
(cbrt (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

simplify67.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04182415
115322282
250012124

prune527.0ms

Filtered
121 candidates to 89 candidates (73.6%)
Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

regimes344.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02412
12412

end0.0ms

sample4.3s

Algorithm
intervals
Results
2.4s4801×body1280valid
953.0ms3759×body640valid
310.0ms1900×body320valid
223.0ms4451×body80valid
95.0ms910×body160valid