Details

Time bar (total: 2.7s)

analyze1.4s (50.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14
Compiler

Compiled 24 to 15 computations (37.5% saved)

sample1.0s (37.8%)

Symmetry

(sort a b)

Results
993.0ms8256×body128valid
Compiler

Compiled 57 to 34 computations (40.4% saved)

simplify10.0ms (0.4%)

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

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 a b) (+.f64 a b))
Compiler

Compiled 27 to 12 computations (55.6% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (+.f64 a b) (+.f64 a b))

series6.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

6.0ms
(*.f64 (+.f64 a b) (+.f64 a b))

rewrite15.0ms (0.6%)

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 a b) (+.f64 a b))

simplify49.0ms (1.8%)

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
067994
1200853
2739757
32462692
45240692

prune33.0ms (1.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New63164
Fresh000
Picked011
Done000
Total63265
Error
0b
Counts
65 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (+.f64 a b) (+.f64 a b))
0.2b
(*.f64 b (fma.f64 2 a b))
Compiler

Compiled 908 to 270 computations (70.3% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 b (fma.f64 2 a b))

series9.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

9.0ms
(*.f64 b (fma.f64 2 a b))

rewrite4.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
associate-*r*_binary64
associate-*l*_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
1 → 22
Calls

1 calls:

3.0ms
(*.f64 b (fma.f64 2 a b))

simplify81.0ms (3%)

Algorithm
egg-herbie
Rules
613×distribute-rgt-in_binary64
610×distribute-lft-in_binary64
425×fma-def_binary64
354×*-commutative_binary64
330×associate-/l/_binary64
Counts
46 → 32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
042507
182413
2238413
3617413
42304413
52439413
63040413
74552413
84968413

prune14.0ms (0.5%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New32032
Fresh000
Picked011
Done011
Total32234
Error
0b
Counts
34 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (+.f64 a b) (+.f64 a b))
0.2b
(*.f64 b (fma.f64 2 a b))
Compiler

Compiled 355 to 193 computations (45.6% saved)

regimes39.0ms (1.4%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
8 → 1
Compiler

Compiled 284 to 186 computations (34.5% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0510
1610
2610

end40.0ms (1.5%)

Remove

(sort a b)

Compiler

Compiled 53 to 25 computations (52.8% saved)

Profiling

Loading profile data...