Details

Time bar (total: 2.0s)

sample23.0ms

Algorithm
intervals
Results
12.0ms456×body80valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (11.0ms)

IterNodesCost
0185
1464
2774
3873
4873

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

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

series72.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0204251
11082223
25002196

prune101.0ms

Filtered
38 candidates to 30 candidates (78.9%)
Pruning

2 alts after pruning (2 fresh and 0 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))

rewrite4.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))
3.0ms
(+ (fma x x (* (* x 2.0) y)) (* y y))

series86.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0121188
1478167
21983156
35002149

prune94.0ms

Filtered
33 candidates to 27 candidates (81.8%)
Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize18.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)
0.6b
(fma (pow x 2) (* (fma y 2.0 x) (fma y 2.0 x)) (* (- (pow y 3)) y))
31.4b
(/ (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))))

rewrite25.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))
16.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))
3.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))))

series228.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (fma y 2.0 x) (fma y 2.0 x))
41.0ms
(* (- (pow y 3)) y)
77.0ms
(fma (pow x 2) (* (fma y 2.0 x) (fma y 2.0 x)) (* (- (pow y 3)) y))
79.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))))

simplify90.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
03921046
11943932
25002914

prune443.0ms

Filtered
126 candidates to 91 candidates (72.2%)
Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes32.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

sample594.0ms

Algorithm
intervals
Results
375.0ms14390×body80valid