Details

Time bar (total: 1.9s)

sample16.0ms

Algorithm
intervals
Results
7.0ms458×body80valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0113
1273
2663
31133
41453
51653
61823
71843
81843

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite19.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:
17.0ms
(* (+ x y) (+ x y))

series21.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0194221
1953194
25002180

prune61.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
(+ (* x (+ x y)) (* y (+ x y)))
0.0b
(* 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))
6.0ms
(+ (* x (+ x y)) (* y (+ x y)))
9.0ms
(* y (+ x y))

series87.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(* x (+ x y))
28.0ms
(+ (* x (+ x y)) (* y (+ x y)))
29.0ms
(* y (+ x y))

simplify82.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
0371403
12132342
25001336

prune162.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 1 expressions with local error:

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
1 → 10
Calls
1 calls:
0.0ms
(fma (* 2 x) y (pow y 2))

series51.0ms

Counts
1 → 3
Calls
1 calls:
51.0ms
(fma (* 2 x) y (pow y 2))

simplify125.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (26.0ms)

IterNodesCost
03059
18052
237948
3185947
4500247

prune38.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x (+ x y)) (* (sqrt y) (* (sqrt y) (+ x y))))
0.0b
(* x (+ x y))
0.1b
(* (sqrt y) (+ x y))
0.2b
(* (sqrt y) (* (sqrt y) (+ x y)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*r/
17×add-sqr-sqrt
15×*-un-lft-identity associate-*l*
13×pow1 add-exp-log add-cbrt-cube
11×distribute-rgt-in add-cube-cbrt distribute-lft-in
associate-*r*
flip3-+ flip-+
sqrt-prod
add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u associate-+r+ frac-add log1p-expm1-u
*-commutative unswap-sqr
associate-+l+ distribute-lft-out
+-commutative fma-def sum-log
Counts
4 → 107
Calls
4 calls:
7.0ms
(+ (* x (+ x y)) (* (sqrt y) (* (sqrt y) (+ x y))))
9.0ms
(* x (+ x y))
11.0ms
(* (sqrt y) (+ x y))
20.0ms
(* (sqrt y) (* (sqrt y) (+ x y)))

series184.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(+ (* x (+ x y)) (* (sqrt y) (* (sqrt y) (+ x y))))
37.0ms
(* x (+ x y))
68.0ms
(* (sqrt y) (+ x y))
42.0ms
(* (sqrt y) (* (sqrt y) (+ x y)))

simplify106.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
0523719
12890560
25001543

prune269.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes29.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
184

end0.0ms

sample415.0ms

Algorithm
intervals
Results
209.0ms14091×body80valid