Details

Time bar (total: 1.8s)

sample35.0ms

Algorithm
intervals
Results
21.0ms478×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03711
13711

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.0b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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:
5.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))
4.0ms
(+ (* x x) (* (* x 2.0) y))

series12.0ms

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

simplify29.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
05205373

prune40.0ms

Filtered
22 candidates to 30 candidates (-36.4%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New28230
Fresh000
Picked101
Done000
Total29231

Merged error: 0.0b

Counts
31 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.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:
5.0ms
(+ (* x (+ x (* 2.0 y))) (* y y))
5.0ms
(* x (+ x (* 2.0 y)))

series12.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
05067439

prune44.0ms

Filtered
27 candidates to 41 candidates (-51.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New40141
Fresh011
Picked011
Done000
Total40343

Merged error: 0b

Counts
43 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite29.0ms

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

series37.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
05772976

prune91.0ms

Filtered
48 candidates to 73 candidates (-52.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New73073
Fresh011
Picked011
Done011
Total73376

Merged error: 0b

Counts
76 → 3

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(* x (* (* x (+ x (* 2.0 y))) (+ x (* 2.0 y))))
0.1b
(* (* x (+ x (* 2.0 y))) (+ x (* 2.0 y)))
4.0b
(- (* x (* (* x (+ x (* 2.0 y))) (+ x (* 2.0 y)))) (pow y 4))
34.8b
(/ (- (* x (* (* x (+ x (* 2.0 y))) (+ x (* 2.0 y)))) (pow y 4)) (+ (* x x) (* y (- (* x 2.0) y))))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
24×associate-*r/
20×add-exp-log add-cbrt-cube
18×pow1
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
13×flip3-+ flip-+
distribute-rgt-in distribute-lft-in times-frac pow-prod-down prod-exp cbrt-unprod
frac-times
add-log-exp
associate-*r* associate-*l* associate-*l/ associate--l+
associate-/r* associate-/l*
flip3-- associate-/r/ *-commutative flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
4 → 109
Calls
4 calls:
11.0ms
(* x (* (* x (+ x (* 2.0 y))) (+ x (* 2.0 y))))
10.0ms
(* (* x (+ x (* 2.0 y))) (+ x (* 2.0 y)))
11.0ms
(- (* x (* (* x (+ x (* 2.0 y))) (+ x (* 2.0 y)))) (pow y 4))
15.0ms
(/ (- (* x (* (* x (+ x (* 2.0 y))) (+ x (* 2.0 y)))) (pow y 4)) (+ (* x x) (* y (- (* x 2.0) y))))

series46.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* x (* (* x (+ x (* 2.0 y))) (+ x (* 2.0 y))))
7.0ms
(* (* x (+ x (* 2.0 y))) (+ x (* 2.0 y)))
15.0ms
(- (* x (* (* x (+ x (* 2.0 y))) (+ x (* 2.0 y)))) (pow y 4))
18.0ms
(/ (- (* x (* (* x (+ x (* 2.0 y))) (+ x (* 2.0 y)))) (pow y 4)) (+ (* x x) (* y (- (* x 2.0) y))))

simplify57.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049972915
149972915

prune258.0ms

Filtered
86 candidates to 121 candidates (-40.7%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1210121
Fresh000
Picked011
Done022
Total1213124

Merged error: 0b

Counts
124 → 3

regimes72.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
01211
11211

end0.0ms

sample889.0ms

Algorithm
intervals
Results
517.0ms14183×body80valid

Profiling

Loading profile data...