Details

Time bar (total: 1.3s)

sample17.0ms

Algorithm
intervals
Results
7.0ms480×body80valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1273
2663
31133
41453
51653
61823
71843
81843

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize3.0ms

Local error

Found 1 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
pow1
add-sqr-sqrt
flip3-+ swap-sqr flip-+ distribute-lft-out
add-cube-cbrt
frac-times associate-*r* associate-*l*
add-exp-log add-cbrt-cube
associate-*r/ associate-*l/
pow2 distribute-rgt-in expm1-log1p-u distribute-lft-in pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 42
Calls
1 calls:
19.0ms
(* (+ x y) (+ x y))

series15.0ms

Counts
1 → 3
Calls
1 calls:
15.0ms
(* (+ x y) (+ x y))

simplify48.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0194221
1953194
25002180

prune74.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
12×associate-*r/
11×add-sqr-sqrt *-un-lft-identity
associate-*r*
pow1 add-exp-log add-cube-cbrt flip3-+ add-cbrt-cube flip-+
associate-*l*
add-log-exp
distribute-rgt-in distribute-lft-in frac-add
expm1-log1p-u log1p-expm1-u
associate-+l+ associate-+r+ pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
+-commutative distribute-rgt-out fma-def sum-log
Counts
3 → 73
Calls
3 calls:
9.0ms
(* x (+ x y))
10.0ms
(* y (+ x y))
6.0ms
(+ (* x (+ x y)) (* y (+ x y)))

series80.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(* x (+ x y))
30.0ms
(* y (+ x y))
24.0ms
(+ (* x (+ x y)) (* y (+ x y)))

simplify62.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0371403
12121342
25002336

prune143.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma x x (fma (* 2 x) y (pow y 2)))
0.0b
(fma (* 2 x) y (pow y 2))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
0.0ms
(fma x x (fma (* 2 x) y (pow y 2)))
0.0ms
(fma (* 2 x) y (pow y 2))

series70.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(fma x x (fma (* 2 x) y (pow y 2)))
44.0ms
(fma (* 2 x) y (pow y 2))

simplify32.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
050132
1154116
2888112
35001107

prune235.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084
184

end0.0ms

sample430.0ms

Algorithm
intervals
Results
215.0ms14166×body80valid