Details

Time bar (total: 2.7s)

sample21.0ms

Algorithm
intervals
Results
10.0ms438×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0154
1254
2274
3274

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

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

series85.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0182191
1887164
23634160
35002160

prune59.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series72.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206183
11038169
25002169

prune63.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 (+ (* y y) (* x (+ 2.0 x)))) (cbrt (+ (* y y) (* x (+ 2.0 x)))))
0.6b
(cbrt (+ (* y y) (* x (+ 2.0 x))))
0.6b
(cbrt (+ (* y y) (* x (+ 2.0 x))))
0.6b
(cbrt (+ (* y y) (* x (+ 2.0 x))))

rewrite25.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:
13.0ms
(* (cbrt (+ (* y y) (* x (+ 2.0 x)))) (cbrt (+ (* y y) (* x (+ 2.0 x)))))
3.0ms
(cbrt (+ (* y y) (* x (+ 2.0 x))))
3.0ms
(cbrt (+ (* y y) (* x (+ 2.0 x))))
3.0ms
(cbrt (+ (* y y) (* x (+ 2.0 x))))

series416.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(* (cbrt (+ (* y y) (* x (+ 2.0 x)))) (cbrt (+ (* y y) (* x (+ 2.0 x)))))
96.0ms
(cbrt (+ (* y y) (* x (+ 2.0 x))))
97.0ms
(cbrt (+ (* y y) (* x (+ 2.0 x))))
98.0ms
(cbrt (+ (* y y) (* x (+ 2.0 x))))

simplify127.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 3 (112.0ms)

IterNodesCost
02631232
19641153
244101071
350011064

prune230.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
(+ (* y y) (/ (* x (+ (pow 2.0 3) (pow x 3))) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x)))))
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))))

rewrite50.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:
4.0ms
(- (* x x) (* 2.0 x))
11.0ms
(+ (* y y) (/ (* x (+ (pow 2.0 3) (pow x 3))) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x)))))
14.0ms
(* x (+ (pow 2.0 3) (pow x 3)))
19.0ms
(/ (* x (+ (pow 2.0 3) (pow x 3))) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x))))

series470.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(- (* x x) (* 2.0 x))
104.0ms
(+ (* y y) (/ (* x (+ (pow 2.0 3) (pow x 3))) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x)))))
97.0ms
(* x (+ (pow 2.0 3) (pow x 3)))
208.0ms
(/ (* x (+ (pow 2.0 3) (pow x 3))) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x))))

simplify83.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
0471800
12465703
25003696

prune235.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes46.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104
1104

end0.0ms

sample557.0ms

Algorithm
intervals
Results
328.0ms14290×body80valid