Details

Time bar (total: 8.8s)

analyze345.0ms (3.9%)

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.2s (36.3%)

Results
1.3s8256×body128valid
1.1s1419×body1024invalid
350.0ms645×body512invalid
189.0ms1199×body128invalid
115.0ms347×body256invalid
Compiler

Compiled 56 to 47 computations (16.1% saved)

simplify60.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%)

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

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 (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)

series711.0ms (8%)

Counts
3 → 48
Calls

3 calls:

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

rewrite158.0ms (1.8%)

Algorithm
egg-rewrite
Rules
56×egg
51×egg
37×egg
Counts
3 → 144
Calls

3 calls:

62.0ms
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
48.0ms
(pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))
45.0ms
(*.f64 (*.f64 2 (PI.f64)) n)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11218
213598
350388
01320
127320
2315520
3547120
01115
122915
2250415
3493815

simplify62.0ms (0.7%)

Algorithm
egg-herbie
Rules
570×fma-neg_binary64
455×distribute-rgt-neg-in_binary64
454×distribute-lft-neg-in_binary64
435×associate-*r*_binary64
375×associate-*l*_binary64
Counts
192 → 161
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0671180
11811020
2524864
32685862
45113862

prune189.0ms (2.1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1547161
Fresh101
Picked101
Done000
Total1567163
Error
0.0b
Counts
163 → 7
Alt Table
StatusErrorProgram
0.4b
(/.f64 1 (/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))))
0.5b
(*.f64 (/.f64 1 (pow.f64 k 1/4)) (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (pow.f64 k 1/4)))
0.5b
(/.f64 (pow.f64 (*.f64 (sqrt.f64 (*.f64 2 (PI.f64))) (*.f64 (sqrt.f64 (*.f64 2 (PI.f64))) n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
0.7b
(*.f64 (/.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (cbrt.f64 k)) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (cbrt.f64 (sqrt.f64 k))))
24.6b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (+.f64 (sqrt.f64 2) (*.f64 (*.f64 (log.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 2)) (*.f64 k -1/2)))) (sqrt.f64 k))
0.5b
(pow.f64 (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) 2)
0.2b
(/.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))) (sqrt.f64 k))
Compiler

Compiled 3588 to 2472 computations (31.1% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series126.0ms (1.4%)

Counts
3 → 12
Calls

3 calls:

77.0ms
(/.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))) (sqrt.f64 k))
35.0ms
(*.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)))
12.0ms
(sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n))

rewrite204.0ms (2.3%)

Algorithm
egg-rewrite
Rules
61×egg
39×egg
30×egg
Counts
3 → 130
Calls

3 calls:

93.0ms
(*.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)))
66.0ms
(/.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))) (sqrt.f64 k))
43.0ms
(sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01431
129622
2365020
3495820
0710
114110
2156710
3498810
01226
125017
2288915
3498915
4492515

simplify95.0ms (1.1%)

Algorithm
egg-herbie
Rules
562×fma-neg_binary64
452×distribute-rgt-neg-in_binary64
449×distribute-lft-neg-in_binary64
443×associate-*r*_binary64
374×associate-*l*_binary64
Counts
142 → 137
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042508
1125476
2434416
32240399
44904399
55000399
64973399

prune393.0ms (4.4%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2474251
Fresh336
Picked101
Done000
Total2517258
Error
0b
Counts
258 → 7
Alt Table
StatusErrorProgram
0.5b
(*.f64 (/.f64 1 (pow.f64 k 1/4)) (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (pow.f64 k 1/4)))
0.4b
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) 1/4) (/.f64 (/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) 1/4)))
24.6b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (+.f64 (sqrt.f64 2) (*.f64 (*.f64 (log.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 2)) (*.f64 k -1/2)))) (sqrt.f64 k))
0.5b
(pow.f64 (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) 2)
0.2b
(/.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))))
0.3b
(*.f64 (/.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) 1) (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (sqrt.f64 k)))
0.4b
(/.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 n (sqrt.f64 (*.f64 2 (PI.f64)))) (sqrt.f64 (*.f64 2 (PI.f64))))) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))) (sqrt.f64 k))
Compiler

Compiled 6232 to 4211 computations (32.4% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series348.0ms (3.9%)

Counts
2 → 12
Calls

2 calls:

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

rewrite207.0ms (2.3%)

Algorithm
egg-rewrite
Rules
63×egg
50×egg
Counts
2 → 113
Calls

2 calls:

144.0ms
(/.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))))
60.0ms
(/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01431
130229
2386129
3499329
4500029
5504129
01219
125519
2309119
3545119

simplify64.0ms (0.7%)

Algorithm
egg-herbie
Rules
680×exp-prod_binary64
571×fma-neg_binary64
526×exp-sum_binary64
319×distribute-rgt-in_binary64
294×distribute-lft-in_binary64
Counts
125 → 117
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
037336
189312
2185312
3687276
42327228
54543228
65001228

prune317.0ms (3.6%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2583261
Fresh336
Picked101
Done000
Total2626268
Error
0b
Counts
268 → 6
Alt Table
StatusErrorProgram
0.2b
(/.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (sqrt.f64 (/.f64 k (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) k) -1))))
0.5b
(*.f64 (/.f64 1 (pow.f64 k 1/4)) (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (pow.f64 k 1/4)))
0.3b
(/.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 (PI.f64) n))) (/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))))
0.5b
(pow.f64 (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) 2)
8.9b
(sqrt.f64 (/.f64 (*.f64 (*.f64 2 (PI.f64)) n) (/.f64 k (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) k) -1))))
0.4b
(/.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 n (sqrt.f64 (*.f64 2 (PI.f64)))) (sqrt.f64 (*.f64 2 (PI.f64))))) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))) (sqrt.f64 k))
Compiler

Compiled 6751 to 4580 computations (32.2% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series358.0ms (4%)

Counts
2 → 24
Calls

2 calls:

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

rewrite128.0ms (1.4%)

Algorithm
egg-rewrite
Rules
52×egg
48×egg
Counts
2 → 100
Calls

2 calls:

73.0ms
(/.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (sqrt.f64 (/.f64 k (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) k) -1))))
53.0ms
(pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) k) -1)
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01429
130326
2377226
3507426
01014
121013
2238013
3530413

simplify67.0ms (0.8%)

Algorithm
egg-herbie
Rules
720×cancel-sign-sub-inv_binary64
365×neg-mul-1_binary64
358×neg-sub0_binary64
296×fma-neg_binary64
270×distribute-rgt-neg-in_binary64
Counts
124 → 110
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
051495
1141455
2359374
31778373
44227333
55109333

prune307.0ms (3.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2540254
Fresh055
Picked011
Done000
Total2546260
Error
0b
Counts
260 → 6
Alt Table
StatusErrorProgram
0.2b
(/.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (sqrt.f64 (/.f64 k (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) k) -1))))
0.5b
(*.f64 (/.f64 1 (pow.f64 k 1/4)) (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (pow.f64 k 1/4)))
0.3b
(/.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 (PI.f64) n))) (/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))))
0.5b
(pow.f64 (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) 2)
8.9b
(sqrt.f64 (/.f64 (*.f64 (*.f64 2 (PI.f64)) n) (/.f64 k (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) k) -1))))
0.4b
(/.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 n (sqrt.f64 (*.f64 2 (PI.f64)))) (sqrt.f64 (*.f64 2 (PI.f64))))) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))) (sqrt.f64 k))
Compiler

Compiled 6279 to 4403 computations (29.9% saved)

regimes1.3s (15.1%)

Accuracy

Total 0.3b remaining (81.5%)

Threshold costs 0.3b (81.5%)

Counts
260 → 1
Compiler

Compiled 26183 to 20610 computations (21.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01528
11828
21828

end113.0ms (1.3%)

Compiler

Compiled 168 to 130 computations (22.6% saved)

Profiling

Loading profile data...