Details

Time bar (total: 7.3s)

analyze397.0ms (5.5%)

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.3s (45.3%)

Results
1.3s8256×body128valid
1.2s1419×body1024invalid
370.0ms645×body512invalid
185.0ms1199×body128invalid
131.0ms347×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.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.3b
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
0.4b
(*.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
(pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))
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)

series546.0ms (7.5%)

Counts
3 → 48
Calls

3 calls:

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

rewrite75.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
82×egg-rr
Counts
3 → 82
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01343
127343
2315543
3547143
000
100

simplify51.0ms (0.7%)

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 → 99
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0671180
11811020
2524864
32685862
45113862

prune129.0ms (1.8%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New92799
Fresh101
Picked101
Done000
Total947101
Error
0.0b
Counts
101 → 7
Alt Table
StatusErrorProgram
0.5b
(/.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))
0.4b
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (*.f64 2 (*.f64 n (PI.f64))) (fma.f64 k -1/2 1/2)))
0.5b
(*.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)))
24.6b
(/.f64 (*.f64 (sqrt.f64 (*.f64 n (PI.f64))) (+.f64 (sqrt.f64 2) (*.f64 (*.f64 (log.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 2)) (*.f64 k -1/2)))) (sqrt.f64 k))
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.4b
(pow.f64 (/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) -1)
0.5b
(pow.f64 (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) 2)
Compiler

Compiled 2391 to 1669 computations (30.2% saved)

localize9.0ms (0.1%)

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.1b
(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.3b
(*.f64 (*.f64 2 (PI.f64)) n)

series131.0ms (1.8%)

Counts
3 → 12
Calls

3 calls:

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

rewrite72.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
87×egg-rr
Counts
3 → 87
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01467
129649
2365245
3490445
000
100

simplify73.0ms (1%)

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
Counts
99 → 96
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042508
1125476
2434416
32240399
44904399
55000399
64973399

prune195.0ms (2.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1322134
Fresh246
Picked011
Done000
Total1347141
Error
0.0b
Counts
141 → 7
Alt Table
StatusErrorProgram
8.5b
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (*.f64 k -1/2)) (/.f64 1 (sqrt.f64 (/.f64 k (*.f64 (*.f64 2 (PI.f64)) n)))))
0.5b
(pow.f64 (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) 2)
0.5b
(*.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.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.5b
(/.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))
0.4b
(pow.f64 (/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) -1)
0.3b
(/.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))
Compiler

Compiled 3239 to 2211 computations (31.7% 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 (*.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.3b
(*.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))))

series138.0ms (1.9%)

Counts
4 → 12
Calls

4 calls:

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

rewrite85.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
103×egg-rr
Counts
4 → 103
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01673
133667
2410067
3496167
000
100

simplify74.0ms (1%)

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
Counts
115 → 112
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042508
1125476
2434416
32240399
44904399
55000399
64973399

prune154.0ms (2.1%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1271128
Fresh145
Picked011
Done011
Total1287135
Error
0b
Counts
135 → 7
Alt Table
StatusErrorProgram
0.5b
(*.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)))
8.9b
(sqrt.f64 (/.f64 (*.f64 (*.f64 n (PI.f64)) (*.f64 2 (pow.f64 (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) k) -1))) k))
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.5b
(/.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))
0.4b
(pow.f64 (/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) -1)
0.5b
(pow.f64 (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) 2)
0.3b
(/.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))
Compiler

Compiled 3412 to 2016 computations (40.9% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series820.0ms (11.3%)

Counts
2 → 24
Calls

2 calls:

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

rewrite101.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
82×egg-rr
Counts
2 → 82
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01543
131340
2349940
3497740
4575040
000
100

simplify51.0ms (0.7%)

Algorithm
egg-herbie
Rules
813×exp-sum_binary64
475×exp-prod_binary64
400×distribute-rgt-in_binary64
382×distribute-lft-in_binary64
331×fma-neg_binary64
Counts
106 → 90
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
041732
192708
2173516
3699516
42894516
55056516

prune164.0ms (2.3%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1441145
Fresh134
Picked011
Done022
Total1457152
Error
0b
Counts
152 → 7
Alt Table
StatusErrorProgram
0.4b
(*.f64 (pow.f64 (sqrt.f64 k) -1) (pow.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (neg.f64 (fma.f64 k -1/2 1/2))) -1))
0.4b
(pow.f64 (/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) -1)
0.5b
(*.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)))
8.9b
(sqrt.f64 (/.f64 (*.f64 (*.f64 n (PI.f64)) (*.f64 2 (pow.f64 (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) k) -1))) k))
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.5b
(pow.f64 (sqrt.f64 (/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))) 2)
0.3b
(/.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))
Compiler

Compiled 3354 to 2366 computations (29.5% saved)

regimes498.0ms (6.9%)

Accuracy

Total 0.3b remaining (81.8%)

Threshold costs 0.3b (81.8%)

Counts
97 → 1
Compiler

Compiled 9081 to 7422 computations (18.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01531
11931
21931

end127.0ms (1.7%)

Compiler

Compiled 182 to 140 computations (23.1% saved)

Profiling

Loading profile data...