Details

Time bar (total: 7.1s)

analyze335.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.1s (44.1%)

Results
1.3s8256×body128valid
1.1s1361×body1024invalid
377.0ms723×body512invalid
182.0ms1207×body128invalid
124.0ms370×body256invalid
Compiler

Compiled 56 to 47 computations (16.1% saved)

simplify55.0ms (0.8%)

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

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

series520.0ms (7.3%)

Counts
3 → 48
Calls

3 calls:

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

rewrite22.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:

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)

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

prune222.0ms (3.1%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1608168
Fresh101
Picked101
Done000
Total1628170
Error
0.0b
Counts
170 → 8
Alt Table
StatusErrorProgram
0.3b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 k)))
0.4b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
0.4b
(/.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))
22.7b
(/.f64 (-.f64 (+.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (sqrt.f64 2)) (*.f64 1/8 (*.f64 (*.f64 (pow.f64 k 2) (*.f64 (pow.f64 (log.f64 (*.f64 2 (*.f64 n (PI.f64)))) 2) (sqrt.f64 2))) (sqrt.f64 (*.f64 n (PI.f64)))))) (*.f64 1/2 (*.f64 (*.f64 k (*.f64 (log.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 2))) (sqrt.f64 (*.f64 n (PI.f64)))))) (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)) (sqrt.f64 k)))
0.5b
(*.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))))
0.5b
(/.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 (sqrt.f64 k))) (sqrt.f64 (sqrt.f64 k)))
0.5b
(/.f64 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) (/.f64 (sqrt.f64 k) (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)))))
Compiler

Compiled 4328 to 2730 computations (36.9% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series141.0ms (2%)

Counts
4 → 0
Calls

4 calls:

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

rewrite35.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt_binary64
52×times-frac_binary64
43×sqrt-prod_binary64
39×*-un-lft-identity_binary64
39×add-cube-cbrt_binary64
Counts
4 → 145
Calls

4 calls:

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

simplify159.0ms (2.2%)

Algorithm
egg-herbie
Rules
594×fma-def_binary64
457×associate-/l*_binary64
326×*-commutative_binary64
314×associate-*r/_binary64
282×associate-*l/_binary64
Counts
145 → 175
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01793965
13433724
211663696
333093696
444673696
549913696
649733696

prune272.0ms (3.8%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1925197
Fresh437
Picked101
Done000
Total1978205
Error
0b
Counts
205 → 8
Alt Table
StatusErrorProgram
0.4b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (*.f64 (sqrt.f64 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 k))) (sqrt.f64 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 k)))))
0.3b
(*.f64 (sqrt.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2))) (*.f64 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 k)) (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 -1/4 k))))
0.4b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64))))) (/.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64))))) (sqrt.f64 k))))
0.4b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
0.4b
(/.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))
10.8b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (/.f64 (*.f64 2 (*.f64 n (PI.f64))) k)))
0.3b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 n (PI.f64)))) (sqrt.f64 k)))
0.5b
(/.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 (sqrt.f64 k))) (sqrt.f64 (sqrt.f64 k)))
Compiler

Compiled 5950 to 3220 computations (45.9% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series80.0ms (1.1%)

Counts
1 → 0
Calls

1 calls:

80.0ms
(*.f64 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 k)) (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 -1/4 k)))

rewrite20.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt_binary64
30×add-exp-log_binary64
28×associate-*l*_binary64
28×times-frac_binary64
20×sqrt-prod_binary64
Counts
1 → 62
Calls

1 calls:

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

simplify103.0ms (1.5%)

Algorithm
egg-herbie
Rules
868×fma-def_binary64
642×associate-*l*_binary64
573×associate-*r*_binary64
294×associate-/l*_binary64
257×associate-*l/_binary64
Counts
62 → 92
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01182400
12392247
27362219
333172219
447272219
553462219

prune328.0ms (4.6%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2240224
Fresh077
Picked011
Done000
Total2248232
Error
0b
Counts
232 → 8
Alt Table
StatusErrorProgram
0.4b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (*.f64 (sqrt.f64 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 k))) (sqrt.f64 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 k)))))
0.3b
(*.f64 (sqrt.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2))) (*.f64 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 k)) (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 -1/4 k))))
0.4b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64))))) (/.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64))))) (sqrt.f64 k))))
0.4b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
0.4b
(/.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))
10.8b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (/.f64 (*.f64 2 (*.f64 n (PI.f64))) k)))
0.3b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 n (PI.f64)))) (sqrt.f64 k)))
0.5b
(/.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 (sqrt.f64 k))) (sqrt.f64 (sqrt.f64 k)))
Compiler

Compiled 9058 to 5090 computations (43.8% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series69.0ms (1%)

Counts
3 → 0
Calls

3 calls:

46.0ms
(/.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 n (PI.f64)))) (sqrt.f64 k))
15.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 n (PI.f64))))
9.0ms
(sqrt.f64 (*.f64 n (PI.f64)))

rewrite17.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
13×pow1_binary64
12×sqrt-prod_binary64
10×*-un-lft-identity_binary64
10×add-cube-cbrt_binary64
Counts
3 → 72
Calls

3 calls:

6.0ms
(/.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 n (PI.f64)))) (sqrt.f64 k))
6.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 n (PI.f64))))
2.0ms
(sqrt.f64 (*.f64 n (PI.f64)))

simplify113.0ms (1.6%)

Algorithm
egg-herbie
Rules
943×div-sub_binary64
533×times-frac_binary64
518×associate-/l*_binary64
234×associate-*l*_binary64
202×associate-/l/_binary64
Counts
72 → 77
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0941211
11791088
26171088
327951088
428551088
530651088
636881088
743131088
848651088

prune149.0ms (2.1%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1210121
Fresh066
Picked011
Done011
Total1218129
Error
0b
Counts
129 → 8
Alt Table
StatusErrorProgram
0.4b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (*.f64 (sqrt.f64 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 k))) (sqrt.f64 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 k)))))
0.3b
(*.f64 (sqrt.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2))) (*.f64 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 k)) (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 -1/4 k))))
0.4b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64))))) (/.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (*.f64 n (PI.f64))))) (sqrt.f64 k))))
0.4b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)) (sqrt.f64 (/.f64 1 k)))
0.4b
(/.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))
10.8b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (sqrt.f64 (/.f64 (*.f64 2 (*.f64 n (PI.f64))) k)))
0.3b
(*.f64 (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (*.f64 k -1/2)) (/.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 n (PI.f64)))) (sqrt.f64 k)))
0.5b
(/.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 (sqrt.f64 k))) (sqrt.f64 (sqrt.f64 k)))
Compiler

Compiled 3233 to 1680 computations (48% saved)

regimes1.0s (14.5%)

Accuracy

Total 0.3b remaining (80.4%)

Threshold costs 0.3b (80.4%)

Counts
209 → 1
Compiler

Compiled 22624 to 16662 computations (26.4% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01831
12331
22231

end137.0ms (1.9%)

Compiler

Compiled 235 to 167 computations (28.9% saved)

Profiling

Loading profile data...