Details

Time bar (total: 3.5s)

sample19.0ms

Algorithm
intervals
Results
10.0ms438×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0154
1254
2274
3274

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

rewrite13.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+ distribute-lft-out
Counts
2 → 25
Calls
2 calls:
10.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))
2.0ms
(+ (* x 2.0) (* x x))

series81.0ms

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

simplify98.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0182191
1887164
23634160
35002160

prune57.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt associate-*r* add-cbrt-cube add-log-exp
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 distribute-lft-out unswap-sqr
Counts
2 → 36
Calls
2 calls:
5.0ms
(+ (* x (+ 2.0 x)) (* y y))
9.0ms
(* x (+ 2.0 x))

series72.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0204184
11018171
25002171

prune65.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (* x (+ 2.0 x)) (* y y))) (cbrt (+ (* x (+ 2.0 x)) (* y y))))
0.6b
(cbrt (+ (* x (+ 2.0 x)) (* y y)))
0.6b
(cbrt (+ (* x (+ 2.0 x)) (* y y)))
0.6b
(cbrt (+ (* x (+ 2.0 x)) (* y y)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
36.0ms
(* (cbrt (+ (* x (+ 2.0 x)) (* y y))) (cbrt (+ (* x (+ 2.0 x)) (* y y))))
4.0ms
(cbrt (+ (* x (+ 2.0 x)) (* y y)))
4.0ms
(cbrt (+ (* x (+ 2.0 x)) (* y y)))
4.0ms
(cbrt (+ (* x (+ 2.0 x)) (* y y)))

series1.0s

Counts
4 → 12
Calls
4 calls:
257.0ms
(* (cbrt (+ (* x (+ 2.0 x)) (* y y))) (cbrt (+ (* x (+ 2.0 x)) (* y y))))
244.0ms
(cbrt (+ (* x (+ 2.0 x)) (* y y)))
256.0ms
(cbrt (+ (* x (+ 2.0 x)) (* y y)))
261.0ms
(cbrt (+ (* x (+ 2.0 x)) (* y y)))

simplify147.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
02861236
110671157
249271086
350011086

prune232.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite141.0ms

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

series454.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(- (* x x) (* 2.0 x))
99.0ms
(+ (/ (* x (+ (pow 2.0 3) (pow x 3))) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x)))) (* y y))
99.0ms
(* x (+ (pow 2.0 3) (pow x 3)))
199.0ms
(/ (* x (+ (pow 2.0 3) (pow x 3))) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x))))

simplify72.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0471809
12468712
25001705

prune232.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes43.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
0104
1104

end0.0ms

sample577.0ms

Algorithm
intervals
Results
340.0ms14290×body80valid