Details

Time bar (total: 4.7s)

analyze1.2s (25.4%)

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.1s (44.8%)

Results
896.0ms6239×body128valid
544.0ms870×body2048valid
268.0ms468×body1024valid
211.0ms288×body4096valid
95.0ms244×body512valid
38.0ms147×body256valid
Compiler

Compiled 75 to 54 computations (28% saved)

simplify13.0ms (0.3%)

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.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
11.6b
(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
(fma.f64 x x (*.f64 p (*.f64 4 p)))
1.0b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
16.1b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

series80.0ms (1.7%)

Counts
4 → 96
Calls

4 calls:

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

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
sqrt-prod_binary64
add-cube-cbrt_binary64
pow1_binary64
Counts
4 → 50
Calls

4 calls:

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

simplify76.0ms (1.6%)

Algorithm
egg-herbie
Rules
586×associate-/l*_binary64
524×associate-/r*_binary64
455×fma-def_binary64
304×cancel-sign-sub-inv_binary64
210×fma-neg_binary64
Counts
146 → 172
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02043011
15562866
217762773
349642773

prune126.0ms (2.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1684172
Fresh000
Picked011
Done000
Total1685173
Error
2.9b
Counts
173 → 5
Alt Table
StatusErrorProgram
11.6b
(log.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
54.3b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
58.1b
(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)))))
11.6b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
52.9b
(neg.f64 (/.f64 p x))
Compiler

Compiled 3851 to 2644 computations (31.3% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x x (*.f64 p (*.f64 4 p)))
0.8b
(log.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
1.0b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
16.1b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

series28.0ms (0.6%)

Counts
1 → 24
Calls

1 calls:

27.0ms
(log.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
log-pow_binary64
exp-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
1 → 20
Calls

1 calls:

2.0ms
(log.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))

simplify63.0ms (1.4%)

Algorithm
egg-herbie
Rules
816×times-frac_binary64
697×fma-neg_binary64
385×associate-/l*_binary64
330×associate-/r*_binary64
233×associate-*r*_binary64
Counts
44 → 61
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01241298
12971206
29381153
347201151
453031151

prune152.0ms (3.3%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1830183
Fresh033
Picked011
Done011
Total1835188
Error
2.9b
Counts
188 → 5
Alt Table
StatusErrorProgram
11.6b
(log.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
54.3b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
58.1b
(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)))))
11.6b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
52.9b
(neg.f64 (/.f64 p x))
Compiler

Compiled 4484 to 3194 computations (28.8% saved)

localize3.0ms (0.1%)

prune4.0ms (0.1%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done022
Total055
Error
2.9b
Counts
5 → 5
Alt Table
StatusErrorProgram
11.6b
(log.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
54.3b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
58.1b
(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)))))
11.6b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
52.9b
(neg.f64 (/.f64 p x))
Compiler

Compiled 136 to 94 computations (30.9% 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)
23.6b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))

series48.0ms (1%)

Counts
3 → 72
Calls

3 calls:

30.0ms
(/.f64 p (/.f64 (*.f64 x x) p))
10.0ms
(/.f64 (*.f64 x x) p)
7.0ms
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))

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

simplify134.0ms (2.9%)

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

prune57.0ms (1.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1911192
Fresh101
Picked101
Done033
Total1934197
Error
0b
Counts
197 → 4
Alt Table
StatusErrorProgram
11.6b
(log.f64 (exp.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
11.6b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
52.9b
(neg.f64 (/.f64 p x))
54.8b
(/.f64 p x)
Compiler

Compiled 2763 to 776 computations (71.9% saved)

regimes474.0ms (10.2%)

Accuracy

Total 6.9b remaining (98.9%)

Threshold costs 0b (0%)

Counts
58 → 2
Compiler

Compiled 5623 to 4431 computations (21.2% 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
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02351
13051
23451
33751
43851
53851

end68.0ms (1.5%)

Compiler

Compiled 119 to 81 computations (31.9% saved)

Profiling

Loading profile data...