Details

Time bar (total: 1.7s)

analyze67.0ms

Algorithm
search

sample13.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0154
1254
2274
3274

prune7.0ms

Filtered
1 candidates to 1 candidates (0.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
(+ (* x 2.0) (* x x))
0.0b
(+ (+ (* x 2.0) (* x x)) (* y y))

rewrite9.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))
5.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))

series15.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(+ (* x 2.0) (* x x))
6.0ms
(+ (+ (* x 2.0) (* x x)) (* y y))

simplify113.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0182191
1887164
23634160
35002160

prune38.0ms

Filtered
23 candidates to 31 candidates (-34.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New30131
Fresh011
Picked011
Done000
Total30333

Merged error: 0.0b

Counts
33 → 3

localize5.0ms

Local error

Found 2 expressions with local error:

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

series12.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0206183
11038169
25001169

prune44.0ms

Filtered
27 candidates to 42 candidates (-55.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New40242
Fresh101
Picked101
Done011
Total42345

Merged error: 0.0b

Counts
45 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

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

series37.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (* y y) (* x (+ 2.0 x)))
12.0ms
(sqrt (+ (* y y) (* x (+ 2.0 x))))
12.0ms
(sqrt (+ (* y y) (* x (+ 2.0 x))))
7.0ms
(* (sqrt (+ (* y y) (* x (+ 2.0 x)))) (sqrt (+ (* y y) (* x (+ 2.0 x)))))

simplify45.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0252930
11090850
25001822

prune135.0ms

Filtered
66 candidates to 112 candidates (-69.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1111112
Fresh011
Picked101
Done011
Total1123115

Merged error: 0b

Counts
115 → 3

localize11.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.3b
(* (pow (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x))))) 3) (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x))))))
0.6b
(pow (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x))))) 3)

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
107×sqrt-prod
74×add-sqr-sqrt
36×sqrt-div
27×unpow-prod-down cube-prod
25×add-cube-cbrt *-un-lft-identity
24×associate-*l* unswap-sqr
12×pow1 sqrt-pow1
10×add-exp-log
flip3-+ associate-*r* flip-+
cube-div
add-cbrt-cube
pow1/2
pow-pow sqr-pow
frac-times rem-sqrt-square add-log-exp
pow-unpow prod-exp
cube-mult pow-to-exp unpow3 associate-*r/ associate-*l/ pow-exp
pow-plus *-commutative pow-prod-up sqrt-pow2 cbrt-unprod rem-cube-cbrt
Counts
4 → 163
Calls
4 calls:
4.0ms
(sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))
4.0ms
(sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))
16.0ms
(* (pow (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x))))) 3) (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x))))))
6.0ms
(pow (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x))))) 3)

series88.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))
22.0ms
(sqrt (sqrt (+ (* y y) (* x (+ 2.0 x)))))
7.0ms
(* (pow (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x))))) 3) (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x))))))
38.0ms
(pow (sqrt (sqrt (+ (* y y) (* x (+ 2.0 x))))) 3)

simplify85.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
04802166
121371895
250011682

prune255.0ms

Filtered
89 candidates to 175 candidates (-96.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1750175
Fresh011
Picked011
Done011
Total1753178

Merged error: 0b

Counts
178 → 3

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

analyze62.0ms

Algorithm
search

sample342.0ms

Algorithm
intervals
Results
228.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...