Details

Time bar (total: 2.8s)

sample23.0ms

Algorithm
intervals
Results
12.0ms440×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0176
1375
2465
3465

prune5.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
associate-*l*
add-sqr-sqrt distribute-lft-out
+-commutative associate-*r*
pow1 add-exp-log distribute-rgt-in add-cube-cbrt associate-+l+ distribute-lft-in add-cbrt-cube add-log-exp
flip3-+ associate-*r/ flip-+
pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
2 → 45
Calls
2 calls:
14.0ms
(* y (+ (* x 2.0) y))
22.0ms
(+ (* y (+ (* x 2.0) y)) (* x x))

series66.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0218269
11080249
25002249

prune62.0ms

Filtered
51 candidates to 30 candidates (41.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New48351
Fresh101
Picked011
Done000
Total49453

Merged error: 0.0b

Counts
53 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
associate-*l*
add-sqr-sqrt distribute-lft-out
+-commutative associate-*r*
pow1 add-exp-log distribute-rgt-in add-cube-cbrt associate-+r+ distribute-lft-in add-cbrt-cube add-log-exp
flip3-+ associate-*r/ flip-+
pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
2 → 45
Calls
2 calls:
20.0ms
(+ (* y y) (* x (+ x (* 2.0 y))))
9.0ms
(* x (+ x (* 2.0 y)))

series69.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0221270
11091246
25002246

prune63.0ms

Filtered
51 candidates to 31 candidates (39.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New51051
Fresh022
Picked011
Done011
Total51455

Merged error: 0.0b

Counts
55 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
16×associate-*l* distribute-lft-out
14×sqrt-prod
add-sqr-sqrt associate-+l+ add-log-exp
pow1 +-commutative add-cube-cbrt
add-exp-log distribute-rgt-in distribute-lft-in flip3-+ sqrt-div add-cbrt-cube flip-+
rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
4 → 76
Calls
4 calls:
23.0ms
(+ (* y (+ (* x 2.0) y)) (* x x))
26.0ms
(+ (* y (+ (* x 2.0) y)) (* x x))
21.0ms
(sqrt (+ (* y (+ (* x 2.0) y)) (* x x)))
22.0ms
(sqrt (+ (* y (+ (* x 2.0) y)) (* x x)))

series179.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* y (+ (* x 2.0) y)) (* x x))
29.0ms
(+ (* y (+ (* x 2.0) y)) (* x x))
58.0ms
(sqrt (+ (* y (+ (* x 2.0) y)) (* x x)))
62.0ms
(sqrt (+ (* y (+ (* x 2.0) y)) (* x x)))

simplify129.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
0153658
1597622
23070614
35002604

prune341.0ms

Filtered
88 candidates to 56 candidates (36.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New87188
Fresh011
Picked101
Done022
Total88492

Merged error: 0b

Counts
92 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (fabs (cbrt (+ (* y (+ (* x 2.0) y)) (* x x)))) (sqrt (cbrt (+ (* y (+ (* x 2.0) y)) (* x x)))))
6.1b
(sqrt (+ (* y (+ (* x 2.0) y)) (* x x)))
6.8b
(cbrt (+ (* y (+ (* x 2.0) y)) (* x x)))
6.8b
(cbrt (+ (* y (+ (* x 2.0) y)) (* x x)))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
22×cbrt-prod
19×associate-*l* sqrt-prod
18×add-sqr-sqrt
16×distribute-lft-out
13×associate-*r*
11×add-cube-cbrt
pow1
add-exp-log cbrt-div add-cbrt-cube
flip3-+ sqrt-div flip-+ add-log-exp
unswap-sqr
pow1/3 associate-*r/
rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
4 → 85
Calls
4 calls:
30.0ms
(* (fabs (cbrt (+ (* y (+ (* x 2.0) y)) (* x x)))) (sqrt (cbrt (+ (* y (+ (* x 2.0) y)) (* x x)))))
21.0ms
(sqrt (+ (* y (+ (* x 2.0) y)) (* x x)))
21.0ms
(cbrt (+ (* y (+ (* x 2.0) y)) (* x x)))
25.0ms
(cbrt (+ (* y (+ (* x 2.0) y)) (* x x)))

series529.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(* (fabs (cbrt (+ (* y (+ (* x 2.0) y)) (* x x)))) (sqrt (cbrt (+ (* y (+ (* x 2.0) y)) (* x x)))))
61.0ms
(sqrt (+ (* y (+ (* x 2.0) y)) (* x x)))
146.0ms
(cbrt (+ (* y (+ (* x 2.0) y)) (* x x)))
147.0ms
(cbrt (+ (* y (+ (* x 2.0) y)) (* x x)))

simplify54.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
03301225
112151148
250021134

prune221.0ms

Filtered
97 candidates to 68 candidates (29.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New97097
Fresh011
Picked011
Done022
Total974101

Merged error: 0b

Counts
101 → 4

regimes38.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
0125
1125

end0.0ms

sample605.0ms

Algorithm
intervals
Results
386.0ms14183×body80valid