Details

Time bar (total: 4.6s)

analyze590.0ms (12.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
50%50%0.1%5
50%50%0.1%6
50%37.5%12.6%7
50%37.5%12.6%8
50%31.2%18.8%9
50%31.2%18.8%10
50%28.1%22%11
50%28.1%22%12
50%26.5%23.5%13
50%26.5%23.5%14
Compiler

Compiled 14 to 11 computations (21.4% saved)

sample91.0ms (2%)

Algorithm
intervals
Results
31.0ms64×body1024valid
19.0ms55×body1024invalid
10.0ms146×body128valid
7.0ms33×body512valid
4.0ms20×body512invalid
2.0ms16×body256invalid
2.0ms13×body256valid
2.0ms22×body128invalid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify119.0ms (2.6%)

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

prune2.0ms (0%)

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)

localize8.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))

series16.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

16.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))

rewrite9.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
associate-*r*_binary64
*-un-lft-identity_binary64
Counts
1 → 25
Calls

1 calls:

7.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))

simplify86.0ms (1.9%)

Algorithm
egg-herbie
Rules
665×fma-neg_binary64
571×fma-def_binary64
389×times-frac_binary64
350×distribute-rgt-in_binary64
349×*-commutative_binary64
Counts
49 → 52
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01191187
13411009
21284991
33715991
44820991
54982991

prune31.0ms (0.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New51152
Fresh000
Picked011
Done000
Total51253
Error
0b
Counts
53 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
13.7b
(*.f64 (sqrt.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (sqrt.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
Compiler

Compiled 1150 to 508 computations (55.8% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.1b
(sqrt.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
0.2b
(*.f64 (sqrt.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (sqrt.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))

series98.0ms (2.1%)

Counts
2 → 48
Calls

2 calls:

62.0ms
(sqrt.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
35.0ms
(*.f64 (sqrt.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (sqrt.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))

rewrite39.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
135×pow1_binary64
74×pow-prod-down_binary64
63×sqrt-pow1_binary64
17×pow-prod-up_binary64
16×associate-*r/_binary64
Counts
2 → 92
Calls

2 calls:

19.0ms
(*.f64 (sqrt.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (sqrt.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
6.0ms
(sqrt.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))

simplify142.0ms (3.1%)

Algorithm
egg-herbie
Rules
484×associate-*r*_binary64
429×associate-*l*_binary64
313×*-commutative_binary64
312×unswap-sqr_binary64
282×fma-def_binary64
Counts
140 → 128
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03094808
18703928
234823670
349453670
449183670

prune224.0ms (4.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2710271
Fresh000
Picked011
Done011
Total2712273
Error
0b
Counts
273 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
13.7b
(*.f64 (sqrt.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (sqrt.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
Compiler

Compiled 11670 to 5627 computations (51.8% saved)

regimes88.0ms (1.9%)

Accuracy

Total 0.0b remaining (12.8%)

Threshold costs 0.0b (12.8%)

Counts
13 → 1
Compiler

Compiled 1238 to 938 computations (24.2% saved)

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

end1.0ms (0%)

Compiler

Compiled 13 to 10 computations (23.1% saved)

sample3.1s (66.2%)

Algorithm
intervals
Results
965.0ms2027×body1024valid
663.0ms1825×body1024invalid
341.0ms4477×body128valid
235.0ms1007×body512valid
191.0ms976×body512invalid
69.0ms484×body256valid
63.0ms464×body256invalid
56.0ms721×body128invalid
4.0msbody2048valid
4.0msbody2048invalid
Compiler

Compiled 69 to 49 computations (29% saved)

Profiling

Loading profile data...