Details

Time bar (total: 2.9s)

sample24.0ms

Algorithm
intervals
Results
14.0ms438×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0185
1464
2774
3873
4873

prune4.0ms

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

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

series63.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(+ (* x x) (* (* x 2.0) y))
22.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))

simplify36.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0204251
11082223
25002196

prune85.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

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

series71.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0121188
1478167
21983156
35002149

prune94.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
8.0ms
(* (cbrt (fma x x (* (* x 2.0) y))) (cbrt (fma x x (* (* x 2.0) y))))
0.0ms
(cbrt (fma x x (* (* x 2.0) y)))
0.0ms
(cbrt (fma x x (* (* x 2.0) y)))
1.0ms
(cbrt (fma x x (* (* x 2.0) y)))

series966.0ms

Counts
4 → 12
Calls
4 calls:
241.0ms
(* (cbrt (fma x x (* (* x 2.0) y))) (cbrt (fma x x (* (* x 2.0) y))))
248.0ms
(cbrt (fma x x (* (* x 2.0) y)))
243.0ms
(cbrt (fma x x (* (* x 2.0) y)))
233.0ms
(cbrt (fma x x (* (* x 2.0) y)))

simplify51.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0147760
1471694
21762636
35001619

prune252.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) (* (* x 2.0) y))
0.0b
(fma (sqrt (+ (* x x) (* (* x 2.0) y))) (sqrt (+ (* x x) (* (* x 2.0) y))) (* y y))
10.8b
(sqrt (+ (* x x) (* (* x 2.0) y)))
10.8b
(sqrt (+ (* x x) (* (* x 2.0) y)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod add-log-exp
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
flip3-+ flip-+
rem-sqrt-square sqrt-pow1 pow1/2
+-commutative fma-def sum-log fma-udef
Counts
4 → 58
Calls
4 calls:
3.0ms
(+ (* x x) (* (* x 2.0) y))
0.0ms
(fma (sqrt (+ (* x x) (* (* x 2.0) y))) (sqrt (+ (* x x) (* (* x 2.0) y))) (* y y))
3.0ms
(sqrt (+ (* x x) (* (* x 2.0) y)))
4.0ms
(sqrt (+ (* x x) (* (* x 2.0) y)))

series251.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(+ (* x x) (* (* x 2.0) y))
87.0ms
(fma (sqrt (+ (* x x) (* (* x 2.0) y))) (sqrt (+ (* x x) (* (* x 2.0) y))) (* y y))
64.0ms
(sqrt (+ (* x x) (* (* x 2.0) y)))
62.0ms
(sqrt (+ (* x x) (* (* x 2.0) y)))

simplify39.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0225576
1969488
25001470

prune218.0ms

Pruning

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

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample578.0ms

Algorithm
intervals
Results
370.0ms14290×body80valid