Details

Time bar (total: 9.3s)

analyze353.0ms (3.8%)

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

Results
1.4s8256×body128valid
1.2s1451×body1024invalid
403.0ms712×body512invalid
177.0ms1155×body128invalid
120.0ms352×body256invalid
Compiler

Compiled 56 to 47 computations (16.1% saved)

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

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series502.0ms (5.4%)

Counts
3 → 48
Calls

3 calls:

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

rewrite26.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
36×times-frac_binary64
26×*-un-lft-identity_binary64
26×add-sqr-sqrt_binary64
26×add-cube-cbrt_binary64
26×add-exp-log_binary64
Counts
3 → 108
Calls

3 calls:

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

simplify124.0ms (1.3%)

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

prune215.0ms (2.3%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1617168
Fresh101
Picked101
Done000
Total1637170
Error
0.0b
Counts
170 → 7
Alt Table
StatusErrorProgram
0.3b
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64))))))
0.6b
(/.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))))
0.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2)))
0.5b
(/.f64 (pow.f64 (*.f64 (*.f64 (*.f64 2 (PI.f64)) (sqrt.f64 n)) (sqrt.f64 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
0.8b
(/.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.7b
(*.f64 (/.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (fabs.f64 (cbrt.f64 k))) (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 (cbrt.f64 k))))
0.5b
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (/.f64 (fma.f64 k -1/2 1/2) 2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (fma.f64 k -1/2 1/2)))))
Compiler

Compiled 4217 to 2742 computations (35% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series112.0ms (1.2%)

Counts
3 → 12
Calls

3 calls:

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

rewrite59.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
308×times-frac_binary64
140×*-un-lft-identity_binary64
140×add-sqr-sqrt_binary64
140×add-cube-cbrt_binary64
130×sqrt-prod_binary64
Counts
3 → 267
Calls

3 calls:

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

simplify367.0ms (3.9%)

Algorithm
egg-herbie
Rules
725×associate-/r*_binary64
365×fma-neg_binary64
297×associate-/r/_binary64
237×associate-/l/_binary64
218×*-commutative_binary64
Counts
279 → 383
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
036512747
173512412
2260312184
3340512184
4487812184
5515612184

prune536.0ms (5.8%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New4101411
Fresh156
Picked011
Done000
Total4117418
Error
0b
Counts
418 → 7
Alt Table
StatusErrorProgram
0.3b
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64))))))
0.6b
(/.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))))
0.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2)))
0.5b
(/.f64 (pow.f64 (*.f64 (*.f64 (*.f64 2 (PI.f64)) (sqrt.f64 n)) (sqrt.f64 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
0.8b
(/.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.7b
(*.f64 (/.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (fabs.f64 (cbrt.f64 k))) (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 (cbrt.f64 k))))
0.7b
(*.f64 (/.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64))))) (fabs.f64 (cbrt.f64 k))) (/.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 (sqrt.f64 (cbrt.f64 k)) (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64))))))))
Compiler

Compiled 14349 to 8787 computations (38.8% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series494.0ms (5.3%)

Counts
4 → 48
Calls

4 calls:

256.0ms
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2)))
229.0ms
(pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2))
5.0ms
(sqrt.f64 (/.f64 1 k))
4.0ms
(/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n))

rewrite42.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
101×times-frac_binary64
78×add-sqr-sqrt_binary64
55×*-un-lft-identity_binary64
51×add-cube-cbrt_binary64
50×add-exp-log_binary64
Counts
4 → 187
Calls

4 calls:

15.0ms
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2)))
6.0ms
(pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2))
5.0ms
(/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n))
2.0ms
(sqrt.f64 (/.f64 1 k))

simplify122.0ms (1.3%)

Algorithm
egg-herbie
Rules
519×times-frac_binary64
329×distribute-rgt-in_binary64
320×distribute-lft-in_binary64
220×associate-*l*_binary64
202×associate-*r*_binary64
Counts
235 → 288
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03125342
16864831
222194803
349474803

prune352.0ms (3.8%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2880288
Fresh055
Picked011
Done011
Total2887295
Error
0b
Counts
295 → 7
Alt Table
StatusErrorProgram
0.3b
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64))))))
0.6b
(/.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))))
0.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2)))
0.5b
(/.f64 (pow.f64 (*.f64 (*.f64 (*.f64 2 (PI.f64)) (sqrt.f64 n)) (sqrt.f64 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
0.8b
(/.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.7b
(*.f64 (/.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (fabs.f64 (cbrt.f64 k))) (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 (cbrt.f64 k))))
0.7b
(*.f64 (/.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64))))) (fabs.f64 (cbrt.f64 k))) (/.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 (sqrt.f64 (cbrt.f64 k)) (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64))))))))
Compiler

Compiled 7660 to 5696 computations (25.6% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series380.0ms (4.1%)

Counts
4 → 36
Calls

4 calls:

205.0ms
(/.f64 (pow.f64 (*.f64 (*.f64 (*.f64 2 (PI.f64)) (sqrt.f64 n)) (sqrt.f64 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
160.0ms
(pow.f64 (*.f64 (*.f64 (*.f64 2 (PI.f64)) (sqrt.f64 n)) (sqrt.f64 n)) (fma.f64 k -1/2 1/2))
9.0ms
(*.f64 (*.f64 2 (PI.f64)) (sqrt.f64 n))
6.0ms
(*.f64 (*.f64 (*.f64 2 (PI.f64)) (sqrt.f64 n)) (sqrt.f64 n))

rewrite38.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
45×add-exp-log_binary64
36×times-frac_binary64
30×*-un-lft-identity_binary64
30×add-sqr-sqrt_binary64
30×add-cube-cbrt_binary64
Counts
4 → 140
Calls

4 calls:

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

simplify133.0ms (1.4%)

Algorithm
egg-herbie
Rules
310×distribute-rgt-in_binary64
304×distribute-lft-in_binary64
274×associate-*l*_binary64
250×fma-neg_binary64
244×exp-sum_binary64
Counts
176 → 195
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02314334
14864010
215683878
343713878
451913878

prune227.0ms (2.4%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1941195
Fresh134
Picked011
Done022
Total1957202
Error
0b
Counts
202 → 7
Alt Table
StatusErrorProgram
0.3b
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (/.f64 (sqrt.f64 k) (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64))))))
0.6b
(/.f64 (/.f64 (pow.f64 (*.f64 (*.f64 (*.f64 2 (PI.f64)) (sqrt.f64 n)) (sqrt.f64 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 (sqrt.f64 k))) (sqrt.f64 (sqrt.f64 k)))
0.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (/.f64 (*.f64 (PI.f64) -2) (/.f64 -1 n)) (fma.f64 k -1/2 1/2)))
0.5b
(/.f64 (pow.f64 (*.f64 (*.f64 (*.f64 2 (PI.f64)) (sqrt.f64 n)) (sqrt.f64 n)) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
0.8b
(/.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.7b
(*.f64 (/.f64 (pow.f64 (*.f64 n (*.f64 2 (PI.f64))) (*.f64 k -1/2)) (fabs.f64 (cbrt.f64 k))) (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 (PI.f64)))) (sqrt.f64 (cbrt.f64 k))))
0.7b
(*.f64 (/.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64))))) (fabs.f64 (cbrt.f64 k))) (/.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 (sqrt.f64 (cbrt.f64 k)) (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64))))))))
Compiler

Compiled 5329 to 3009 computations (43.5% saved)

regimes1.6s (16.7%)

Accuracy

Total 0.3b remaining (82.1%)

Threshold costs 0.3b (82.1%)

Counts
268 → 1
Compiler

Compiled 28960 to 22024 computations (24% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02238
13038
22938

end140.0ms (1.5%)

Compiler

Compiled 218 to 162 computations (25.7% saved)

Profiling

Loading profile data...