Details

Time bar (total: 6.8s)

analyze368.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.1s (46%)

Results
1.3s8256×body128valid
1.1s1359×body1024invalid
377.0ms702×body512invalid
179.0ms1203×body128invalid
110.0ms344×body256invalid
Compiler

Compiled 56 to 47 computations (16.1% saved)

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

localize9.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.3b
(*.f64 (*.f64 2 (PI.f64)) n)
0.7b
(pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))

series418.0ms (6.2%)

Counts
3 → 48
Calls

3 calls:

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

rewrite61.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 → 82
Calls

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01343
127343
2315543
3547143

simplify57.0ms (0.8%)

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
130 → 100
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0671180
11811020
2524864
32685862
45113862

prune117.0ms (1.7%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New928100
Fresh101
Picked101
Done000
Total948102
Error
0.0b
Counts
102 → 8
Alt Table
StatusErrorProgram
1.2b
(*.f64 (/.f64 1 (cbrt.f64 k)) (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (cbrt.f64 (sqrt.f64 k))))
0.7b
(/.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))
1.0b
(pow.f64 (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) 2)
11.7b
(*.f64 (cbrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) (cbrt.f64 (/.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) 2) k)))
23.9b
(/.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 n (*.f64 2 (PI.f64)))) 2)) (*.f64 (log.f64 (*.f64 n (*.f64 2 (PI.f64)))) (*.f64 k -1/2)))))) (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.8b
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (pow.f64 k -1/2))
0.8b
(/.f64 (*.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (pow.f64 n (fma.f64 k -1/2 1/2))) (sqrt.f64 k))
Compiler

Compiled 2498 to 1757 computations (29.7% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series267.0ms (3.9%)

Counts
3 → 24
Calls

3 calls:

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

rewrite67.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 → 91
Calls

3 calls:

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01455
129646
2365244
3490444

simplify69.0ms (1%)

Algorithm
egg-herbie
Rules
761×fma-neg_binary64
711×cancel-sign-sub-inv_binary64
375×exp-prod_binary64
282×distribute-rgt-neg-in_binary64
276×distribute-lft-neg-in_binary64
Counts
115 → 104
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
054536
1147504
2389436
31931431
44287422
55040422

prune204.0ms (3%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1413144
Fresh257
Picked101
Done000
Total1448152
Error
0b
Counts
152 → 8
Alt Table
StatusErrorProgram
11.7b
(*.f64 (cbrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) (cbrt.f64 (/.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) 2) k)))
23.9b
(/.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 n (*.f64 2 (PI.f64)))) 2)) (*.f64 (log.f64 (*.f64 n (*.f64 2 (PI.f64)))) (*.f64 k -1/2)))))) (sqrt.f64 k))
0.8b
(*.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (pow.f64 k -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.7b
(/.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))) (cbrt.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) k) -1))) (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n))) (sqrt.f64 k))
1.2b
(*.f64 (/.f64 1 (cbrt.f64 k)) (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (cbrt.f64 (sqrt.f64 k))))
0.9b
(/.f64 (*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) 1/4) 2)) (sqrt.f64 k))
0.8b
(/.f64 (*.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (pow.f64 n (fma.f64 k -1/2 1/2))) (sqrt.f64 k))
Compiler

Compiled 3706 to 2568 computations (30.7% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series192.0ms (2.8%)

Counts
1 → 24
Calls

1 calls:

192.0ms
(pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) k)

rewrite40.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
742×log1p-expm1-u_binary64
742×expm1-log1p-u_binary64
150×expm1-udef_binary64
150×log1p-udef_binary64
84×add-sqr-sqrt_binary64
Counts
1 → 20
Calls

1 calls:

39.0ms
(pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) k)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
116711
2193811
3497811

simplify106.0ms (1.6%)

Algorithm
egg-herbie
Rules
767×unswap-sqr_binary64
551×associate-+l+_binary64
467×associate-+r+_binary64
433×*-commutative_binary64
264×unsub-neg_binary64
Counts
44 → 32
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
047455
1126411
2310329
31430329
43509329
55230329

prune274.0ms (4.1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1521153
Fresh167
Picked011
Done000
Total1538161
Error
0b
Counts
161 → 8
Alt Table
StatusErrorProgram
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.8b
(/.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))) (cbrt.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) k) -1))) (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 (PI.f64) n)))) (sqrt.f64 k))
0.8b
(*.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (pow.f64 k -1/2)))
0.7b
(/.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))) (cbrt.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) k) -1))) (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n))) (sqrt.f64 k))
1.2b
(*.f64 (/.f64 1 (cbrt.f64 k)) (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (cbrt.f64 (sqrt.f64 k))))
0.9b
(/.f64 (*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) 1/4) 2)) (sqrt.f64 k))
0.8b
(/.f64 (*.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (pow.f64 n (fma.f64 k -1/2 1/2))) (sqrt.f64 k))
11.7b
(*.f64 (cbrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) (cbrt.f64 (/.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) 2) k)))
Compiler

Compiled 5893 to 4161 computations (29.4% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series48.0ms (0.7%)

Counts
1 → 0
Calls

1 calls:

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

rewrite57.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
786×log-prod_binary64
263×log-pow_binary64
255×expm1-udef_binary64
255×log1p-udef_binary64
145×add-sqr-sqrt_binary64
Counts
1 → 18
Calls

1 calls:

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01432
129723
2345923
3584123

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune164.0ms (2.4%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1181119
Fresh156
Picked011
Done011
Total1198127
Error
0b
Counts
127 → 8
Alt Table
StatusErrorProgram
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.8b
(/.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))) (cbrt.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) k) -1))) (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 (PI.f64) n)))) (sqrt.f64 k))
0.8b
(*.f64 (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n)) (*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (pow.f64 k -1/2)))
0.9b
(*.f64 (*.f64 (sqrt.f64 n) (sqrt.f64 (*.f64 2 (PI.f64)))) (*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (pow.f64 k -1/2)))
0.7b
(/.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2))) (cbrt.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) k) -1))) (sqrt.f64 (*.f64 (*.f64 2 (PI.f64)) n))) (sqrt.f64 k))
1.2b
(*.f64 (/.f64 1 (cbrt.f64 k)) (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (cbrt.f64 (sqrt.f64 k))))
0.9b
(/.f64 (*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) 1/4) 2)) (sqrt.f64 k))
11.7b
(*.f64 (cbrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) (cbrt.f64 (/.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) 2) k)))
Compiler

Compiled 3098 to 2291 computations (26% saved)

regimes862.0ms (12.7%)

Accuracy

Total 0.5b remaining (94.3%)

Threshold costs 0.5b (94.3%)

Counts
151 → 1
Compiler

Compiled 16384 to 13095 computations (20.1% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01427
11627
21627

end178.0ms (2.6%)

Compiler

Compiled 250 to 196 computations (21.6% saved)

Profiling

Loading profile data...