Details

Time bar (total: 1.6s)

sample23.0ms

Algorithm
intervals
Results
12.0ms455×body80valid

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (13.0ms)

IterNodesCost
0185
1464
2774
3873
4873

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) (* (* x 2.0) y))
0.0b
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
76×*-un-lft-identity
64×associate-*l*
48×distribute-lft-out
29×fma-def
14×add-sqr-sqrt
12×add-cube-cbrt
add-log-exp
associate-*r*
sum-log
+-commutative swap-sqr *-commutative
pow1 add-exp-log expm1-log1p-u associate-+l+ flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
unswap-sqr
Counts
2 → 83
Calls
2 calls:
23.0ms
(+ (* x x) (* (* x 2.0) y))
41.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))

series81.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(+ (* x x) (* (* x 2.0) y))
34.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))

simplify58.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0232357
11131298
25001256

prune172.0ms

Filtered
89 candidates to 52 candidates (58.4%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New87289
Fresh101
Picked101
Done000
Total89291

Merged error: 0b

Counts
91 → 2

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ (* x x) (* (fma 2.0 x y) y))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
15×fma-def
14×*-un-lft-identity
add-sqr-sqrt
associate-*l*
add-cube-cbrt
distribute-lft-out
swap-sqr associate-*r* add-log-exp
pow1 add-exp-log +-commutative expm1-log1p-u flip3-+ sum-log *-commutative add-cbrt-cube flip-+ log1p-expm1-u unswap-sqr
Counts
1 → 32
Calls
1 calls:
16.0ms
(+ (* x x) (* (fma 2.0 x y) y))

series38.0ms

Counts
1 → 3
Calls
1 calls:
38.0ms
(+ (* x x) (* (fma 2.0 x y) y))

simplify97.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0120123
1501104
2239398
3500198

prune85.0ms

Filtered
35 candidates to 25 candidates (71.4%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New34135
Fresh101
Picked101
Done000
Total36137

Merged error: 0b

Counts
37 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

16.2b
(sqrt (* x x))
16.2b
(sqrt (* x x))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
30×sqrt-prod
26×add-sqr-sqrt
18×pow1
12×add-cube-cbrt *-un-lft-identity sqrt-pow1
10×rem-sqrt-square
swap-sqr
associate-*r* associate-*l*
*-commutative unswap-sqr
add-exp-log pow2 expm1-log1p-u pow-plus pow1/2 pow-prod-down pow-sqr pow-prod-up add-cbrt-cube log1p-expm1-u add-log-exp
Counts
2 → 72
Calls
2 calls:
5.0ms
(sqrt (* x x))
6.0ms
(sqrt (* x x))

series22.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(sqrt (* x x))
13.0ms
(sqrt (* x x))

simplify60.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
072170
1190168
2826164
35001164

prune186.0ms

Filtered
78 candidates to 48 candidates (61.5%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New78078
Fresh000
Picked011
Done000
Total78179

Merged error: 0b

Counts
79 → 1

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
097
197

end0.0ms

sample590.0ms

Algorithm
intervals
Results
373.0ms14072×body80valid