Details

Time bar (total: 1.2s)

analyze79.0ms (6.4%)

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%56.2%18.8%6
25%40.6%34.4%7
31.2%31.2%37.6%8
39%21.1%39.9%9
42.9%16%41.1%10
47.2%10.7%42%11
49.4%8.1%42.5%12
51.6%5.4%43%13
52.7%4.1%43.2%14
Compiler

Compiled 10 to 5 computations (50% saved)

sample37.0ms (3%)

Algorithm
intervals
Symmetry

(sort x y)

Results
5.0ms256×body128valid
0.0msbody128invalid
Compiler

Compiled 21 to 11 computations (47.6% saved)

simplify12.0ms (0.9%)

Algorithm
egg-herbie
Rules
70×fma-def_binary64
24×associate-+l+_binary64
18×associate-+r+_binary64
10×distribute-rgt-in_binary64
*-commutative_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0510
11210
22610
34610
48110
510110
611710
713010
813210
913210

prune1.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 x y))
Compiler

Compiled 27 to 12 computations (55.6% saved)

localize3.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series6.0ms (0.5%)

Counts
1 → 24
Calls

1 calls:

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

rewrite11.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity_binary64
pow1_binary64
add-sqr-sqrt_binary64
distribute-lft-out_binary64
swap-sqr_binary64
Counts
1 → 42
Calls

1 calls:

7.0ms
(*.f64 (+.f64 x y) (+.f64 x y))

simplify52.0ms (4.2%)

Algorithm
egg-herbie
Rules
728×associate-+l+_binary64
594×unswap-sqr_binary64
430×distribute-rgt-in_binary64
422×distribute-lft-in_binary64
327×fma-def_binary64
Counts
66 → 64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
068994
1200853
2739757
32462692
45240692

prune44.0ms (3.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New60464
Fresh000
Picked011
Done000
Total60565
Error
0b
Counts
65 → 5
Alt Table
StatusErrorProgram
0.0b
(*.f64 (+.f64 x y) (+.f64 x y))
0.0b
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
1.2b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (+.f64 x y) (+.f64 x y))) (cbrt.f64 (*.f64 (+.f64 x y) (+.f64 x y)))) (cbrt.f64 (*.f64 (+.f64 x y) (+.f64 x y))))
27.7b
(*.f64 x (fma.f64 y 2 x))
0.0b
(+.f64 (*.f64 x (+.f64 x y)) (*.f64 y (+.f64 x y)))
Compiler

Compiled 1020 to 319 computations (68.7% saved)

localize7.0ms (0.6%)

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

series19.0ms (1.6%)

Counts
3 → 18
Calls

3 calls:

9.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))
4.0ms
(*.f64 2 (*.f64 y x))

rewrite20.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
10×add-log-exp_binary64
10×*-un-lft-identity_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))

simplify63.0ms (5.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

prune72.0ms (5.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New94195
Fresh123
Picked101
Done011
Total964100
Error
0b
Counts
100 → 4
Alt Table
StatusErrorProgram
27.7b
(*.f64 x (fma.f64 y 2 x))
0.0b
(+.f64 (*.f64 2 (*.f64 y x)) (fma.f64 y y (pow.f64 x 2)))
0.0b
(*.f64 (+.f64 x y) (+.f64 x y))
0.0b
(+.f64 (*.f64 x (+.f64 x y)) (*.f64 y (+.f64 x y)))
Compiler

Compiled 1849 to 1115 computations (39.7% saved)

localize7.0ms (0.5%)

Local error

Found 3 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))
0.0b
(fma.f64 y y (pow.f64 x 2))

series15.0ms (1.2%)

Counts
2 → 48
Calls

2 calls:

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

rewrite5.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 25
Calls

2 calls:

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

simplify67.0ms (5.4%)

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
73 → 54
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
046892
1127842
2459756
32273756
44685756
54965756

prune52.0ms (4.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New81182
Fresh112
Picked011
Done101
Total83386
Error
0b
Counts
86 → 3
Alt Table
StatusErrorProgram
0.0b
(+.f64 (*.f64 2 (*.f64 y x)) (fma.f64 y y (pow.f64 x 2)))
0.0b
(fma.f64 x (fma.f64 2 y x) (*.f64 y y))
0.0b
(+.f64 (*.f64 x (+.f64 x y)) (*.f64 y (+.f64 x y)))
Compiler

Compiled 1472 to 777 computations (47.2% saved)

localize5.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

series6.0ms (0.5%)

Counts
1 → 24
Calls

1 calls:

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

rewrite1.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

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

simplify45.0ms (3.7%)

Algorithm
egg-herbie
Rules
824×associate-+l+_binary64
820×associate-+r+_binary64
311×distribute-lft-in_binary64
310×distribute-rgt-in_binary64
296×distribute-rgt-out_binary64
Counts
34 → 28
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
025473
148376
292373
3310367
41673367
55874367

prune16.0ms (1.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New28028
Fresh011
Picked011
Done011
Total28331
Error
0b
Counts
31 → 3
Alt Table
StatusErrorProgram
0.0b
(+.f64 (*.f64 2 (*.f64 y x)) (fma.f64 y y (pow.f64 x 2)))
0.0b
(fma.f64 x (fma.f64 2 y x) (*.f64 y y))
0.0b
(+.f64 (*.f64 x (+.f64 x y)) (*.f64 y (+.f64 x y)))
Compiler

Compiled 382 to 179 computations (53.1% saved)

regimes153.0ms (12.4%)

Accuracy

Total 0.0b remaining (83.3%)

Threshold costs 0.0b (83.3%)

Counts
33 → 1
Compiler

Compiled 1833 to 1079 computations (41.1% saved)

simplify3.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11217
21217

end8.0ms (0.6%)

Remove

(sort x y)

Compiler

Compiled 42 to 27 computations (35.7% saved)

sample428.0ms (34.6%)

Algorithm
intervals
Results
190.0ms8000×body128valid
2.0ms103×body128invalid
Compiler

Compiled 64 to 37 computations (42.2% saved)

Profiling

Loading profile data...