Details

Time bar (total: 3.1s)

sample26.0ms

Algorithm
intervals
Results
15.0ms438×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0185
1464
2774
3873
4873

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 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))

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:
3.0ms
(+ (* x x) (* (* x 2.0) y))
14.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))

series65.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0204251
11082223
25002196

prune89.0ms

Filtered
38 candidates to 30 candidates (78.9%)
Pruning

3 alts after pruning (3 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))

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

series87.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0121188
1478167
21983156
35002149

prune79.0ms

Filtered
33 candidates to 28 candidates (84.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (* x x) (* (* x 2.0) y))) (cbrt (+ (* x x) (* (* x 2.0) y))))
11.3b
(cbrt (+ (* x x) (* (* x 2.0) y)))
11.3b
(cbrt (+ (* x x) (* (* x 2.0) y)))
11.3b
(cbrt (+ (* x x) (* (* x 2.0) y)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
19.0ms
(* (cbrt (+ (* x x) (* (* x 2.0) y))) (cbrt (+ (* x x) (* (* x 2.0) y))))
2.0ms
(cbrt (+ (* x x) (* (* x 2.0) y)))
2.0ms
(cbrt (+ (* x x) (* (* x 2.0) y)))
2.0ms
(cbrt (+ (* x x) (* (* x 2.0) y)))

series986.0ms

Counts
4 → 12
Calls
4 calls:
265.0ms
(* (cbrt (+ (* x x) (* (* x 2.0) y))) (cbrt (+ (* x x) (* (* x 2.0) y))))
236.0ms
(cbrt (+ (* x x) (* (* x 2.0) y)))
242.0ms
(cbrt (+ (* x x) (* (* x 2.0) y)))
243.0ms
(cbrt (+ (* x x) (* (* x 2.0) y)))

simplify91.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (80.0ms)

IterNodesCost
02281227
18021147
234421067
350011060

prune303.0ms

Filtered
107 candidates to 86 candidates (80.4%)
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
(fma x x (* (* x 2.0) y))
0.0b
(fma (sqrt (fma x x (* (* x 2.0) y))) (sqrt (fma x x (* (* x 2.0) y))) (* y y))
10.8b
(sqrt (fma x x (* (* x 2.0) y)))
10.8b
(sqrt (fma x x (* (* x 2.0) y)))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 fma-udef
Counts
4 → 50
Calls
4 calls:
0.0ms
(fma x x (* (* x 2.0) y))
0.0ms
(fma (sqrt (fma x x (* (* x 2.0) y))) (sqrt (fma x x (* (* x 2.0) y))) (* y y))
1.0ms
(sqrt (fma x x (* (* x 2.0) y)))
1.0ms
(sqrt (fma x x (* (* x 2.0) y)))

series291.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(fma x x (* (* x 2.0) y))
104.0ms
(fma (sqrt (fma x x (* (* x 2.0) y))) (sqrt (fma x x (* (* x 2.0) y))) (* y y))
74.0ms
(sqrt (fma x x (* (* x 2.0) y)))
71.0ms
(sqrt (fma x x (* (* x 2.0) y)))

simplify61.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
0145404
1428336
21866326
35001320

prune180.0ms

Filtered
62 candidates to 53 candidates (85.5%)
Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

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

sample640.0ms

Algorithm
intervals
Results
404.0ms14290×body80valid