Details

Time bar (total: 7.1s)

analyze384.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)

sample3.4s (47.7%)

Results
1.4s8256×body128valid
1.2s1428×body1024invalid
408.0ms733×body512invalid
236.0ms1217×body128invalid
119.0ms359×body256invalid
Compiler

Compiled 56 to 47 computations (16.1% saved)

simplify46.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.2b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.3b
(*.f64 (/.f64 1 (sqrt.f64 k)) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (/.f64 (-.f64 1 k) 2)))
0.3b
(/.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)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series450.0ms (6.4%)

Counts
3 → 48
Calls

3 calls:

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

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

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01343
127343
2315543
3547143
000
100

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

prune161.0ms (2.3%)

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
9.7b
(sqrt.f64 (/.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) 2) k))
0.6b
(/.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.4b
(/.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.9b
(*.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) 2) (*.f64 (cbrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) (pow.f64 k -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.3b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
0.6b
(*.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 2472 to 1727 computations (30.1% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series433.0ms (6.1%)

Counts
4 → 28
Calls

4 calls:

222.0ms
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
204.0ms
(pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2))
4.0ms
(sqrt.f64 (/.f64 1 k))
2.0ms
(*.f64 n (PI.f64))

rewrite66.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
4 → 95
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01549
130744
2328344
3547744
000
100

simplify51.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
123 → 110
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
064900
1174820
2515648
32667646
45080646

prune149.0ms (2.1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1082110
Fresh156
Picked101
Done000
Total1107117
Error
0b
Counts
117 → 7
Alt Table
StatusErrorProgram
9.7b
(sqrt.f64 (/.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) 2) k))
0.6b
(/.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.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 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)) (/.f64 1 (sqrt.f64 k)))
0.4b
(/.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 (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) (*.f64 k -1/2)) (sqrt.f64 (*.f64 (*.f64 n (PI.f64)) 2))) (sqrt.f64 (/.f64 1 k)))
0.6b
(*.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 2600 to 1815 computations (30.2% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series257.0ms (3.6%)

Counts
2 → 12
Calls

2 calls:

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

rewrite59.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
696×log-prod_binary64
249×expm1-udef_binary64
249×log1p-udef_binary64
239×log-pow_binary64
145×add-sqr-sqrt_binary64
Counts
2 → 57
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01526
130924
2333524
3564024
000
100

simplify66.0ms (0.9%)

Algorithm
egg-herbie
Rules
884×exp-prod_binary64
511×exp-sum_binary64
353×unsub-neg_binary64
252×exp-neg_binary64
237×exp-diff_binary64
Counts
69 → 61
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
034372
172372
2139276
3484276
41884276
54240276
64805276
74937276

prune139.0ms (2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1160116
Fresh066
Picked011
Done000
Total1167123
Error
0b
Counts
123 → 7
Alt Table
StatusErrorProgram
9.7b
(sqrt.f64 (/.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) 2) k))
0.6b
(/.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.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 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)) (/.f64 1 (sqrt.f64 k)))
0.4b
(/.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 (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) (*.f64 k -1/2)) (sqrt.f64 (*.f64 (*.f64 n (PI.f64)) 2))) (sqrt.f64 (/.f64 1 k)))
0.6b
(*.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 2699 to 1813 computations (32.8% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series63.0ms (0.9%)

Counts
2 → 0
Calls

2 calls:

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

rewrite62.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
281×log-pow_binary64
272×expm1-udef_binary64
272×log1p-udef_binary64
156×add-sqr-sqrt_binary64
147×log1p-expm1-u_binary64
Counts
2 → 44
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01644
133032
2372030
3490430
000
100

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune127.0ms (1.8%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1140114
Fresh055
Picked011
Done011
Total1147121
Error
0b
Counts
121 → 7
Alt Table
StatusErrorProgram
9.7b
(sqrt.f64 (/.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) 2) k))
0.6b
(/.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.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 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)) (/.f64 1 (sqrt.f64 k)))
0.4b
(/.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 (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) (*.f64 k -1/2)) (sqrt.f64 (*.f64 (*.f64 n (PI.f64)) 2))) (sqrt.f64 (/.f64 1 k)))
0.6b
(*.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 2815 to 1815 computations (35.5% saved)

regimes881.0ms (12.5%)

Accuracy

Total 0.4b remaining (89%)

Threshold costs 0.4b (89%)

Counts
184 → 1
Compiler

Compiled 16306 to 13231 computations (18.9% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01423
11723
21723

end132.0ms (1.9%)

Compiler

Compiled 188 to 150 computations (20.2% saved)

Profiling

Loading profile data...