Details

Time bar (total: 2.2s)

sample29.0ms

Algorithm
intervals
Results
14.0ms435×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
0176
1375
2465
3465

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

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

rewrite17.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*
distribute-rgt-in associate-+l+ distribute-lft-in flip3-+ associate-*r/ flip-+
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
2 → 35
Calls
2 calls:
6.0ms
(* y (+ (* x 2.0) y))
10.0ms
(+ (* y (+ (* x 2.0) y)) (* x x))

series12.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0222234
11119217
25001217

prune83.0ms

Filtered
41 candidates to 28 candidates (31.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New39241
Fresh011
Picked011
Done000
Total39443

Merged error: 0b

Counts
43 → 4

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ add-cbrt-cube flip-+
associate-+l+
Counts
2 → 24
Calls
2 calls:
3.0ms
(+ (* x x) (* (* x 2.0) y))
5.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))

series12.0ms

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

simplify157.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0191234
1998212
24902196
35002196

prune64.0ms

Filtered
30 candidates to 23 candidates (23.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New30030
Fresh022
Picked011
Done011
Total30434

Merged error: 0b

Counts
34 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
24×sqrt-prod
23×pow1
16×add-cube-cbrt *-un-lft-identity sqrt-div
10×sqrt-pow1 pow1/2
flip3-+ associate-*r* associate-*l* flip-+
add-exp-log swap-sqr add-cbrt-cube
pow-prod-up unswap-sqr
frac-times associate-*r/ pow-prod-down add-log-exp
pow-sqr
rem-sqrt-square associate-*l/ prod-exp *-commutative cbrt-unprod
pow2 distribute-rgt-in distribute-lft-in pow-plus sqrt-unprod rem-square-sqrt
Counts
4 → 109
Calls
4 calls:
6.0ms
(* y (+ (* x 2.0) y))
16.0ms
(* (sqrt (+ (* y (+ (* x 2.0) y)) (* x x))) (sqrt (+ (* y (+ (* x 2.0) y)) (* x x))))
6.0ms
(sqrt (+ (* y (+ (* x 2.0) y)) (* x x)))
6.0ms
(sqrt (+ (* y (+ (* x 2.0) y)) (* x x)))

series31.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* y (+ (* x 2.0) y))
6.0ms
(* (sqrt (+ (* y (+ (* x 2.0) y)) (* x x))) (sqrt (+ (* y (+ (* x 2.0) y)) (* x x))))
9.0ms
(sqrt (+ (* y (+ (* x 2.0) y)) (* x x)))
10.0ms
(sqrt (+ (* y (+ (* x 2.0) y)) (* x x)))

simplify59.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
03081082
11500978
25002947

prune286.0ms

Filtered
121 candidates to 71 candidates (41.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1210121
Fresh011
Picked011
Done022
Total1214125

Merged error: 0b

Counts
125 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.0ms

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

series30.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(+ (* (sqrt y) (* (sqrt y) (+ (* x 2.0) y))) (* x x))
9.0ms
(* (sqrt y) (+ (* x 2.0) y))
11.0ms
(* (sqrt y) (* (sqrt y) (+ (* x 2.0) y)))

simplify54.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0398543
11909460
25001460

prune253.0ms

Filtered
77 candidates to 55 candidates (28.6%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New77077
Fresh000
Picked011
Done033
Total77481

Merged error: 0b

Counts
81 → 4

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

sample810.0ms

Algorithm
intervals
Results
475.0ms14279×body80valid

Profiling

Loading profile data...