Details

Time bar (total: 6.8s)

analyze199.0ms (2.9%)

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)

sample1.5s (22.2%)

Results
1.4s8256×body128valid
33.0ms166×body128invalid
Compiler

Compiled 35 to 23 computations (34.3% saved)

simplify43.0ms (0.6%)

Algorithm
egg-herbie
Rules
388×fma-def_binary64
286×fma-neg_binary64
71×distribute-rgt-in_binary64
70×associate-*l*_binary64
69×cancel-sign-sub-inv_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11810
24010
38810
415410
521710
638610
751110
865710
972710
1077710
1172410

prune5.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 58 to 37 computations (36.2% saved)

localize10.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series26.0ms (0.4%)

Counts
2 → 48
Calls

2 calls:

17.0ms
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
9.0ms
(-.f64 (*.f64 x x) (*.f64 x y))

rewrite19.0ms (0.3%)

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

2 calls:

10.0ms
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
5.0ms
(-.f64 (*.f64 x x) (*.f64 x y))

simplify119.0ms (1.8%)

Algorithm
egg-herbie
Rules
522×fma-neg_binary64
500×associate-*l*_binary64
430×associate-*r*_binary64
208×fma-def_binary64
177×distribute-rgt-neg-out_binary64
Counts
94 → 87
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0871026
1193954
2582936
32421936
44654936
54890936

prune79.0ms (1.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New85287
Fresh101
Picked011
Done000
Total86389
Error
0.0b
Counts
89 → 3
Alt Table
StatusErrorProgram
1.2b
(*.f64 (*.f64 (cbrt.f64 (*.f64 x (*.f64 2 (-.f64 x y)))) (cbrt.f64 (*.f64 x (*.f64 2 (-.f64 x y))))) (cbrt.f64 (*.f64 x (*.f64 2 (-.f64 x y)))))
0.0b
(*.f64 x (*.f64 2 (-.f64 x y)))
0.0b
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
Compiler

Compiled 1326 to 499 computations (62.4% saved)

localize11.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series13.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

13.0ms
(*.f64 x (*.f64 2 (-.f64 x y)))

rewrite30.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
52×distribute-lft-in_binary64
52×distribute-rgt-in_binary64
36×prod-diff_binary64
30×*-un-lft-identity_binary64
30×add-sqr-sqrt_binary64
Counts
1 → 74
Calls

1 calls:

15.0ms
(*.f64 x (*.f64 2 (-.f64 x y)))

simplify174.0ms (2.6%)

Algorithm
egg-herbie
Rules
510×fma-neg_binary64
381×*-commutative_binary64
334×exp-prod_binary64
295×distribute-lft-neg-out_binary64
290×distribute-rgt-neg-out_binary64
Counts
98 → 84
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01911726
12601429
27901213
321921105
445661105
548911105

prune88.0ms (1.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New83184
Fresh101
Picked011
Done011
Total84387
Error
0.0b
Counts
87 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 x (*.f64 2 (-.f64 x y)))
36.0b
(/.f64 (*.f64 x (*.f64 2 (-.f64 (pow.f64 x 3) (pow.f64 y 3)))) (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 x y))))
0.0b
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
Compiler

Compiled 1866 to 751 computations (59.8% saved)

localize29.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 y y) (*.f64 x y))
0.2b
(-.f64 (pow.f64 x 3) (pow.f64 y 3))
2.4b
(*.f64 x (*.f64 2 (-.f64 (pow.f64 x 3) (pow.f64 y 3))))
32.9b
(/.f64 (*.f64 x (*.f64 2 (-.f64 (pow.f64 x 3) (pow.f64 y 3)))) (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 x y))))

series106.0ms (1.6%)

Counts
4 → 78
Calls

4 calls:

52.0ms
(/.f64 (*.f64 x (*.f64 2 (-.f64 (pow.f64 x 3) (pow.f64 y 3)))) (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 x y))))
26.0ms
(*.f64 x (*.f64 2 (-.f64 (pow.f64 x 3) (pow.f64 y 3))))
20.0ms
(-.f64 (pow.f64 x 3) (pow.f64 y 3))
8.0ms
(+.f64 (*.f64 y y) (*.f64 x y))

rewrite465.0ms (6.9%)

Algorithm
rewrite-expression-head
Rules
720×prod-diff_binary64
628×distribute-lft-in_binary64
628×distribute-rgt-in_binary64
409×add-sqr-sqrt_binary64
395×*-un-lft-identity_binary64
Counts
4 → 897
Calls

4 calls:

74.0ms
(/.f64 (*.f64 x (*.f64 2 (-.f64 (pow.f64 x 3) (pow.f64 y 3)))) (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 x y))))
67.0ms
(*.f64 x (*.f64 2 (-.f64 (pow.f64 x 3) (pow.f64 y 3))))
25.0ms
(-.f64 (pow.f64 x 3) (pow.f64 y 3))
6.0ms
(+.f64 (*.f64 y y) (*.f64 x y))

simplify1.3s (18.7%)

Algorithm
egg-herbie
Rules
655×associate-*r*_binary64
638×associate-*l*_binary64
581×fma-neg_binary64
444×*-commutative_binary64
209×exp-prod_binary64
Counts
975 → 615
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
079527135
176323100
2360723036
3470423036
4495123036

prune1.1s (15.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New6141615
Fresh000
Picked011
Done112
Total6153618
Error
0b
Counts
618 → 3
Alt Table
StatusErrorProgram
31.4b
(*.f64 (/.f64 x (sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)))) (/.f64 (*.f64 2 (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)))))
36.0b
(/.f64 (*.f64 x (*.f64 2 (-.f64 (pow.f64 x 3) (pow.f64 y 3)))) (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 x y))))
0.0b
(*.f64 x (*.f64 2 (-.f64 x y)))
Compiler

Compiled 29552 to 15198 computations (48.6% saved)

localize27.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(-.f64 (pow.f64 x 3) (pow.f64 y 3))
14.2b
(/.f64 (*.f64 2 (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x))))
14.7b
(*.f64 (/.f64 x (sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)))) (/.f64 (*.f64 2 (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)))))
14.8b
(sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)))

series97.0ms (1.4%)

Counts
3 → 72
Calls

3 calls:

61.0ms
(*.f64 (/.f64 x (sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)))) (/.f64 (*.f64 2 (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)))))
23.0ms
(/.f64 (*.f64 2 (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x))))
13.0ms
(sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)))

rewrite120.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt_binary64
32×times-frac_binary64
29×add-cbrt-cube_binary64
29×add-exp-log_binary64
24×*-un-lft-identity_binary64
Counts
3 → 107
Calls

3 calls:

50.0ms
(/.f64 (*.f64 2 (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x))))
39.0ms
(*.f64 (/.f64 x (sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)))) (/.f64 (*.f64 2 (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)))))
2.0ms
(sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)))

simplify223.0ms (3.3%)

Algorithm
egg-herbie
Rules
668×times-frac_binary64
455×fma-def_binary64
334×distribute-rgt-in_binary64
173×associate-*r/_binary64
166×associate-/l*_binary64
Counts
179 → 232
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02196034
16514683
222724633
350684633

prune563.0ms (8.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New4200420
Fresh000
Picked011
Done022
Total4203423
Error
0b
Counts
423 → 3
Alt Table
StatusErrorProgram
31.4b
(*.f64 (/.f64 x (sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)))) (/.f64 (*.f64 2 (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (sqrt.f64 (fma.f64 y (+.f64 y x) (*.f64 x x)))))
36.0b
(/.f64 (*.f64 x (*.f64 2 (-.f64 (pow.f64 x 3) (pow.f64 y 3)))) (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 x y))))
0.0b
(*.f64 x (*.f64 2 (-.f64 x y)))
Compiler

Compiled 18152 to 6836 computations (62.3% saved)

regimes374.0ms (5.5%)

Accuracy

Total 0.0b remaining (25.8%)

Threshold costs 0.0b (25.8%)

Counts
43 → 1
Compiler

Compiled 3938 to 2442 computations (38% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
distribute-lft-neg-in_binary64
distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
11816
22616
33616
44316
54816
65016
74916

end115.0ms (1.7%)

Compiler

Compiled 93 to 58 computations (37.6% saved)

Profiling

Loading profile data...