Details

Time bar (total: 11.6s)

analyze630.0ms (5.4%)

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)

sample5.7s (49.4%)

Results
2.4s8256×body128valid
2.0s1321×body1024invalid
751.0ms706×body512invalid
341.0ms1146×body128invalid
211.0ms352×body256invalid
Compiler

Compiled 56 to 47 computations (16.1% saved)

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

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

localize18.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series819.0ms (7.1%)

Counts
3 → 48
Calls

3 calls:

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

rewrite20.0ms (0.2%)

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

simplify138.0ms (1.2%)

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

prune217.0ms (1.9%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1617168
Fresh101
Picked101
Done000
Total1637170
Error
0.0b
Counts
170 → 7
Alt Table
StatusErrorProgram
0.7b
(/.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 (sqrt.f64 k))) (sqrt.f64 (sqrt.f64 k)))
0.7b
(*.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.8b
(*.f64 (/.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (fabs.f64 (cbrt.f64 k))) (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 (cbrt.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 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 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
22.5b
(/.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))
Compiler

Compiled 4283 to 2780 computations (35.1% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series303.0ms (2.6%)

Counts
3 → 24
Calls

3 calls:

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

rewrite22.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
24×times-frac_binary64
23×sqrt-prod_binary64
20×*-un-lft-identity_binary64
20×add-sqr-sqrt_binary64
20×add-cube-cbrt_binary64
Counts
3 → 82
Calls

3 calls:

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

simplify94.0ms (0.8%)

Algorithm
egg-herbie
Rules
411×associate-*l*_binary64
399×associate-*r*_binary64
362×distribute-rgt-in_binary64
357×distribute-lft-in_binary64
345×exp-prod_binary64
Counts
106 → 103
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01602242
13032093
28552081
345472077
451842077

prune175.0ms (1.5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1292131
Fresh156
Picked101
Done000
Total1317138
Error
0b
Counts
138 → 7
Alt Table
StatusErrorProgram
0.7b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
10.3b
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (sqrt.f64 (/.f64 k (*.f64 n (*.f64 2 (PI.f64))))))
0.7b
(/.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 (sqrt.f64 k))) (sqrt.f64 (sqrt.f64 k)))
0.8b
(*.f64 (/.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (fabs.f64 (cbrt.f64 k))) (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 (cbrt.f64 k))))
0.6b
(/.f64 (exp.f64 (*.f64 -1/2 (*.f64 k (+.f64 (log.f64 n) (log.f64 (*.f64 2 (PI.f64))))))) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64))))))
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)))
22.5b
(/.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))
Compiler

Compiled 3769 to 2466 computations (34.6% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))))
0.4b
(+.f64 (log.f64 n) (log.f64 (*.f64 2 (PI.f64))))
0.4b
(sqrt.f64 (*.f64 n (*.f64 2 (PI.f64))))
1.0b
(log.f64 (*.f64 2 (PI.f64)))

series251.0ms (2.2%)

Counts
2 → 8
Calls

2 calls:

251.0ms
(+.f64 (log.f64 n) (log.f64 (*.f64 2 (PI.f64))))
0.0ms
(log.f64 (*.f64 2 (PI.f64)))

rewrite8.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
15×pow1_binary64
10×log-pow_binary64
*-un-lft-identity_binary64
distribute-lft-out_binary64
add-exp-log_binary64
Counts
2 → 41
Calls

2 calls:

5.0ms
(+.f64 (log.f64 n) (log.f64 (*.f64 2 (PI.f64))))
2.0ms
(log.f64 (*.f64 2 (PI.f64)))

simplify118.0ms (1%)

Algorithm
egg-herbie
Rules
795×unsub-neg_binary64
652×fma-neg_binary64
623×fma-def_binary64
428×associate-+l+_binary64
413×associate-+r+_binary64
Counts
49 → 47
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
056611
1123556
2283556
3964556
43302556
54982556
64915556
74976556
84992556
94916556

prune134.0ms (1.2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1110111
Fresh066
Picked011
Done000
Total1117118
Error
0b
Counts
118 → 7
Alt Table
StatusErrorProgram
0.7b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
10.3b
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (sqrt.f64 (/.f64 k (*.f64 n (*.f64 2 (PI.f64))))))
0.7b
(/.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 (sqrt.f64 k))) (sqrt.f64 (sqrt.f64 k)))
0.8b
(*.f64 (/.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (fabs.f64 (cbrt.f64 k))) (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 (cbrt.f64 k))))
0.6b
(/.f64 (exp.f64 (*.f64 -1/2 (*.f64 k (+.f64 (log.f64 n) (log.f64 (*.f64 2 (PI.f64))))))) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64))))))
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)))
22.5b
(/.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))
Compiler

Compiled 3574 to 2319 computations (35.1% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series437.0ms (3.8%)

Counts
4 → 44
Calls

4 calls:

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

rewrite48.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
108×times-frac_binary64
98×add-sqr-sqrt_binary64
69×*-un-lft-identity_binary64
69×add-cube-cbrt_binary64
57×sqrt-prod_binary64
Counts
4 → 219
Calls

4 calls:

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

simplify210.0ms (1.8%)

Algorithm
egg-herbie
Rules
836×fma-def_binary64
474×times-frac_binary64
289×unswap-sqr_binary64
267×associate-*l*_binary64
260×associate-*r*_binary64
Counts
263 → 289
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03007120
16646701
224706684
343886684
449636684

prune383.0ms (3.3%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2890289
Fresh055
Picked011
Done011
Total2897296
Error
0b
Counts
296 → 7
Alt Table
StatusErrorProgram
0.7b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
10.3b
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (sqrt.f64 (/.f64 k (*.f64 n (*.f64 2 (PI.f64))))))
0.7b
(/.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 (sqrt.f64 k))) (sqrt.f64 (sqrt.f64 k)))
0.8b
(*.f64 (/.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (fabs.f64 (cbrt.f64 k))) (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 (cbrt.f64 k))))
0.6b
(/.f64 (exp.f64 (*.f64 -1/2 (*.f64 k (+.f64 (log.f64 n) (log.f64 (*.f64 2 (PI.f64))))))) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64))))))
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)))
22.5b
(/.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))
Compiler

Compiled 8647 to 5639 computations (34.8% saved)

regimes1.6s (13.6%)

Accuracy

Total 0.5b remaining (95.2%)

Threshold costs 0.5b (95.2%)

Counts
288 → 1
Compiler

Compiled 33962 to 26057 computations (23.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01731
12131
22131

end136.0ms (1.2%)

Compiler

Compiled 225 to 167 computations (25.8% saved)

Profiling

Loading profile data...