Details

Time bar (total: 3.1s)

sample22.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
(+ (* y y) (* x (+ 2.0 x)))
0.0b
(* 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:
12.0ms
(+ (* y y) (* x (+ 2.0 x)))
19.0ms
(* x (+ 2.0 x))

series76.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0206183
11038169
25002169

prune67.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite39.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:
10.0ms
(+ (* y y) (* 2.0 x))
28.0ms
(+ (+ (* y y) (* 2.0 x)) (* x x))

series59.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0180193
1815175
23049170
35001170

prune57.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite206.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
19×pow1
18×sqrt-prod
16×add-log-exp
12×add-cube-cbrt *-un-lft-identity sqrt-div
flip3-+ flip-+
sqrt-pow1 pow1/2 swap-sqr
sum-log
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
frac-times unswap-sqr
+-commutative pow-prod-down pow-sqr
associate-+l+ associate-*r/ associate-*l/
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 94
Calls
4 calls:
7.0ms
(+ (* y y) (* 2.0 x))
29.0ms
(+ (+ (* y y) (* 2.0 x)) (* x x))
29.0ms
(+ (+ (* y y) (* 2.0 x)) (* x x))
138.0ms
(* (sqrt (+ (+ (* y y) (* 2.0 x)) (* x x))) (sqrt (+ (+ (* y y) (* 2.0 x)) (* x x))))

series125.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ (* y y) (* 2.0 x))
31.0ms
(+ (+ (* y y) (* 2.0 x)) (* x x))
34.0ms
(+ (+ (* y y) (* 2.0 x)) (* x x))
32.0ms
(* (sqrt (+ (+ (* y y) (* 2.0 x)) (* x x))) (sqrt (+ (+ (* y y) (* 2.0 x)) (* x x))))

simplify44.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0273955
11251860
25001828

prune197.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (* y y) (* 2.0 x)) (* x x))
0.0b
(+ (/ (+ (- (* (* 2.0 x) (* 2.0 x))) (pow y 4)) (- (* y y) (* 2.0 x))) (* x x))
0.1b
(* (sqrt (+ (+ (* y y) (* 2.0 x)) (* x x))) (sqrt (+ (/ (+ (- (* (* 2.0 x) (* 2.0 x))) (pow y 4)) (- (* y y) (* 2.0 x))) (* x x))))
17.7b
(/ (+ (- (* (* 2.0 x) (* 2.0 x))) (pow y 4)) (- (* y y) (* 2.0 x)))

rewrite492.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt *-un-lft-identity
17×add-cube-cbrt
12×times-frac sqrt-div
11×add-log-exp
10×sqrt-prod
flip3-+ flip-+
pow1 add-exp-log add-cbrt-cube
associate-*r* associate-*l*
frac-times sum-log distribute-lft-out associate-/l* unswap-sqr
associate-+l- pow-prod-down associate-/r*
+-commutative neg-sub0 sqrt-pow1 pow1/2 div-sub associate-*r/ associate-*l/ associate-/r/ associate-/l/
cbrt-undiv associate-+l+ flip3-- frac-2neg sqrt-unprod div-exp prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv
Counts
4 → 99
Calls
4 calls:
29.0ms
(+ (+ (* y y) (* 2.0 x)) (* x x))
103.0ms
(+ (/ (+ (- (* (* 2.0 x) (* 2.0 x))) (pow y 4)) (- (* y y) (* 2.0 x))) (* x x))
308.0ms
(* (sqrt (+ (+ (* y y) (* 2.0 x)) (* x x))) (sqrt (+ (/ (+ (- (* (* 2.0 x) (* 2.0 x))) (pow y 4)) (- (* y y) (* 2.0 x))) (* x x))))
48.0ms
(/ (+ (- (* (* 2.0 x) (* 2.0 x))) (pow y 4)) (- (* y y) (* 2.0 x)))

series390.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(+ (+ (* y y) (* 2.0 x)) (* x x))
72.0ms
(+ (/ (+ (- (* (* 2.0 x) (* 2.0 x))) (pow y 4)) (- (* y y) (* 2.0 x))) (* x x))
161.0ms
(* (sqrt (+ (+ (* y y) (* 2.0 x)) (* x x))) (sqrt (+ (/ (+ (- (* (* 2.0 x) (* 2.0 x))) (pow y 4)) (- (* y y) (* 2.0 x))) (* x x))))
121.0ms
(/ (+ (- (* (* 2.0 x) (* 2.0 x))) (pow y 4)) (- (* y y) (* 2.0 x)))

simplify71.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04752077
122601960
250011929

prune364.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes38.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
0115
1115

end0.0ms

sample608.0ms

Algorithm
intervals
Results
315.0ms14002×body80valid