Details

Time bar (total: 5.2s)

analyze1.3s (24.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%48.6%51.4%0
0%48.6%51.4%1
24.3%24.3%51.4%2
24.3%24.3%51.4%3
30.4%18.2%51.4%4
30.4%18.2%51.4%5
33.4%15.2%51.4%6
33.4%15.2%51.4%7
34.6%14.1%51.4%8
34.8%13.9%51.4%9
35.4%13.2%51.4%10
35.6%13.1%51.4%11
35.9%12.7%51.4%12
36%12.6%51.4%13
36.2%12.4%51.4%14
Compiler

Compiled 28 to 20 computations (28.6% saved)

sample2.2s (42.4%)

Results
1.0s6299×body128valid
530.0ms798×body2048valid
247.0ms302×body4096valid
239.0ms477×body1024valid
106.0ms270×body512valid
28.0ms110×body256valid
Compiler

Compiled 75 to 54 computations (28% saved)

simplify12.0ms (0.2%)

Algorithm
egg-herbie
Rules
fma-def_binary64
*-commutative_binary64
+-commutative_binary64
associate-/l*_binary64
distribute-lft-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01524
13124
23922
34522
44722
54922
65022
74722

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
11.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
11.2b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
Compiler

Compiled 68 to 48 computations (29.4% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p)))))
0.0b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
0.6b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
12.6b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

series104.0ms (2%)

Counts
4 → 96
Calls

4 calls:

32.0ms
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
29.0ms
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
29.0ms
(/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p)))))
13.0ms
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

rewrite9.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64
21×*-un-lft-identity_binary64
21×add-cube-cbrt_binary64
18×times-frac_binary64
18×sqrt-prod_binary64
Counts
4 → 81
Calls

4 calls:

3.0ms
(/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p)))))
1.0ms
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))
1.0ms
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
0.0ms
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)

simplify96.0ms (1.8%)

Algorithm
egg-herbie
Rules
716×associate-/l*_binary64
593×fma-def_binary64
419×cancel-sign-sub-inv_binary64
284×fma-neg_binary64
229×sub-neg_binary64
Counts
177 → 241
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02734370
17344162
222944048
352264048

prune203.0ms (3.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2365241
Fresh000
Picked011
Done000
Total2366242
Error
2.4b
Counts
242 → 6
Alt Table
StatusErrorProgram
11.2b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
52.4b
(/.f64 p (neg.f64 x))
11.7b
(sqrt.f64 (cbrt.f64 (pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3)))
57.5b
(sqrt.f64 (fma.f64 10 (/.f64 (pow.f64 p 6) (pow.f64 x 6)) (fma.f64 (/.f64 p x) (/.f64 p x) (fma.f64 (/.f64 (pow.f64 p 4) (pow.f64 x 4)) -3 (*.f64 (/.f64 (pow.f64 p 8) (pow.f64 x 8)) -35)))))
56.9b
(sqrt.f64 (-.f64 (+.f64 (*.f64 10 (/.f64 (pow.f64 p 6) (pow.f64 x 6))) (/.f64 (pow.f64 p 2) (pow.f64 x 2))) (*.f64 3 (/.f64 (pow.f64 p 4) (pow.f64 x 4)))))
52.6b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
Compiler

Compiled 5838 to 3938 computations (32.5% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3)
0.5b
(cbrt.f64 (pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3))
0.6b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2)
12.6b
(sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))

series107.0ms (2%)

Counts
4 → 96
Calls

4 calls:

37.0ms
(pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3)
31.0ms
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2)
26.0ms
(cbrt.f64 (pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3))
12.0ms
(sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))

rewrite8.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod_binary64
12×add-sqr-sqrt_binary64
11×*-un-lft-identity_binary64
11×add-cube-cbrt_binary64
cube-prod_binary64
Counts
4 → 73
Calls

4 calls:

2.0ms
(pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3)
2.0ms
(cbrt.f64 (pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3))
1.0ms
(sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))
0.0ms
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2)

simplify119.0ms (2.3%)

Algorithm
egg-herbie
Rules
760×times-frac_binary64
633×fma-neg_binary64
388×fma-def_binary64
259×cancel-sign-sub-inv_binary64
203×unswap-sqr_binary64
Counts
169 → 159
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02124114
15393786
215933641
345003641
450103641

prune130.0ms (2.5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1590159
Fresh044
Picked011
Done011
Total1596165
Error
2.4b
Counts
165 → 6
Alt Table
StatusErrorProgram
11.2b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
52.4b
(/.f64 p (neg.f64 x))
11.7b
(sqrt.f64 (cbrt.f64 (pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3)))
57.5b
(sqrt.f64 (fma.f64 10 (/.f64 (pow.f64 p 6) (pow.f64 x 6)) (fma.f64 (/.f64 p x) (/.f64 p x) (fma.f64 (/.f64 (pow.f64 p 4) (pow.f64 x 4)) -3 (*.f64 (/.f64 (pow.f64 p 8) (pow.f64 x 8)) -35)))))
56.9b
(sqrt.f64 (-.f64 (+.f64 (*.f64 10 (/.f64 (pow.f64 p 6) (pow.f64 x 6))) (/.f64 (pow.f64 p 2) (pow.f64 x 2))) (*.f64 3 (/.f64 (pow.f64 p 4) (pow.f64 x 4)))))
52.6b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
Compiler

Compiled 4266 to 2980 computations (30.1% saved)

localize6.0ms (0.1%)

prune6.0ms (0.1%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New000
Fresh033
Picked011
Done022
Total066
Error
2.4b
Counts
6 → 6
Alt Table
StatusErrorProgram
11.2b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
52.4b
(/.f64 p (neg.f64 x))
11.7b
(sqrt.f64 (cbrt.f64 (pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3)))
57.5b
(sqrt.f64 (fma.f64 10 (/.f64 (pow.f64 p 6) (pow.f64 x 6)) (fma.f64 (/.f64 p x) (/.f64 p x) (fma.f64 (/.f64 (pow.f64 p 4) (pow.f64 x 4)) -3 (*.f64 (/.f64 (pow.f64 p 8) (pow.f64 x 8)) -35)))))
56.9b
(sqrt.f64 (-.f64 (+.f64 (*.f64 10 (/.f64 (pow.f64 p 6) (pow.f64 x 6))) (/.f64 (pow.f64 p 2) (pow.f64 x 2))) (*.f64 3 (/.f64 (pow.f64 p 4) (pow.f64 x 4)))))
52.6b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
Compiler

Compiled 197 to 143 computations (27.4% saved)

localize5.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(/.f64 p (/.f64 (*.f64 x x) p))
0.2b
(/.f64 (*.f64 x x) p)
21.0b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))

series47.0ms (0.9%)

Counts
3 → 72
Calls

3 calls:

31.0ms
(/.f64 p (/.f64 (*.f64 x x) p))
10.0ms
(/.f64 (*.f64 x x) p)
6.0ms
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))

rewrite19.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
69×times-frac_binary64
40×add-sqr-sqrt_binary64
35×*-un-lft-identity_binary64
35×add-cube-cbrt_binary64
26×sqrt-prod_binary64
Counts
3 → 114
Calls

3 calls:

4.0ms
(/.f64 p (/.f64 (*.f64 x x) p))
4.0ms
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
3.0ms
(/.f64 (*.f64 x x) p)

simplify139.0ms (2.7%)

Algorithm
egg-herbie
Rules
676×times-frac_binary64
393×associate-/l*_binary64
381×associate-/l/_binary64
365×unswap-sqr_binary64
334×fma-neg_binary64
Counts
186 → 192
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01702504
13002325
28532121
330292022
442001918
549631918
649931918

prune61.0ms (1.2%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1911192
Fresh112
Picked101
Done033
Total1935198
Error
0.0b
Counts
198 → 5
Alt Table
StatusErrorProgram
11.2b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
52.4b
(/.f64 p (neg.f64 x))
11.7b
(sqrt.f64 (cbrt.f64 (pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3)))
56.9b
(sqrt.f64 (-.f64 (+.f64 (*.f64 10 (/.f64 (pow.f64 p 6) (pow.f64 x 6))) (/.f64 (pow.f64 p 2) (pow.f64 x 2))) (*.f64 3 (/.f64 (pow.f64 p 4) (pow.f64 x 4)))))
54.1b
(/.f64 p x)
Compiler

Compiled 2794 to 801 computations (71.3% saved)

regimes542.0ms (10.4%)

Accuracy

Total 6.8b remaining (99.4%)

Threshold costs 0b (0%)

Counts
67 → 2
Compiler

Compiled 7254 to 5568 computations (23.2% saved)

bsearch2.0ms (0%)

Compiler

Compiled 14 to 9 computations (35.7% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02351
12851
23051
33151
43151

end93.0ms (1.8%)

Compiler

Compiled 150 to 106 computations (29.3% saved)

Profiling

Loading profile data...