Details

Time bar (total: 4.6s)

analyze1.1s (24.3%)

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)

sample93.0ms (2%)

Algorithm
intervals
Results
53.0ms194×body128valid
10.0ms21×body2048valid
6.0ms256×pre128true
5.0ms11×body4096valid
4.0ms15×body1024valid
3.0ms13×body512valid
0.0msbody256valid
Compiler

Compiled 49 to 36 computations (26.5% saved)

simplify9.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
12.9b
Counts
3 → 1
Alt Table
StatusErrorProgram
12.9b
(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)

localize10.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.5b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
12.9b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

series103.0ms (2.2%)

Counts
4 → 96
Calls

4 calls:

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

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

simplify99.0ms (2.2%)

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

prune204.0ms (4.4%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2356241
Fresh000
Picked011
Done000
Total2357242
Error
3.2b
Counts
242 → 7
Alt Table
StatusErrorProgram
54.8b
(/.f64 p (neg.f64 x))
56.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)))))
35.0b
(sqrt.f64 (+.f64 (/.f64 1/32 (pow.f64 (/.f64 p x) 3)) (fma.f64 (/.f64 x p) -1/4 1/2)))
50.6b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
53.1b
(sqrt.f64 (/.f64 (pow.f64 p 2) (pow.f64 x 2)))
12.9b
(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))))
12.9b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
Compiler

Compiled 5830 to 3930 computations (32.6% saved)

localize13.0ms (0.3%)

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
(expm1.f64 (log1p.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)))
0.5b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
12.9b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

series76.0ms (1.7%)

Counts
1 → 24
Calls

1 calls:

76.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
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 11
Calls

1 calls:

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

simplify52.0ms (1.1%)

Algorithm
egg-herbie
Rules
600×fma-neg_binary64
424×distribute-rgt-neg-in_binary64
421×distribute-lft-neg-in_binary64
358×times-frac_binary64
321×distribute-neg-frac_binary64
Counts
35 → 47
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
078800
1198735
2563717
32588699
45003699

prune203.0ms (4.4%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2371238
Fresh145
Picked011
Done011
Total2387245
Error
3.2b
Counts
245 → 7
Alt Table
StatusErrorProgram
54.8b
(/.f64 p (neg.f64 x))
56.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)))))
34.7b
(sqrt.f64 (expm1.f64 (log1p.f64 (fma.f64 (/.f64 x p) -1/4 1/2))))
50.6b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
53.1b
(sqrt.f64 (/.f64 (pow.f64 p 2) (pow.f64 x 2)))
12.9b
(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))))
12.9b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
Compiler

Compiled 5978 to 4136 computations (30.8% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
1.2b
(expm1.f64 (log1p.f64 (fma.f64 (/.f64 x p) -1/4 1/2)))
1.5b
(sqrt.f64 (expm1.f64 (log1p.f64 (fma.f64 (/.f64 x p) -1/4 1/2))))
1.5b
(log1p.f64 (fma.f64 (/.f64 x p) -1/4 1/2))

series43.0ms (0.9%)

Counts
3 → 60
Calls

3 calls:

25.0ms
(sqrt.f64 (expm1.f64 (log1p.f64 (fma.f64 (/.f64 x p) -1/4 1/2))))
11.0ms
(log1p.f64 (fma.f64 (/.f64 x p) -1/4 1/2))
6.0ms
(expm1.f64 (log1p.f64 (fma.f64 (/.f64 x p) -1/4 1/2)))

rewrite3.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
pow1_binary64
expm1-log1p-u_binary64
Counts
3 → 37
Calls

3 calls:

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

simplify68.0ms (1.5%)

Algorithm
egg-herbie
Rules
508×times-frac_binary64
298×associate-/l*_binary64
254×associate-/r*_binary64
245×fma-neg_binary64
242×fma-def_binary64
Counts
97 → 95
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01331622
13291518
211041451
347551449
449471449

prune61.0ms (1.3%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New95095
Fresh044
Picked011
Done022
Total957102
Error
3.2b
Counts
102 → 7
Alt Table
StatusErrorProgram
54.8b
(/.f64 p (neg.f64 x))
56.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)))))
34.7b
(sqrt.f64 (expm1.f64 (log1p.f64 (fma.f64 (/.f64 x p) -1/4 1/2))))
50.6b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
53.1b
(sqrt.f64 (/.f64 (pow.f64 p 2) (pow.f64 x 2)))
12.9b
(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))))
12.9b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
Compiler

Compiled 1741 to 1202 computations (31% 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)
22.7b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))

series50.0ms (1.1%)

Counts
3 → 72
Calls

3 calls:

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

rewrite22.0ms (0.5%)

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:

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

simplify140.0ms (3%)

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

prune56.0ms (1.2%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1911192
Fresh213
Picked101
Done033
Total1945199
Error
0b
Counts
199 → 5
Alt Table
StatusErrorProgram
34.7b
(sqrt.f64 (expm1.f64 (log1p.f64 (fma.f64 (/.f64 x p) -1/4 1/2))))
54.8b
(/.f64 p (neg.f64 x))
12.9b
(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))))
51.0b
(/.f64 p x)
12.9b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
Compiler

Compiled 2774 to 785 computations (71.7% saved)

regimes440.0ms (9.6%)

Accuracy

Total 5.8b remaining (98.7%)

Threshold costs 0b (0%)

Counts
54 → 2
Compiler

Compiled 5480 to 4259 computations (22.3% saved)

bsearch1.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
02261
12961
22861

end1.0ms (0%)

Compiler

Compiled 42 to 26 computations (38.1% saved)

sample1.7s (37.1%)

Algorithm
intervals
Results
447.0ms6026×body128valid
293.0ms805×body2048valid
195.0ms8000×pre128true
151.0ms533×body1024valid
112.0ms261×body4096valid
58.0ms265×body512valid
15.0ms110×body256valid
Compiler

Compiled 130 to 90 computations (30.8% saved)

Profiling

Loading profile data...