Details

Time bar (total: 2.7s)

sample23.0ms

Algorithm
intervals
Results
10.0ms481×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0154
1254
2274
3274

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite32.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:
22.0ms
(* x (+ 2.0 x))
9.0ms
(+ (* y y) (* x (+ 2.0 x)))

series65.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(* x (+ 2.0 x))
26.0ms
(+ (* y y) (* x (+ 2.0 x)))

simplify37.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206183
11038169
25001169

prune63.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y y) (* x (+ 2.0 x)))
0.1b
(* (* x (+ 2.0 x)) (* x (+ 2.0 x)))
2.2b
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
29.1b
(/ (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)) (- (* y y) (* x (+ 2.0 x))))

rewrite139.0ms

Algorithm
rewrite-expression-head
Rules
43×pow1
23×*-un-lft-identity
18×add-exp-log add-cbrt-cube
17×pow-prod-down
14×associate-*r/
13×add-sqr-sqrt add-cube-cbrt
12×times-frac
10×add-log-exp
distribute-rgt-in distribute-lft-in
flip3-+ prod-exp cbrt-unprod flip-+
distribute-lft-out
frac-times associate-+l+ distribute-neg-in pow-sqr pow-prod-up associate-/l*
associate-/r*
neg-sub0 associate-+l- flip3-- pow-plus associate-*l/ sum-log associate-/r/ flip-- associate-/l/ associate--r+
cbrt-undiv +-commutative pow2 sub-neg frac-2neg diff-log div-sub swap-sqr div-exp associate-*r* associate-*l* neg-log clear-num *-commutative div-inv
Counts
4 → 114
Calls
4 calls:
8.0ms
(- (* y y) (* x (+ 2.0 x)))
53.0ms
(* (* x (+ 2.0 x)) (* x (+ 2.0 x)))
22.0ms
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
52.0ms
(/ (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)) (- (* y y) (* x (+ 2.0 x))))

series223.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(- (* y y) (* x (+ 2.0 x)))
27.0ms
(* (* x (+ 2.0 x)) (* x (+ 2.0 x)))
79.0ms
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
88.0ms
(/ (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)) (- (* y y) (* x (+ 2.0 x))))

simplify79.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
05231343
127611176
250021160

prune226.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

2.2b
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
2.2b
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
19.3b
(sqrt (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)))
19.3b
(sqrt (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-log-exp
distribute-rgt-in add-sqr-sqrt associate-+l+ distribute-neg-in distribute-lft-in sqrt-prod
pow1 add-cube-cbrt
add-exp-log flip3-+ sqrt-div sum-log add-cbrt-cube flip-+ distribute-lft-out
+-commutative neg-sub0 associate-+l- rem-sqrt-square sqrt-pow1 pow1/2 neg-log
Counts
4 → 68
Calls
4 calls:
22.0ms
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
23.0ms
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
25.0ms
(sqrt (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)))
28.0ms
(sqrt (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)))

series765.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
86.0ms
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
298.0ms
(sqrt (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)))
296.0ms
(sqrt (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)))

simplify42.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0221942
1926864
25002842

prune261.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

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

sample592.0ms

Algorithm
intervals
Results
306.0ms14174×body80valid