Details

Time bar (total: 2.7s)

sample37.0ms

Algorithm
intervals
Results
26.0ms458×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0164
1333
2413
3413

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 2.0) (* x x))
0.0b
(+ (+ (* x 2.0) (* x x)) (* 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 distribute-lft-out
associate-+l+
Counts
2 → 34
Calls
2 calls:
3.0ms
(+ (* x 2.0) (* x x))
14.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))

series95.0ms

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

simplify129.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (125.0ms)

IterNodesCost
0196206
1967178
24173167
35001166

prune97.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ (+ (* x 2.0) (* x x)) (* y y)))
0.0b
(+ (+ (* x 2.0) (* x x)) (* y y))
0.0b
(+ (+ (* x 2.0) (* x x)) (* y y))
0.1b
(* (sqrt (+ (+ (* x 2.0) (* x x)) (* y y))) (sqrt (+ (+ (* x 2.0) (* x x)) (* y y))))

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
21×sqrt-prod
20×pow1
15×add-cube-cbrt *-un-lft-identity
14×sqrt-div add-log-exp
sqrt-pow1 flip3-+ pow1/2 flip-+
fma-def swap-sqr
add-exp-log associate-*r* associate-*l* sum-log add-cbrt-cube
pow-prod-up
expm1-log1p-u frac-times log1p-expm1-u unswap-sqr
pow-prod-down pow-sqr
+-commutative associate-+l+ associate-*r/ associate-*l/ distribute-lft-out
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod hypot-def
Counts
4 → 115
Calls
4 calls:
14.0ms
(sqrt (+ (+ (* x 2.0) (* x x)) (* y y)))
13.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))
16.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))
60.0ms
(* (sqrt (+ (+ (* x 2.0) (* x x)) (* y y))) (sqrt (+ (+ (* x 2.0) (* x x)) (* y y))))

series222.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(sqrt (+ (+ (* x 2.0) (* x x)) (* y y)))
33.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))
36.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))
34.0ms
(* (sqrt (+ (+ (* x 2.0) (* x x)) (* y y))) (sqrt (+ (+ (* x 2.0) (* x x)) (* y y))))

simplify60.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
02431074
11179929
25001903

prune301.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma x x (* y y))
0.0b
(fma 2.0 x (fma x x (* y y)))
0.2b
(pow (fma 2.0 x (fma x x (* y y))) 3)
40.9b
(cbrt (pow (fma 2.0 x (fma x x (* y y))) 3))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow
cube-mult unpow3 fma-udef sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 68
Calls
4 calls:
0.0ms
(fma x x (* y y))
0.0ms
(fma 2.0 x (fma x x (* y y)))
1.0ms
(pow (fma 2.0 x (fma x x (* y y))) 3)
2.0ms
(cbrt (pow (fma 2.0 x (fma x x (* y y))) 3))

series245.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(fma x x (* y y))
43.0ms
(fma 2.0 x (fma x x (* y y)))
125.0ms
(pow (fma 2.0 x (fma x x (* y y))) 3)
40.0ms
(cbrt (pow (fma 2.0 x (fma x x (* y y))) 3))

simplify46.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0191427
1821391
25002384

prune175.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes82.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 (1.0ms)

IterNodesCost
0115
1115

end0.0ms

sample1.0s

Algorithm
intervals
Results
818.0ms14381×body80valid