Details

Time bar (total: 10.5s)

analyze1.1s (10.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%50%50%2
0%50%50%3
0%50%50%4
12.5%37.5%50%5
15.6%31.2%53.2%6
17.2%26.5%56.3%7
18%22.6%59.4%8
18.3%19.9%61.8%9
18.5%17.8%63.7%10
18.6%16.3%65.1%11
18.7%15.2%66.1%12
18.7%14.4%66.9%13
18.7%13.8%67.4%14
Compiler

Compiled 19 to 16 computations (15.8% saved)

sample170.0ms (1.6%)

Algorithm
intervals
Results
45.0ms41×body1024nan
43.0ms256×body128valid
24.0ms73×body128overflowed
22.0ms20×body512nan
5.0msbody128invalid
4.0ms27×body128nan
3.0msbody256nan
Compiler

Compiled 39 to 33 computations (15.4% saved)

simplify52.0ms (0.5%)

Algorithm
egg-herbie
Rules
672×associate-/l*_binary64
625×associate-/r*_binary64
461×div-sub_binary64
445×distribute-frac-neg_binary64
288×distribute-rgt-neg-out_binary64
Counts
1 → 2
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01425
13222
26522
312922
428022
563420
6133220
7312120
8491420
9455020

prune4.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.2b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.3b
(*.f64 (/.f64 1 (sqrt.f64 k)) (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2)))
0.3b
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
Compiler

Compiled 97 to 77 computations (20.6% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (fma.f64 k -1/2 1/2))
0.2b
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
0.3b
(*.f64 (*.f64 2 PI.f64) n)

rewrite19.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
36×times-frac_binary64
26×*-un-lft-identity_binary64
26×add-sqr-sqrt_binary64
26×add-cube-cbrt_binary64
26×add-exp-log_binary64
Counts
3 → 108
Calls

3 calls:

5.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (fma.f64 k -1/2 1/2))
5.0ms
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
4.0ms
(*.f64 (*.f64 2 PI.f64) n)

series1.1s (10.2%)

Counts
3 → 48
Calls

3 calls:

595.0ms
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
464.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (fma.f64 k -1/2 1/2))
11.0ms
(*.f64 (*.f64 2 PI.f64) n)

simplify140.0ms (1.3%)

Algorithm
egg-herbie
Rules
418×distribute-rgt-in_binary64
412×distribute-lft-in_binary64
223×exp-sum_binary64
211×associate-/l*_binary64
170×fma-def_binary64
Counts
156 → 284
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02134057
14283712
213833642
345203642
452143642

prune210.0ms (2%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2768284
Fresh101
Picked101
Done000
Total2788286
Error
0b
Counts
286 → 8
Alt Table
StatusErrorProgram
0.4b
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (fma.f64 k -1/2 1/2) 2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)))))
0.5b
(*.f64 (sqrt.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2))) (/.f64 (sqrt.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2))) (sqrt.f64 k)))
0.3b
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (*.f64 k -1/2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n PI.f64)))))
23.9b
(/.f64 (-.f64 (*.f64 (sqrt.f64 (*.f64 n PI.f64)) (sqrt.f64 2)) (*.f64 1/2 (*.f64 (*.f64 k (*.f64 (sqrt.f64 2) (log.f64 (*.f64 2 (*.f64 n PI.f64))))) (sqrt.f64 (*.f64 n PI.f64))))) (sqrt.f64 k))
0.3b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)))
0.6b
(*.f64 (/.f64 (pow.f64 (*.f64 2 PI.f64) (fma.f64 k -1/2 1/2)) (fabs.f64 (cbrt.f64 k))) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (sqrt.f64 (cbrt.f64 k))))
0.5b
(*.f64 (/.f64 (pow.f64 (*.f64 2 PI.f64) (fma.f64 k -1/2 1/2)) (sqrt.f64 (sqrt.f64 k))) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (sqrt.f64 (sqrt.f64 k))))
1.0b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (fma.f64 k -1/2 1/2))) (cbrt.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (fma.f64 k -1/2 1/2)))) (sqrt.f64 (sqrt.f64 k))) (/.f64 (cbrt.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (fma.f64 k -1/2 1/2))) (sqrt.f64 (sqrt.f64 k))))
Compiler

Compiled 4300 to 2724 computations (36.7% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (*.f64 k -1/2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n PI.f64)))))
0.3b
(*.f64 n PI.f64)
0.3b
(*.f64 (*.f64 2 PI.f64) n)
0.3b
(/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n PI.f64))))

rewrite95.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
308×times-frac_binary64
143×add-sqr-sqrt_binary64
141×*-un-lft-identity_binary64
141×add-cube-cbrt_binary64
130×sqrt-prod_binary64
Counts
3 → 267
Calls

3 calls:

12.0ms
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (*.f64 k -1/2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n PI.f64)))))
6.0ms
(/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n PI.f64))))
3.0ms
(*.f64 n PI.f64)

series125.0ms (1.2%)

Counts
3 → 0
Calls

3 calls:

75.0ms
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (*.f64 k -1/2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n PI.f64)))))
42.0ms
(/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n PI.f64))))
7.0ms
(*.f64 n PI.f64)

simplify430.0ms (4.1%)

Algorithm
egg-herbie
Rules
743×associate-/r*_binary64
350×fma-neg_binary64
297×associate-/r/_binary64
237×associate-/l/_binary64
208×*-commutative_binary64
Counts
267 → 474
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
036212589
171912274
2246612046
3324712046
4475712046
5502012046

prune538.0ms (5.1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New5183521
Fresh347
Picked101
Done000
Total5227529
Error
0b
Counts
529 → 7
Alt Table
StatusErrorProgram
0.3b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)))
0.4b
(/.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (*.f64 k -1/2)) (/.f64 (sqrt.f64 (sqrt.f64 k)) (sqrt.f64 2))) (/.f64 (sqrt.f64 (sqrt.f64 k)) (sqrt.f64 (*.f64 n PI.f64))))
0.4b
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (*.f64 k -1/2)) (*.f64 (/.f64 1 (sqrt.f64 2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n PI.f64)))))
0.5b
(*.f64 (sqrt.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2))) (/.f64 (sqrt.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2))) (sqrt.f64 k)))
0.6b
(*.f64 (/.f64 (pow.f64 (*.f64 2 PI.f64) (fma.f64 k -1/2 1/2)) (fabs.f64 (cbrt.f64 k))) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (sqrt.f64 (cbrt.f64 k))))
1.0b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (fma.f64 k -1/2 1/2))) (cbrt.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (fma.f64 k -1/2 1/2)))) (sqrt.f64 (sqrt.f64 k))) (/.f64 (cbrt.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (fma.f64 k -1/2 1/2))) (sqrt.f64 (sqrt.f64 k))))
10.5b
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (*.f64 k -1/2)) (sqrt.f64 (/.f64 k (*.f64 2 (*.f64 n PI.f64)))))
Compiler

Compiled 13263 to 7696 computations (42% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2))
0.1b
(sqrt.f64 (/.f64 1 k))
0.2b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)))
0.3b
(*.f64 n PI.f64)

rewrite19.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt_binary64
32×sqrt-prod_binary64
24×times-frac_binary64
23×*-un-lft-identity_binary64
21×add-exp-log_binary64
Counts
3 → 99
Calls

3 calls:

8.0ms
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)))
4.0ms
(pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2))
2.0ms
(sqrt.f64 (/.f64 1 k))

series740.0ms (7.1%)

Counts
3 → 28
Calls

3 calls:

372.0ms
(pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2))
364.0ms
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)))
4.0ms
(sqrt.f64 (/.f64 1 k))

simplify133.0ms (1.3%)

Algorithm
egg-herbie
Rules
409×distribute-rgt-in_binary64
403×distribute-lft-in_binary64
351×*-commutative_binary64
237×cancel-sign-sub-inv_binary64
232×fma-neg_binary64
Counts
127 → 231
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01593052
13282830
210002684
330182684
448502684
550562684

prune213.0ms (2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2561257
Fresh156
Picked011
Done000
Total2577264
Error
0b
Counts
264 → 7
Alt Table
StatusErrorProgram
0.3b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)))
0.3b
(*.f64 (pow.f64 k -1/2) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)))
0.4b
(/.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (*.f64 k -1/2)) (/.f64 (sqrt.f64 (sqrt.f64 k)) (sqrt.f64 2))) (/.f64 (sqrt.f64 (sqrt.f64 k)) (sqrt.f64 (*.f64 n PI.f64))))
0.4b
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (*.f64 k -1/2)) (*.f64 (/.f64 1 (sqrt.f64 2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n PI.f64)))))
0.5b
(*.f64 (sqrt.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2))) (/.f64 (sqrt.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2))) (sqrt.f64 k)))
0.6b
(*.f64 (/.f64 (pow.f64 (*.f64 2 PI.f64) (fma.f64 k -1/2 1/2)) (fabs.f64 (cbrt.f64 k))) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (sqrt.f64 (cbrt.f64 k))))
10.5b
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (*.f64 k -1/2)) (sqrt.f64 (/.f64 k (*.f64 2 (*.f64 n PI.f64)))))
Compiler

Compiled 4173 to 2935 computations (29.7% saved)

localize11.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2))
0.2b
(*.f64 (pow.f64 k -1/2) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)))
0.3b
(*.f64 n PI.f64)

rewrite8.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
32×add-exp-log_binary64
24×prod-exp_binary64
14×pow-exp_binary64
11×add-sqr-sqrt_binary64
pow-to-exp_binary64
Counts
1 → 45
Calls

1 calls:

6.0ms
(*.f64 (pow.f64 k -1/2) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)))

series375.0ms (3.6%)

Counts
1 → 12
Calls

1 calls:

374.0ms
(*.f64 (pow.f64 k -1/2) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)))

simplify101.0ms (1%)

Algorithm
egg-herbie
Rules
857×fma-def_binary64
668×associate-*l*_binary64
588×associate-*r*_binary64
247×distribute-rgt-in_binary64
242×distribute-lft-in_binary64
Counts
57 → 110
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01111607
12081505
26241445
323361417
444701417
549521417

prune161.0ms (1.5%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2340234
Fresh055
Picked011
Done011
Total2347241
Error
0b
Counts
241 → 7
Alt Table
StatusErrorProgram
0.3b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)))
0.3b
(*.f64 (pow.f64 k -1/2) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)))
0.4b
(/.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (*.f64 k -1/2)) (/.f64 (sqrt.f64 (sqrt.f64 k)) (sqrt.f64 2))) (/.f64 (sqrt.f64 (sqrt.f64 k)) (sqrt.f64 (*.f64 n PI.f64))))
0.4b
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (*.f64 k -1/2)) (*.f64 (/.f64 1 (sqrt.f64 2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n PI.f64)))))
0.5b
(*.f64 (sqrt.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2))) (/.f64 (sqrt.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2))) (sqrt.f64 k)))
0.6b
(*.f64 (/.f64 (pow.f64 (*.f64 2 PI.f64) (fma.f64 k -1/2 1/2)) (fabs.f64 (cbrt.f64 k))) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (sqrt.f64 (cbrt.f64 k))))
10.5b
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (*.f64 k -1/2)) (sqrt.f64 (/.f64 k (*.f64 2 (*.f64 n PI.f64)))))
Compiler

Compiled 2961 to 2042 computations (31% saved)

regimes1.5s (14.4%)

Accuracy

Total 0.4b remaining (91.6%)

Threshold costs 0.4b (91.6%)

Compiler

Compiled 31390 to 23820 computations (24.1% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01533
12033
22033

end1.0ms (0%)

Compiler

Compiled 23 to 17 computations (26.1% saved)

sample3.2s (30.7%)

Algorithm
intervals
Results
922.0ms1377×body1024nan
790.0ms8000×body128valid
444.0ms2321×body128overflowed
280.0ms669×body512nan
80.0ms975×body128nan
75.0ms321×body256nan
27.0ms234×body128invalid
Compiler

Compiled 201 to 155 computations (22.9% saved)

Profiling

Loading profile data...