Details

Time bar (total: 1.4s)

analyze1.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 10 to 5 computations (50% saved)

sample755.0ms (52.1%)

Symmetry

(sort x y)

Results
677.0ms8256×body128valid
Compiler

Compiled 29 to 14 computations (51.7% saved)

simplify19.0ms (1.3%)

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

prune3.0ms (0.2%)

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)

localize18.0ms (1.2%)

Local error

Found 1 expressions with local error:

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

series11.0ms (0.7%)

Counts
1 → 24
Calls

1 calls:

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

rewrite18.0ms (1.3%)

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:

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

simplify106.0ms (7.3%)

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

prune63.0ms (4.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

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

Compiled 922 to 283 computations (69.3% saved)

localize20.0ms (1.4%)

Local error

Found 2 expressions with local error:

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

series24.0ms (1.7%)

Counts
2 → 12
Calls

2 calls:

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

rewrite37.0ms (2.5%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
add-log-exp_binary64
associate-*l*_binary64
Counts
2 → 36
Calls

2 calls:

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

simplify91.0ms (6.3%)

Algorithm
egg-herbie
Rules
580×associate-*l*_binary64
560×fma-neg_binary64
449×associate-*r*_binary64
328×fma-def_binary64
298×distribute-rgt-neg-in_binary64
Counts
48 → 62
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
071668
1195590
2684537
32857537
44813537
55062537

prune74.0ms (5.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New62062
Fresh000
Picked011
Done011
Total62264
Error
0b
Counts
64 → 2
Alt Table
StatusErrorProgram
5.0b
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
0.0b
(*.f64 (+.f64 x y) (+.f64 x y))
Compiler

Compiled 1145 to 707 computations (38.3% saved)

regimes121.0ms (8.4%)

Accuracy

Total 0.0b remaining (73.6%)

Threshold costs 0.0b (73.6%)

Counts
18 → 1
Compiler

Compiled 700 to 474 computations (32.3% saved)

simplify5.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0510
1610
2610

end83.0ms (5.7%)

Remove

(sort x y)

Compiler

Compiled 60 to 31 computations (48.3% saved)

Profiling

Loading profile data...