Details

Time bar (total: 5.1s)

analyze1.1s (22%)

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)

sample1.9s (38.1%)

Results
872.0ms6274×body128valid
468.0ms798×body2048valid
252.0ms514×body1024valid
187.0ms273×body4096valid
101.0ms261×body512valid
35.0ms136×body256valid
Compiler

Compiled 75 to 54 computations (28% saved)

simplify7.0ms (0.1%)

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.7b
Counts
3 → 1
Alt Table
StatusErrorProgram
11.7b
(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
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
0.0b
(/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p)))))
0.4b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
12.1b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

series93.0ms (1.8%)

Counts
4 → 96
Calls

4 calls:

27.0ms
(/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p)))))
26.0ms
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
24.0ms
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
15.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)

simplify97.0ms (1.9%)

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

prune193.0ms (3.8%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2356241
Fresh000
Picked011
Done000
Total2357242
Error
2.5b
Counts
242 → 7
Alt Table
StatusErrorProgram
11.7b
(sqrt.f64 (expm1.f64 (log1p.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
58.3b
(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)))))
55.3b
(/.f64 p (neg.f64 x))
53.7b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
12.2b
(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)))
55.9b
(sqrt.f64 (/.f64 (pow.f64 p 2) (pow.f64 x 2)))
11.7b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
Compiler

Compiled 5836 to 3934 computations (32.6% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
0.0b
(expm1.f64 (log1p.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)))
0.4b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
12.1b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

series56.0ms (1.1%)

Counts
2 → 48
Calls

2 calls:

29.0ms
(log1p.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
26.0ms
(expm1.f64 (log1p.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
expm1-log1p-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

0.0ms
(log1p.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
0.0ms
(expm1.f64 (log1p.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)))

simplify101.0ms (2%)

Algorithm
egg-herbie
Rules
510×times-frac_binary64
288×sub-neg_binary64
266×fma-def_binary64
245×associate-*r*_binary64
229×unswap-sqr_binary64
Counts
70 → 92
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01261675
13451542
29771475
342781433
449491413
549521413
649531413

prune145.0ms (2.8%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1901191
Fresh325
Picked011
Done011
Total1935198
Error
2.5b
Counts
198 → 5
Alt Table
StatusErrorProgram
12.2b
(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)))
11.7b
(sqrt.f64 (expm1.f64 (log1p.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
55.3b
(/.f64 p (neg.f64 x))
11.7b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
54.5b
(sqrt.f64 (fma.f64 (pow.f64 (/.f64 p x) 4) -3 (fma.f64 (/.f64 p x) (/.f64 p x) (/.f64 10 (pow.f64 (/.f64 x p) 6)))))
Compiler

Compiled 4388 to 3069 computations (30.1% 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.4b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2)
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))
12.1b
(sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))

series91.0ms (1.8%)

Counts
4 → 96
Calls

4 calls:

29.0ms
(pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3)
26.0ms
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2)
24.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))
11.0ms
(sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))

rewrite15.0ms (0.3%)

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:

1.0ms
(pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3)
1.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)

simplify108.0ms (2.1%)

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
15413786
215953641
345023641
450103641

prune117.0ms (2.3%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1590159
Fresh022
Picked011
Done022
Total1595164
Error
2.5b
Counts
164 → 5
Alt Table
StatusErrorProgram
12.2b
(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)))
11.7b
(sqrt.f64 (expm1.f64 (log1p.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
55.3b
(/.f64 p (neg.f64 x))
11.7b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
54.5b
(sqrt.f64 (fma.f64 (pow.f64 (/.f64 p x) 4) -3 (fma.f64 (/.f64 p x) (/.f64 p x) (/.f64 10 (pow.f64 (/.f64 x p) 6)))))
Compiler

Compiled 4071 to 2802 computations (31.2% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (/.f64 p x) 4)
0.2b
(pow.f64 (/.f64 x p) 6)
17.9b
(fma.f64 (pow.f64 (/.f64 p x) 4) -3 (fma.f64 (/.f64 p x) (/.f64 p x) (/.f64 10 (pow.f64 (/.f64 x p) 6))))
20.1b
(sqrt.f64 (fma.f64 (pow.f64 (/.f64 p x) 4) -3 (fma.f64 (/.f64 p x) (/.f64 p x) (/.f64 10 (pow.f64 (/.f64 x p) 6)))))

series118.0ms (2.3%)

Counts
4 → 96
Calls

4 calls:

41.0ms
(fma.f64 (pow.f64 (/.f64 p x) 4) -3 (fma.f64 (/.f64 p x) (/.f64 p x) (/.f64 10 (pow.f64 (/.f64 x p) 6))))
33.0ms
(sqrt.f64 (fma.f64 (pow.f64 (/.f64 p x) 4) -3 (fma.f64 (/.f64 p x) (/.f64 p x) (/.f64 10 (pow.f64 (/.f64 x p) 6)))))
26.0ms
(pow.f64 (/.f64 x p) 6)
18.0ms
(pow.f64 (/.f64 p x) 4)

rewrite12.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
26×unpow-prod-down_binary64
22×add-sqr-sqrt_binary64
21×*-un-lft-identity_binary64
21×add-cube-cbrt_binary64
18×times-frac_binary64
Counts
4 → 85
Calls

4 calls:

5.0ms
(pow.f64 (/.f64 p x) 4)
3.0ms
(pow.f64 (/.f64 x p) 6)
1.0ms
(sqrt.f64 (fma.f64 (pow.f64 (/.f64 p x) 4) -3 (fma.f64 (/.f64 p x) (/.f64 p x) (/.f64 10 (pow.f64 (/.f64 x p) 6)))))
0.0ms
(fma.f64 (pow.f64 (/.f64 p x) 4) -3 (fma.f64 (/.f64 p x) (/.f64 p x) (/.f64 10 (pow.f64 (/.f64 x p) 6))))

simplify102.0ms (2%)

Algorithm
egg-herbie
Rules
608×associate-/l*_binary64
354×fma-neg_binary64
337×fma-def_binary64
237×cancel-sign-sub-inv_binary64
200×sqr-pow_binary64
Counts
181 → 161
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02523813
15673294
217683221
347673217
449923217

prune94.0ms (1.8%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New1601161
Fresh011
Picked011
Done033
Total1606166
Error
0b
Counts
166 → 6
Alt Table
StatusErrorProgram
12.2b
(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)))
11.7b
(sqrt.f64 (expm1.f64 (log1p.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
52.9b
(/.f64 p x)
55.3b
(/.f64 p (neg.f64 x))
11.7b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
54.5b
(sqrt.f64 (fma.f64 (pow.f64 (/.f64 p x) 4) -3 (fma.f64 (/.f64 p x) (/.f64 p x) (/.f64 10 (pow.f64 (/.f64 x p) 6)))))
Compiler

Compiled 4657 to 2591 computations (44.4% saved)

regimes532.0ms (10.4%)

Accuracy

Total 7.0b remaining (99.7%)

Threshold costs 0b (0%)

Counts
96 → 2
Compiler

Compiled 9870 to 7648 computations (22.5% 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
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02053
12753
22653

end95.0ms (1.9%)

Compiler

Compiled 165 to 110 computations (33.3% saved)

Profiling

Loading profile data...