Details

Time bar (total: 10.8s)

analyze541.0ms (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 (44.2%)

Results
1.5s2045×body1024valid
1.1s1975×body1024invalid
662.0ms4661×body128valid
468.0ms1025×body512valid
443.0ms1036×body512invalid
145.0ms572×body256invalid
136.0ms522×body256valid
121.0ms808×body128invalid
6.0msbody2048valid
Compiler

Compiled 44 to 35 computations (20.5% saved)

simplify74.0ms (0.7%)

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

prune3.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 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
Compiler

Compiled 53 to 38 computations (28.3% saved)

localize8.0ms (0.1%)

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

series18.0ms (0.2%)

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

rewrite25.0ms (0.2%)

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 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
10.0ms
(+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))

simplify71.0ms (0.7%)

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 (0.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New993102
Fresh000
Picked011
Done000
Total994103
Error
0b
Counts
103 → 4
Alt Table
StatusErrorProgram
1.4b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re))) (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re)))) (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re))))
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))))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
29.0b
(*.f64 (sqrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))) (sqrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))))
Compiler

Compiled 2374 to 1327 computations (44.1% saved)

localize15.0ms (0.1%)

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.4b
(*.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))))
0.4b
(*.f64 (*.f64 1/2 (sin.f64 re)) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))

series41.0ms (0.4%)

Counts
3 → 56
Calls

3 calls:

23.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
16.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))))
2.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

rewrite44.0ms (0.4%)

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

3 calls:

21.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))))
8.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
8.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

simplify86.0ms (0.8%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
02583621
16723081
223642954
349552954

prune123.0ms (1.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1940194
Fresh022
Picked011
Done011
Total1944198
Error
0b
Counts
198 → 4
Alt Table
StatusErrorProgram
1.4b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re))) (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re)))) (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re))))
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))))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
29.0b
(*.f64 (sqrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))) (sqrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))))
Compiler

Compiled 6213 to 2927 computations (52.9% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series2.8s (26.3%)

Counts
4 → 76
Calls

4 calls:

1.5s
(cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re)))
1.3s
(*.f64 (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re))) (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re))))
22.0ms
(*.f64 (*.f64 (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re))) (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re)))) (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re))))
7.0ms
(/.f64 1/2 (exp.f64 im))

rewrite22.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
30×pow1_binary64
20×add-sqr-sqrt_binary64
17×*-un-lft-identity_binary64
17×add-cube-cbrt_binary64
16×pow1/3_binary64
Counts
4 → 108
Calls

4 calls:

7.0ms
(*.f64 (*.f64 (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re))) (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re)))) (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re))))
4.0ms
(*.f64 (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re))) (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re))))
3.0ms
(/.f64 1/2 (exp.f64 im))
2.0ms
(cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re)))

simplify120.0ms (1.1%)

Algorithm
egg-herbie
Rules
387×associate-*r*_binary64
348×fma-def_binary64
306×times-frac_binary64
280×associate-*l*_binary64
233×associate-/l*_binary64
Counts
184 → 203
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04488110
113427318
250527318

prune422.0ms (3.9%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New3570357
Fresh011
Picked011
Done022
Total3574361
Error
0b
Counts
361 → 4
Alt Table
StatusErrorProgram
1.4b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re))) (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re)))) (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re))))
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))))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
29.0b
(*.f64 (sqrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))) (sqrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))))
Compiler

Compiled 24073 to 14411 computations (40.1% saved)

localize10.0ms (0.1%)

Local error

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

series92.0ms (0.8%)

Counts
2 → 44
Calls

2 calls:

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

rewrite52.0ms (0.5%)

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:

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

simplify113.0ms (1%)

Algorithm
egg-herbie
Rules
467×fma-neg_binary64
403×cancel-sign-sub-inv_binary64
271×associate-*r*_binary64
248×distribute-rgt-in_binary64
243×associate-*l*_binary64
Counts
136 → 124
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02203795
15643070
221962784
349322782
451092782

prune278.0ms (2.6%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New3620362
Fresh000
Picked011
Done033
Total3624366
Error
0b
Counts
366 → 4
Alt Table
StatusErrorProgram
1.4b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re))) (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re)))) (cbrt.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (sin.f64 re))))
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))))
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
29.0b
(*.f64 (sqrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))) (sqrt.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))))
Compiler

Compiled 13348 to 8193 computations (38.6% saved)

regimes847.0ms (7.8%)

Accuracy

Total 0.0b remaining (21.5%)

Threshold costs 0.0b (21.5%)

Counts
112 → 1
Compiler

Compiled 17505 to 12352 computations (29.4% 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
01322
12022
22222
32322
42322

end87.0ms (0.8%)

Compiler

Compiled 136 to 97 computations (28.7% saved)

Profiling

Loading profile data...