Details

Time bar (total: 3.9s)

sample57.0ms

Algorithm
intervals
Results
39.0ms478×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0154
1254
2274
3274

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

series74.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206183
11038169
25001169

prune66.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
(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)))))

rewrite36.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:
6.0ms
(sqrt (+ (* y y) (* x (+ 2.0 x))))
3.0ms
(+ (* y y) (* x (+ 2.0 x)))
3.0ms
(+ (* y y) (* x (+ 2.0 x)))
21.0ms
(* (sqrt (+ (* y y) (* x (+ 2.0 x)))) (sqrt (+ (* y y) (* x (+ 2.0 x)))))

series203.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0246897
11051806
25001779

prune180.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
122×sqrt-div
91×sqrt-pow1 sqrt-prod
69×pow1
60×add-sqr-sqrt
47×pow1/2
39×pow-prod-up
35×flip3-+ flip-+
32×frac-times
22×add-cube-cbrt *-un-lft-identity
17×swap-sqr
16×associate-*r/
15×associate-*l*
12×pow-prod-down
11×add-exp-log pow-sqr add-cbrt-cube unswap-sqr
10×associate-*r* associate-*l/
rem-sqrt-square prod-exp cbrt-unprod add-log-exp
sqrt-unprod
*-commutative
pow2 pow-plus rem-square-sqrt
Counts
4 → 197
Calls
4 calls:
4.0ms
(sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))
4.0ms
(sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))
56.0ms
(* (sqrt (+ (* y y) (* x (+ 2.0 x)))) (* (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x))))) (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))))
27.0ms
(* (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x))))) (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x))))))

series340.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))
90.0ms
(sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))
33.0ms
(* (sqrt (+ (* y y) (* x (+ 2.0 x)))) (* (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x))))) (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))))
127.0ms
(* (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x))))) (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x))))))

simplify77.0ms

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05472564
120442212
250012176

prune373.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize29.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x))))))
0.1b
(* (sqrt (+ (* y y) (* x (+ 2.0 x)))) (* (sqrt (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))) (pow (sqrt (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))) 3)))
0.2b
(* (sqrt (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))) (pow (sqrt (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))) 3))
0.6b
(pow (sqrt (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))) 3)

rewrite166.0ms

Algorithm
rewrite-expression-head
Rules
222×sqrt-prod
174×sqrt-div
110×add-sqr-sqrt
40×unpow-prod-down cube-prod unswap-sqr
35×flip3-+ flip-+
32×frac-times
31×add-cube-cbrt *-un-lft-identity associate-*r*
26×cube-div
20×add-exp-log
18×sqrt-pow1 associate-*l*
16×associate-*r/
14×pow1
12×add-cbrt-cube
10×associate-*l/ prod-exp
pow-pow
pow1/2 sqr-pow
cbrt-unprod add-log-exp
pow-to-exp rem-sqrt-square pow-unpow pow-exp
cube-mult unpow3 *-commutative
pow-prod-down pow-prod-up sqrt-pow2 rem-cube-cbrt
Counts
4 → 228
Calls
4 calls:
5.0ms
(sqrt (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x))))))
69.0ms
(* (sqrt (+ (* y y) (* x (+ 2.0 x)))) (* (sqrt (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))) (pow (sqrt (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))) 3)))
61.0ms
(* (sqrt (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))) (pow (sqrt (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))) 3))
14.0ms
(pow (sqrt (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))) 3)

series378.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(sqrt (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x))))))
37.0ms
(* (sqrt (+ (* y y) (* x (+ 2.0 x)))) (* (sqrt (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))) (pow (sqrt (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))) 3)))
114.0ms
(* (sqrt (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))) (pow (sqrt (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))) 3))
124.0ms
(pow (sqrt (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))) 3)

simplify130.0ms

Algorithm
egg-herbie
Counts
240 → 240
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
07385288
133244145
250013706

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

sample979.0ms

Algorithm
intervals
Results
733.0ms14063×body80valid