Details

Time bar (total: 3.0s)

analyze1.4s (45.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)

sample892.0ms (30.2%)

Symmetry

(sort a b)

Results
857.0ms8256×body128valid
Compiler

Compiled 33 to 19 computations (42.4% saved)

simplify9.0ms (0.3%)

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)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series8.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

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

rewrite9.0ms (0.3%)

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

simplify57.0ms (1.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

prune42.0ms (1.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New62264
Fresh000
Picked101
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 (+.f64 a b)) (*.f64 b (+.f64 a b)))
Compiler

Compiled 939 to 290 computations (69.1% saved)

localize8.0ms (0.3%)

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

series11.0ms (0.4%)

Counts
1 → 12
Calls

1 calls:

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

rewrite10.0ms (0.3%)

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

simplify67.0ms (2.3%)

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

prune27.0ms (0.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New34034
Fresh011
Picked011
Done000
Total34236
Error
0b
Counts
36 → 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 (+.f64 a b)) (*.f64 b (+.f64 a b)))
Compiler

Compiled 657 to 383 computations (41.7% saved)

localize5.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series20.0ms (0.7%)

Counts
3 → 72
Calls

3 calls:

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

rewrite24.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
12×associate-*r/_binary64
11×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
associate-*r*_binary64
flip-+_binary64
Counts
3 → 73
Calls

3 calls:

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

simplify100.0ms (3.4%)

Algorithm
egg-herbie
Rules
873×fma-neg_binary64
403×*-commutative_binary64
387×associate-+l+_binary64
371×cancel-sign-sub-inv_binary64
370×associate-+r+_binary64
Counts
145 → 107
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01211613
13801512
215361408
333001408
448691408
549581408

prune62.0ms (2.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1070107
Fresh000
Picked011
Done011
Total1072109
Error
0b
Counts
109 → 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 (+.f64 a b)) (*.f64 b (+.f64 a b)))
Compiler

Compiled 1951 to 431 computations (77.9% saved)

regimes192.0ms (6.5%)

Accuracy

Total 0.0b remaining (80.2%)

Threshold costs 0.0b (80.2%)

Counts
38 → 1
Compiler

Compiled 1849 to 1125 computations (39.2% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11216
21216

end49.0ms (1.7%)

Compiler

Compiled 80 to 45 computations (43.8% saved)

Profiling

Loading profile data...