Details

Time bar (total: 1.9s)

sample26.0ms

Algorithm
intervals
Results
14.0ms473×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0185
1464
2774
3873
4873

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

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

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 (fma y 2.0 x) x (* y y))

series23.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04268
110452
246752
3241952
4500152

prune28.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) (* (* x 2.0) y)) (* y y))
0.0b
(+ (* x x) (* (* x 2.0) y))

rewrite42.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:
33.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))
8.0ms
(+ (* x x) (* (* x 2.0) y))

series55.0ms

Counts
2 → 6
Calls
2 calls:
20.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))
35.0ms
(+ (* x x) (* (* x 2.0) y))

simplify36.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0204251
11082223
25002196

prune84.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

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

rewrite15.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:
8.0ms
(+ (* x x) (* (fma 2.0 x y) y))
6.0ms
(* (fma 2.0 x y) y)

series63.0ms

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

simplify103.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0165192
1662162
24080156
35001156

prune82.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (cbrt (pow (* (fma 2.0 x y) y) 3)))
0.0b
(* (fma 2.0 x y) y)
0.2b
(pow (* (fma 2.0 x y) y) 3)
34.0b
(cbrt (pow (* (fma 2.0 x y) y) 3))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
pow1 add-exp-log add-cbrt-cube
cbrt-prod add-cube-cbrt *-un-lft-identity
add-log-exp
expm1-log1p-u log1p-expm1-u
pow-unpow associate-*r* associate-*l*
cube-mult unpow-prod-down pow-pow unpow3 cube-prod pow-prod-down pow-exp prod-exp cbrt-unprod rem-cube-cbrt sqr-pow
+-commutative pow-to-exp fma-def flip3-+ pow1/3 sum-log *-commutative rem-cbrt-cube flip-+ unswap-sqr
Counts
4 → 77
Calls
4 calls:
10.0ms
(+ (* x x) (cbrt (pow (* (fma 2.0 x y) y) 3)))
7.0ms
(* (fma 2.0 x y) y)
6.0ms
(pow (* (fma 2.0 x y) y) 3)
3.0ms
(cbrt (pow (* (fma 2.0 x y) y) 3))

series180.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(+ (* x x) (cbrt (pow (* (fma 2.0 x y) y) 3)))
42.0ms
(* (fma 2.0 x y) y)
38.0ms
(pow (* (fma 2.0 x y) y) 3)
64.0ms
(cbrt (pow (* (fma 2.0 x y) y) 3))

simplify51.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0301432
11399370
25001368

prune195.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes46.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
094
194

end0.0ms

sample672.0ms

Algorithm
intervals
Results
373.0ms14422×body80valid