Details

Time bar (total: 2.6s)

sample23.0ms

Algorithm
intervals
Results
13.0ms452×body80valid

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

localize7.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))

rewrite15.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:
12.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))
3.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))

simplify104.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0182191
1887164
23634160
35002160

prune71.0ms

Pruning

3 alts after pruning (3 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
(+ (* x (+ 2.0 x)) (* y y))

rewrite20.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:
13.0ms
(* x (+ 2.0 x))
6.0ms
(+ (* x (+ 2.0 x)) (* y y))

series73.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0204184
11018171
25001171

prune74.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
23×pow1
20×*-un-lft-identity
18×sqrt-prod
16×add-cube-cbrt
14×associate-*r*
12×sqrt-div associate-*l*
10×add-exp-log add-cbrt-cube
flip3-+ flip-+
sqrt-pow1 pow1/2 swap-sqr
associate-*r/ add-log-exp unswap-sqr
pow-prod-down pow-prod-up
frac-times
distribute-rgt-in distribute-lft-in prod-exp pow-sqr *-commutative cbrt-unprod
associate-+l+ associate-*l/ distribute-lft-out
+-commutative pow2 pow-plus sqrt-unprod sum-log rem-square-sqrt
Counts
4 → 116
Calls
4 calls:
5.0ms
(+ (* x (+ 2.0 x)) (* y y))
10.0ms
(* x (+ 2.0 x))
10.0ms
(* x (+ 2.0 x))
41.0ms
(* (sqrt (+ (* x (+ 2.0 x)) (* y y))) (sqrt (+ (* x (+ 2.0 x)) (* y y))))

series146.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ (* x (+ 2.0 x)) (* y y))
40.0ms
(* x (+ 2.0 x))
45.0ms
(* x (+ 2.0 x))
29.0ms
(* (sqrt (+ (* x (+ 2.0 x)) (* y y))) (sqrt (+ (* x (+ 2.0 x)) (* y y))))

simplify51.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0294810
11459740
25002719

prune220.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.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.1b
(* x (+ (pow 2.0 3) (pow x 3)))
12.0b
(/ (* x (+ (pow 2.0 3) (pow x 3))) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x))))

rewrite186.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:
5.0ms
(- (* x x) (* 2.0 x))
92.0ms
(+ (/ (* x (+ (pow 2.0 3) (pow x 3))) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x)))) (* y y))
55.0ms
(* x (+ (pow 2.0 3) (pow x 3)))
31.0ms
(/ (* x (+ (pow 2.0 3) (pow x 3))) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x))))

series468.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(- (* x x) (* 2.0 x))
106.0ms
(+ (/ (* x (+ (pow 2.0 3) (pow x 3))) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x)))) (* y y))
94.0ms
(* x (+ (pow 2.0 3) (pow x 3)))
210.0ms
(/ (* x (+ (pow 2.0 3) (pow x 3))) (+ (* 2.0 2.0) (- (* x x) (* 2.0 x))))

simplify73.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
0471809
12468712
25001705

prune244.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

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

sample528.0ms

Algorithm
intervals
Results
318.0ms14328×body80valid