Details

Time bar (total: 3.0s)

sample22.0ms

Algorithm
intervals
Results
9.0ms442×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

localize5.0ms

Local error

Found 2 expressions with local error:

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

series82.0ms

Counts
2 → 6
Calls
2 calls:
55.0ms
(* x (+ 2.0 x))
27.0ms
(+ (* y y) (* x (+ 2.0 x)))

simplify33.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206183
11038169
25001169

prune62.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

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

rewrite74.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:
8.0ms
(sqrt (+ (* y y) (* x (+ 2.0 x))))
8.0ms
(+ (* y y) (* x (+ 2.0 x)))
8.0ms
(+ (* y y) (* x (+ 2.0 x)))
46.0ms
(* (sqrt (+ (* y y) (* x (+ 2.0 x)))) (sqrt (+ (* y y) (* x (+ 2.0 x)))))

series182.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0246897
11051806
25001779

prune180.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (cbrt (+ (* y y) (* x (+ 2.0 x)))))
0.2b
(* (fabs (cbrt (+ (* y y) (* x (+ 2.0 x))))) (sqrt (cbrt (+ (* y y) (* x (+ 2.0 x))))))
0.6b
(cbrt (+ (* y y) (* x (+ 2.0 x))))
0.6b
(cbrt (+ (* y y) (* x (+ 2.0 x))))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×cbrt-prod sqrt-prod
12×add-cube-cbrt *-un-lft-identity
associate-*r*
cbrt-div
pow1
add-exp-log add-cbrt-cube
flip3-+ sqrt-div flip-+ add-log-exp
pow1/3 associate-*l* unswap-sqr
rem-sqrt-square sqrt-pow1 associate-*r/
pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
4 → 74
Calls
4 calls:
9.0ms
(sqrt (cbrt (+ (* y y) (* x (+ 2.0 x)))))
31.0ms
(* (fabs (cbrt (+ (* y y) (* x (+ 2.0 x))))) (sqrt (cbrt (+ (* y y) (* x (+ 2.0 x))))))
5.0ms
(cbrt (+ (* y y) (* x (+ 2.0 x))))
5.0ms
(cbrt (+ (* y y) (* x (+ 2.0 x))))

series407.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(sqrt (cbrt (+ (* y y) (* x (+ 2.0 x)))))
121.0ms
(* (fabs (cbrt (+ (* y y) (* x (+ 2.0 x))))) (sqrt (cbrt (+ (* y y) (* x (+ 2.0 x))))))
97.0ms
(cbrt (+ (* y y) (* x (+ 2.0 x))))
96.0ms
(cbrt (+ (* y y) (* x (+ 2.0 x))))

simplify115.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03381070
110771000
24738978
35002978

prune289.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (+ 2.0 x))
0.1b
(* (* x (+ 2.0 x)) (* x (+ 2.0 x)))
1.7b
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
26.2b
(/ (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)) (- (* y y) (* x (+ 2.0 x))))

rewrite152.0ms

Algorithm
rewrite-expression-head
Rules
45×pow1
27×*-un-lft-identity
20×add-exp-log add-cbrt-cube
18×pow-prod-down
17×add-sqr-sqrt
16×associate-*r/
15×add-cube-cbrt
12×times-frac
distribute-rgt-in distribute-lft-in flip3-+ prod-exp cbrt-unprod flip-+
add-log-exp
distribute-lft-out
associate-*r*
frac-times associate-+l+ distribute-neg-in associate-*l* pow-sqr pow-prod-up associate-/l*
associate-/r*
neg-sub0 associate-+l- pow-plus associate-*l/ sum-log associate-/r/ *-commutative associate-/l/
cbrt-undiv +-commutative pow2 flip3-- frac-2neg div-sub swap-sqr div-exp neg-log clear-num flip-- div-inv unswap-sqr
Counts
4 → 123
Calls
4 calls:
19.0ms
(* x (+ 2.0 x))
53.0ms
(* (* x (+ 2.0 x)) (* x (+ 2.0 x)))
21.0ms
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
54.0ms
(/ (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)) (- (* y y) (* x (+ 2.0 x))))

series250.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* x (+ 2.0 x))
26.0ms
(* (* x (+ 2.0 x)) (* x (+ 2.0 x)))
86.0ms
(+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
93.0ms
(/ (+ (- (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)) (- (* y y) (* x (+ 2.0 x))))

simplify95.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
05251318
129651157
250011141

prune244.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

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

sample611.0ms

Algorithm
intervals
Results
315.0ms14111×body80valid