Details

Time bar (total: 2.6s)

analyze2.0ms (0.1%)

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

Compiled 24 to 15 computations (37.5% saved)

sample1.4s (54.9%)

Symmetry

(sort a b)

Results
1.4s8256×body128valid
Compiler

Compiled 57 to 34 computations (40.4% saved)

simplify16.0ms (0.6%)

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

prune2.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)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series18.0ms (0.7%)

Counts
1 → 24
Calls

1 calls:

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

rewrite61.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
682×prod-diff_binary64
618×log1p-expm1-u_binary64
618×expm1-log1p-u_binary64
60×add-sqr-sqrt_binary64
57×add-log-exp_binary64
Counts
1 → 29
Calls

1 calls:

60.0ms
(*.f64 (+.f64 a b) (+.f64 a b))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11157
215147
350277
000
100

simplify215.0ms (8.3%)

Algorithm
egg-herbie
Rules
968×sqr-pow_binary64
615×fma-def_binary64
579×fabs-mul_binary64
537×cube-prod_binary64
464×*-commutative_binary64
Counts
53 → 39
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
012294
132267
262222
3129216
4318216
51005216
61665216
71886216
82020216
92235216
102469216
112722216
122890216
133334216
143914216
154267216
164546216
174648216
184677216
194689216
205141216

prune54.0ms (2.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New38139
Fresh000
Picked011
Done000
Total38240
Error
0b
Counts
40 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (+.f64 a b) (+.f64 a b))
0.0b
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2)))
Compiler

Compiled 535 to 204 computations (61.9% saved)

localize13.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 2 (*.f64 a b))

series19.0ms (0.7%)

Counts
2 → 6
Calls

2 calls:

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

rewrite80.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
854×expm1-log1p-u_binary64
671×prod-diff_binary64
92×add-sqr-sqrt_binary64
92×log1p-expm1-u_binary64
87×add-log-exp_binary64
Counts
2 → 48
Calls

2 calls:

78.0ms
(+.f64 (pow.f64 a 2) (pow.f64 b 2))
78.0ms
(*.f64 2 (*.f64 a b))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
119514
2219314
3494014
000
100

simplify170.0ms (6.5%)

Algorithm
egg-herbie
Rules
1238×sqr-pow_binary64
688×fabs-mul_binary64
666×cube-prod_binary64
532×pow-sqr_binary64
344×unpow3_binary64
Counts
54 → 52
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0624
11424
22124
33924
48324
519924
660924
768824
885024
9106324
10133424
11167724
12210824
13257424
14332424
15361324
16395624
17408924
18414024
19416824
20504224

prune58.0ms (2.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New52052
Fresh000
Picked011
Done011
Total52254
Error
0b
Counts
54 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (+.f64 a b) (+.f64 a b))
0.0b
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2)))
Compiler

Compiled 897 to 513 computations (42.8% saved)

regimes133.0ms (5.1%)

Accuracy

Total 0.0b remaining (38.6%)

Threshold costs 0.0b (38.6%)

Counts
18 → 1
Compiler

Compiled 865 to 532 computations (38.5% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11217
21217

end320.0ms (12.3%)

Compiler

Compiled 80 to 47 computations (41.3% saved)

Profiling

Loading profile data...