Details

Time bar (total: 6.6s)

analyze535.0ms (8%)

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)

sample133.0ms (2%)

Algorithm
intervals
Results
23.0ms256×body128valid
19.0ms32×body1024nan
13.0ms74×body128overflowed
7.0ms19×body512nan
3.0ms29×body128nan
2.0msbody256nan
1.0msbody128invalid
Compiler

Compiled 39 to 33 computations (15.4% saved)

simplify45.0ms (0.7%)

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.6b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.6b
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
0.7b
(*.f64 (/.f64 1 (sqrt.f64 k)) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (/.f64 (-.f64 1 k) 2)))
Compiler

Compiled 97 to 77 computations (20.6% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series538.0ms (8.1%)

Counts
3 → 48
Calls

3 calls:

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

rewrite20.0ms (0.3%)

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

3 calls:

5.0ms
(*.f64 (*.f64 2 (PI.f64)) n)
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))

simplify120.0ms (1.8%)

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

prune229.0ms (3.4%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New15810168
Fresh101
Picked101
Done000
Total16010170
Error
0.0b
Counts
170 → 10
Alt Table
StatusErrorProgram
0.8b
(*.f64 (sqrt.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2))) (/.f64 (sqrt.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2))) (sqrt.f64 k)))
0.8b
(/.f64 (*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (/.f64 (fma.f64 k -1/2 1/2) 2)) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (/.f64 (fma.f64 k -1/2 1/2) 2))) (sqrt.f64 k))
0.7b
(/.f64 (pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
24.3b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (sqrt.f64 2)) (sqrt.f64 k))
0.7b
(*.f64 (/.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (sqrt.f64 k))) (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 (sqrt.f64 k))))
0.5b
(/.f64 (*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64))))) (sqrt.f64 k))
0.6b
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64))))))
0.6b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
19.3b
(cbrt.f64 (pow.f64 (/.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 k)) 3))
25.3b
(/.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) 3)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
Compiler

Compiled 4321 to 2832 computations (34.5% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series328.0ms (4.9%)

Counts
4 → 36
Calls

4 calls:

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

rewrite25.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
34×add-exp-log_binary64
21×pow1_binary64
14×prod-exp_binary64
14×add-cbrt-cube_binary64
*-un-lft-identity_binary64
Counts
4 → 86
Calls

4 calls:

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

simplify78.0ms (1.2%)

Algorithm
egg-herbie
Rules
731×associate-/l*_binary64
452×distribute-rgt-in_binary64
447×distribute-lft-in_binary64
206×associate-/l/_binary64
177×fma-def_binary64
Counts
122 → 135
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01722583
13742257
213772245
355152245

prune242.0ms (3.6%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1623165
Fresh369
Picked101
Done000
Total1669175
Error
0b
Counts
175 → 9
Alt Table
StatusErrorProgram
0.6b
(/.f64 1 (/.f64 (sqrt.f64 k) (*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))))))
0.8b
(*.f64 (sqrt.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2))) (/.f64 (sqrt.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2))) (sqrt.f64 k)))
0.7b
(/.f64 (pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
24.3b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (sqrt.f64 2)) (sqrt.f64 k))
0.7b
(*.f64 (/.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (sqrt.f64 k))) (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 (sqrt.f64 k))))
0.6b
(/.f64 (*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (*.f64 (sqrt.f64 n) (*.f64 (sqrt.f64 n) (*.f64 2 (PI.f64)))))) (sqrt.f64 k))
0.6b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
19.3b
(cbrt.f64 (pow.f64 (*.f64 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 k)) (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 -1/2 k))) 3))
25.3b
(/.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) 3)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
Compiler

Compiled 4552 to 2896 computations (36.4% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series70.0ms (1.1%)

Counts
1 → 0
Calls

1 calls:

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

rewrite13.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
20×add-exp-log_binary64
prod-exp_binary64
associate-/l*_binary64
sqrt-prod_binary64
times-frac_binary64
Counts
1 → 33
Calls

1 calls:

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

simplify66.0ms (1%)

Algorithm
egg-herbie
Rules
487×fma-neg_binary64
439×times-frac_binary64
362×associate-/r*_binary64
326×associate-*l*_binary64
287×fma-def_binary64
Counts
33 → 36
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0831317
11531128
25211128
328091128
446281128
550531128

prune210.0ms (3.2%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1530153
Fresh088
Picked011
Done000
Total1539162
Error
0b
Counts
162 → 9
Alt Table
StatusErrorProgram
0.6b
(/.f64 1 (/.f64 (sqrt.f64 k) (*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))))))
0.8b
(*.f64 (sqrt.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2))) (/.f64 (sqrt.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2))) (sqrt.f64 k)))
0.7b
(/.f64 (pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
24.3b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (sqrt.f64 2)) (sqrt.f64 k))
0.7b
(*.f64 (/.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (sqrt.f64 k))) (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 (sqrt.f64 k))))
0.6b
(/.f64 (*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (*.f64 (sqrt.f64 n) (*.f64 (sqrt.f64 n) (*.f64 2 (PI.f64)))))) (sqrt.f64 k))
0.6b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
19.3b
(cbrt.f64 (pow.f64 (*.f64 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 k)) (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 -1/2 k))) 3))
25.3b
(/.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) 3)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
Compiler

Compiled 4522 to 3027 computations (33.1% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series29.0ms (0.4%)

Counts
3 → 8
Calls

3 calls:

13.0ms
(sqrt.f64 (*.f64 (sqrt.f64 n) (*.f64 (sqrt.f64 n) (*.f64 2 (PI.f64)))))
9.0ms
(*.f64 (sqrt.f64 n) (*.f64 2 (PI.f64)))
6.0ms
(*.f64 (sqrt.f64 n) (*.f64 (sqrt.f64 n) (*.f64 2 (PI.f64))))

rewrite22.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
27×pow1_binary64
17×add-cbrt-cube_binary64
17×add-exp-log_binary64
15×pow-prod-down_binary64
12×associate-*l*_binary64
Counts
3 → 64
Calls

3 calls:

8.0ms
(*.f64 (sqrt.f64 n) (*.f64 (sqrt.f64 n) (*.f64 2 (PI.f64))))
6.0ms
(*.f64 (sqrt.f64 n) (*.f64 2 (PI.f64)))
5.0ms
(sqrt.f64 (*.f64 (sqrt.f64 n) (*.f64 (sqrt.f64 n) (*.f64 2 (PI.f64)))))

simplify97.0ms (1.5%)

Algorithm
egg-herbie
Rules
766×fma-def_binary64
386×associate-*l/_binary64
336×*-commutative_binary64
267×associate-*r/_binary64
206×log-div_binary64
Counts
72 → 79
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
077846
1167750
2548750
3795750
4994750
52504750
63798750
74957750
84998750
94955750

prune136.0ms (2%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1090109
Fresh077
Picked011
Done011
Total1099118
Error
0b
Counts
118 → 9
Alt Table
StatusErrorProgram
0.6b
(/.f64 1 (/.f64 (sqrt.f64 k) (*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))))))
0.8b
(*.f64 (sqrt.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2))) (/.f64 (sqrt.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2))) (sqrt.f64 k)))
0.7b
(/.f64 (pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
24.3b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (sqrt.f64 2)) (sqrt.f64 k))
0.7b
(*.f64 (/.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (sqrt.f64 k))) (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 (sqrt.f64 k))))
0.6b
(/.f64 (*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (*.f64 (sqrt.f64 n) (*.f64 (sqrt.f64 n) (*.f64 2 (PI.f64)))))) (sqrt.f64 k))
0.6b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
19.3b
(cbrt.f64 (pow.f64 (*.f64 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 k)) (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 -1/2 k))) 3))
25.3b
(/.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) 3)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
Compiler

Compiled 3250 to 1882 computations (42.1% saved)

regimes506.0ms (7.6%)

Accuracy

Total 0.4b remaining (83.9%)

Threshold costs 0.4b (83.9%)

Counts
108 → 1
Compiler

Compiled 10888 to 8277 computations (24% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
*-lft-identity_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01631
12331
22231

end1.0ms (0%)

Compiler

Compiled 21 to 16 computations (23.8% saved)

sample3.2s (47.4%)

Algorithm
intervals
Results
833.0ms1318×body1024nan
771.0ms8000×body128valid
412.0ms2312×body128overflowed
313.0ms649×body512nan
175.0ms315×body256nan
76.0ms947×body128nan
25.0ms229×body128invalid
Compiler

Compiled 232 to 181 computations (22% saved)

Profiling

Loading profile data...