Details

Time bar (total: 2.7s)

sample23.0ms

Algorithm
intervals
Results
12.0ms452×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0164
1333
2413
3413

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
fma-def
sum-log
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log +-commutative expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out
associate-+l+
Counts
2 → 34
Calls
2 calls:
13.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))
3.0ms
(+ (* x 2.0) (* x x))

series88.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))
57.0ms
(+ (* x 2.0) (* x x))

simplify105.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (101.0ms)

IterNodesCost
0196206
1967178
24173167
35001166

prune85.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

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

series76.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0216193
11104179
25001175

prune85.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
19×pow1
18×sqrt-prod
13×add-cube-cbrt *-un-lft-identity add-log-exp
12×sqrt-div
flip3-+ flip-+
sqrt-pow1 pow1/2 swap-sqr
add-exp-log fma-def associate-*r* associate-*l* add-cbrt-cube
sum-log pow-prod-up
expm1-log1p-u frac-times log1p-expm1-u unswap-sqr
+-commutative pow-prod-down pow-sqr distribute-lft-out
associate-*r/ associate-*l/
pow2 associate-+l+ pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 108
Calls
4 calls:
12.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))
2.0ms
(+ (* x 2.0) (* x x))
2.0ms
(+ (* x 2.0) (* x x))
62.0ms
(* (sqrt (+ (+ (* x 2.0) (* x x)) (* y y))) (sqrt (+ (+ (* x 2.0) (* x x)) (* y y))))

series171.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))
54.0ms
(+ (* x 2.0) (* x x))
56.0ms
(+ (* x 2.0) (* x x))
32.0ms
(* (sqrt (+ (+ (* x 2.0) (* x x)) (* y y))) (sqrt (+ (+ (* x 2.0) (* x x)) (* y y))))

simplify50.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0291928
11428801
25001776

prune244.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x x) (* 2.0 x))
0.0b
(+ (/ (fma (pow 2.0 3) x (pow x 4)) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x)))) (* y y))
0.0b
(fma (pow 2.0 3) x (pow x 4))
12.0b
(/ (fma (pow 2.0 3) x (pow x 4)) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x))))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
15×fma-def
add-log-exp
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u
flip3-+ associate-/r* flip-+ associate-/l*
div-inv
cbrt-undiv +-commutative sub-neg flip3-- distribute-rgt-out-- frac-2neg fma-neg diff-log div-exp prod-diff clear-num sum-log flip-- fma-udef
Counts
4 → 86
Calls
4 calls:
3.0ms
(- (* x x) (* 2.0 x))
60.0ms
(+ (/ (fma (pow 2.0 3) x (pow x 4)) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x)))) (* y y))
0.0ms
(fma (pow 2.0 3) x (pow x 4))
14.0ms
(/ (fma (pow 2.0 3) x (pow x 4)) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x))))

series469.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(- (* x x) (* 2.0 x))
95.0ms
(+ (/ (fma (pow 2.0 3) x (pow x 4)) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x)))) (* y y))
121.0ms
(fma (pow 2.0 3) x (pow x 4))
191.0ms
(/ (fma (pow 2.0 3) x (pow x 4)) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x))))

simplify46.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0346839
11291771
25001760

prune347.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes77.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104
1104

end0.0ms

sample558.0ms

Algorithm
intervals
Results
333.0ms14328×body80valid