Details

Time bar (total: 6.7s)

analyze55.0ms (0.8%)

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)

sample1.0s (15.5%)

Results
740.0ms8254×body128valid
0.0msbody1024valid
0.0msbody512valid
Compiler

Compiled 35 to 23 computations (34.3% saved)

simplify265.0ms (3.9%)

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

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)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series17.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

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

rewrite12.0ms (0.2%)

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:

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

simplify89.0ms (1.3%)

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

prune93.0ms (1.4%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1054109
Fresh000
Picked101
Done000
Total1064110
Error
0b
Counts
110 → 4
Alt Table
StatusErrorProgram
0.1b
(/.f64 1 (/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y)))
27.9b
(-.f64 (fma.f64 (/.f64 (*.f64 y y) (pow.f64 (-.f64 2 x) 3)) x (*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 x (-.f64 2 x)))) (*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 y (-.f64 2 x))))
42.2b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (-.f64 x y) (-.f64 x y)) (-.f64 x y)) (*.f64 (*.f64 (-.f64 2 (+.f64 x y)) (-.f64 2 (+.f64 x y))) (-.f64 2 (+.f64 x y)))))
0.4b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))) (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y))))) (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))))
Compiler

Compiled 2787 to 1444 computations (48.2% saved)

localize6.0ms (0.1%)

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

series30.0ms (0.4%)

Counts
2 → 48
Calls

2 calls:

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

rewrite54.0ms (0.8%)

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:

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

simplify194.0ms (2.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

prune247.0ms (3.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3000300
Fresh033
Picked011
Done000
Total3004304
Error
0b
Counts
304 → 4
Alt Table
StatusErrorProgram
0.1b
(/.f64 1 (/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y)))
27.9b
(-.f64 (fma.f64 (/.f64 (*.f64 y y) (pow.f64 (-.f64 2 x) 3)) x (*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 x (-.f64 2 x)))) (*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 y (-.f64 2 x))))
42.2b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (-.f64 x y) (-.f64 x y)) (-.f64 x y)) (*.f64 (*.f64 (-.f64 2 (+.f64 x y)) (-.f64 2 (+.f64 x y))) (-.f64 2 (+.f64 x y)))))
0.4b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))) (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y))))) (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))))
Compiler

Compiled 7907 to 4097 computations (48.2% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series698.0ms (10.4%)

Counts
3 → 72
Calls

3 calls:

552.0ms
(*.f64 (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))) (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))))
127.0ms
(cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y))))
18.0ms
(*.f64 (*.f64 (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))) (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y))))) (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))))

rewrite160.0ms (2.4%)

Algorithm
rewrite-expression-head
Rules
602×*-un-lft-identity_binary64
338×cbrt-prod_binary64
295×times-frac_binary64
288×add-sqr-sqrt_binary64
196×distribute-lft-out--_binary64
Counts
3 → 329
Calls

3 calls:

37.0ms
(*.f64 (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))) (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))))
33.0ms
(*.f64 (*.f64 (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))) (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y))))) (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))))
7.0ms
(cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y))))

simplify254.0ms (3.8%)

Algorithm
egg-herbie
Rules
588×*-commutative_binary64
403×+-commutative_binary64
354×fma-def_binary64
330×associate-+r+_binary64
206×associate-*r*_binary64
Counts
401 → 444
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0170822927
1520022927

prune1.5s (22.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New9690969
Fresh022
Picked011
Done011
Total9694973
Error
0b
Counts
973 → 4
Alt Table
StatusErrorProgram
0.1b
(/.f64 1 (/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y)))
27.9b
(-.f64 (fma.f64 (/.f64 (*.f64 y y) (pow.f64 (-.f64 2 x) 3)) x (*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 x (-.f64 2 x)))) (*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 y (-.f64 2 x))))
42.2b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (-.f64 x y) (-.f64 x y)) (-.f64 x y)) (*.f64 (*.f64 (-.f64 2 (+.f64 x y)) (-.f64 2 (+.f64 x y))) (-.f64 2 (+.f64 x y)))))
0.4b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))) (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y))))) (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))))
Compiler

Compiled 60877 to 34830 computations (42.8% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 y (-.f64 2 x)))
2.8b
(-.f64 (fma.f64 (/.f64 (*.f64 y y) (pow.f64 (-.f64 2 x) 3)) x (*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 x (-.f64 2 x)))) (*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 y (-.f64 2 x))))
4.5b
(fma.f64 (/.f64 (*.f64 y y) (pow.f64 (-.f64 2 x) 3)) x (*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 x (-.f64 2 x))))
6.6b
(/.f64 (*.f64 y y) (pow.f64 (-.f64 2 x) 3))

series130.0ms (1.9%)

Counts
4 → 96
Calls

4 calls:

41.0ms
(-.f64 (fma.f64 (/.f64 (*.f64 y y) (pow.f64 (-.f64 2 x) 3)) x (*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 x (-.f64 2 x)))) (*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 y (-.f64 2 x))))
40.0ms
(/.f64 (*.f64 y y) (pow.f64 (-.f64 2 x) 3))
28.0ms
(fma.f64 (/.f64 (*.f64 y y) (pow.f64 (-.f64 2 x) 3)) x (*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 x (-.f64 2 x))))
20.0ms
(*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 y (-.f64 2 x)))

rewrite41.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt_binary64
38×*-un-lft-identity_binary64
32×times-frac_binary64
22×add-cube-cbrt_binary64
22×add-exp-log_binary64
Counts
4 → 133
Calls

4 calls:

18.0ms
(*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 y (-.f64 2 x)))
8.0ms
(/.f64 (*.f64 y y) (pow.f64 (-.f64 2 x) 3))
5.0ms
(-.f64 (fma.f64 (/.f64 (*.f64 y y) (pow.f64 (-.f64 2 x) 3)) x (*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 x (-.f64 2 x)))) (*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 y (-.f64 2 x))))
0.0ms
(fma.f64 (/.f64 (*.f64 y y) (pow.f64 (-.f64 2 x) 3)) x (*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 x (-.f64 2 x))))

simplify109.0ms (1.6%)

Algorithm
egg-herbie
Rules
372×fma-def_binary64
281×associate-+r+_binary64
220×associate-*r*_binary64
207×associate-*l*_binary64
202×associate-+l+_binary64
Counts
229 → 269
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04307282
112306541
249736541

prune342.0ms (5.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2690269
Fresh011
Picked011
Done022
Total2694273
Error
0b
Counts
273 → 4
Alt Table
StatusErrorProgram
0.1b
(/.f64 1 (/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y)))
27.9b
(-.f64 (fma.f64 (/.f64 (*.f64 y y) (pow.f64 (-.f64 2 x) 3)) x (*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 x (-.f64 2 x)))) (*.f64 (+.f64 (/.f64 y (-.f64 2 x)) 1) (/.f64 y (-.f64 2 x))))
42.2b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (-.f64 x y) (-.f64 x y)) (-.f64 x y)) (*.f64 (*.f64 (-.f64 2 (+.f64 x y)) (-.f64 2 (+.f64 x y))) (-.f64 2 (+.f64 x y)))))
0.4b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))) (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y))))) (cbrt.f64 (/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))))
Compiler

Compiled 13280 to 8850 computations (33.4% saved)

regimes1.3s (19.1%)

Accuracy

Total 0.0b remaining (25.8%)

Threshold costs 0.0b (25.8%)

Counts
344 → 1
Compiler

Compiled 27844 to 17549 computations (37% saved)

simplify3.0ms (0%)

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
0922
11422
22722
33722
44322
54522
64522

end78.0ms (1.2%)

Compiler

Compiled 153 to 91 computations (40.5% saved)

Profiling

Loading profile data...