Details

Time bar (total: 4.3s)

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

sample3.5s (82.5%)

Results
1.7s2025×body1024valid
836.0ms4647×body128valid
489.0ms1024×body512valid
169.0ms556×body256valid
7.0msbody2048valid
Compiler

Compiled 41 to 32 computations (22% saved)

simplify167.0ms (3.9%)

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

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

localize15.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series4.0ms (0.1%)

Counts
1 → 8
Calls

1 calls:

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

rewrite8.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:

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

simplify101.0ms (2.4%)

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

prune23.0ms (0.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New28129
Fresh000
Picked011
Done000
Total28230
Error
0b
Counts
30 → 2
Alt Table
StatusErrorProgram
16.3b
(*.f64 (*.f64 1/2 (cos.f64 re)) (fma.f64 im im 2))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Compiler

Compiled 515 to 241 computations (53.2% saved)

localize9.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 1/2 (cos.f64 re)) (fma.f64 im im 2))

series21.0ms (0.5%)

Counts
1 → 24
Calls

1 calls:

21.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (fma.f64 im im 2))

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
associate-*r*_binary64
cbrt-unprod_binary64
Counts
1 → 22
Calls

1 calls:

5.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (fma.f64 im im 2))

simplify96.0ms (2.3%)

Algorithm
egg-herbie
Rules
578×associate--r+_binary64
547×unswap-sqr_binary64
507×cancel-sign-sub-inv_binary64
354×associate-+l-_binary64
318×fma-neg_binary64
Counts
46 → 44
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
089808
1224735
2829713
32445707
44573707
55637707

prune58.0ms (1.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New44044
Fresh000
Picked011
Done011
Total44246
Error
0b
Counts
46 → 2
Alt Table
StatusErrorProgram
16.3b
(*.f64 (*.f64 1/2 (cos.f64 re)) (fma.f64 im im 2))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Compiler

Compiled 761 to 491 computations (35.5% saved)

regimes136.0ms (3.2%)

Accuracy

Total 0.0b remaining (16%)

Threshold costs 0.0b (16%)

Counts
10 → 1
Compiler

Compiled 656 to 512 computations (22% saved)

simplify4.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
01118
11818
22018
32118
42118

end88.0ms (2.1%)

Compiler

Compiled 50 to 38 computations (24% saved)

Profiling

Loading profile data...