Details

Time bar (total: 2.0s)

sample24.0ms

Algorithm
intervals
Results
12.0ms484×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0176
1375
2465
3465

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

rewrite38.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:
29.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))
8.0ms
(+ (* x x) (* (* x 2.0) y))

series66.0ms

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

simplify155.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0191234
1998212
24902196
35002196

prune60.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite42.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:
23.0ms
(* x (+ (* 2.0 y) x))
18.0ms
(+ (* x (+ (* 2.0 y) x)) (* y y))

series65.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0225237
11110217
25002217

prune75.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite37.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-+r+ 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:
27.0ms
(* y (+ (* x 2.0) y))
9.0ms
(+ (* x x) (* y (+ (* x 2.0) y)))

series67.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0224234
11140214
25002214

prune64.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite148.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:
16.0ms
(+ (* x (+ (* 2.0 y) x)) (* y y))
92.0ms
(* (sqrt (+ (* x (+ (* 2.0 y) x)) (* y y))) (sqrt (+ (* x (+ (* 2.0 y) x)) (* y y))))
20.0ms
(sqrt (+ (* x (+ (* 2.0 y) x)) (* y y)))
17.0ms
(sqrt (+ (* x (+ (* 2.0 y) x)) (* y y)))

series162.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (* x (+ (* 2.0 y) x)) (* y y))
24.0ms
(* (sqrt (+ (* x (+ (* 2.0 y) x)) (* y y))) (sqrt (+ (* x (+ (* 2.0 y) x)) (* y y))))
59.0ms
(sqrt (+ (* x (+ (* 2.0 y) x)) (* y y)))
55.0ms
(sqrt (+ (* x (+ (* 2.0 y) x)) (* y y)))

simplify42.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
02271076
1982984
25001952

prune189.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

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

sample643.0ms

Algorithm
intervals
Results
358.0ms14278×body80valid