Details

Time bar (total: 9.5s)

analyze343.0ms (3.6%)

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%25%57.9%7
18%20.3%61.8%8
18.3%16.4%65.3%9
18.5%13.7%67.8%10
18.6%11.5%69.9%11
18.7%10%71.3%12
18.7%8.9%72.4%13
18.7%8.2%73.1%14
Compiler

Compiled 19 to 16 computations (15.8% saved)

sample3.1s (32.7%)

Results
1.3s8256×body128valid
1.1s1388×body1024invalid
359.0ms659×body512invalid
182.0ms1212×body128invalid
118.0ms376×body256invalid
Compiler

Compiled 56 to 47 computations (16.1% saved)

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

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

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

series543.0ms (5.7%)

Counts
3 → 48
Calls

3 calls:

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

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

simplify122.0ms (1.3%)

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

prune207.0ms (2.2%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1608168
Fresh101
Picked101
Done000
Total1628170
Error
0b
Counts
170 → 8
Alt Table
StatusErrorProgram
24.7b
(/.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (sqrt.f64 (fma.f64 k -1/2 1/2))) (sqrt.f64 (fma.f64 k -1/2 1/2))) (sqrt.f64 k))
0.5b
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (/.f64 (fma.f64 k -1/2 1/2) 2)) (/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (/.f64 (fma.f64 k -1/2 1/2) 2))))
0.3b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 k)))
0.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)))
0.3b
(/.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.4b
(*.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))))
20.5b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (+.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 2) (-.f64 (*.f64 1/8 (*.f64 (*.f64 k k) (pow.f64 (log.f64 (*.f64 n (*.f64 2 (PI.f64)))) 2))) (*.f64 1/2 (*.f64 k (log.f64 (*.f64 n (*.f64 2 (PI.f64)))))))))) (sqrt.f64 k))
1.1b
(/.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)))) (/.f64 (sqrt.f64 k) (cbrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)))))
Compiler

Compiled 4341 to 2842 computations (34.5% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series141.0ms (1.5%)

Counts
4 → 12
Calls

4 calls:

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

rewrite37.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
52×times-frac_binary64
51×add-sqr-sqrt_binary64
43×sqrt-prod_binary64
40×add-exp-log_binary64
38×*-un-lft-identity_binary64
Counts
4 → 145
Calls

4 calls:

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

simplify177.0ms (1.9%)

Algorithm
egg-herbie
Rules
482×associate-/l*_binary64
441×*-commutative_binary64
366×fma-def_binary64
350×associate-*r/_binary64
319×associate-*l/_binary64
Counts
157 → 209
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01824123
13623862
213183834
336933834
444993834
549533834
649423834

prune289.0ms (3.1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2372239
Fresh257
Picked101
Done000
Total2407247
Error
0b
Counts
247 → 7
Alt Table
StatusErrorProgram
9.1b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (/.f64 (*.f64 n (*.f64 2 (PI.f64))) k)))
24.7b
(/.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (sqrt.f64 (fma.f64 k -1/2 1/2))) (sqrt.f64 (fma.f64 k -1/2 1/2))) (sqrt.f64 k))
0.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)))
0.3b
(/.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.4b
(*.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.7b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (/.f64 (sqrt.f64 (*.f64 (*.f64 (cbrt.f64 n) (cbrt.f64 n)) (*.f64 (cbrt.f64 n) (*.f64 2 (PI.f64))))) (sqrt.f64 k)))
1.1b
(/.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)))) (/.f64 (sqrt.f64 k) (cbrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)))))
Compiler

Compiled 7020 to 4330 computations (38.3% saved)

localize14.0ms (0.2%)

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

series116.0ms (1.2%)

Counts
2 → 0
Calls

2 calls:

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

rewrite55.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
308×times-frac_binary64
138×*-un-lft-identity_binary64
138×add-sqr-sqrt_binary64
138×add-cube-cbrt_binary64
130×sqrt-prod_binary64
Counts
2 → 247
Calls

2 calls:

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

simplify350.0ms (3.7%)

Algorithm
egg-herbie
Rules
711×associate-/r*_binary64
530×*-commutative_binary64
467×associate-*r*_binary64
297×associate-/r/_binary64
256×fma-neg_binary64
Counts
247 → 324
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
033612416
166712123
2230711895
3377411895
4491111895
5496911895

prune474.0ms (5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New3811382
Fresh156
Picked011
Done000
Total3827389
Error
0b
Counts
389 → 7
Alt Table
StatusErrorProgram
9.1b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (/.f64 (*.f64 n (*.f64 2 (PI.f64))) k)))
24.7b
(/.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (sqrt.f64 (fma.f64 k -1/2 1/2))) (sqrt.f64 (fma.f64 k -1/2 1/2))) (sqrt.f64 k))
0.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)))
0.3b
(/.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.4b
(*.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.7b
(/.f64 (/.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (fabs.f64 (cbrt.f64 k))) (/.f64 (sqrt.f64 (cbrt.f64 k)) (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64))))))
1.1b
(/.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)))) (/.f64 (sqrt.f64 k) (cbrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)))))
Compiler

Compiled 13468 to 8590 computations (36.2% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series571.0ms (6%)

Counts
3 → 36
Calls

3 calls:

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

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

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

simplify168.0ms (1.8%)

Algorithm
egg-herbie
Rules
865×fma-def_binary64
313×*-commutative_binary64
250×log-prod_binary64
240×distribute-rgt-in_binary64
239×fma-neg_binary64
Counts
135 → 135
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01603158
13342826
29612798
326242790
446902790
549682790
649922790
749652790

prune208.0ms (2.2%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1650165
Fresh055
Picked011
Done011
Total1657172
Error
0b
Counts
172 → 7
Alt Table
StatusErrorProgram
9.1b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (/.f64 (*.f64 n (*.f64 2 (PI.f64))) k)))
24.7b
(/.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (sqrt.f64 (fma.f64 k -1/2 1/2))) (sqrt.f64 (fma.f64 k -1/2 1/2))) (sqrt.f64 k))
0.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)))
0.3b
(/.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.4b
(*.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.7b
(/.f64 (/.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (fabs.f64 (cbrt.f64 k))) (/.f64 (sqrt.f64 (cbrt.f64 k)) (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64))))))
1.1b
(/.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)))) (/.f64 (sqrt.f64 k) (cbrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)))))
Compiler

Compiled 4020 to 2953 computations (26.5% saved)

regimes2.3s (24.1%)

Accuracy

Total 0.3b remaining (78.9%)

Threshold costs 0.3b (78.9%)

Counts
377 → 1
Compiler

Compiled 40852 to 30824 computations (24.5% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01735
12435
22335

end139.0ms (1.5%)

Compiler

Compiled 220 to 169 computations (23.2% saved)

Profiling

Loading profile data...