Details

Time bar (total: 3.3s)

sample23.0ms

Algorithm
intervals
Results
13.0ms449×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0176
1375
2465
3465

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

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

series64.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0222234
11119217
25001217

prune78.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

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

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

series66.0ms

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

simplify161.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0191234
1998212
24902196
35002196

prune64.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ (* y (+ (pow (* x 2.0) 3) (pow y 3))) (+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y)))) (* x x))
0.0b
(+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y)))
1.8b
(* y (+ (pow (* x 2.0) 3) (pow y 3)))
27.2b
(/ (* y (+ (pow (* x 2.0) 3) (pow y 3))) (+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y))))

rewrite400.0ms

Algorithm
rewrite-expression-head
Rules
11×add-exp-log add-cbrt-cube add-log-exp
10×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
pow1
flip3-+ associate-*r* flip-+
associate-*r/
times-frac associate-*l* associate-/r* sum-log
cbrt-undiv +-commutative associate-+r+ div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/
distribute-rgt-in associate-+r- sub-neg frac-2neg distribute-lft-in diff-log pow-prod-down clear-num sum-cubes *-commutative div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
4 → 75
Calls
4 calls:
308.0ms
(+ (/ (* y (+ (pow (* x 2.0) 3) (pow y 3))) (+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y)))) (* x x))
14.0ms
(+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y)))
36.0ms
(* y (+ (pow (* x 2.0) 3) (pow y 3)))
40.0ms
(/ (* y (+ (pow (* x 2.0) 3) (pow y 3))) (+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y))))

series293.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(+ (/ (* y (+ (pow (* x 2.0) 3) (pow y 3))) (+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y)))) (* x x))
30.0ms
(+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y)))
64.0ms
(* y (+ (pow (* x 2.0) 3) (pow y 3)))
122.0ms
(/ (* y (+ (pow (* x 2.0) 3) (pow y 3))) (+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y))))

simplify86.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
04711173
125691028
250021019

prune260.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* y (/ (+ (pow (* x 2.0) 3) (pow y 3)) (+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y))))) (* x x))
0.0b
(+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y)))
0.0b
(* y (/ (+ (pow (* x 2.0) 3) (pow y 3)) (+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y)))))
21.9b
(/ (+ (pow (* x 2.0) 3) (pow y 3)) (+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y))))

rewrite190.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
31×times-frac
29×add-sqr-sqrt
24×add-cube-cbrt
21×associate-*r*
11×add-exp-log add-cbrt-cube add-log-exp
sum-cubes distribute-lft-out
pow1
flip3-+ flip-+ associate-/l*
associate-/r/
associate-*l* associate-/r* sum-log
cbrt-undiv +-commutative associate-+r+ div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
associate-+r- sub-neg frac-2neg diff-log associate-*r/ pow-prod-down clear-num *-commutative
Counts
4 → 105
Calls
4 calls:
26.0ms
(+ (* y (/ (+ (pow (* x 2.0) 3) (pow y 3)) (+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y))))) (* x x))
14.0ms
(+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y)))
94.0ms
(* y (/ (+ (pow (* x 2.0) 3) (pow y 3)) (+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y)))))
53.0ms
(/ (+ (pow (* x 2.0) 3) (pow y 3)) (+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y))))

series339.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(+ (* y (/ (+ (pow (* x 2.0) 3) (pow y 3)) (+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y))))) (* x x))
31.0ms
(+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y)))
128.0ms
(* y (/ (+ (pow (* x 2.0) 3) (pow y 3)) (+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y)))))
100.0ms
(/ (+ (pow (* x 2.0) 3) (pow y 3)) (+ (* (* x 2.0) (* x 2.0)) (- (* y y) (* (* x 2.0) y))))

simplify92.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
04782048
125021848
250011832

prune367.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

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

sample653.0ms

Algorithm
intervals
Results
414.0ms14360×body80valid