Details

Time bar (total: 2.0s)

sample30.0ms

Algorithm
intervals
Results
14.0ms431×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
0176
1375
2465
3465

prune7.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)) (* x x))
0.0b
(* y (+ (* x 2.0) y))

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

series12.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0222234
11119217
25001217

prune46.0ms

Filtered
41 candidates to 28 candidates (31.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New40141
Fresh011
Picked101
Done000
Total41243

Merged error: 0.0b

Counts
43 → 2

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

simplify151.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0191234
1998212
24902196
35002196

prune38.0ms

Filtered
30 candidates to 23 candidates (23.3%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New29130
Fresh101
Picked011
Done000
Total30232

Merged error: 0.0b

Counts
32 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
16×sqrt-div
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
flip3-+ flip-+
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
frac-times unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 98
Calls
4 calls:
12.0ms
(+ (* (sqrt (+ (* x x) (* (* x 2.0) y))) (sqrt (+ (* x x) (* (* x 2.0) y)))) (* y y))
11.0ms
(* (sqrt (+ (* x x) (* (* x 2.0) y))) (sqrt (+ (* x x) (* (* x 2.0) y))))
3.0ms
(sqrt (+ (* x x) (* (* x 2.0) y)))
4.0ms
(sqrt (+ (* x x) (* (* x 2.0) y)))

series34.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
03021057
11424919
25001878

prune133.0ms

Filtered
110 candidates to 68 candidates (38.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1091110
Fresh000
Picked011
Done011
Total1093112

Merged error: 0b

Counts
112 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(pow (cbrt (sqrt (+ (* x x) (* (* x 2.0) y)))) 4)
10.4b
(sqrt (+ (* x x) (* (* x 2.0) y)))
10.4b
(sqrt (+ (* x x) (* (* x 2.0) y)))
10.4b
(sqrt (+ (* x x) (* (* x 2.0) y)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×sqrt-prod
11×add-cube-cbrt *-un-lft-identity
unpow-prod-down
pow1
cbrt-prod sqrt-div
add-exp-log
add-cbrt-cube add-log-exp
rem-sqrt-square pow-unpow sqrt-pow1 flip3-+ pow1/2 flip-+
pow-pow
pow-to-exp pow1/3 pow-exp sqr-pow
Counts
4 → 69
Calls
4 calls:
6.0ms
(pow (cbrt (sqrt (+ (* x x) (* (* x 2.0) y)))) 4)
4.0ms
(sqrt (+ (* x x) (* (* x 2.0) y)))
3.0ms
(sqrt (+ (* x x) (* (* x 2.0) y)))
3.0ms
(sqrt (+ (* x x) (* (* x 2.0) y)))

series121.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(pow (cbrt (sqrt (+ (* x x) (* (* x 2.0) y)))) 4)
12.0ms
(sqrt (+ (* x x) (* (* x 2.0) y)))
10.0ms
(sqrt (+ (* x x) (* (* x 2.0) y)))
10.0ms
(sqrt (+ (* x x) (* (* x 2.0) y)))

simplify130.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0268677
1895645
23811637
35001637

prune202.0ms

Filtered
81 candidates to 63 candidates (22.2%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New81081
Fresh000
Picked011
Done022
Total81384

Merged error: 0b

Counts
84 → 3

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

sample809.0ms

Algorithm
intervals
Results
470.0ms14137×body80valid

Profiling

Loading profile data...