Details

Time bar (total: 9.3s)

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

sample4.9s (53.1%)

Results
2.1s8256×body128valid
1.6s1336×body1024invalid
659.0ms717×body512invalid
289.0ms1190×body128invalid
169.0ms336×body256invalid
Compiler

Compiled 56 to 47 computations (16.1% saved)

simplify85.0ms (0.9%)

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

prune7.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.4b
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)

localize25.0ms (0.3%)

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.3b
(/.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)

series510.0ms (5.5%)

Counts
3 → 48
Calls

3 calls:

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

rewrite87.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
657×log-prod_binary64
233×expm1-udef_binary64
233×log1p-udef_binary64
222×log-pow_binary64
132×add-sqr-sqrt_binary64
Counts
3 → 82
Calls

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01343
127343
2315543
3547143

simplify53.0ms (0.6%)

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
130 → 99
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0671180
11811020
2524864
32685862
45113862

prune145.0ms (1.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New91899
Fresh101
Picked101
Done000
Total938101
Error
0.0b
Counts
101 → 8
Alt Table
StatusErrorProgram
0.7b
(/.f64 (*.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) 2) (fma.f64 k -1/2 1/2)) (pow.f64 (cbrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (fma.f64 k -1/2 1/2))) (sqrt.f64 k))
0.6b
(*.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) (fma.f64 k -1/2 1/2)) (pow.f64 k -1/2))
0.3b
(/.f64 (*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n))) (sqrt.f64 k))
21.0b
(/.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.7b
(*.f64 (/.f64 1 (cbrt.f64 k)) (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (cbrt.f64 (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))))
0.6b
(*.f64 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) (*.f64 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) (pow.f64 k -1/2)))
Compiler

Compiled 2487 to 1743 computations (29.9% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series111.0ms (1.2%)

Counts
3 → 12
Calls

3 calls:

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

rewrite79.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
263×log-pow_binary64
256×expm1-udef_binary64
256×log1p-udef_binary64
144×add-sqr-sqrt_binary64
136×log1p-expm1-u_binary64
Counts
3 → 87
Calls

3 calls:

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01467
129649
2365245
3490445

simplify80.0ms (0.9%)

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
99 → 96
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042508
1125476
2434416
32240399
44904399
55000399
64973399

prune222.0ms (2.4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1313134
Fresh347
Picked011
Done000
Total1348142
Error
0b
Counts
142 → 8
Alt Table
StatusErrorProgram
0.3b
(/.f64 (*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n))) (sqrt.f64 k))
0.4b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (*.f64 (sqrt.f64 2) (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) (*.f64 k -1/2)))) (sqrt.f64 k))
0.3b
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (*.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (pow.f64 k -1/2)))
9.4b
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (/.f64 1 (sqrt.f64 (/.f64 k (*.f64 (*.f64 2 (PI.f64)) n)))))
0.6b
(*.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.7b
(*.f64 (/.f64 1 (cbrt.f64 k)) (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (cbrt.f64 (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))))
0.6b
(*.f64 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) (*.f64 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) (pow.f64 k -1/2)))
Compiler

Compiled 3321 to 2273 computations (31.6% saved)

localize24.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series137.0ms (1.5%)

Counts
2 → 0
Calls

2 calls:

90.0ms
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (*.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (pow.f64 k -1/2)))
46.0ms
(*.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (pow.f64 k -1/2))

rewrite123.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
786×log-prod_binary64
261×log-pow_binary64
255×expm1-udef_binary64
255×log1p-udef_binary64
145×add-sqr-sqrt_binary64
Counts
2 → 36
Calls

2 calls:

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01448
129739
2345537
3585137

simplify11.0ms (0.1%)

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune220.0ms (2.4%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1001101
Fresh246
Picked011
Done011
Total1027109
Error
0b
Counts
109 → 7
Alt Table
StatusErrorProgram
0.3b
(/.f64 (*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n))) (sqrt.f64 k))
0.4b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (*.f64 (sqrt.f64 2) (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) (*.f64 k -1/2)))) (sqrt.f64 k))
0.6b
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (pow.f64 (*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) 1/4) (pow.f64 k -1/4)) 2))
0.3b
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (*.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (pow.f64 k -1/2)))
9.4b
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (/.f64 1 (sqrt.f64 (/.f64 k (*.f64 (*.f64 2 (PI.f64)) n)))))
0.6b
(*.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.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))))
Compiler

Compiled 2664 to 1985 computations (25.5% saved)

localize25.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series189.0ms (2%)

Counts
4 → 12
Calls

4 calls:

117.0ms
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (*.f64 (sqrt.f64 2) (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) (*.f64 k -1/2)))) (sqrt.f64 k))
57.0ms
(*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (*.f64 (sqrt.f64 2) (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) (*.f64 k -1/2))))
10.0ms
(sqrt.f64 (*.f64 n (PI.f64)))
4.0ms
(*.f64 n (PI.f64))

rewrite113.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
286×expm1-udef_binary64
286×log1p-udef_binary64
161×add-sqr-sqrt_binary64
153×log1p-expm1-u_binary64
153×expm1-log1p-u_binary64
Counts
4 → 103
Calls

4 calls:

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01673
133667
2410067
3496167

simplify120.0ms (1.3%)

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
115 → 112
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042508
1125476
2434416
32240399
44904399
55000399
64973399

prune226.0ms (2.4%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1271128
Fresh134
Picked101
Done022
Total1296135
Error
0b
Counts
135 → 6
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (*.f64 (*.f64 (sqrt.f64 2) (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) (*.f64 k -1/2))) (pow.f64 k -1/2)))
0.6b
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (pow.f64 (*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) 1/4) (pow.f64 k -1/4)) 2))
0.3b
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (*.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (pow.f64 k -1/2)))
9.4b
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (/.f64 1 (sqrt.f64 (/.f64 k (*.f64 (*.f64 2 (PI.f64)) n)))))
0.3b
(/.f64 (*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n))) (sqrt.f64 k))
0.6b
(*.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)))
Compiler

Compiled 3310 to 1935 computations (41.5% saved)

regimes910.0ms (9.8%)

Accuracy

Total 0.3b remaining (81.3%)

Threshold costs 0.3b (81.3%)

Counts
113 → 1
Compiler

Compiled 9538 to 7586 computations (20.5% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01432
11932
21932

end221.0ms (2.4%)

Compiler

Compiled 179 to 139 computations (22.3% saved)

Profiling

Loading profile data...