Details

Time bar (total: 6.7s)

analyze595.0ms (8.9%)

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)

sample88.0ms (1.3%)

Algorithm
intervals
Results
25.0ms256×body128valid
22.0ms37×body1024nan
12.0ms69×body128overflowed
7.0ms17×body512nan
3.0ms36×body128nan
3.0ms11×body256nan
0.0msbody128invalid
Compiler

Compiled 39 to 33 computations (15.4% saved)

simplify50.0ms (0.8%)

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.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.4b
(*.f64 (/.f64 1 (sqrt.f64 k)) (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2)))
0.4b
(/.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.2b
(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.2b
(*.f64 (*.f64 2 PI.f64) n)

rewrite20.0ms (0.3%)

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
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
4.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (fma.f64 k -1/2 1/2))
4.0ms
(*.f64 (*.f64 2 PI.f64) n)

series758.0ms (11.3%)

Counts
3 → 48
Calls

3 calls:

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

simplify143.0ms (2.1%)

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

prune219.0ms (3.3%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New27410284
Fresh101
Picked101
Done000
Total27610286
Error
0b
Counts
286 → 10
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)))
0.3b
(/.f64 (*.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (*.f64 k -1/2)) (sqrt.f64 (*.f64 2 (*.f64 n PI.f64)))) (sqrt.f64 k))
0.5b
(*.f64 (/.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (*.f64 k -1/2)) (sqrt.f64 (sqrt.f64 k))) (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n PI.f64))) (sqrt.f64 (sqrt.f64 k))))
0.3b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (*.f64 k -1/2)) (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n PI.f64))) (sqrt.f64 k)))
0.7b
(*.f64 (/.f64 1 (fabs.f64 (cbrt.f64 k))) (/.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)) (sqrt.f64 (cbrt.f64 k))))
0.4b
(/.f64 (pow.f64 (/.f64 (*.f64 PI.f64 -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
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)))))
0.8b
(*.f64 (/.f64 (sqrt.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2))) (fabs.f64 (cbrt.f64 k))) (/.f64 (sqrt.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2))) (sqrt.f64 (cbrt.f64 k))))
0.6b
(/.f64 (pow.f64 (*.f64 2 PI.f64) (fma.f64 k -1/2 1/2)) (/.f64 (sqrt.f64 k) (pow.f64 n (fma.f64 k -1/2 1/2))))
Compiler

Compiled 4310 to 2732 computations (36.6% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite18.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
24×add-exp-log_binary64
11×add-sqr-sqrt_binary64
11×pow1_binary64
10×add-cbrt-cube_binary64
*-un-lft-identity_binary64
Counts
3 → 67
Calls

3 calls:

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

series92.0ms (1.4%)

Counts
3 → 0
Calls

3 calls:

74.0ms
(/.f64 (*.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (*.f64 k -1/2)) (sqrt.f64 (*.f64 2 (*.f64 n PI.f64)))) (sqrt.f64 k))
9.0ms
(sqrt.f64 (*.f64 2 (*.f64 n PI.f64)))
8.0ms
(*.f64 n PI.f64)

simplify114.0ms (1.7%)

Algorithm
egg-herbie
Rules
568×associate-/l*_binary64
546×times-frac_binary64
546×fma-def_binary64
459×associate-*l*_binary64
372×fma-neg_binary64
Counts
67 → 113
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01171597
12201379
27531379
339401379
445871379
549521379
649651379

prune155.0ms (2.3%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1390139
Fresh099
Picked011
Done000
Total13910149
Error
0b
Counts
149 → 10
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)))
0.3b
(/.f64 (*.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (*.f64 k -1/2)) (sqrt.f64 (*.f64 2 (*.f64 n PI.f64)))) (sqrt.f64 k))
0.5b
(*.f64 (/.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (*.f64 k -1/2)) (sqrt.f64 (sqrt.f64 k))) (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n PI.f64))) (sqrt.f64 (sqrt.f64 k))))
0.3b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (*.f64 k -1/2)) (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n PI.f64))) (sqrt.f64 k)))
0.7b
(*.f64 (/.f64 1 (fabs.f64 (cbrt.f64 k))) (/.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)) (sqrt.f64 (cbrt.f64 k))))
0.4b
(/.f64 (pow.f64 (/.f64 (*.f64 PI.f64 -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
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)))))
0.8b
(*.f64 (/.f64 (sqrt.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2))) (fabs.f64 (cbrt.f64 k))) (/.f64 (sqrt.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2))) (sqrt.f64 (cbrt.f64 k))))
0.6b
(/.f64 (pow.f64 (*.f64 2 PI.f64) (fma.f64 k -1/2 1/2)) (/.f64 (sqrt.f64 k) (pow.f64 n (fma.f64 k -1/2 1/2))))
Compiler

Compiled 3210 to 1785 computations (44.4% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite10.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
24×times-frac_binary64
22×sqrt-prod_binary64
18×*-un-lft-identity_binary64
18×add-sqr-sqrt_binary64
18×add-cube-cbrt_binary64
Counts
1 → 49
Calls

1 calls:

7.0ms
(/.f64 (sqrt.f64 (*.f64 2 (*.f64 n PI.f64))) (sqrt.f64 k))

series40.0ms (0.6%)

Counts
1 → 0
Calls

1 calls:

40.0ms
(/.f64 (sqrt.f64 (*.f64 2 (*.f64 n PI.f64))) (sqrt.f64 k))

simplify142.0ms (2.1%)

Algorithm
egg-herbie
Rules
733×times-frac_binary64
609×div-sub_binary64
534×associate-/l*_binary64
470×associate-/l/_binary64
331×distribute-rgt-in_binary64
Counts
49 → 67
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0821265
11291203
22781203
37801203
424611203
523771203
628491203
734051203
831081203
938451203
1046911203

prune140.0ms (2.1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2434247
Fresh628
Picked101
Done011
Total2507257
Error
0b
Counts
257 → 7
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)))
0.3b
(/.f64 (*.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (*.f64 k -1/2)) (sqrt.f64 (*.f64 2 (*.f64 n PI.f64)))) (sqrt.f64 k))
12.1b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (*.f64 k -1/2)) (sqrt.f64 (/.f64 (*.f64 2 (*.f64 n PI.f64)) k)))
0.4b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (*.f64 k -1/2)) (/.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 n PI.f64))) (sqrt.f64 k)))
0.4b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (*.f64 k -1/2)) (/.f64 (sqrt.f64 2) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n PI.f64)))))
0.3b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (*.f64 k -1/2)) (*.f64 (sqrt.f64 2) (/.f64 (sqrt.f64 (*.f64 n PI.f64)) (sqrt.f64 k))))
0.6b
(/.f64 (pow.f64 (*.f64 2 PI.f64) (fma.f64 k -1/2 1/2)) (/.f64 (sqrt.f64 k) (pow.f64 n (fma.f64 k -1/2 1/2))))
Compiler

Compiled 3210 to 1745 computations (45.6% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 n PI.f64)
0.2b
(*.f64 n PI.f64)
0.3b
(/.f64 (sqrt.f64 (*.f64 n PI.f64)) (sqrt.f64 k))
0.4b
(*.f64 (sqrt.f64 2) (/.f64 (sqrt.f64 (*.f64 n PI.f64)) (sqrt.f64 k)))

rewrite24.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
52×times-frac_binary64
52×add-sqr-sqrt_binary64
48×sqrt-prod_binary64
36×*-un-lft-identity_binary64
36×add-cube-cbrt_binary64
Counts
2 → 106
Calls

2 calls:

11.0ms
(*.f64 (sqrt.f64 2) (/.f64 (sqrt.f64 (*.f64 n PI.f64)) (sqrt.f64 k)))
6.0ms
(/.f64 (sqrt.f64 (*.f64 n PI.f64)) (sqrt.f64 k))

series72.0ms (1.1%)

Counts
2 → 0
Calls

2 calls:

43.0ms
(*.f64 (sqrt.f64 2) (/.f64 (sqrt.f64 (*.f64 n PI.f64)) (sqrt.f64 k)))
29.0ms
(/.f64 (sqrt.f64 (*.f64 n PI.f64)) (sqrt.f64 k))

simplify200.0ms (3%)

Algorithm
egg-herbie
Rules
1038×associate-/l/_binary64
858×fma-def_binary64
813×fma-neg_binary64
409×distribute-rgt-in_binary64
332×sqr-pow_binary64
Counts
106 → 149
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01282334
12492200
27492200
321282200
420932200
522912200
628442200
740792200
841942200
957612200

prune155.0ms (2.3%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New7730773
Fresh055
Picked011
Done011
Total7737780
Error
0b
Counts
780 → 7
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (fma.f64 k -1/2 1/2)))
0.3b
(/.f64 (*.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (*.f64 k -1/2)) (sqrt.f64 (*.f64 2 (*.f64 n PI.f64)))) (sqrt.f64 k))
12.1b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (*.f64 k -1/2)) (sqrt.f64 (/.f64 (*.f64 2 (*.f64 n PI.f64)) k)))
0.4b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (*.f64 k -1/2)) (/.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 n PI.f64))) (sqrt.f64 k)))
0.4b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (*.f64 k -1/2)) (/.f64 (sqrt.f64 2) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n PI.f64)))))
0.3b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (*.f64 k -1/2)) (*.f64 (sqrt.f64 2) (/.f64 (sqrt.f64 (*.f64 n PI.f64)) (sqrt.f64 k))))
0.6b
(/.f64 (pow.f64 (*.f64 2 PI.f64) (fma.f64 k -1/2 1/2)) (/.f64 (sqrt.f64 k) (pow.f64 n (fma.f64 k -1/2 1/2))))
Compiler

Compiled 4382 to 1948 computations (55.5% saved)

regimes565.0ms (8.4%)

Accuracy

Total 0.4b remaining (96.1%)

Threshold costs 0.4b (96.1%)

Compiler

Compiled 12001 to 8878 computations (26% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01431
11831
21831

end1.0ms (0%)

Compiler

Compiled 21 to 15 computations (28.6% saved)

sample3.0s (45.3%)

Algorithm
intervals
Results
816.0ms8000×body128valid
779.0ms1286×body1024nan
400.0ms2233×body128overflowed
265.0ms635×body512nan
119.0ms321×body256nan
76.0ms1045×body128nan
29.0ms254×body128invalid
Compiler

Compiled 186 to 140 computations (24.7% saved)

Profiling

Loading profile data...