Details

Time bar (total: 1.5s)

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)

sample805.0ms (53.1%)

Symmetry

(sort a b)

Results
767.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))

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

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

prune33.0ms (2.2%)

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.2b
(*.f64 b (fma.f64 2 a b))
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 938 to 292 computations (68.9% saved)

localize7.0ms (0.5%)

Local error

Found 1 expressions with local error:

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

series10.0ms (0.7%)

Counts
1 → 12
Calls

1 calls:

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

rewrite9.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64
sum-log_binary64
+-commutative_binary64
associate-+r+_binary64
flip-+_binary64
Counts
1 → 16
Calls

1 calls:

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

simplify63.0ms (4.2%)

Algorithm
egg-herbie
Rules
559×fma-neg_binary64
415×distribute-rgt-out_binary64
388×associate-*l*_binary64
320×associate-*r*_binary64
288×fma-def_binary64
Counts
28 → 34
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
039494
1138416
2540363
32532363
44928363
54992363

prune25.0ms (1.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New33134
Fresh101
Picked011
Done101
Total35237
Error
0b
Counts
37 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2)))
0.0b
(log1p.f64 (expm1.f64 (fma.f64 b (fma.f64 2 a b) (*.f64 a a))))
Compiler

Compiled 657 to 387 computations (41.1% saved)

localize10.0ms (0.6%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 b (fma.f64 2 a b) (*.f64 a a))
0.0b
(log1p.f64 (expm1.f64 (fma.f64 b (fma.f64 2 a b) (*.f64 a a))))
3.3b
(expm1.f64 (fma.f64 b (fma.f64 2 a b) (*.f64 a a)))

series25.0ms (1.6%)

Counts
3 → 72
Calls

3 calls:

10.0ms
(expm1.f64 (fma.f64 b (fma.f64 2 a b) (*.f64 a a)))
8.0ms
(fma.f64 b (fma.f64 2 a b) (*.f64 a a))
6.0ms
(log1p.f64 (expm1.f64 (fma.f64 b (fma.f64 2 a b) (*.f64 a a))))

rewrite2.0ms (0.1%)

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

3 calls:

0.0ms
(expm1.f64 (fma.f64 b (fma.f64 2 a b) (*.f64 a a)))
0.0ms
(fma.f64 b (fma.f64 2 a b) (*.f64 a a))
0.0ms
(log1p.f64 (expm1.f64 (fma.f64 b (fma.f64 2 a b) (*.f64 a a))))

simplify106.0ms (7%)

Algorithm
egg-herbie
Rules
757×fma-def_binary64
581×associate-*l*_binary64
478×associate-*r*_binary64
432×fma-neg_binary64
348×associate-+l+_binary64
Counts
104 → 75
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01001743
12481485
28401419
338721412
449761412
549991412
649661412

prune51.0ms (3.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New75075
Fresh000
Picked011
Done011
Total75277
Error
0b
Counts
77 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (*.f64 2 (*.f64 a b)) (+.f64 (pow.f64 a 2) (pow.f64 b 2)))
0.0b
(log1p.f64 (expm1.f64 (fma.f64 b (fma.f64 2 a b) (*.f64 a a))))
Compiler

Compiled 1400 to 777 computations (44.5% saved)

regimes70.0ms (4.6%)

Accuracy

Total 0.0b remaining (66.3%)

Threshold costs 0.0b (66.3%)

Counts
17 → 1
Compiler

Compiled 734 to 481 computations (34.5% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
1916

end204.0ms (13.5%)

Compiler

Compiled 80 to 51 computations (36.3% saved)

Profiling

Loading profile data...