Details

Time bar (total: 8.3s)

analyze596.0ms (7.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)

sample104.0ms (1.3%)

Algorithm
intervals
Results
32.0ms53×body1024nan
26.0ms256×body128valid
16.0ms70×body128overflowed
8.0ms21×body512nan
2.0ms32×body128nan
2.0msbody256nan
1.0msbody128invalid
Compiler

Compiled 39 to 33 computations (15.4% saved)

simplify49.0ms (0.6%)

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)

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

series529.0ms (6.4%)

Counts
3 → 48
Calls

3 calls:

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

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

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

simplify128.0ms (1.5%)

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

prune212.0ms (2.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1608168
Fresh101
Picked101
Done000
Total1628170
Error
0b
Counts
170 → 8
Alt Table
StatusErrorProgram
0.5b
(*.f64 (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))))
0.4b
(/.f64 1 (/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))))
0.4b
(*.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 (*.f64 2 (PI.f64)) n) (/.f64 (fma.f64 k -1/2 1/2) 2)) 1) (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (/.f64 (fma.f64 k -1/2 1/2) 2)) (sqrt.f64 k)))
0.6b
(*.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))))
18.4b
(/.f64 (-.f64 (+.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (sqrt.f64 2)) (*.f64 1/8 (*.f64 (*.f64 (pow.f64 k 2) (*.f64 (pow.f64 (log.f64 (*.f64 2 (*.f64 n (PI.f64)))) 2) (sqrt.f64 2))) (sqrt.f64 (*.f64 n (PI.f64)))))) (*.f64 1/2 (*.f64 (*.f64 k (*.f64 (log.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 2))) (sqrt.f64 (*.f64 n (PI.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.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 4344 to 2746 computations (36.8% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series148.0ms (1.8%)

Counts
4 → 0
Calls

4 calls:

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

rewrite43.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt_binary64
52×times-frac_binary64
43×sqrt-prod_binary64
39×*-un-lft-identity_binary64
39×add-cube-cbrt_binary64
Counts
4 → 145
Calls

4 calls:

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

simplify176.0ms (2.1%)

Algorithm
egg-herbie
Rules
594×fma-def_binary64
457×associate-/l*_binary64
326×*-commutative_binary64
314×associate-*r/_binary64
282×associate-*l/_binary64
Counts
145 → 175
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01793965
13433724
211663696
333093696
444673696
549913696
649733696

prune253.0ms (3.1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1934197
Fresh437
Picked101
Done000
Total1987205
Error
0b
Counts
205 → 7
Alt Table
StatusErrorProgram
0.4b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 (sqrt.f64 (*.f64 2 (*.f64 (sqrt.f64 n) (*.f64 (sqrt.f64 n) (PI.f64))))) (sqrt.f64 k)))
0.5b
(*.f64 (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))))
18.4b
(/.f64 (-.f64 (+.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (sqrt.f64 2)) (*.f64 1/8 (*.f64 (*.f64 (pow.f64 k 2) (*.f64 (pow.f64 (log.f64 (*.f64 2 (*.f64 n (PI.f64)))) 2) (sqrt.f64 2))) (sqrt.f64 (*.f64 n (PI.f64)))))) (*.f64 1/2 (*.f64 (*.f64 k (*.f64 (log.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 2))) (sqrt.f64 (*.f64 n (PI.f64)))))) (sqrt.f64 k))
0.5b
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64))))) (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2))) (/.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64))))) (sqrt.f64 k)))
0.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)))
10.5b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (/.f64 (*.f64 2 (*.f64 n (PI.f64))) k)))
0.3b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 1 (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))))))
Compiler

Compiled 5964 to 3232 computations (45.8% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series85.0ms (1%)

Counts
2 → 0
Calls

2 calls:

48.0ms
(/.f64 1 (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64))))))
37.0ms
(/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))))

rewrite35.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
204×times-frac_binary64
108×*-un-lft-identity_binary64
108×add-sqr-sqrt_binary64
108×add-cube-cbrt_binary64
94×sqrt-prod_binary64
Counts
2 → 187
Calls

2 calls:

9.0ms
(/.f64 1 (/.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)))))

simplify329.0ms (4%)

Algorithm
egg-herbie
Rules
811×fma-neg_binary64
426×div-sub_binary64
402×unswap-sqr_binary64
356×*-commutative_binary64
295×distribute-rgt-in_binary64
Counts
187 → 213
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01405375
12344957
25784849
316884849
418314849
519204849
624074849
732344849
838804849
949894849
1046514849

prune328.0ms (4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2682270
Fresh246
Picked101
Done000
Total2716277
Error
0b
Counts
277 → 6
Alt Table
StatusErrorProgram
0.5b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 k))) (/.f64 (sqrt.f64 (sqrt.f64 k)) (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))))))
0.4b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 (sqrt.f64 (*.f64 2 (*.f64 (sqrt.f64 n) (*.f64 (sqrt.f64 n) (PI.f64))))) (sqrt.f64 k)))
0.5b
(*.f64 (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))))
0.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)))
10.5b
(*.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 1 (/.f64 (sqrt.f64 k) (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 n (PI.f64)))))))
Compiler

Compiled 8680 to 4951 computations (43% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series123.0ms (1.5%)

Counts
3 → 0
Calls

3 calls:

64.0ms
(/.f64 (sqrt.f64 k) (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 n (PI.f64)))))
46.0ms
(/.f64 1 (/.f64 (sqrt.f64 k) (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 n (PI.f64))))))
13.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 n (PI.f64))))

rewrite29.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
60×times-frac_binary64
37×add-sqr-sqrt_binary64
33×*-un-lft-identity_binary64
33×add-cube-cbrt_binary64
31×add-exp-log_binary64
Counts
3 → 129
Calls

3 calls:

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

simplify167.0ms (2%)

Algorithm
egg-herbie
Rules
937×times-frac_binary64
894×div-sub_binary64
412×associate-/l*_binary64
392×associate-/r*_binary64
284×associate-*r*_binary64
Counts
129 → 147
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01282936
12332549
27962495
334042495
435552495
538062495
647612495
760522495

prune241.0ms (2.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1910191
Fresh055
Picked011
Done000
Total1916197
Error
0b
Counts
197 → 6
Alt Table
StatusErrorProgram
0.5b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 k))) (/.f64 (sqrt.f64 (sqrt.f64 k)) (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))))))
0.4b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 (sqrt.f64 (*.f64 2 (*.f64 (sqrt.f64 n) (*.f64 (sqrt.f64 n) (PI.f64))))) (sqrt.f64 k)))
0.5b
(*.f64 (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))))
0.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)))
10.5b
(*.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 1 (/.f64 (sqrt.f64 k) (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 n (PI.f64)))))))
Compiler

Compiled 5585 to 3055 computations (45.3% saved)

regimes1.4s (17.4%)

Accuracy

Total 0.3b remaining (75.9%)

Threshold costs 0.3b (75.9%)

Counts
250 → 1
Compiler

Compiled 28782 to 21009 computations (27% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01637
12137
22137

end1.0ms (0%)

Compiler

Compiled 25 to 18 computations (28% saved)

sample3.2s (38.6%)

Algorithm
intervals
Results
874.0ms8000×body128valid
849.0ms1385×body1024nan
439.0ms2375×body128overflowed
284.0ms670×body512nan
77.0ms310×body256nan
75.0ms978×body128nan
39.0ms298×body128invalid
Compiler

Compiled 191 to 142 computations (25.7% saved)

Profiling

Loading profile data...