Details

Time bar (total: 1.9s)

analyze505.0ms (26.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%62.4%12.6%6
25%50%25.1%7
31.2%37.5%31.3%8
39%24.2%36.8%9
42.9%18.3%38.7%10
47.2%11.9%40.9%11
49.4%9.1%41.6%12
51.6%5.9%42.5%13
52.7%4.5%42.8%14
Compiler

Compiled 10 to 6 computations (40% saved)

sample895.0ms (47.1%)

Results
704.0ms8256×body128valid
13.0ms161×body128invalid
Compiler

Compiled 29 to 17 computations (41.4% saved)

simplify112.0ms (5.9%)

Algorithm
egg-herbie
Rules
2423×fma-neg_binary64
945×fma-def_binary64
931×distribute-rgt-in_binary64
213×unsub-neg_binary64
200×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
11010
22910
37010
415110
535610
665510
789110
8189010
9182610
10199210
11203410
12207210
13207210
14207210
15207410
16514210

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 x y) (-.f64 x y))
Compiler

Compiled 27 to 15 computations (44.4% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (+.f64 x y) (-.f64 x y))

series7.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

7.0ms
(*.f64 (+.f64 x y) (-.f64 x y))

rewrite12.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity_binary64
21×add-sqr-sqrt_binary64
18×prod-diff_binary64
17×add-cube-cbrt_binary64
13×distribute-lft-in_binary64
Counts
1 → 57
Calls

1 calls:

7.0ms
(*.f64 (+.f64 x y) (-.f64 x y))

simplify69.0ms (3.6%)

Algorithm
egg-herbie
Rules
835×distribute-rgt-in_binary64
791×distribute-lft-in_binary64
673×fma-def_binary64
212×exp-prod_binary64
145×associate-*l*_binary64
Counts
81 → 84
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01341280
12901202
211281112
347961112
449371112

prune36.0ms (1.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New83184
Fresh000
Picked011
Done000
Total83285
Error
0b
Counts
85 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (*.f64 x (+.f64 x y)) (*.f64 (neg.f64 y) (+.f64 x y)))
0.0b
(*.f64 (+.f64 x y) (-.f64 x y))
Compiler

Compiled 1646 to 390 computations (76.3% saved)

localize6.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (+.f64 x y))
0.0b
(*.f64 (neg.f64 y) (+.f64 x y))
0.0b
(+.f64 (*.f64 x (+.f64 x y)) (*.f64 (neg.f64 y) (+.f64 x y)))

series21.0ms (1.1%)

Counts
3 → 72
Calls

3 calls:

7.0ms
(*.f64 (neg.f64 y) (+.f64 x y))
7.0ms
(+.f64 (*.f64 x (+.f64 x y)) (*.f64 (neg.f64 y) (+.f64 x y)))
7.0ms
(*.f64 x (+.f64 x y))

rewrite18.0ms (1%)

Algorithm
rewrite-expression-head
Rules
13×associate-*l*_binary64
13×*-un-lft-identity_binary64
13×add-sqr-sqrt_binary64
12×associate-*r/_binary64
add-cube-cbrt_binary64
Counts
3 → 82
Calls

3 calls:

5.0ms
(+.f64 (*.f64 x (+.f64 x y)) (*.f64 (neg.f64 y) (+.f64 x y)))
5.0ms
(*.f64 (neg.f64 y) (+.f64 x y))
4.0ms
(*.f64 x (+.f64 x y))

simplify85.0ms (4.5%)

Algorithm
egg-herbie
Rules
385×associate-+l+_binary64
303×distribute-rgt-neg-out_binary64
289×distribute-lft-neg-out_binary64
209×associate-*l*_binary64
199×fma-neg_binary64
Counts
154 → 144
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01361723
14411639
218701617
348161617
450261617

prune58.0ms (3.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1440144
Fresh000
Picked011
Done011
Total1442146
Error
0b
Counts
146 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (*.f64 x (+.f64 x y)) (*.f64 (neg.f64 y) (+.f64 x y)))
0.0b
(*.f64 (+.f64 x y) (-.f64 x y))
Compiler

Compiled 2653 to 537 computations (79.8% saved)

regimes32.0ms (1.7%)

Accuracy

Total 0.0b remaining (60%)

Threshold costs 0.0b (60%)

Counts
10 → 1
Compiler

Compiled 426 to 228 computations (46.5% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
11010
21510
31710
41810
51810

end39.0ms (2.1%)

Compiler

Compiled 41 to 22 computations (46.3% saved)

Profiling

Loading profile data...