Details

Time bar (total: 7.1s)

analyze337.0ms (4.7%)

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.3s (46.4%)

Results
1.3s8256×body128valid
1.1s1419×body1024invalid
465.0ms711×body512invalid
194.0ms1100×body128invalid
108.0ms340×body256invalid
Compiler

Compiled 56 to 47 computations (16.1% saved)

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

series446.0ms (6.3%)

Counts
3 → 48
Calls

3 calls:

237.0ms
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
201.0ms
(pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))
7.0ms
(*.f64 (*.f64 2 (PI.f64)) n)

rewrite74.0ms (1%)

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 → 85
Calls

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01343
127343
2315543
3547143

simplify52.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
133 → 102
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0671180
11811020
2524864
32685862
45113862

prune125.0ms (1.8%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New957102
Fresh101
Picked101
Done000
Total977104
Error
0.0b
Counts
104 → 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.8b
(*.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)) (pow.f64 k -1/2)))
0.9b
(*.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.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)))
0.7b
(*.f64 (/.f64 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) (cbrt.f64 k)) (/.f64 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) (cbrt.f64 (sqrt.f64 k))))
22.6b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (+.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 2) (fma.f64 1/8 (*.f64 (*.f64 k k) (pow.f64 (log.f64 (*.f64 2 (*.f64 n (PI.f64)))) 2)) (*.f64 (log.f64 (*.f64 2 (*.f64 n (PI.f64)))) (*.f64 k -1/2)))))) (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 2516 to 1753 computations (30.3% 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.1b
(sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n))
0.2b
(/.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)

series98.0ms (1.4%)

Counts
3 → 12
Calls

3 calls:

59.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))
30.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))

rewrite70.0ms (1%)

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 → 89
Calls

3 calls:

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

simplify73.0ms (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
101 → 98
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042508
1125476
2434416
32240399
44904399
55000399
64973399

prune135.0ms (1.9%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1371138
Fresh156
Picked101
Done000
Total1396145
Error
0b
Counts
145 → 6
Alt Table
StatusErrorProgram
0.9b
(*.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.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)))
0.8b
(*.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)) (pow.f64 k -1/2)))
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.7b
(*.f64 (/.f64 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) (cbrt.f64 k)) (/.f64 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.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 3336 to 2275 computations (31.8% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series111.0ms (1.6%)

Counts
4 → 12
Calls

4 calls:

71.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))
32.0ms
(*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (*.f64 (sqrt.f64 2) (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) (*.f64 k -1/2))))
6.0ms
(sqrt.f64 (*.f64 n (PI.f64)))
2.0ms
(*.f64 n (PI.f64))

rewrite86.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 → 106
Calls

4 calls:

84.0ms
(sqrt.f64 (*.f64 n (PI.f64)))
84.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))
84.0ms
(*.f64 n (PI.f64))
84.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

simplify73.0ms (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
118 → 115
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042508
1125476
2434416
32240399
44904399
55000399
64973399

prune155.0ms (2.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1320132
Fresh055
Picked011
Done000
Total1326138
Error
0b
Counts
138 → 6
Alt Table
StatusErrorProgram
0.9b
(*.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.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)))
0.8b
(*.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)) (pow.f64 k -1/2)))
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.7b
(*.f64 (/.f64 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) (cbrt.f64 k)) (/.f64 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.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 3522 to 2082 computations (40.9% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series428.0ms (6%)

Counts
3 → 28
Calls

3 calls:

227.0ms
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)))
197.0ms
(pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2))
4.0ms
(sqrt.f64 (/.f64 1 k))

rewrite62.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
679×log-prod_binary64
249×expm1-udef_binary64
249×log1p-udef_binary64
239×log-pow_binary64
144×add-sqr-sqrt_binary64
Counts
3 → 76
Calls

3 calls:

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01544
130739
2328339
3547739

simplify48.0ms (0.7%)

Algorithm
egg-herbie
Rules
570×fma-neg_binary64
455×distribute-rgt-neg-in_binary64
454×distribute-lft-neg-in_binary64
434×associate-*r*_binary64
374×associate-*l*_binary64
Counts
104 → 91
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
064900
1174820
2515648
32667646
45080646

prune119.0ms (1.7%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1080108
Fresh044
Picked011
Done011
Total1086114
Error
0b
Counts
114 → 6
Alt Table
StatusErrorProgram
0.9b
(*.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.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)))
0.8b
(*.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)) (pow.f64 k -1/2)))
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.7b
(*.f64 (/.f64 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) (cbrt.f64 k)) (/.f64 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.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 2383 to 1659 computations (30.4% saved)

regimes1.1s (15.3%)

Accuracy

Total 0.3b remaining (86.4%)

Threshold costs 0.3b (86.4%)

Counts
209 → 1
Compiler

Compiled 20746 to 16337 computations (21.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01531
11931
21931

end132.0ms (1.9%)

Compiler

Compiled 187 to 144 computations (23% saved)

Profiling

Loading profile data...