Details

Time bar (total: 2.3s)

sample20.0ms

Algorithm
intervals
Results
10.0ms465×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0154
1254
2274
3274

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

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

series76.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206183
11038169
25002169

prune71.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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:
2.0ms
(+ (* x 2.0) (* x x))
11.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))

series89.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0182191
1887164
23634160
35002160

prune62.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.0b
(+ (* x 2.0) (* x x))
0.0b
(+ (+ (* x 2.0) (* x x)) (* y y))
0.0b
(+ (+ (* x 2.0) (* x x)) (* y y))
0.1b
(* (sqrt (+ (+ (* x 2.0) (* x x)) (* y y))) (sqrt (+ (+ (* x 2.0) (* x x)) (* y y))))

rewrite86.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 distribute-lft-out
Counts
4 → 95
Calls
4 calls:
2.0ms
(+ (* x 2.0) (* x x))
11.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))
11.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))
59.0ms
(* (sqrt (+ (+ (* x 2.0) (* x x)) (* y y))) (sqrt (+ (+ (* x 2.0) (* x x)) (* y y))))

series154.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0275959
11370831
25001811

prune204.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize11.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)))
1.6b
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
30.5b
(/ (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)) (- (* y y) (* x (+ 2.0 x))))

rewrite66.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:
3.0ms
(- (* y y) (* x (+ 2.0 x)))
22.0ms
(* (* x (+ 2.0 x)) (* x (+ 2.0 x)))
13.0ms
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
24.0ms
(/ (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)) (- (* y y) (* x (+ 2.0 x))))

series266.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (* y y) (* x (+ 2.0 x)))
39.0ms
(* (* x (+ 2.0 x)) (* x (+ 2.0 x)))
94.0ms
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
101.0ms
(/ (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)) (- (* y y) (* x (+ 2.0 x))))

simplify83.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
05231343
127611176
250021160

prune250.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

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

sample547.0ms

Algorithm
intervals
Results
328.0ms14336×body80valid