Details

Time bar (total: 5.4s)

analyze612.0ms (11.3%)

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
25%74.9%0.1%4
62.4%37.5%0.1%5
62.4%37.5%0.1%6
62.4%31.2%6.3%7
62.4%31.2%6.3%8
62.4%28.1%9.5%9
62.4%28.1%9.5%10
62.4%26.5%11%11
62.4%26.5%11%12
62.4%25.8%11.8%13
62.4%25.8%11.8%14
Compiler

Compiled 15 to 12 computations (20% saved)

sample122.0ms (2.3%)

Algorithm
intervals
Results
36.0ms66×body1024valid
27.0ms63×body1024invalid
12.0ms145×body128valid
11.0ms33×body512valid
10.0ms33×body512invalid
6.0ms77×body128invalid
2.0ms12×body256valid
1.0msbody256invalid
Compiler

Compiled 31 to 25 computations (19.4% saved)

simplify77.0ms (1.4%)

Algorithm
egg-herbie
Rules
778×unswap-sqr_binary64
536×fma-def_binary64
491×associate-/r*_binary64
476×fabs-mul_binary64
360×associate-/l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01218
12718
26518
310417
413717
519617
632917
773617
8224217
9225017
10261917
11412817
12456317
13539117

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
Compiler

Compiled 79 to 56 computations (29.1% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))

series20.0ms (0.4%)

Counts
2 → 36
Calls

2 calls:

18.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
2.0ms
(+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))

rewrite28.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
16×fma-def_binary64
15×*-un-lft-identity_binary64
13×exp-sum_binary64
11×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
Counts
2 → 55
Calls

2 calls:

12.0ms
(+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))
12.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))

simplify75.0ms (1.4%)

Algorithm
egg-herbie
Rules
682×fma-def_binary64
579×fma-neg_binary64
407×times-frac_binary64
388×*-commutative_binary64
341×distribute-rgt-in_binary64
Counts
91 → 102
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01461574
14101348
214521317
341161316
450871316

prune75.0ms (1.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1002102
Fresh101
Picked011
Done000
Total1013104
Error
0b
Counts
104 → 3
Alt Table
StatusErrorProgram
1.0b
(*.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (sqrt.f64 (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))))
31.1b
(*.f64 1/2 (fma.f64 (exp.f64 im) re (/.f64 re (exp.f64 im))))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
Compiler

Compiled 2260 to 1251 computations (44.6% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
0.0b
(+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))
0.5b
(*.f64 (*.f64 1/2 (sin.f64 re)) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
0.5b
(*.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (sqrt.f64 (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))))

series50.0ms (0.9%)

Counts
3 → 56
Calls

3 calls:

28.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
17.0ms
(*.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (sqrt.f64 (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))))
4.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

rewrite43.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
17×add-cbrt-cube_binary64
17×add-exp-log_binary64
17×pow1_binary64
14×associate-*r*_binary64
14×*-un-lft-identity_binary64
Counts
3 → 78
Calls

3 calls:

22.0ms
(*.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (sqrt.f64 (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))))
9.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
5.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

simplify93.0ms (1.7%)

Algorithm
egg-herbie
Rules
904×fma-def_binary64
450×distribute-rgt-in_binary64
358×associate-*l*_binary64
337×cancel-sign-sub-inv_binary64
265×associate-*r*_binary64
Counts
134 → 146
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02583621
16723081
223652954
349552954

prune110.0ms (2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1940194
Fresh011
Picked011
Done011
Total1943197
Error
0b
Counts
197 → 3
Alt Table
StatusErrorProgram
1.0b
(*.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (sqrt.f64 (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))))
31.1b
(*.f64 1/2 (fma.f64 (exp.f64 im) re (/.f64 re (exp.f64 im))))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
Compiler

Compiled 6098 to 2844 computations (53.4% saved)

localize11.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (exp.f64 im) re (/.f64 re (exp.f64 im)))
0.0b
(/.f64 re (exp.f64 im))

series39.0ms (0.7%)

Counts
2 → 28
Calls

2 calls:

21.0ms
(fma.f64 (exp.f64 im) re (/.f64 re (exp.f64 im)))
17.0ms
(/.f64 re (exp.f64 im))

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
2 → 39
Calls

2 calls:

3.0ms
(/.f64 re (exp.f64 im))
0.0ms
(fma.f64 (exp.f64 im) re (/.f64 re (exp.f64 im)))

simplify89.0ms (1.7%)

Algorithm
egg-herbie
Rules
837×fma-def_binary64
716×fma-neg_binary64
418×associate-/l*_binary64
299×cancel-sign-sub-inv_binary64
244×associate-*l/_binary64
Counts
67 → 68
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
098897
1208844
2502833
31406822
44321822
54973822
64928822

prune35.0ms (0.6%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New68068
Fresh000
Picked011
Done022
Total68371
Error
0b
Counts
71 → 3
Alt Table
StatusErrorProgram
1.0b
(*.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (sqrt.f64 (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))))
31.1b
(*.f64 1/2 (fma.f64 (exp.f64 im) re (/.f64 re (exp.f64 im))))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
Compiler

Compiled 1099 to 450 computations (59.1% saved)

regimes140.0ms (2.6%)

Accuracy

Total 0.0b remaining (53.6%)

Threshold costs 0.0b (53.6%)

Counts
21 → 1
Compiler

Compiled 1802 to 1320 computations (26.7% saved)

simplify3.0ms (0%)

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.7s (69.3%)

Algorithm
intervals
Results
1.1s2043×body1024valid
742.0ms1916×body1024invalid
394.0ms4493×body128valid
321.0ms956×body512valid
231.0ms967×body512invalid
221.0ms2556×body128invalid
85.0ms500×body256valid
83.0ms513×body256invalid
9.0msbody2048valid
Compiler

Compiled 79 to 59 computations (25.3% saved)

Profiling

Loading profile data...