Details

Time bar (total: 1.3s)

analyze100.0ms (8%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
37.5%62.4%0.1%6
37.5%40.6%22%7
43.7%32.8%23.5%8
54.6%21.1%24.3%9
58.5%16.8%24.7%10
64.4%10.7%24.9%11
66.5%8.5%25%12
69.6%5.4%25%13
70.7%4.3%25%14
Compiler

Compiled 8 to 5 computations (37.5% saved)

sample739.0ms (58.7%)

Results
661.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 23 to 14 computations (39.1% saved)

simplify12.0ms (1%)

Algorithm
egg-herbie
Rules
65×fma-def_binary64
44×fma-neg_binary64
21×cancel-sign-sub-inv_binary64
15×sub-neg_binary64
11×neg-mul-1_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
1107
2177
3287
4417
5647
6917
71187
81417
91517
101637
111677
121487

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(-.f64 x (*.f64 y y))
Compiler

Compiled 21 to 12 computations (42.9% saved)

localize3.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(-.f64 x (*.f64 y y))

series6.0ms (0.5%)

Counts
1 → 24
Calls

1 calls:

6.0ms
(-.f64 x (*.f64 y y))

rewrite3.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
add-log-exp_binary64
fma-neg_binary64
*-un-lft-identity_binary64
prod-diff_binary64
Counts
1 → 21
Calls

1 calls:

2.0ms
(-.f64 x (*.f64 y y))

simplify73.0ms (5.8%)

Algorithm
egg-herbie
Rules
480×fma-def_binary64
363×unswap-sqr_binary64
357×unsub-neg_binary64
272×times-frac_binary64
246×*-commutative_binary64
Counts
45 → 31
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
046410
1103373
2230354
3791352
42076352
53656352
64833352
74799352

prune46.0ms (3.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New30131
Fresh000
Picked011
Done000
Total30232
Error
0b
Counts
32 → 2
Alt Table
StatusErrorProgram
35.4b
(*.f64 (+.f64 (sqrt.f64 x) y) (-.f64 (sqrt.f64 x) y))
0.0b
(-.f64 x (*.f64 y y))
Compiler

Compiled 350 to 107 computations (69.4% saved)

localize5.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (sqrt.f64 x) y)
0.0b
(+.f64 (sqrt.f64 x) y)
0.1b
(*.f64 (+.f64 (sqrt.f64 x) y) (-.f64 (sqrt.f64 x) y))

series35.0ms (2.8%)

Counts
3 → 30
Calls

3 calls:

20.0ms
(*.f64 (+.f64 (sqrt.f64 x) y) (-.f64 (sqrt.f64 x) y))
8.0ms
(+.f64 (sqrt.f64 x) y)
7.0ms
(-.f64 (sqrt.f64 x) y)

rewrite30.0ms (2.4%)

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt_binary64
56×*-un-lft-identity_binary64
54×prod-diff_binary64
48×add-cube-cbrt_binary64
35×sqrt-prod_binary64
Counts
3 → 139
Calls

3 calls:

11.0ms
(*.f64 (+.f64 (sqrt.f64 x) y) (-.f64 (sqrt.f64 x) y))
4.0ms
(-.f64 (sqrt.f64 x) y)
3.0ms
(+.f64 (sqrt.f64 x) y)

simplify97.0ms (7.7%)

Algorithm
egg-herbie
Rules
861×distribute-rgt-in_binary64
817×distribute-lft-in_binary64
705×fma-def_binary64
152×associate-*l*_binary64
146×associate-*r*_binary64
Counts
169 → 172
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01612321
13182137
212051887
349761887
449521887

prune49.0ms (3.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1720172
Fresh000
Picked011
Done011
Total1722174
Error
0b
Counts
174 → 2
Alt Table
StatusErrorProgram
35.4b
(*.f64 (+.f64 (sqrt.f64 x) y) (-.f64 (sqrt.f64 x) y))
0.0b
(-.f64 x (*.f64 y y))
Compiler

Compiled 3609 to 709 computations (80.4% saved)

regimes23.0ms (1.8%)

Accuracy

Total 0.0b remaining (31.8%)

Threshold costs 0.0b (31.8%)

Counts
4 → 1
Compiler

Compiled 144 to 86 computations (40.3% saved)

simplify3.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
057
1107
2177
3217
4237
5237

end32.0ms (2.6%)

Compiler

Compiled 32 to 18 computations (43.8% saved)

Profiling

Loading profile data...