Details

Time bar (total: 1.5s)

analyze120.0ms (8.2%)

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%50%12.6%6
43.7%40.6%15.7%7
56.2%23.4%20.4%8
57.8%21.1%21.2%9
64%12.5%23.5%10
64.8%10.7%24.5%11
67.9%6.4%25.7%12
68.3%5.4%26.3%13
69.9%3.3%26.9%14
Compiler

Compiled 12 to 8 computations (33.3% saved)

sample18.0ms (1.2%)

Algorithm
intervals
Results
8.0ms256×body128valid
0.0msbody128invalid
Compiler

Compiled 25 to 17 computations (32% saved)

simplify25.0ms (1.7%)

Algorithm
egg-herbie
Rules
71×distribute-rgt-in_binary64
70×associate-*l*_binary64
69×cancel-sign-sub-inv_binary64
67×associate-*r*_binary64
50×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11710
23910
38010
412710
516910
628610
735010
843010
941710
1036410

prune3.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 49 to 32 computations (34.7% saved)

localize4.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

rewrite46.0ms (3.2%)

Algorithm
rewrite-expression-head
Error
0b
Rules
20×distribute-lft-in_binary64
20×distribute-rgt-in_binary64
18×cancel-sign-sub-inv_binary64
15×add-sqr-sqrt_binary64
13×*-un-lft-identity_binary64
Counts
2 → 66
Calls

2 calls:

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

Compiled 866 to 346 computations (60% saved)

series37.0ms (2.5%)

Error
0.0b
Counts
2 → 24
Calls

2 calls:

18.0ms
(*.f64 2 (*.f64 x (-.f64 x y)))
16.0ms
(*.f64 x (-.f64 x y))
Compiler

Compiled 417 to 313 computations (24.9% saved)

simplify80.0ms (5.5%)

Algorithm
egg-herbie
Rules
419×distribute-rgt-neg-out_binary64
408×distribute-lft-neg-out_binary64
347×exp-prod_binary64
305×*-commutative_binary64
293×unsub-neg_binary64
Counts
90 → 75
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01131065
1249930
2762930
31911930
44806930
54980930

prune18.0ms (1.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New73275
Fresh011
Picked101
Done000
Total74377
Error
0b
Counts
77 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
0.0b
(*.f64 x (*.f64 2 (-.f64 x y)))
0.8b
(*.f64 (sqrt.f64 2) (*.f64 x (*.f64 (-.f64 x y) (sqrt.f64 2))))
Compiler

Compiled 361 to 194 computations (46.3% saved)

localize4.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

rewrite31.0ms (2.1%)

Algorithm
rewrite-expression-head
Error
0b
Rules
16×distribute-lft-in_binary64
16×distribute-rgt-in_binary64
12×cancel-sign-sub-inv_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
Counts
1 → 36
Calls

1 calls:

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

Compiled 495 to 260 computations (47.5% saved)

series19.0ms (1.3%)

Error
0b
Counts
1 → 12
Calls

1 calls:

18.0ms
(*.f64 x (*.f64 2 (-.f64 x y)))
Compiler

Compiled 221 to 169 computations (23.5% saved)

simplify63.0ms (4.3%)

Algorithm
egg-herbie
Rules
827×neg-mul-1_binary64
402×distribute-rgt-neg-out_binary64
397×distribute-lft-neg-out_binary64
283×*-commutative_binary64
268×exp-prod_binary64
Counts
48 → 36
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
097646
1215565
2619565
31667565
44235565
55487565

prune8.0ms (0.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New36036
Fresh022
Picked011
Done000
Total36339
Error
0b
Counts
39 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
0.0b
(*.f64 x (*.f64 2 (-.f64 x y)))
0.8b
(*.f64 (sqrt.f64 2) (*.f64 x (*.f64 (-.f64 x y) (sqrt.f64 2))))
Compiler

Compiled 157 to 91 computations (42% saved)

localize5.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

rewrite25.0ms (1.7%)

Algorithm
rewrite-expression-head
Error
0b
Rules
add-sqr-sqrt_binary64
associate-*r*_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 38
Calls

2 calls:

5.0ms
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
3.0ms
(-.f64 (*.f64 x x) (*.f64 x y))
Compiler

Compiled 625 to 194 computations (69% saved)

series38.0ms (2.6%)

Error
0b
Counts
2 → 24
Calls

2 calls:

20.0ms
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
16.0ms
(-.f64 (*.f64 x x) (*.f64 x y))
Compiler

Compiled 417 to 313 computations (24.9% saved)

simplify72.0ms (4.9%)

Algorithm
egg-herbie
Rules
497×associate-*l*_binary64
428×associate-*r*_binary64
273×times-frac_binary64
177×distribute-lft-neg-out_binary64
177×distribute-rgt-neg-out_binary64
Counts
62 → 56
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
075719
1180656
2526656
32153656
44429656
55100656

prune14.0ms (0.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New56056
Fresh011
Picked011
Done011
Total56359
Error
0b
Counts
59 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
0.0b
(*.f64 x (*.f64 2 (-.f64 x y)))
0.8b
(*.f64 (sqrt.f64 2) (*.f64 x (*.f64 (-.f64 x y) (sqrt.f64 2))))
Compiler

Compiled 454 to 211 computations (53.5% saved)

localize6.0ms (0.4%)

Local error

Found 3 expressions with local error:

0.2b
(*.f64 x (*.f64 (-.f64 x y) (sqrt.f64 2)))
0.4b
(*.f64 (sqrt.f64 2) (*.f64 x (*.f64 (-.f64 x y) (sqrt.f64 2))))
0.5b
(*.f64 (-.f64 x y) (sqrt.f64 2))

rewrite65.0ms (4.5%)

Algorithm
rewrite-expression-head
Error
0b
Rules
19×add-cbrt-cube_binary64
19×add-exp-log_binary64
19×pow1_binary64
15×add-sqr-sqrt_binary64
14×associate-*l*_binary64
Counts
3 → 72
Calls

3 calls:

9.0ms
(*.f64 (sqrt.f64 2) (*.f64 x (*.f64 (-.f64 x y) (sqrt.f64 2))))
7.0ms
(*.f64 (-.f64 x y) (sqrt.f64 2))
6.0ms
(*.f64 x (*.f64 (-.f64 x y) (sqrt.f64 2)))
Compiler

Compiled 1154 to 731 computations (36.7% saved)

series84.0ms (5.8%)

Error
0b
Counts
3 → 36
Calls

3 calls:

36.0ms
(*.f64 (sqrt.f64 2) (*.f64 x (*.f64 (-.f64 x y) (sqrt.f64 2))))
22.0ms
(*.f64 x (*.f64 (-.f64 x y) (sqrt.f64 2)))
20.0ms
(*.f64 (-.f64 x y) (sqrt.f64 2))
Compiler

Compiled 953 to 796 computations (16.5% saved)

simplify90.0ms (6.2%)

Algorithm
egg-herbie
Rules
439×*-commutative_binary64
304×distribute-rgt-in_binary64
299×distribute-lft-in_binary64
245×unswap-sqr_binary64
213×associate-*r*_binary64
Counts
108 → 89
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01081728
12741409
29051265
323161257
447871257
549961257

prune25.0ms (1.7%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New89089
Fresh000
Picked011
Done022
Total89392
Error
0b
Counts
92 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
0.0b
(*.f64 x (*.f64 2 (-.f64 x y)))
0.8b
(*.f64 (sqrt.f64 2) (*.f64 x (*.f64 (-.f64 x y) (sqrt.f64 2))))
Compiler

Compiled 737 to 428 computations (41.9% saved)

regimes55.0ms (3.8%)

Accuracy

Total 0.0b remaining (92.8%)

Threshold costs 0.0b (92.8%)

Compiler

Compiled 616 to 400 computations (35.1% saved)

simplify3.0ms (0.2%)

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
0710
11110
21610
31810
41910
51910

end0.0ms (0%)

Compiler

Compiled 9 to 6 computations (33.3% saved)

sample499.0ms (34.3%)

Algorithm
intervals
Results
260.0ms8000×body128valid
5.0ms177×body128invalid
Compiler

Compiled 56 to 39 computations (30.4% saved)

Profiling

Loading profile data...