Details

Time bar (total: 1.9s)

analyze135.0ms (7.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
25%62.4%12.6%6
25%46.8%28.2%7
31.2%35.9%32.9%8
39%25%36%9
42.9%18.7%38.3%10
47.2%12.9%39.9%11
49.4%9.6%41.1%12
51.6%6.5%41.9%13
52.7%4.8%42.4%14
Compiler

Compiled 16 to 10 computations (37.5% saved)

sample861.0ms (46.3%)

Symmetry

(sort x y)

Results
810.0ms8256×body128valid
17.0ms191×body128invalid
Compiler

Compiled 47 to 29 computations (38.3% saved)

simplify9.0ms (0.5%)

Algorithm
egg-herbie
Rules
33×fma-def_binary64
*-commutative_binary64
+-commutative_binary64
associate-+r+_binary64
associate-+l+_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01017
11914
24512
36812
47012
57012

prune3.0ms (0.2%)

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
(fma.f64 x (fma.f64 2 y x) (*.f64 y y))
0.0b
(+.f64 (+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y)) (*.f64 y y))
Compiler

Compiled 76 to 42 computations (44.7% saved)

localize8.0ms (0.5%)

Local error

Found 2 expressions with local error:

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

series46.0ms (2.5%)

Counts
2 → 48
Calls

2 calls:

40.0ms
(+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y))
6.0ms
(+.f64 (+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y)) (*.f64 y y))

rewrite11.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64
sum-log_binary64
fma-def_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
Counts
2 → 32
Calls

2 calls:

5.0ms
(+.f64 (+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y)) (*.f64 y y))
4.0ms
(+.f64 (*.f64 x x) (*.f64 (*.f64 x 2) y))

simplify80.0ms (4.3%)

Algorithm
egg-herbie
Rules
910×fma-neg_binary64
565×associate-*l*_binary64
455×associate-*r*_binary64
449×fma-def_binary64
360×unswap-sqr_binary64
Counts
80 → 62
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0631146
1222922
2730836
33350836
44931836
55210836

prune48.0ms (2.6%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New59362
Fresh101
Picked101
Done000
Total61364
Error
0b
Counts
64 → 3
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 x x (*.f64 (*.f64 x 2) y)) (*.f64 y y))
0.0b
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
1.2b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 y (fma.f64 2 x y) (*.f64 x x))) (cbrt.f64 (fma.f64 y (fma.f64 2 x y) (*.f64 x x)))) (cbrt.f64 (fma.f64 y (fma.f64 2 x y) (*.f64 x x))))
Compiler

Compiled 1288 to 621 computations (51.8% saved)

localize7.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
0.0b
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
0.0b
(*.f64 2 (*.f64 y x))

series18.0ms (0.9%)

Counts
3 → 18
Calls

3 calls:

6.0ms
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
6.0ms
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
5.0ms
(*.f64 2 (*.f64 y x))

rewrite22.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64
10×add-log-exp_binary64
fma-def_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
3 → 59
Calls

3 calls:

8.0ms
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
5.0ms
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
4.0ms
(*.f64 2 (*.f64 y x))

simplify58.0ms (3.1%)

Algorithm
egg-herbie
Rules
662×fma-neg_binary64
651×associate-*l*_binary64
513×associate-*r*_binary64
471×fma-def_binary64
319×distribute-rgt-neg-in_binary64
Counts
77 → 95
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
088905
1248787
2837728
33406728
45028728

prune68.0ms (3.7%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New94195
Fresh112
Picked101
Done000
Total96298
Error
0b
Counts
98 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (*.f64 2 (*.f64 y x)) (fma.f64 y y (pow.f64 x 2)))
0.0b
(+.f64 (fma.f64 x x (*.f64 (*.f64 x 2) y)) (*.f64 y y))
Compiler

Compiled 1826 to 1103 computations (39.6% saved)

localize7.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 2 (*.f64 y x)) (fma.f64 y y (pow.f64 x 2)))
0.0b
(*.f64 2 (*.f64 y x))

series16.0ms (0.9%)

Counts
1 → 24
Calls

1 calls:

16.0ms
(+.f64 (*.f64 2 (*.f64 y x)) (fma.f64 y y (pow.f64 x 2)))

rewrite5.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64
+-commutative_binary64
associate-+r+_binary64
fma-udef_binary64
flip-+_binary64
Counts
1 → 15
Calls

1 calls:

4.0ms
(+.f64 (*.f64 2 (*.f64 y x)) (fma.f64 y y (pow.f64 x 2)))

simplify68.0ms (3.6%)

Algorithm
egg-herbie
Rules
525×cancel-sign-sub-inv_binary64
352×associate-*l*_binary64
324×distribute-rgt-out_binary64
304×associate-*r*_binary64
304×fma-neg_binary64
Counts
39 → 35
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
039617
1121579
2451493
32265493
44677493
54957493

prune38.0ms (2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New63063
Fresh011
Picked011
Done000
Total63265
Error
0b
Counts
65 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (*.f64 2 (*.f64 y x)) (fma.f64 y y (pow.f64 x 2)))
0.0b
(+.f64 (fma.f64 x x (*.f64 (*.f64 x 2) y)) (*.f64 y y))
Compiler

Compiled 1116 to 610 computations (45.3% saved)

localize7.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x x (*.f64 (*.f64 x 2) y))
0.0b
(+.f64 (fma.f64 x x (*.f64 (*.f64 x 2) y)) (*.f64 y y))

series15.0ms (0.8%)

Counts
2 → 48
Calls

2 calls:

9.0ms
(fma.f64 x x (*.f64 (*.f64 x 2) y))
6.0ms
(+.f64 (fma.f64 x x (*.f64 (*.f64 x 2) y)) (*.f64 y y))

rewrite3.0ms (0.2%)

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

2 calls:

2.0ms
(+.f64 (fma.f64 x x (*.f64 (*.f64 x 2) y)) (*.f64 y y))
0.0ms
(fma.f64 x x (*.f64 (*.f64 x 2) y))

simplify99.0ms (5.3%)

Algorithm
egg-herbie
Rules
550×associate-+l+_binary64
523×associate-+r+_binary64
400×unswap-sqr_binary64
345×*-commutative_binary64
254×distribute-rgt-neg-in_binary64
Counts
75 → 55
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0491043
1134880
2325750
31344750
43493750
54922750
64992750
74819750

prune31.0ms (1.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New55055
Fresh000
Picked011
Done011
Total55257
Error
0b
Counts
57 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (*.f64 2 (*.f64 y x)) (fma.f64 y y (pow.f64 x 2)))
0.0b
(+.f64 (fma.f64 x x (*.f64 (*.f64 x 2) y)) (*.f64 y y))
Compiler

Compiled 966 to 481 computations (50.2% saved)

regimes136.0ms (7.3%)

Accuracy

Total 0.0b remaining (48.1%)

Threshold costs 0.0b (48.1%)

Counts
33 → 1
Compiler

Compiled 1396 to 851 computations (39% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
1915
2915

end61.0ms (3.3%)

Remove

(sort x y)

Compiler

Compiled 80 to 49 computations (38.8% saved)

Profiling

Loading profile data...