Details

Time bar (total: 7.9s)

analyze317.0ms (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.0s (37.9%)

Results
1.2s8256×body128valid
1.0s1422×body1024invalid
367.0ms712×body512invalid
161.0ms1147×body128invalid
111.0ms362×body256invalid
Compiler

Compiled 56 to 47 computations (16.1% saved)

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

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

localize18.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series887.0ms (11.2%)

Counts
3 → 48
Calls

3 calls:

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

rewrite89.0ms (1.1%)

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:

85.0ms
(*.f64 (*.f64 2 (PI.f64)) n)
85.0ms
(/.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (sqrt.f64 k))
85.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
000
100

simplify76.0ms (1%)

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

prune222.0ms (2.8%)

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
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)))
21.2b
(/.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 (*.f64 1/2 (*.f64 (*.f64 k (*.f64 (log.f64 (*.f64 2 (*.f64 n (PI.f64)))) (sqrt.f64 2))) (sqrt.f64 (*.f64 n (PI.f64))))) (*.f64 1/48 (*.f64 (*.f64 (pow.f64 k 3) (*.f64 (pow.f64 (log.f64 (*.f64 2 (*.f64 n (PI.f64)))) 3) (sqrt.f64 2))) (sqrt.f64 (*.f64 n (PI.f64))))))) (sqrt.f64 k))
0.9b
(*.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.8b
(*.f64 (/.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (cbrt.f64 k)) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (cbrt.f64 (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.5b
(pow.f64 (/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2))) -1)
0.7b
(*.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.5b
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (pow.f64 k -1/2))
Compiler

Compiled 2558 to 1787 computations (30.1% saved)

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

series240.0ms (3%)

Counts
3 → 12
Calls

3 calls:

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

rewrite127.0ms (1.6%)

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 → 87
Calls

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01467
129649
2365245
3490445
000
100

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

Useful iterations: 3 (0.0ms)

IterNodesCost
042508
1125476
2434416
32240399
44904399
55000399
64973399

prune336.0ms (4.2%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1342136
Fresh257
Picked011
Done000
Total1368144
Error
0b
Counts
144 → 8
Alt Table
StatusErrorProgram
0.5b
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (pow.f64 k -1/2))
0.4b
(/.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.9b
(*.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.8b
(*.f64 (/.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (cbrt.f64 k)) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (cbrt.f64 (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.7b
(*.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)))
8.4b
(*.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.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)))
Compiler

Compiled 3331 to 2277 computations (31.6% saved)

localize23.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series260.0ms (3.3%)

Counts
4 → 12
Calls

4 calls:

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

rewrite154.0ms (1.9%)

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
Counts
4 → 103
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01673
133667
2410067
3496167
000
100

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

Useful iterations: 3 (0.0ms)

IterNodesCost
042508
1125476
2434416
32240399
44904399
55000399
64973399

prune335.0ms (4.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1262128
Fresh336
Picked101
Done011
Total1306136
Error
0b
Counts
136 → 6
Alt Table
StatusErrorProgram
8.6b
(sqrt.f64 (/.f64 (*.f64 (*.f64 n (PI.f64)) (*.f64 2 (pow.f64 (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) k) -1))) k))
0.8b
(*.f64 (/.f64 (pow.f64 (*.f64 2 (PI.f64)) (fma.f64 k -1/2 1/2)) (cbrt.f64 k)) (/.f64 (pow.f64 n (fma.f64 k -1/2 1/2)) (cbrt.f64 (sqrt.f64 k))))
0.4b
(*.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.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.7b
(*.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.5b
(*.f64 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (pow.f64 k -1/2))
Compiler

Compiled 3402 to 2004 computations (41.1% saved)

localize25.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (*.f64 n (PI.f64)))
0.2b
(*.f64 n (PI.f64))
0.3b
(*.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.4b
(/.f64 (sqrt.f64 (*.f64 n (PI.f64))) (sqrt.f64 k))

series209.0ms (2.6%)

Counts
2 → 0
Calls

2 calls:

140.0ms
(*.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))))
68.0ms
(/.f64 (sqrt.f64 (*.f64 n (PI.f64))) (sqrt.f64 k))

rewrite97.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
288×expm1-udef_binary64
288×log1p-udef_binary64
163×add-sqr-sqrt_binary64
155×associate-*r*_binary64
154×log1p-expm1-u_binary64
Counts
2 → 63
Calls

2 calls:

94.0ms
(*.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))))
94.0ms
(/.f64 (sqrt.f64 (*.f64 n (PI.f64))) (sqrt.f64 k))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01641
133839
2411239
3499239
000
100

simplify12.0ms (0.1%)

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune216.0ms (2.7%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1191120
Fresh134
Picked011
Done011
Total1206126
Error
0b
Counts
126 → 6
Alt Table
StatusErrorProgram
0.7b
(*.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.4b
(/.f64 (sqrt.f64 (*.f64 n (PI.f64))) (/.f64 (sqrt.f64 k) (*.f64 (sqrt.f64 2) (pow.f64 (*.f64 (*.f64 n (PI.f64)) 2) (*.f64 k -1/2)))))
0.4b
(*.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))))
8.6b
(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 (pow.f64 (*.f64 (*.f64 2 (PI.f64)) n) (fma.f64 k -1/2 1/2)) (pow.f64 k -1/2))
Compiler

Compiled 2893 to 1601 computations (44.7% saved)

regimes800.0ms (10.1%)

Accuracy

Total 0.4b remaining (94.4%)

Threshold costs 0.4b (94.4%)

Counts
86 → 1
Compiler

Compiled 7842 to 6198 computations (21% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01431
11831
21831

end213.0ms (2.7%)

Compiler

Compiled 164 to 124 computations (24.4% saved)

Profiling

Loading profile data...