Details

Time bar (total: 6.4s)

analyze545.0ms (8.5%)

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%40.6%9.5%7
50%39%11%8
50%33.6%16.5%9
50%32.4%17.7%10
50%29.5%20.6%11
50%28.8%21.3%12
50%27.3%22.8%13
50%26.9%23.1%14
Compiler

Compiled 15 to 12 computations (20% saved)

sample4.8s (75%)

Results
1.5s2060×body1024valid
1.2s1926×body1024invalid
777.0ms4641×body128valid
430.0ms1053×body512valid
366.0ms1006×body512invalid
162.0ms545×body256invalid
129.0ms496×body256valid
123.0ms792×body128invalid
8.0msbody2048valid
Compiler

Compiled 44 to 35 computations (20.5% saved)

simplify74.0ms (1.2%)

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 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
0.0b
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
Compiler

Compiled 79 to 56 computations (29.1% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 im)
0.0b
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
0.0b
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
0.0b
(/.f64 1/2 (exp.f64 im))

series67.0ms (1%)

Counts
4 → 44
Calls

4 calls:

34.0ms
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
23.0ms
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
8.0ms
(/.f64 1/2 (exp.f64 im))
1.0ms
(exp.f64 im)

rewrite10.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt_binary64
15×*-un-lft-identity_binary64
15×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
4 → 74
Calls

4 calls:

3.0ms
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
3.0ms
(/.f64 1/2 (exp.f64 im))
1.0ms
(exp.f64 im)
0.0ms
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))

simplify82.0ms (1.3%)

Algorithm
egg-herbie
Rules
686×fma-neg_binary64
557×fma-def_binary64
509×associate-*l*_binary64
431×associate-*r*_binary64
311×times-frac_binary64
Counts
118 → 130
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01851929
14261771
212541747
340411743
452001743

prune102.0ms (1.6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1501151
Fresh011
Picked101
Done000
Total1512153
Error
0b
Counts
153 → 2
Alt Table
StatusErrorProgram
0.4b
(+.f64 (sin.f64 re) (*.f64 1/2 (*.f64 (sin.f64 re) (pow.f64 im 2))))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
Compiler

Compiled 2685 to 1447 computations (46.1% saved)

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 im)
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)))

series17.0ms (0.3%)

Counts
2 → 36
Calls

2 calls:

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

rewrite162.0ms (2.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:

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

simplify71.0ms (1.1%)

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

prune83.0ms (1.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1221123
Fresh101
Picked011
Done000
Total1232125
Error
0b
Counts
125 → 2
Alt Table
StatusErrorProgram
0.4b
(fma.f64 1/2 (*.f64 (sin.f64 re) (*.f64 im im)) (sin.f64 re))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
Compiler

Compiled 2555 to 1429 computations (44.1% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series29.0ms (0.5%)

Counts
2 → 48
Calls

2 calls:

18.0ms
(fma.f64 1/2 (*.f64 (sin.f64 re) (*.f64 im im)) (sin.f64 re))
11.0ms
(*.f64 (sin.f64 re) (*.f64 im im))

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
add-sqr-sqrt_binary64
associate-*l*_binary64
Counts
2 → 31
Calls

2 calls:

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

simplify83.0ms (1.3%)

Algorithm
egg-herbie
Rules
474×associate-*l*_binary64
408×fma-def_binary64
381×associate-*r*_binary64
338×distribute-rgt-neg-in_binary64
328×distribute-lft-neg-in_binary64
Counts
79 → 71
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0981249
12471133
28091043
330731043
449991043
549301043

prune46.0ms (0.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New71071
Fresh000
Picked011
Done011
Total71273
Error
0b
Counts
73 → 2
Alt Table
StatusErrorProgram
0.4b
(fma.f64 1/2 (*.f64 (sin.f64 re) (*.f64 im im)) (sin.f64 re))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
Compiler

Compiled 1247 to 578 computations (53.6% saved)

regimes134.0ms (2.1%)

Accuracy

Total 0.0b remaining (24.4%)

Threshold costs 0.0b (24.4%)

Counts
21 → 1
Compiler

Compiled 1572 to 1154 computations (26.6% saved)

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

end52.0ms (0.8%)

Compiler

Compiled 52 to 38 computations (26.9% saved)

Profiling

Loading profile data...