Details

Time bar (total: 8.7s)

analyze365.0ms (4.2%)

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

Results
1.4s8256×body128valid
1.2s1402×body1024invalid
394.0ms654×body512invalid
188.0ms1172×body128invalid
112.0ms301×body256invalid
Compiler

Compiled 56 to 47 computations (16.1% saved)

simplify50.0ms (0.6%)

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

series547.0ms (6.3%)

Counts
3 → 48
Calls

3 calls:

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

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

simplify135.0ms (1.6%)

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

prune230.0ms (2.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1608168
Fresh101
Picked101
Done000
Total1628170
Error
0b
Counts
170 → 8
Alt Table
StatusErrorProgram
0.9b
(/.f64 (pow.f64 (*.f64 (*.f64 (*.f64 2 (PI.f64)) (*.f64 (cbrt.f64 n) (cbrt.f64 n))) (cbrt.f64 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
0.6b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
0.5b
(/.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (/.f64 (sqrt.f64 k) (pow.f64 n (fma.f64 k -1/2 1/2))))
23.4b
(/.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.6b
(*.f64 (/.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (sqrt.f64 k))) (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 (sqrt.f64 k))))
0.5b
(*.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)) (sqrt.f64 k)))
0.5b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 k)))
0.7b
(*.f64 (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))))
Compiler

Compiled 4335 to 2832 computations (34.7% saved)

localize19.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series323.0ms (3.7%)

Counts
4 → 36
Calls

4 calls:

227.0ms
(pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2))
79.0ms
(/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 k))
14.0ms
(sqrt.f64 (*.f64 n (*.f64 2 (PI.f64))))
3.0ms
(*.f64 n (*.f64 2 (PI.f64)))

rewrite22.0ms (0.3%)

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

4 calls:

7.0ms
(/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 k))
4.0ms
(pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2))
4.0ms
(*.f64 n (*.f64 2 (PI.f64)))
3.0ms
(sqrt.f64 (*.f64 n (*.f64 2 (PI.f64))))

simplify93.0ms (1.1%)

Algorithm
egg-herbie
Rules
452×distribute-rgt-in_binary64
447×distribute-lft-in_binary64
212×fma-neg_binary64
203×times-frac_binary64
192×associate-/l*_binary64
Counts
138 → 125
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01822559
13642368
211452356
347622352
449492352

prune193.0ms (2.2%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1452147
Fresh257
Picked101
Done000
Total1487155
Error
0b
Counts
155 → 7
Alt Table
StatusErrorProgram
0.5b
(*.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)) (sqrt.f64 k)))
8.9b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (/.f64 (*.f64 n (*.f64 2 (PI.f64))) k)))
0.9b
(/.f64 (pow.f64 (*.f64 (*.f64 (*.f64 2 (PI.f64)) (*.f64 (cbrt.f64 n) (cbrt.f64 n))) (cbrt.f64 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
0.6b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
0.6b
(*.f64 (/.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (sqrt.f64 k))) (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 (sqrt.f64 k))))
0.9b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (/.f64 (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (fabs.f64 (cbrt.f64 k))) (sqrt.f64 (cbrt.f64 k))))
0.7b
(*.f64 (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))))
Compiler

Compiled 4137 to 2685 computations (35.1% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series442.0ms (5.1%)

Counts
4 → 44
Calls

4 calls:

347.0ms
(*.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)) (sqrt.f64 k)))
61.0ms
(/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
29.0ms
(pow.f64 n (fma.f64 k -1/2 1/2))
5.0ms
(pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2))

rewrite48.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
108×times-frac_binary64
98×add-sqr-sqrt_binary64
69×*-un-lft-identity_binary64
69×add-cube-cbrt_binary64
57×sqrt-prod_binary64
Counts
4 → 219
Calls

4 calls:

18.0ms
(*.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)) (sqrt.f64 k)))
5.0ms
(/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
2.0ms
(pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2))
1.0ms
(pow.f64 n (fma.f64 k -1/2 1/2))

simplify197.0ms (2.3%)

Algorithm
egg-herbie
Rules
836×fma-def_binary64
474×times-frac_binary64
289×unswap-sqr_binary64
267×associate-*l*_binary64
260×associate-*r*_binary64
Counts
263 → 289
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03007120
16646701
224706684
343886684
449636684

prune370.0ms (4.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2881289
Fresh246
Picked011
Done000
Total2906296
Error
0b
Counts
296 → 6
Alt Table
StatusErrorProgram
0.5b
(*.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)) (sqrt.f64 k)))
8.9b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (/.f64 (*.f64 n (*.f64 2 (PI.f64))) k)))
0.6b
(*.f64 (/.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (sqrt.f64 k))) (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 (sqrt.f64 k))))
0.9b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (/.f64 (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (fabs.f64 (cbrt.f64 k))) (sqrt.f64 (cbrt.f64 k))))
0.6b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
0.9b
(*.f64 (*.f64 (sqrt.f64 (PI.f64)) (sqrt.f64 2)) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (sqrt.f64 k)))
Compiler

Compiled 8698 to 5682 computations (34.7% saved)

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

series557.0ms (6.4%)

Counts
3 → 36
Calls

3 calls:

299.0ms
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
252.0ms
(pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2))
6.0ms
(sqrt.f64 (/.f64 1 k))

rewrite28.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt_binary64
32×sqrt-prod_binary64
24×times-frac_binary64
23×*-un-lft-identity_binary64
21×add-exp-log_binary64
Counts
3 → 99
Calls

3 calls:

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

simplify137.0ms (1.6%)

Algorithm
egg-herbie
Rules
874×fma-def_binary64
323×*-commutative_binary64
267×exp-prod_binary64
240×distribute-rgt-in_binary64
235×fma-neg_binary64
Counts
135 → 131
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01593139
13332801
29352773
326192765
445372765
550242765

prune188.0ms (2.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1521153
Fresh134
Picked011
Done011
Total1536159
Error
0b
Counts
159 → 6
Alt Table
StatusErrorProgram
0.5b
(*.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)) (sqrt.f64 k)))
8.9b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (/.f64 (*.f64 n (*.f64 2 (PI.f64))) k)))
0.9b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (/.f64 (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (fabs.f64 (cbrt.f64 k))) (sqrt.f64 (cbrt.f64 k))))
0.6b
(/.f64 (*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 1)) (sqrt.f64 k))
0.6b
(*.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
0.9b
(*.f64 (*.f64 (sqrt.f64 (PI.f64)) (sqrt.f64 2)) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (sqrt.f64 k)))
Compiler

Compiled 3694 to 2720 computations (26.4% saved)

regimes1.2s (14%)

Accuracy

Total 0.5b remaining (95%)

Threshold costs 0.5b (95%)

Counts
199 → 1
Compiler

Compiled 20228 to 15513 computations (23.3% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01534
11734
21734

end122.0ms (1.4%)

Compiler

Compiled 168 to 133 computations (20.8% saved)

Profiling

Loading profile data...