Details

Time bar (total: 2.9s)

analyze56.0ms (1.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
25%74.9%0.1%3
25%74.9%0.1%4
56.2%43.7%0.1%5
65.6%34.3%0.1%6
79.6%20.3%0.1%7
83.5%16.4%0.1%8
90.1%9.8%0.1%9
91.9%8%0.1%10
95.1%4.8%0.1%11
96%4%0.1%12
97.5%2.4%0.1%13
97.9%2%0.1%14
Compiler

Compiled 12 to 8 computations (33.3% saved)

sample308.0ms (10.6%)

Algorithm
intervals
Results
8.0ms256×body128valid
Compiler

Compiled 25 to 17 computations (32% saved)

simplify271.0ms (9.4%)

Algorithm
egg-herbie
Rules
1222×fma-neg_binary64
983×fma-def_binary64
688×div-sub_binary64
423×sub-neg_binary64
412×distribute-rgt-in_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11813
23513
37413
415113
524513
664113
7112513
8215813
9272913
10303713
11299513
12304913
13306313
14356913
15355913
16355913
17355913
18355913
19355913
20365513
21370313
22378513
23359313

prune2.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 (-.f64 x y) (-.f64 2 (+.f64 x y)))
Compiler

Compiled 33 to 21 computations (36.4% saved)

localize7.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))

series17.0ms (0.6%)

Counts
1 → 24
Calls

1 calls:

17.0ms
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))

rewrite15.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity_binary64
40×add-sqr-sqrt_binary64
30×times-frac_binary64
19×distribute-lft-out--_binary64
14×add-cube-cbrt_binary64
Counts
1 → 60
Calls

1 calls:

8.0ms
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))

simplify103.0ms (3.5%)

Algorithm
egg-herbie
Rules
702×fma-def_binary64
518×times-frac_binary64
339×fma-neg_binary64
291×distribute-rgt-in_binary64
228×cancel-sign-sub-inv_binary64
Counts
84 → 109
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02242433
16352369
221152256
348532256
450452256

prune81.0ms (2.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1063109
Fresh000
Picked011
Done000
Total1064110
Error
0b
Counts
110 → 4
Alt Table
StatusErrorProgram
24.9b
(*.f64 (/.f64 (-.f64 x y) (-.f64 4 (*.f64 (+.f64 y x) (+.f64 y x)))) (+.f64 2 (+.f64 x y)))
39.9b
(fma.f64 (/.f64 x y) -2 (+.f64 1 (/.f64 2 y)))
0.1b
(/.f64 1 (/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y)))
0.0b
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))
Compiler

Compiled 2652 to 1369 computations (48.4% saved)

localize12.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y))
0.1b
(/.f64 1 (/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y)))

series38.0ms (1.3%)

Counts
2 → 48
Calls

2 calls:

20.0ms
(/.f64 1 (/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y)))
18.0ms
(/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y))

rewrite71.0ms (2.4%)

Algorithm
rewrite-expression-head
Rules
292×*-un-lft-identity_binary64
258×times-frac_binary64
214×add-sqr-sqrt_binary64
100×add-cube-cbrt_binary64
83×distribute-lft-out--_binary64
Counts
2 → 230
Calls

2 calls:

14.0ms
(/.f64 1 (/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y)))
8.0ms
(/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y))

simplify228.0ms (7.9%)

Algorithm
egg-herbie
Rules
814×times-frac_binary64
253×fma-neg_binary64
207×fma-def_binary64
179×+-commutative_binary64
143×associate--r+_binary64
Counts
278 → 300
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03387906
19687346
234447309
349987309
449647309

prune199.0ms (6.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New3000300
Fresh022
Picked011
Done011
Total3004304
Error
0b
Counts
304 → 4
Alt Table
StatusErrorProgram
24.9b
(*.f64 (/.f64 (-.f64 x y) (-.f64 4 (*.f64 (+.f64 y x) (+.f64 y x)))) (+.f64 2 (+.f64 x y)))
39.9b
(fma.f64 (/.f64 x y) -2 (+.f64 1 (/.f64 2 y)))
0.1b
(/.f64 1 (/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y)))
0.0b
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))
Compiler

Compiled 7772 to 4022 computations (48.3% saved)

localize15.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 4 (*.f64 (+.f64 y x) (+.f64 y x)))
0.0b
(*.f64 (+.f64 y x) (+.f64 y x))
0.1b
(*.f64 (/.f64 (-.f64 x y) (-.f64 4 (*.f64 (+.f64 y x) (+.f64 y x)))) (+.f64 2 (+.f64 x y)))
23.9b
(/.f64 (-.f64 x y) (-.f64 4 (*.f64 (+.f64 y x) (+.f64 y x))))

series120.0ms (4.2%)

Counts
4 → 96
Calls

4 calls:

67.0ms
(*.f64 (/.f64 (-.f64 x y) (-.f64 4 (*.f64 (+.f64 y x) (+.f64 y x)))) (+.f64 2 (+.f64 x y)))
40.0ms
(/.f64 (-.f64 x y) (-.f64 4 (*.f64 (+.f64 y x) (+.f64 y x))))
8.0ms
(-.f64 4 (*.f64 (+.f64 y x) (+.f64 y x)))
5.0ms
(*.f64 (+.f64 y x) (+.f64 y x))

rewrite51.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
69×*-un-lft-identity_binary64
69×add-sqr-sqrt_binary64
41×times-frac_binary64
32×add-cube-cbrt_binary64
30×associate-*l*_binary64
Counts
4 → 168
Calls

4 calls:

15.0ms
(*.f64 (/.f64 (-.f64 x y) (-.f64 4 (*.f64 (+.f64 y x) (+.f64 y x)))) (+.f64 2 (+.f64 x y)))
6.0ms
(*.f64 (+.f64 y x) (+.f64 y x))
6.0ms
(/.f64 (-.f64 x y) (-.f64 4 (*.f64 (+.f64 y x) (+.f64 y x))))
3.0ms
(-.f64 4 (*.f64 (+.f64 y x) (+.f64 y x)))

simplify149.0ms (5.2%)

Algorithm
egg-herbie
Rules
440×fma-def_binary64
382×distribute-rgt-in_binary64
362×distribute-lft-in_binary64
228×associate-/l*_binary64
225×times-frac_binary64
Counts
264 → 303
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
05238091
117607550
249827550

prune248.0ms (8.5%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New3030303
Fresh011
Picked011
Done022
Total3034307
Error
0b
Counts
307 → 4
Alt Table
StatusErrorProgram
24.9b
(*.f64 (/.f64 (-.f64 x y) (-.f64 4 (*.f64 (+.f64 y x) (+.f64 y x)))) (+.f64 2 (+.f64 x y)))
39.9b
(fma.f64 (/.f64 x y) -2 (+.f64 1 (/.f64 2 y)))
0.1b
(/.f64 1 (/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y)))
0.0b
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))
Compiler

Compiled 10759 to 4989 computations (53.6% saved)

localize10.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (/.f64 2 y))

series2.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

2.0ms
(+.f64 1 (/.f64 2 y))

rewrite7.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-log-exp_binary64
fma-def_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
1 → 17
Calls

1 calls:

6.0ms
(+.f64 1 (/.f64 2 y))

simplify94.0ms (3.3%)

Algorithm
egg-herbie
Rules
455×associate-+l+_binary64
433×fma-def_binary64
396×div-sub_binary64
320×associate-/l*_binary64
313×associate-+r+_binary64
Counts
29 → 30
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
033236
187216
2238215
3675215
41602215
52755215
63855215
74731215
85222215

prune26.0ms (0.9%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New30030
Fresh000
Picked011
Done033
Total30434
Error
0b
Counts
34 → 4
Alt Table
StatusErrorProgram
24.9b
(*.f64 (/.f64 (-.f64 x y) (-.f64 4 (*.f64 (+.f64 y x) (+.f64 y x)))) (+.f64 2 (+.f64 x y)))
39.9b
(fma.f64 (/.f64 x y) -2 (+.f64 1 (/.f64 2 y)))
0.1b
(/.f64 1 (/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y)))
0.0b
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))
Compiler

Compiled 506 to 351 computations (30.6% saved)

regimes161.0ms (5.5%)

Accuracy

Total 0.0b remaining (67.1%)

Threshold costs 0.0b (67.1%)

Counts
55 → 1
Compiler

Compiled 2929 to 1942 computations (33.7% saved)

simplify3.0ms (0.1%)

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
0813
11313
22413
33213
43613
53713
63713

end0.0ms (0%)

Compiler

Compiled 11 to 7 computations (36.4% saved)

sample602.0ms (20.8%)

Algorithm
intervals
Results
298.0ms8000×body128valid
Compiler

Compiled 82 to 54 computations (34.1% saved)

Profiling

Loading profile data...