Details

Time bar (total: 1.3s)

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)

sample866.0ms (64.2%)

Symmetry

(sort a b)

Results
831.0ms8256×body128valid
Compiler

Compiled 57 to 34 computations (40.4% saved)

simplify8.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

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

series6.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

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

rewrite14.0ms (1%)

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:

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

simplify53.0ms (3.9%)

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

prune31.0ms (2.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New62264
Fresh000
Picked011
Done000
Total62365
Error
0b
Counts
65 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (+.f64 a b) (+.f64 a b))
0.9b
(expm1.f64 (log1p.f64 (*.f64 (+.f64 a b) (+.f64 a b))))
0.1b
(*.f64 b (fma.f64 2 a b))
Compiler

Compiled 930 to 282 computations (69.7% saved)

localize4.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series6.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

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

rewrite4.0ms (0.3%)

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

simplify87.0ms (6.5%)

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

prune15.0ms (1.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New32032
Fresh011
Picked011
Done011
Total32335
Error
0b
Counts
35 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (+.f64 a b) (+.f64 a b))
0.9b
(expm1.f64 (log1p.f64 (*.f64 (+.f64 a b) (+.f64 a b))))
0.1b
(*.f64 b (fma.f64 2 a b))
Compiler

Compiled 377 to 205 computations (45.6% saved)

localize6.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (+.f64 a b) (+.f64 a b))
0.1b
(log1p.f64 (*.f64 (+.f64 a b) (+.f64 a b)))
0.9b
(expm1.f64 (log1p.f64 (*.f64 (+.f64 a b) (+.f64 a b))))

series27.0ms (2%)

Counts
2 → 48
Calls

2 calls:

21.0ms
(log1p.f64 (*.f64 (+.f64 a b) (+.f64 a b)))
6.0ms
(expm1.f64 (log1p.f64 (*.f64 (+.f64 a b) (+.f64 a b))))

rewrite1.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
expm1-log1p-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

0.0ms
(log1p.f64 (*.f64 (+.f64 a b) (+.f64 a b)))
0.0ms
(expm1.f64 (log1p.f64 (*.f64 (+.f64 a b) (+.f64 a b))))

simplify47.0ms (3.5%)

Algorithm
egg-herbie
Rules
937×times-frac_binary64
614×associate-/l*_binary64
438×fma-def_binary64
209×cancel-sign-sub-inv_binary64
174×sub-neg_binary64
Counts
70 → 94
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01491537
14411374
215751265
352541265

prune73.0ms (5.4%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1580158
Fresh000
Picked011
Done022
Total1583161
Error
0b
Counts
161 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (+.f64 a b) (+.f64 a b))
0.9b
(expm1.f64 (log1p.f64 (*.f64 (+.f64 a b) (+.f64 a b))))
0.1b
(*.f64 b (fma.f64 2 a b))
Compiler

Compiled 2854 to 1310 computations (54.1% saved)

regimes48.0ms (3.6%)

Accuracy

Total 0.0b remaining (19.6%)

Threshold costs 0.0b (19.6%)

Counts
12 → 1
Compiler

Compiled 428 to 290 computations (32.2% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0510
1610
2610

end47.0ms (3.5%)

Remove

(sort a b)

Compiler

Compiled 64 to 31 computations (51.6% saved)

Profiling

Loading profile data...