Details

Time bar (total: 6.5s)

analyze375.0ms (5.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.5s (53.3%)

Results
1.5s8256×body128valid
1.2s1399×body1024invalid
408.0ms672×body512invalid
196.0ms1173×body128invalid
123.0ms321×body256invalid
Compiler

Compiled 56 to 47 computations (16.1% saved)

simplify48.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
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01425
13222
26522
312922
428022
563420
6133220
7312120
8491420
9455020
Stop Event
node limit
Counts
1 → 2

prune4.0ms (0.1%)

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.5b
(/.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.2%)

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

series483.0ms (7.4%)

Counts
3 → 48
Calls

3 calls:

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

rewrite60.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
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01343
127343
2315543
3547143
Stop Event
node limit
Counts
3 → 82
Calls

3 calls:

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

simplify52.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
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0671180
11811020
2524864
32685862
45113862
Stop Event
node limit
Counts
130 → 100

prune123.0ms (1.9%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New937100
Fresh101
Picked101
Done000
Total957102
Error
0.0b
Counts
102 → 7
Alt Table
StatusErrorProgram
0.6b
(*.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.6b
(*.f64 (/.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (pow.f64 k 1/4)) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (pow.f64 k 1/4)))
0.5b
(/.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.5b
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (pow.f64 k -1/2))
0.6b
(*.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)))
21.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 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) (*.f64 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) (pow.f64 k -1/2)))
Compiler

Compiled 2504 to 1763 computations (29.6% saved)

localize14.0ms (0.2%)

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)) (pow.f64 k -1/2))
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))

series227.0ms (3.5%)

Counts
1 → 12
Calls

1 calls:

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

rewrite50.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
640×log-prod_binary64
232×expm1-udef_binary64
232×log1p-udef_binary64
221×log-pow_binary64
133×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01321
127421
2302121
3502721
Stop Event
node limit
Counts
1 → 18
Calls

1 calls:

50.0ms
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (pow.f64 k -1/2))

simplify66.0ms (1%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
034372
172372
2139276
3484276
41884276
54240276
64805276
74937276
Stop Event
node limit
Counts
30 → 22

prune98.0ms (1.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New78078
Fresh066
Picked011
Done000
Total78785
Error
0.0b
Counts
85 → 7
Alt Table
StatusErrorProgram
0.6b
(*.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.6b
(*.f64 (/.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (pow.f64 k 1/4)) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (pow.f64 k 1/4)))
0.5b
(/.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.5b
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (pow.f64 k -1/2))
0.6b
(*.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)))
21.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 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) (*.f64 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) (pow.f64 k -1/2)))
Compiler

Compiled 2060 to 1549 computations (24.8% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series97.0ms (1.5%)

Counts
3 → 12
Calls

3 calls:

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01467
129649
2365245
3490445
Stop Event
node limit
Counts
3 → 87
Calls

3 calls:

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

simplify79.0ms (1.2%)

Algorithm
egg-herbie
Rules
562×fma-neg_binary64
452×distribute-rgt-neg-in_binary64
449×distribute-lft-neg-in_binary64
443×associate-*r*_binary64
374×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042508
1125476
2434416
32240399
44904399
55000399
64973399
Stop Event
node limit
Counts
99 → 96

prune131.0ms (2%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1351136
Fresh145
Picked011
Done011
Total1367143
Error
0b
Counts
143 → 7
Alt Table
StatusErrorProgram
0.6b
(*.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.6b
(*.f64 (/.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (pow.f64 k 1/4)) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (pow.f64 k 1/4)))
0.5b
(/.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.5b
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (pow.f64 k -1/2))
0.6b
(*.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.6b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (*.f64 (sqrt.f64 2) (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) (*.f64 k -1/2)))) (sqrt.f64 k))
0.6b
(*.f64 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) (*.f64 (sqrt.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) (pow.f64 k -1/2)))
Compiler

Compiled 3289 to 2244 computations (31.8% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series97.0ms (1.5%)

Counts
4 → 12
Calls

4 calls:

58.0ms
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (*.f64 (sqrt.f64 2) (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) (*.f64 k -1/2)))) (sqrt.f64 k))
31.0ms
(*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (*.f64 (sqrt.f64 2) (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) (*.f64 k -1/2))))
6.0ms
(sqrt.f64 (*.f64 n (PI.f64)))
2.0ms
(*.f64 n (PI.f64))

rewrite75.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
286×expm1-udef_binary64
286×log1p-udef_binary64
161×add-sqr-sqrt_binary64
153×log1p-expm1-u_binary64
153×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01673
133667
2410067
3496167
Stop Event
node limit
Counts
4 → 103
Calls

4 calls:

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

simplify75.0ms (1.2%)

Algorithm
egg-herbie
Rules
562×fma-neg_binary64
452×distribute-rgt-neg-in_binary64
449×distribute-lft-neg-in_binary64
443×associate-*r*_binary64
374×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042508
1125476
2434416
32240399
44904399
55000399
64973399
Stop Event
node limit
Counts
115 → 112

prune131.0ms (2%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1253128
Fresh404
Picked011
Done022
Total1296135
Error
0b
Counts
135 → 6
Alt Table
StatusErrorProgram
11.8b
(sqrt.f64 (/.f64 (*.f64 (*.f64 n (PI.f64)) (*.f64 2 (pow.f64 (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) k) -1))) k))
0.5b
(/.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.5b
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (pow.f64 k -1/2))
0.6b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (*.f64 (sqrt.f64 2) (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) (*.f64 k -1/2)))) (sqrt.f64 k))
0.6b
(*.f64 (/.f64 (sqrt.f64 (*.f64 n (PI.f64))) (sqrt.f64 k)) (*.f64 (sqrt.f64 2) (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) (*.f64 k -1/2))))
0.6b
(*.f64 (*.f64 (sqrt.f64 2) (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) (*.f64 k -1/2))) (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (pow.f64 k -1/2)))
Compiler

Compiled 3299 to 1922 computations (41.7% saved)

regimes539.0ms (8.3%)

Accuracy

Total 0.4b remaining (88.4%)

Threshold costs 0.4b (88.4%)

Counts
114 → 1
Compiler

Compiled 10862 to 8598 computations (20.8% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01520
11920
21820
Stop Event
saturated

end109.0ms (1.7%)

Compiler

Compiled 154 to 116 computations (24.7% saved)

Profiling

Loading profile data...