Details

Time bar (total: 2.4s)

sample33.0ms

Algorithm
intervals
Results
23.0ms463×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0154
1254
2274
3274

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

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

series75.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0206183
11038169
25001169

prune73.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×sqrt-prod
20×pow1
14×sqrt-div
13×add-cube-cbrt *-un-lft-identity
sqrt-pow1 flip3-+ pow1/2 flip-+
swap-sqr add-log-exp
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
frac-times associate-+r+ unswap-sqr
pow-prod-down pow-sqr
+-commutative distribute-rgt-in distribute-lft-in associate-*r/ associate-*l/ sum-log
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 98
Calls
4 calls:
3.0ms
(sqrt (+ (* y y) (* x (+ 2.0 x))))
3.0ms
(+ (* y y) (* x (+ 2.0 x)))
3.0ms
(+ (* y y) (* x (+ 2.0 x)))
20.0ms
(* (sqrt (+ (* y y) (* x (+ 2.0 x)))) (sqrt (+ (* y y) (* x (+ 2.0 x)))))

series205.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0246897
11051806
25001779

prune190.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 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)))
0.7b
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
27.5b
(/ (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)) (- (* y y) (* x (+ 2.0 x))))

rewrite68.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)))
23.0ms
(* (* x (+ 2.0 x)) (* x (+ 2.0 x)))
10.0ms
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
28.0ms
(/ (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)) (- (* y y) (* x (+ 2.0 x))))

series258.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (* y y) (* x (+ 2.0 x)))
34.0ms
(* (* x (+ 2.0 x)) (* x (+ 2.0 x)))
91.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))))

simplify86.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
05231343
127611176
250021160

prune252.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

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

sample940.0ms

Algorithm
intervals
Results
706.0ms14312×body80valid