Details

Time bar (total: 11.7s)

analyze393.0ms (3.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%50%50%2
25%25%50%3
25%25%50%4
25%25%50%5
25%21.9%53.2%6
25%18.7%56.3%7
25%15.6%59.4%8
25%13.3%61.8%9
25%11.3%63.7%10
25%10%65.1%11
25%8.9%66.1%12
25%8.1%66.9%13
25%7.6%67.4%14
Compiler

Compiled 19 to 16 computations (15.8% saved)

sample3.4s (28.8%)

Results
1.6s8256×body128valid
1.0s1021×body1024invalid
350.0ms549×body512invalid
122.0ms695×body128invalid
120.0ms287×body256invalid
Compiler

Compiled 56 to 47 computations (16.1% saved)

simplify63.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.5b
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.6b
(*.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)

localize20.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series842.0ms (7.2%)

Counts
3 → 48
Calls

3 calls:

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

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

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

prune297.0ms (2.5%)

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
16.5b
(/.f64 (*.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (pow.f64 n (fma.f64 k -1/2 1/2))) (sqrt.f64 k))
1.1b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) (cbrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k)))) (cbrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))))
20.9b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (-.f64 (fma.f64 1/8 (*.f64 (*.f64 k k) (*.f64 (sqrt.f64 2) (pow.f64 (log.f64 (*.f64 n (*.f64 2 (PI.f64)))) 2))) (sqrt.f64 2)) (*.f64 (sqrt.f64 2) (+.f64 (*.f64 1/2 (*.f64 (log.f64 (*.f64 n (*.f64 2 (PI.f64)))) k)) (*.f64 1/48 (*.f64 (pow.f64 k 3) (pow.f64 (log.f64 (*.f64 n (*.f64 2 (PI.f64)))) 3))))))) (sqrt.f64 k))
16.7b
(*.f64 (/.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (fabs.f64 (cbrt.f64 k))) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (sqrt.f64 (cbrt.f64 k))))
0.6b
(*.f64 (pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
0.5b
(/.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))))))
16.9b
(*.f64 (/.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (*.f64 (cbrt.f64 (sqrt.f64 k)) (cbrt.f64 (sqrt.f64 k)))) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (cbrt.f64 (sqrt.f64 k))))
Compiler

Compiled 4341 to 2834 computations (34.7% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series473.0ms (4%)

Counts
3 → 24
Calls

3 calls:

416.0ms
(pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))
37.0ms
(/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))))
19.0ms
(sqrt.f64 (*.f64 n (*.f64 2 (PI.f64))))

rewrite41.0ms (0.4%)

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:

15.0ms
(pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))
11.0ms
(/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))))
5.0ms
(sqrt.f64 (*.f64 n (*.f64 2 (PI.f64))))

simplify162.0ms (1.4%)

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

prune273.0ms (2.3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1292131
Fresh246
Picked011
Done000
Total1317138
Error
0.0b
Counts
138 → 7
Alt Table
StatusErrorProgram
20.9b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (-.f64 (fma.f64 1/8 (*.f64 (*.f64 k k) (*.f64 (sqrt.f64 2) (pow.f64 (log.f64 (*.f64 n (*.f64 2 (PI.f64)))) 2))) (sqrt.f64 2)) (*.f64 (sqrt.f64 2) (+.f64 (*.f64 1/2 (*.f64 (log.f64 (*.f64 n (*.f64 2 (PI.f64)))) k)) (*.f64 1/48 (*.f64 (pow.f64 k 3) (pow.f64 (log.f64 (*.f64 n (*.f64 2 (PI.f64)))) 3))))))) (sqrt.f64 k))
16.7b
(*.f64 (/.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (fabs.f64 (cbrt.f64 k))) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (sqrt.f64 (cbrt.f64 k))))
0.6b
(*.f64 (pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
0.5b
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (/.f64 1 (/.f64 (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 (/.f64 1 (sqrt.f64 n)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (PI.f64))))))
0.5b
(/.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))))))
16.9b
(*.f64 (/.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (*.f64 (cbrt.f64 (sqrt.f64 k)) (cbrt.f64 (sqrt.f64 k)))) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (cbrt.f64 (sqrt.f64 k))))
Compiler

Compiled 3784 to 2490 computations (34.2% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series55.0ms (0.5%)

Counts
1 → 0
Calls

1 calls:

54.0ms
(/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 k))

rewrite18.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
24×times-frac_binary64
22×sqrt-prod_binary64
18×*-un-lft-identity_binary64
18×add-sqr-sqrt_binary64
18×add-cube-cbrt_binary64
Counts
1 → 49
Calls

1 calls:

11.0ms
(/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 k))

simplify171.0ms (1.5%)

Algorithm
egg-herbie
Rules
736×times-frac_binary64
580×div-sub_binary64
535×associate-/l*_binary64
477×associate-/l/_binary64
332×distribute-rgt-in_binary64
Counts
49 → 53
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0821265
11291203
22781203
37821203
424541203
523681203
628401203
733971203
831021203
938361203
1046921203

prune254.0ms (2.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1321133
Fresh145
Picked101
Done011
Total1346140
Error
0.0b
Counts
140 → 6
Alt Table
StatusErrorProgram
0.6b
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (/.f64 1 (/.f64 (sqrt.f64 n) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (PI.f64)))))))
16.9b
(*.f64 (/.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (*.f64 (cbrt.f64 (sqrt.f64 k)) (cbrt.f64 (sqrt.f64 k)))) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (cbrt.f64 (sqrt.f64 k))))
20.9b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (-.f64 (fma.f64 1/8 (*.f64 (*.f64 k k) (*.f64 (sqrt.f64 2) (pow.f64 (log.f64 (*.f64 n (*.f64 2 (PI.f64)))) 2))) (sqrt.f64 2)) (*.f64 (sqrt.f64 2) (+.f64 (*.f64 1/2 (*.f64 (log.f64 (*.f64 n (*.f64 2 (PI.f64)))) k)) (*.f64 1/48 (*.f64 (pow.f64 k 3) (pow.f64 (log.f64 (*.f64 n (*.f64 2 (PI.f64)))) 3))))))) (sqrt.f64 k))
16.7b
(*.f64 (/.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (fabs.f64 (cbrt.f64 k))) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (sqrt.f64 (cbrt.f64 k))))
0.6b
(*.f64 (pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
0.5b
(/.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))))))
Compiler

Compiled 4062 to 2765 computations (31.9% saved)

localize25.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series578.0ms (4.9%)

Counts
4 → 48
Calls

4 calls:

290.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
280.0ms
(pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2))
5.0ms
(sqrt.f64 (/.f64 1 k))
3.0ms
(/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n))

rewrite56.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
101×times-frac_binary64
78×add-sqr-sqrt_binary64
55×*-un-lft-identity_binary64
51×add-cube-cbrt_binary64
50×add-exp-log_binary64
Counts
4 → 187
Calls

4 calls:

17.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
14.0ms
(sqrt.f64 (/.f64 1 k))
6.0ms
(pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2))
5.0ms
(/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n))

simplify173.0ms (1.5%)

Algorithm
egg-herbie
Rules
522×times-frac_binary64
329×distribute-rgt-in_binary64
320×distribute-lft-in_binary64
186×sqr-pow_binary64
176×associate-*l*_binary64
Counts
235 → 297
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03105290
16854762
221074734
349734734
449444734

prune432.0ms (3.7%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2961297
Fresh134
Picked011
Done011
Total2976303
Error
0.0b
Counts
303 → 6
Alt Table
StatusErrorProgram
0.5b
(*.f64 (*.f64 (pow.f64 (/.f64 (PI.f64) (/.f64 1 (sqrt.f64 n))) (fma.f64 k -1/2 1/2)) (pow.f64 (/.f64 -2 (/.f64 -1 (sqrt.f64 n))) (fma.f64 k -1/2 1/2))) (sqrt.f64 (/.f64 1 k)))
0.6b
(*.f64 (pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
0.6b
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (/.f64 1 (/.f64 (sqrt.f64 n) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 2 (PI.f64)))))))
16.9b
(*.f64 (/.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (*.f64 (cbrt.f64 (sqrt.f64 k)) (cbrt.f64 (sqrt.f64 k)))) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (cbrt.f64 (sqrt.f64 k))))
20.9b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (-.f64 (fma.f64 1/8 (*.f64 (*.f64 k k) (*.f64 (sqrt.f64 2) (pow.f64 (log.f64 (*.f64 n (*.f64 2 (PI.f64)))) 2))) (sqrt.f64 2)) (*.f64 (sqrt.f64 2) (+.f64 (*.f64 1/2 (*.f64 (log.f64 (*.f64 n (*.f64 2 (PI.f64)))) k)) (*.f64 1/48 (*.f64 (pow.f64 k 3) (pow.f64 (log.f64 (*.f64 n (*.f64 2 (PI.f64)))) 3))))))) (sqrt.f64 k))
0.5b
(/.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))))))
Compiler

Compiled 7799 to 5883 computations (24.6% saved)

regimes3.6s (31.2%)

Accuracy

Total 0.3b remaining (88.1%)

Threshold costs 0.3b (88.1%)

Counts
406 → 1
Compiler

Compiled 45606 to 35902 computations (21.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01532
11932
21932

end153.0ms (1.3%)

Compiler

Compiled 225 to 174 computations (22.7% saved)

Profiling

Loading profile data...