Details

Time bar (total: 2.5s)

sample23.0ms

Algorithm
intervals
Results
13.0ms435×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0154
1254
2274
3274

prune4.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series77.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206183
11038169
25002169

prune55.0ms

Filtered
42 candidates to 27 candidates (64.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New41142
Fresh011
Picked101
Done000
Total42244

Merged error: 0.0b

Counts
44 → 2

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

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

series85.0ms

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

simplify97.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0182191
1887164
23634160
35002160

prune48.0ms

Filtered
31 candidates to 23 candidates (74.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New31031
Fresh011
Picked011
Done000
Total31233

Merged error: 0.0b

Counts
33 → 2

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 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)))))

rewrite46.0ms

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

series140.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* x (+ 2.0 x))
33.0ms
(+ (* y y) (* x (+ 2.0 x)))
29.0ms
(+ (* y y) (* x (+ 2.0 x)))
36.0ms
(* (sqrt (+ (* y y) (* x (+ 2.0 x)))) (sqrt (+ (* y y) (* x (+ 2.0 x)))))

simplify54.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0296831
11479753
25001732

prune167.0ms

Filtered
118 candidates to 64 candidates (54.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1171118
Fresh000
Picked011
Done011
Total1173120

Merged error: 0b

Counts
120 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (fabs (cbrt (+ (* y y) (* x (+ 2.0 x))))) (sqrt (+ (* y y) (* x (+ 2.0 x)))))
0.3b
(* (* (fabs (cbrt (+ (* y y) (* x (+ 2.0 x))))) (sqrt (+ (* 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))))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×associate-*r*
14×sqrt-div
12×add-cube-cbrt *-un-lft-identity
11×pow1 add-exp-log add-cbrt-cube
10×cbrt-div associate-*r/ sqrt-prod
cbrt-prod flip3-+ flip-+
frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
pow1/3 associate-*l/ *-commutative unswap-sqr
Counts
4 → 82
Calls
4 calls:
7.0ms
(* (fabs (cbrt (+ (* y y) (* x (+ 2.0 x))))) (sqrt (+ (* y y) (* x (+ 2.0 x)))))
12.0ms
(* (* (fabs (cbrt (+ (* y y) (* x (+ 2.0 x))))) (sqrt (+ (* y y) (* x (+ 2.0 x))))) (sqrt (cbrt (+ (* y y) (* x (+ 2.0 x))))))
3.0ms
(cbrt (+ (* y y) (* x (+ 2.0 x))))
4.0ms
(cbrt (+ (* y y) (* x (+ 2.0 x))))

series522.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(* (fabs (cbrt (+ (* y y) (* x (+ 2.0 x))))) (sqrt (+ (* y y) (* x (+ 2.0 x)))))
168.0ms
(* (* (fabs (cbrt (+ (* y y) (* x (+ 2.0 x))))) (sqrt (+ (* y y) (* x (+ 2.0 x))))) (sqrt (cbrt (+ (* y y) (* x (+ 2.0 x))))))
109.0ms
(cbrt (+ (* y y) (* x (+ 2.0 x))))
109.0ms
(cbrt (+ (* y y) (* x (+ 2.0 x))))

simplify59.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04671659
118381517
250021497

prune278.0ms

Filtered
94 candidates to 74 candidates (78.7%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New94094
Fresh000
Picked011
Done022
Total94397

Merged error: 0b

Counts
97 → 3

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

sample656.0ms

Algorithm
intervals
Results
435.0ms14314×body80valid

Profiling

Loading profile data...