Details

Time bar (total: 1.5s)

analyze98.0ms

Algorithm
search

sample15.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
0.0msbody80invalid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0176
1375
2465
3465

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

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

series15.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0222234
11119217
25001217

prune55.0ms

Filtered
28 candidates to 41 candidates (-46.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New38341
Fresh011
Picked101
Done000
Total39443

Merged error: 0.0b

Counts
43 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.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-+l+ associate-*r/ associate-*l/
+-commutative pow2 distribute-rgt-in distribute-lft-in pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 100
Calls
4 calls:
7.0ms
(+ (* y (+ (* x 2.0) y)) (* x x))
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)))

series34.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
02261070
11033984
25001952

prune141.0ms

Filtered
68 candidates to 112 candidates (-64.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1111112
Fresh123
Picked011
Done000
Total1124116

Merged error: 0b

Counts
116 → 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))

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:
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))

simplify164.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0191234
1998212
24902196
35002196

prune42.0ms

Filtered
23 candidates to 30 candidates (-30.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New29130
Fresh112
Picked011
Done011
Total30434

Merged error: 0b

Counts
34 → 4

localize7.0ms

Local error

Found 2 expressions with local error:

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

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

series12.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0225237
11110217
25001217

prune41.0ms

Filtered
29 candidates to 41 candidates (-41.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New41041
Fresh011
Picked011
Done022
Total41445

Merged error: 0b

Counts
45 → 4

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

analyze94.0ms

Algorithm
search

sample393.0ms

Algorithm
intervals
Results
264.0ms8000×body80valid
9.0ms193×body80invalid

Profiling

Loading profile data...