Details

Time bar (total: 1.4s)

analyze1.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
Compiler

Compiled 24 to 15 computations (37.5% saved)

sample784.0ms (57.3%)

Infinites
0% of outputs are infinite.
Symmetry

(sort a b)

Results
688.0ms8256×body128valid
Compiler

Compiled 57 to 34 computations (40.4% saved)

simplify9.0ms (0.7%)

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

series7.0ms (0.5%)

Counts
1 → 24
Calls

1 calls:

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

rewrite9.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:

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

simplify59.0ms (4.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
067994
1200853
2739757
32462692
45240692

prune36.0ms (2.6%)

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

Compiled 922 to 282 computations (69.4% saved)

localize7.0ms (0.5%)

Local error

Found 2 expressions with local error:

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

series19.0ms (1.4%)

Counts
2 → 18
Calls

2 calls:

10.0ms
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2)))
9.0ms
(+.f64 (pow.f64 a 2) (pow.f64 b 2))

rewrite17.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64
fma-def_binary64
*-un-lft-identity_binary64
unpow-prod-down_binary64
add-sqr-sqrt_binary64
Counts
2 → 39
Calls

2 calls:

9.0ms
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2)))
7.0ms
(+.f64 (pow.f64 a 2) (pow.f64 b 2))

simplify71.0ms (5.2%)

Algorithm
egg-herbie
Rules
651×fma-neg_binary64
480×associate-*l*_binary64
409×fma-def_binary64
385×associate-*r*_binary64
301×distribute-rgt-neg-in_binary64
Counts
57 → 67
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
056731
1192613
2691554
33026554
44790554
55045554

prune47.0ms (3.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New67067
Fresh000
Picked011
Done011
Total67269
Error
0b
Counts
69 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2)))
0.0b
(*.f64 (+.f64 a b) (+.f64 a b))
Compiler

Compiled 1265 to 742 computations (41.3% saved)

regimes100.0ms (7.3%)

Accuracy

Total 0.0b remaining (42.6%)

Threshold costs 0.0b (42.6%)

Counts
24 → 1
Compiler

Compiled 1195 to 735 computations (38.5% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11217
21217

end195.0ms (14.2%)

Compiler

Compiled 80 to 51 computations (36.3% saved)

Profiling

Loading profile data...