Details

Time bar (total: 6.0s)

analyze515.0ms (8.6%)

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

Results
1.4s2072×body1024valid
1.1s2005×body1024invalid
633.0ms4560×body128valid
440.0ms1093×body512invalid
397.0ms1073×body512valid
194.0ms555×body256invalid
160.0ms822×body128invalid
143.0ms547×body256valid
6.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

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
Compiler

Compiled 51 to 34 computations (33.3% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series29.0ms (0.5%)

Counts
2 → 28
Calls

2 calls:

23.0ms
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
6.0ms
(/.f64 1/2 (exp.f64 im))

rewrite42.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
804×log1p-expm1-u_binary64
804×expm1-log1p-u_binary64
116×prod-diff_binary64
92×add-sqr-sqrt_binary64
86×add-log-exp_binary64
Counts
2 → 41
Calls

2 calls:

42.0ms
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
42.0ms
(/.f64 1/2 (exp.f64 im))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0923
118223
2211523
3512023
000
100

simplify58.0ms (1%)

Algorithm
egg-herbie
Rules
685×fma-neg_binary64
601×associate--r+_binary64
403×fma-def_binary64
298×sub-neg_binary64
203×times-frac_binary64
Counts
69 → 65
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
076640
1230593
2698581
32400568
44927568
55174568

prune53.0ms (0.9%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New63265
Fresh000
Picked101
Done000
Total64266
Error
0b
Counts
66 → 2
Alt Table
StatusErrorProgram
0.0b
(pow.f64 (*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 1)
0.0b
(+.f64 (*.f64 (*.f64 1/2 (exp.f64 im)) (sin.f64 re)) (*.f64 (/.f64 1/2 (exp.f64 im)) (sin.f64 re)))
Compiler

Compiled 1170 to 672 computations (42.6% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series30.0ms (0.5%)

Counts
2 → 48
Calls

2 calls:

18.0ms
(*.f64 (/.f64 1/2 (exp.f64 im)) (sin.f64 re))
12.0ms
(*.f64 (*.f64 1/2 (exp.f64 im)) (sin.f64 re))

rewrite80.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
526×log-prod_binary64
265×pow2_binary64
188×pow1/3_binary64
185×expm1-udef_binary64
185×log1p-udef_binary64
Counts
2 → 55
Calls

2 calls:

79.0ms
(*.f64 (/.f64 1/2 (exp.f64 im)) (sin.f64 re))
79.0ms
(*.f64 (*.f64 1/2 (exp.f64 im)) (sin.f64 re))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01022
120522
2244922
3496422
4510022
000
100

simplify75.0ms (1.3%)

Algorithm
egg-herbie
Rules
976×times-frac_binary64
556×fma-neg_binary64
545×distribute-rgt-neg-in_binary64
352×sub-neg_binary64
352×fma-def_binary64
Counts
103 → 84
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
066756
1209726
2600694
31736669
43552669
54757669
65726669

prune77.0ms (1.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1140114
Fresh011
Picked011
Done000
Total1142116
Error
0b
Counts
116 → 2
Alt Table
StatusErrorProgram
0.0b
(pow.f64 (*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 1)
0.0b
(+.f64 (*.f64 (*.f64 1/2 (exp.f64 im)) (sin.f64 re)) (*.f64 (/.f64 1/2 (exp.f64 im)) (sin.f64 re)))
Compiler

Compiled 2351 to 1297 computations (44.8% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

prune48.0ms (0.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New65065
Fresh000
Picked011
Done011
Total65267
Error
0b
Counts
67 → 2
Alt Table
StatusErrorProgram
0.0b
(pow.f64 (*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 1)
0.0b
(+.f64 (*.f64 (*.f64 1/2 (exp.f64 im)) (sin.f64 re)) (*.f64 (/.f64 1/2 (exp.f64 im)) (sin.f64 re)))
Compiler

Compiled 1268 to 780 computations (38.5% saved)

regimes160.0ms (2.7%)

Accuracy

Total 0.0b remaining (23.7%)

Threshold costs 0.0b (23.7%)

Counts
24 → 1
Compiler

Compiled 2244 to 1605 computations (28.5% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
unpow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01117
11417
21317

end51.0ms (0.9%)

Compiler

Compiled 58 to 40 computations (31% saved)

Profiling

Loading profile data...