Details

Time bar (total: 2.7s)

analyze1.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 14 to 11 computations (21.4% saved)

sample2.1s (78.4%)

Results
1.0s2040×body1024valid
487.0ms4604×body128valid
316.0ms1130×body512valid
91.0ms480×body256valid
2.0msbody2048valid
Compiler

Compiled 41 to 32 computations (22% saved)

simplify113.0ms (4.3%)

Algorithm
egg-herbie
Rules
575×fma-def_binary64
533×associate-/l*_binary64
430×unswap-sqr_binary64
374×times-frac_binary64
354×fma-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01118
12818
26518
39917
415417
526917
653217
791617
8333217
9326017
10400617
11426517
12469217
13484017
14489117
15491717

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Compiler

Compiled 50 to 35 computations (30% saved)

localize9.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

series2.0ms (0.1%)

Counts
1 → 8
Calls

1 calls:

2.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

rewrite5.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-log-exp_binary64
fma-def_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
1 → 17
Calls

1 calls:

4.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

simplify68.0ms (2.5%)

Algorithm
egg-herbie
Rules
909×fma-neg_binary64
724×unswap-sqr_binary64
476×fma-def_binary64
344×associate-*l*_binary64
294×associate-*r*_binary64
Counts
25 → 29
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
047320
1128283
2295274
3724274
42402273
54600273
65145273

prune26.0ms (1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New28129
Fresh000
Picked101
Done000
Total29130
Error
0b
Counts
30 → 1
Alt Table
StatusErrorProgram
0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (log.f64 (*.f64 (exp.f64 (exp.f64 (neg.f64 im))) (exp.f64 (exp.f64 im)))))
Compiler

Compiled 512 to 241 computations (52.9% saved)

localize11.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (exp.f64 im))
0.0b
(exp.f64 (exp.f64 (neg.f64 im)))
0.4b
(*.f64 (exp.f64 (exp.f64 (neg.f64 im))) (exp.f64 (exp.f64 im)))

series15.0ms (0.6%)

Counts
3 → 20
Calls

3 calls:

11.0ms
(*.f64 (exp.f64 (exp.f64 (neg.f64 im))) (exp.f64 (exp.f64 im)))
2.0ms
(exp.f64 (exp.f64 (neg.f64 im)))
2.0ms
(exp.f64 (exp.f64 im))

rewrite10.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
exp-prod_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
3 → 47
Calls

3 calls:

6.0ms
(*.f64 (exp.f64 (exp.f64 (neg.f64 im))) (exp.f64 (exp.f64 im)))
2.0ms
(exp.f64 (exp.f64 (neg.f64 im)))
1.0ms
(exp.f64 (exp.f64 im))

simplify94.0ms (3.5%)

Algorithm
egg-herbie
Rules
1030×fma-neg_binary64
677×cancel-sign-sub-inv_binary64
423×*-commutative_binary64
317×unswap-sqr_binary64
257×associate-*l*_binary64
Counts
67 → 87
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
097887
1209781
2545752
31611743
43245741
54751741
64962741
74910741

prune49.0ms (1.9%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New87087
Fresh000
Picked011
Done000
Total87188
Error
0b
Counts
88 → 1
Alt Table
StatusErrorProgram
0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (log.f64 (*.f64 (exp.f64 (exp.f64 (neg.f64 im))) (exp.f64 (exp.f64 im)))))
Compiler

Compiled 1691 to 750 computations (55.6% saved)

regimes118.0ms (4.4%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
20 → 1
Compiler

Compiled 1878 to 1460 computations (22.3% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01424
12124
22324
32424
42424

end45.0ms (1.7%)

Compiler

Compiled 48 to 39 computations (18.8% saved)

Profiling

Loading profile data...