Details

Time bar (total: 10.2s)

analyze528.0ms (5.2%)

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)

sample156.0ms (1.5%)

Algorithm
intervals
Results
27.0ms46×body1024nan
26.0ms256×body128valid
13.0ms75×body128overflowed
10.0ms26×body512nan
4.0ms19×body256nan
2.0ms26×body128nan
0.0msbody128invalid
Compiler

Compiled 39 to 33 computations (15.4% saved)

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

localize11.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.3b
(*.f64 (*.f64 2 (PI.f64)) n)

series682.0ms (6.7%)

Counts
3 → 48
Calls

3 calls:

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

rewrite23.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:

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

simplify166.0ms (1.6%)

Algorithm
egg-herbie
Rules
405×distribute-rgt-in_binary64
399×distribute-lft-in_binary64
243×fma-neg_binary64
211×associate-/l*_binary64
162×associate-*l*_binary64
Counts
156 → 168
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02134057
14283712
213903636
345063636
449603636

prune222.0ms (2.2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1599168
Fresh101
Picked101
Done000
Total1619170
Error
0b
Counts
170 → 9
Alt Table
StatusErrorProgram
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))))
19.7b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (+.f64 (sqrt.f64 2) (*.f64 (*.f64 k (*.f64 (log.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 2))) -1/2))) (sqrt.f64 k))
1.1b
(/.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (*.f64 (cbrt.f64 (sqrt.f64 k)) (cbrt.f64 (sqrt.f64 k)))) (cbrt.f64 (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.6b
(*.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (sqrt.f64 k)))
0.7b
(*.f64 (/.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (fabs.f64 (cbrt.f64 k))) (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 (cbrt.f64 k))))
20.9b
(cbrt.f64 (pow.f64 (/.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 k)) 3))
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.4b
(/.f64 (pow.f64 (*.f64 (*.f64 (*.f64 2 (PI.f64)) (sqrt.f64 n)) (sqrt.f64 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
Compiler

Compiled 4324 to 2726 computations (37% saved)

localize45.0ms (0.4%)

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 (*.f64 2 (PI.f64)) n)
0.3b
(*.f64 n (PI.f64))
0.3b
(/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))))

series126.0ms (1.2%)

Counts
3 → 0
Calls

3 calls:

88.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))))))
35.0ms
(/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))))
2.0ms
(*.f64 n (PI.f64))

rewrite60.0ms (0.6%)

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))))))
7.0ms
(/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))))
3.0ms
(*.f64 n (PI.f64))

simplify374.0ms (3.7%)

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 → 346
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
036212589
171912274
2246612046
3324712046
4475712046
5502012046

prune512.0ms (5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New3695374
Fresh628
Picked101
Done000
Total3767383
Error
0b
Counts
383 → 7
Alt Table
StatusErrorProgram
19.7b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (+.f64 (sqrt.f64 2) (*.f64 (*.f64 k (*.f64 (log.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 2))) -1/2))) (sqrt.f64 k))
11.8b
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (sqrt.f64 (/.f64 k (*.f64 2 (*.f64 n (PI.f64))))))
0.4b
(/.f64 (pow.f64 (*.f64 (*.f64 (*.f64 2 (PI.f64)) (sqrt.f64 n)) (sqrt.f64 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
0.3b
(/.f64 1 (/.f64 (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64))))) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))))
0.4b
(*.f64 (sqrt.f64 2) (/.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n (PI.f64))))))
0.5b
(*.f64 (/.f64 (sqrt.f64 2) (sqrt.f64 (sqrt.f64 k))) (/.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 (sqrt.f64 (sqrt.f64 k)) (sqrt.f64 (*.f64 n (PI.f64))))))
0.3b
(*.f64 (pow.f64 (*.f64 2 (PI.f64)) (*.f64 k -1/2)) (/.f64 (pow.f64 n (*.f64 k -1/2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))))))
Compiler

Compiled 13272 to 7688 computations (42.1% saved)

localize14.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 (pow.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 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))))

series88.0ms (0.9%)

Counts
2 → 0
Calls

2 calls:

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

rewrite61.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
388×times-frac_binary64
180×*-un-lft-identity_binary64
180×add-sqr-sqrt_binary64
180×add-cube-cbrt_binary64
145×sqrt-prod_binary64
Counts
2 → 266
Calls

2 calls:

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

simplify426.0ms (4.2%)

Algorithm
egg-herbie
Rules
571×*-commutative_binary64
499×associate-*r*_binary64
497×fma-def_binary64
404×fma-neg_binary64
340×associate-/r/_binary64
Counts
266 → 318
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
037512066
172311834
2254411603
3310311603
4399411603
5471211603
6503411603

prune525.0ms (5.1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New3910391
Fresh066
Picked011
Done000
Total3917398
Error
0b
Counts
398 → 7
Alt Table
StatusErrorProgram
19.7b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (+.f64 (sqrt.f64 2) (*.f64 (*.f64 k (*.f64 (log.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 2))) -1/2))) (sqrt.f64 k))
11.8b
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (sqrt.f64 (/.f64 k (*.f64 2 (*.f64 n (PI.f64))))))
0.4b
(/.f64 (pow.f64 (*.f64 (*.f64 (*.f64 2 (PI.f64)) (sqrt.f64 n)) (sqrt.f64 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
0.3b
(/.f64 1 (/.f64 (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64))))) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))))
0.4b
(*.f64 (sqrt.f64 2) (/.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n (PI.f64))))))
0.5b
(*.f64 (/.f64 (sqrt.f64 2) (sqrt.f64 (sqrt.f64 k))) (/.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 (sqrt.f64 (sqrt.f64 k)) (sqrt.f64 (*.f64 n (PI.f64))))))
0.3b
(*.f64 (pow.f64 (*.f64 2 (PI.f64)) (*.f64 k -1/2)) (/.f64 (pow.f64 n (*.f64 k -1/2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))))))
Compiler

Compiled 15270 to 8999 computations (41.1% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 1 (/.f64 (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64))))) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))))
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)))))

series84.0ms (0.8%)

Counts
1 → 0
Calls

1 calls:

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

rewrite234.0ms (2.3%)

Algorithm
rewrite-expression-head
Rules
1472×times-frac_binary64
562×*-un-lft-identity_binary64
562×add-sqr-sqrt_binary64
562×add-cube-cbrt_binary64
360×sqrt-prod_binary64
Counts
1 → 630
Calls

1 calls:

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

simplify868.0ms (8.5%)

Algorithm
egg-herbie
Rules
565×associate-/r/_binary64
450×associate-/l/_binary64
355×associate-/r*_binary64
321×distribute-rgt-in_binary64
242×fma-def_binary64
Counts
630 → 731
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
052537751
1104634839
2336033623
3352133623
4493133623

prune1.2s (11.6%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New8311832
Fresh145
Picked101
Done011
Total8336839
Error
0b
Counts
839 → 6
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sqrt.f64 2) (/.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n (PI.f64))))))
0.5b
(*.f64 (/.f64 (sqrt.f64 2) (sqrt.f64 (sqrt.f64 k))) (/.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 (sqrt.f64 (sqrt.f64 k)) (sqrt.f64 (*.f64 n (PI.f64))))))
19.7b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (+.f64 (sqrt.f64 2) (*.f64 (*.f64 k (*.f64 (log.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 2))) -1/2))) (sqrt.f64 k))
0.3b
(*.f64 (pow.f64 (*.f64 2 (PI.f64)) (*.f64 k -1/2)) (/.f64 (pow.f64 n (*.f64 k -1/2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))))))
11.8b
(/.f64 1 (/.f64 (sqrt.f64 (/.f64 k (*.f64 2 (*.f64 n (PI.f64))))) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))))
0.4b
(/.f64 (pow.f64 (*.f64 (*.f64 (*.f64 2 (PI.f64)) (sqrt.f64 n)) (sqrt.f64 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
Compiler

Compiled 35258 to 22040 computations (37.5% saved)

regimes756.0ms (7.4%)

Accuracy

Total 0.3b remaining (74.8%)

Threshold costs 0.3b (74.8%)

Counts
153 → 1
Compiler

Compiled 14731 to 11227 computations (23.8% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01737
12337
22337

end1.0ms (0%)

Compiler

Compiled 25 to 19 computations (24% saved)

sample3.0s (29.5%)

Algorithm
intervals
Results
800.0ms1302×body1024nan
774.0ms8000×body128valid
432.0ms2354×body128overflowed
291.0ms708×body512nan
89.0ms374×body256nan
76.0ms1013×body128nan
27.0ms215×body128invalid
Compiler

Compiled 187 to 141 computations (24.6% saved)

Profiling

Loading profile data...