Details

Time bar (total: 8.8s)

sample154.0ms

Algorithm
intervals
Results
69.0ms138×body1280valid
41.0ms132×body640valid
14.0ms67×body320valid
12.0ms126×body80valid
3.0ms24×body160valid

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1407
2927
31637
44057
58657
611897
727717
850017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 45.5b

localize9.0ms

Local error

Found 2 expressions with local error:

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

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

series116.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03711102
11544774
25001722

prune162.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

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

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

series395.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(fma 1/60 (pow im 5) (* 2 im))
61.0ms
(- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im)))
35.0ms
(* 1/3 (pow im 3))
174.0ms
(* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (fma 1/60 (pow im 5) (* 2 im))))

simplify85.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05862644
125561682
250021670

prune382.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
126×prod-diff
84×add-sqr-sqrt
71×*-un-lft-identity
67×add-cube-cbrt
60×unpow-prod-down
44×distribute-rgt-in distribute-lft-in
22×distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in sqr-pow
19×associate-*r*
14×add-exp-log
11×add-cbrt-cube
pow1
add-log-exp
fma-neg prod-exp difference-of-squares
expm1-log1p-u cube-prod associate-*l* cbrt-unprod log1p-expm1-u unswap-sqr
sub-neg pow-prod-down
flip3-- diff-log associate-*r/ *-commutative flip-- distribute-lft-out--
associate--l- neg-sub0 cube-mult pow-to-exp unpow3 neg-log pow-exp fma-udef
Counts
4 → 225
Calls
4 calls:
0.0ms
(fma 1/60 (pow im 5) (* 2 im))
9.0ms
(- (- (* 1/3 (pow im 3))) (pow (fma 1/60 (pow im 5) (* 2 im)) 1))
6.0ms
(* 1/3 (pow im 3))
35.0ms
(* (* 0.5 (sin re)) (- (- (* 1/3 (pow im 3))) (pow (fma 1/60 (pow im 5) (* 2 im)) 1)))

series396.0ms

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

simplify128.0ms

Algorithm
egg-herbie
Counts
237 → 237
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
08845485
131063072
250023055

prune399.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize21.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
(* 1/3 (pow im 3))
0.1b
(* (* 0.5 (sin re)) (- (- (log (exp (* 1/3 (pow im 3))))) (fma 1/60 (pow im 5) (* 2 im))))
2.9b
(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:
22.0ms
(- (- (log (exp (* 1/3 (pow im 3))))) (fma 1/60 (pow im 5) (* 2 im)))
6.0ms
(* 1/3 (pow im 3))
42.0ms
(* (* 0.5 (sin re)) (- (- (log (exp (* 1/3 (pow im 3))))) (fma 1/60 (pow im 5) (* 2 im))))
1.0ms
(log (exp (* 1/3 (pow im 3))))

series313.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
281 → 281
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
07866533
132883784
250013620

prune641.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes191.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03011
13211
23211

end0.0ms

sample4.9s

Algorithm
intervals
Results
2.5s4753×body1280valid
1.2s3808×body640valid
392.0ms1847×body320valid
304.0ms4378×body80valid
129.0ms922×body160valid