Details

Time bar (total: 2.8s)

sample50.0ms

Algorithm
intervals
Results
39.0ms480×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0185
1464
2774
3873
4873

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

series27.0ms

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

simplify95.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
04268
110452
246752
3241952
4500152

prune32.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

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

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

series67.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0204251
11082223
25002196

prune94.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite3.0ms

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

series75.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
0121188
1478167
21983156
35002149

prune84.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (fma y 2.0 x) (fma y 2.0 x))
0.1b
(* (- (pow y 3)) y)
1.1b
(fma (pow x 2) (* (fma y 2.0 x) (fma y 2.0 x)) (* (- (pow y 3)) y))
30.9b
(/ (fma (pow x 2) (* (fma y 2.0 x) (fma y 2.0 x)) (* (- (pow y 3)) y)) (fma (fma y 2.0 x) x (- (pow y 2))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
31×associate-*l*
28×add-sqr-sqrt
24×add-cube-cbrt *-un-lft-identity
13×pow1
12×distribute-lft-neg-in distribute-rgt-neg-in
10×add-exp-log add-cbrt-cube
times-frac
unpow-prod-down cube-prod associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
swap-sqr associate-/r* fma-udef associate-/l*
cube-mult unpow3 pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr sqr-pow
cbrt-undiv distribute-lft-neg-out pow2 distribute-rgt-in neg-mul-1 frac-2neg distribute-lft-in pow-plus div-exp clear-num pow-sqr pow-prod-up div-inv
Counts
4 → 114
Calls
4 calls:
3.0ms
(* (fma y 2.0 x) (fma y 2.0 x))
15.0ms
(* (- (pow y 3)) y)
0.0ms
(fma (pow x 2) (* (fma y 2.0 x) (fma y 2.0 x)) (* (- (pow y 3)) y))
2.0ms
(/ (fma (pow x 2) (* (fma y 2.0 x) (fma y 2.0 x)) (* (- (pow y 3)) y)) (fma (fma y 2.0 x) x (- (pow y 2))))

series195.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (fma y 2.0 x) (fma y 2.0 x))
39.0ms
(* (- (pow y 3)) y)
62.0ms
(fma (pow x 2) (* (fma y 2.0 x) (fma y 2.0 x)) (* (- (pow y 3)) y))
70.0ms
(/ (fma (pow x 2) (* (fma y 2.0 x) (fma y 2.0 x)) (* (- (pow y 3)) y)) (fma (fma y 2.0 x) x (- (pow y 2))))

simplify79.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
03921046
11943932
25002914

prune405.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes35.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
0115
1115

end0.0ms

sample1.3s

Algorithm
intervals
Results
1.1s14396×body80valid