Details

Time bar (total: 2.6s)

sample24.0ms

Algorithm
intervals
Results
13.0ms449×body80valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (12.0ms)

IterNodesCost
0185
1464
2774
3873
4873

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

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

series75.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0204251
11082223
25002196

prune96.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.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)

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

series79.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0165192
1662162
24080156
35001156

prune91.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x x) (* (fma 2.0 x y) y))
0.0b
(* (fma 2.0 x y) (fma 2.0 x y))
0.6b
(fma (- (* (fma 2.0 x y) (fma 2.0 x y))) (pow y 2) (pow x 4))
28.6b
(/ (fma (- (* (fma 2.0 x y) (fma 2.0 x y))) (pow y 2) (pow x 4)) (- (* x x) (* (fma 2.0 x y) y)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
11×pow1
times-frac
add-exp-log add-cbrt-cube
add-log-exp
expm1-log1p-u log1p-expm1-u
swap-sqr associate-*r* associate-*l* associate-/r* fma-udef associate-/l*
flip3-- associate-/r/ flip--
cbrt-undiv pow2 distribute-rgt-in sub-neg frac-2neg distribute-lft-in pow-plus fma-neg diff-log div-exp prod-diff pow-prod-down prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod div-inv unswap-sqr
Counts
4 → 86
Calls
4 calls:
3.0ms
(- (* x x) (* (fma 2.0 x y) y))
3.0ms
(* (fma 2.0 x y) (fma 2.0 x y))
0.0ms
(fma (- (* (fma 2.0 x y) (fma 2.0 x y))) (pow y 2) (pow x 4))
6.0ms
(/ (fma (- (* (fma 2.0 x y) (fma 2.0 x y))) (pow y 2) (pow x 4)) (- (* x x) (* (fma 2.0 x y) y)))

series201.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (* x x) (* (fma 2.0 x y) y))
23.0ms
(* (fma 2.0 x y) (fma 2.0 x y))
71.0ms
(fma (- (* (fma 2.0 x y) (fma 2.0 x y))) (pow y 2) (pow x 4))
73.0ms
(/ (fma (- (* (fma 2.0 x y) (fma 2.0 x y))) (pow y 2) (pow x 4)) (- (* x x) (* (fma 2.0 x y) y)))

simplify55.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
03421009
11377892
25002866

prune285.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (fma 2.0 x y) (fma 2.0 x y))
0.3b
(/ 1 (- (* x x) (* (fma 2.0 x y) y)))
0.6b
(fma (- (* (fma 2.0 x y) (fma 2.0 x y))) (pow y 2) (pow x 4))
28.8b
(* (fma (- (* (fma 2.0 x y) (fma 2.0 x y))) (pow y 2) (pow x 4)) (/ 1 (- (* x x) (* (fma 2.0 x y) y))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
25×*-un-lft-identity
24×add-cube-cbrt
20×times-frac
19×add-exp-log
18×associate-*r*
14×pow1
13×add-cbrt-cube
associate-*l*
prod-exp
expm1-log1p-u div-exp associate-/r/ log1p-expm1-u add-log-exp unswap-sqr
swap-sqr associate-/r* cbrt-unprod fma-udef associate-/l*
cbrt-undiv rec-exp flip3-- 1-exp pow-prod-down *-commutative flip-- div-inv
pow2 distribute-rgt-in pow-flip frac-2neg distribute-lft-in pow-plus associate-*r/ clear-num pow-sqr un-div-inv pow-prod-up inv-pow
Counts
4 → 114
Calls
4 calls:
3.0ms
(* (fma 2.0 x y) (fma 2.0 x y))
6.0ms
(/ 1 (- (* x x) (* (fma 2.0 x y) y)))
0.0ms
(fma (- (* (fma 2.0 x y) (fma 2.0 x y))) (pow y 2) (pow x 4))
17.0ms
(* (fma (- (* (fma 2.0 x y) (fma 2.0 x y))) (pow y 2) (pow x 4)) (/ 1 (- (* x x) (* (fma 2.0 x y) y))))

series281.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (fma 2.0 x y) (fma 2.0 x y))
76.0ms
(/ 1 (- (* x x) (* (fma 2.0 x y) y)))
87.0ms
(fma (- (* (fma 2.0 x y) (fma 2.0 x y))) (pow y 2) (pow x 4))
88.0ms
(* (fma (- (* (fma 2.0 x y) (fma 2.0 x y))) (pow y 2) (pow x 4)) (/ 1 (- (* x x) (* (fma 2.0 x y) y))))

simplify73.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
04091251
118491083
250031031

prune364.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes47.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
0136
1136

end0.0ms

sample640.0ms

Algorithm
intervals
Results
420.0ms14360×body80valid