Details

Time bar (total: 2.3s)

sample26.0ms

Algorithm
intervals
Results
13.0ms496×body80valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (11.0ms)

IterNodesCost
0185
1464
2774
3873
4873

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize8.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))

rewrite13.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
associate-+l+
Counts
2 → 32
Calls
2 calls:
4.0ms
(+ (* x x) (* (* x 2.0) y))
7.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))

series75.0ms

Counts
2 → 6
Calls
2 calls:
48.0ms
(+ (* x x) (* (* x 2.0) y))
27.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))

simplify49.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0204251
11082223
25002196

prune100.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite4.0ms

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

series32.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0113137
1428116
21776104
35002101

prune56.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.0ms

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

series80.0ms

Counts
2 → 6
Calls
2 calls:
29.0ms
(+ (* x x) (* (fma 2.0 x y) y))
51.0ms
(* (fma 2.0 x y) y)

simplify127.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0165192
1662162
24080156
35001156

prune92.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (fma 2.0 x y) 3)
0.1b
(fma (* (fma 2.0 x y) y) (- (* (fma 2.0 x y) y) (pow x 2)) (pow x 4))
3.9b
(fma (pow (fma 2.0 x y) 3) (pow y 3) (pow x 6))
41.3b
(/ (fma (pow (fma 2.0 x y) 3) (pow y 3) (pow x 6)) (fma (* (fma 2.0 x y) y) (- (* (fma 2.0 x y) y) (pow x 2)) (pow x 4)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
unpow-prod-down pow-unpow cube-prod associate-/r* associate-/l*
fma-udef
cbrt-undiv cube-mult pow-to-exp pow-pow frac-2neg unpow3 div-exp pow-exp clear-num div-inv rem-cube-cbrt sqr-pow
Counts
4 → 74
Calls
4 calls:
2.0ms
(pow (fma 2.0 x y) 3)
1.0ms
(fma (* (fma 2.0 x y) y) (- (* (fma 2.0 x y) y) (pow x 2)) (pow x 4))
1.0ms
(fma (pow (fma 2.0 x y) 3) (pow y 3) (pow x 6))
4.0ms
(/ (fma (pow (fma 2.0 x y) 3) (pow y 3) (pow x 6)) (fma (* (fma 2.0 x y) y) (- (* (fma 2.0 x y) y) (pow x 2)) (pow x 4)))

series373.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(pow (fma 2.0 x y) 3)
103.0ms
(fma (* (fma 2.0 x y) y) (- (* (fma 2.0 x y) y) (pow x 2)) (pow x 4))
122.0ms
(fma (pow (fma 2.0 x y) 3) (pow y 3) (pow x 6))
103.0ms
(/ (fma (pow (fma 2.0 x y) 3) (pow y 3) (pow x 6)) (fma (* (fma 2.0 x y) y) (- (* (fma 2.0 x y) y) (pow x 2)) (pow x 4)))

simplify64.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
03421011
11408912
25002907

prune371.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes38.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 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample606.0ms

Algorithm
intervals
Results
380.0ms14203×body80valid