Details

Time bar (total: 1.3s)

sample20.0ms

Algorithm
intervals
Results
8.0ms478×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1253
2533
3803
4983
51073
61133
71133

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize3.0ms

Local error

Found 1 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
pow1
add-sqr-sqrt
flip3-+ swap-sqr flip-+ distribute-lft-out
add-cube-cbrt
frac-times associate-*r* associate-*l*
add-exp-log add-cbrt-cube
associate-*r/ associate-*l/
pow2 distribute-rgt-in distribute-lft-in pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 40
Calls
1 calls:
8.0ms
(* (+ x y) (+ x y))

series4.0ms

Counts
1 → 3
Calls
1 calls:
4.0ms
(* (+ x y) (+ x y))

simplify35.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0189213
1901188
25001170

prune41.0ms

Filtered
19 candidates to 43 candidates (-126.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New40343
Fresh000
Picked011
Done000
Total40444

Merged error: 0.0b

Counts
44 → 4

localize6.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x y))
0.0b
(sqrt (+ x y))
0.1b
(* (pow (sqrt (+ x y)) 3) (sqrt (+ x y)))
0.3b
(pow (sqrt (+ x y)) 3)

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
38×sqrt-prod
32×*-un-lft-identity
20×associate-*l*
18×add-cube-cbrt unpow-prod-down sqrt-div cube-prod
12×unswap-sqr
10×add-exp-log
pow1 flip3-+ flip-+
cube-div
associate-*r* add-cbrt-cube distribute-lft-out
frac-times add-log-exp sqr-pow
pow-unpow pow-pow sqrt-pow1 pow1/2 prod-exp
cube-mult pow-to-exp rem-sqrt-square unpow3 associate-*r/ associate-*l/ pow-exp
pow-plus *-commutative pow-prod-up sqrt-pow2 cbrt-unprod rem-cube-cbrt
Counts
4 → 129
Calls
4 calls:
3.0ms
(sqrt (+ x y))
3.0ms
(sqrt (+ x y))
16.0ms
(* (pow (sqrt (+ x y)) 3) (sqrt (+ x y)))
5.0ms
(pow (sqrt (+ x y)) 3)

series36.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (+ x y))
6.0ms
(sqrt (+ x y))
9.0ms
(* (pow (sqrt (+ x y)) 3) (sqrt (+ x y)))
15.0ms
(pow (sqrt (+ x y)) 3)

simplify69.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0409820
11953690
25001634

prune123.0ms

Filtered
79 candidates to 141 candidates (-78.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1392141
Fresh202
Picked101
Done101
Total1432145

Merged error: 0.0b

Counts
145 → 2

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (pow x 2) (+ (pow y 2) (* 2 (* x y))))
0.0b
(* 2 (* x y))
0.0b
(+ (pow y 2) (* 2 (* x y)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
pow1 add-exp-log add-cbrt-cube
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt sum-log
associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ flip-+
associate-+r+ associate-*r* *-commutative distribute-lft-out
Counts
3 → 43
Calls
3 calls:
9.0ms
(+ (pow x 2) (+ (pow y 2) (* 2 (* x y))))
4.0ms
(* 2 (* x y))
4.0ms
(+ (pow y 2) (* 2 (* x y)))

series15.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ (pow x 2) (+ (pow y 2) (* 2 (* x y))))
3.0ms
(* 2 (* x y))
6.0ms
(+ (pow y 2) (* 2 (* x y)))

simplify34.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0226296
1985272
25001265

prune74.0ms

Filtered
35 candidates to 52 candidates (-48.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New51152
Fresh011
Picked011
Done000
Total51354

Merged error: 0b

Counts
54 → 3

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* y (+ (* 2 x) y))
0.0b
(+ (pow x 2) (* y (+ (* 2 x) y)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*r* 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 unswap-sqr
Counts
2 → 35
Calls
2 calls:
6.0ms
(* y (+ (* 2 x) y))
4.0ms
(+ (pow x 2) (* y (+ (* 2 x) y)))

series12.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0212231
11068212
25002212

prune45.0ms

Filtered
27 candidates to 41 candidates (-51.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New41041
Fresh011
Picked011
Done011
Total41344

Merged error: 0b

Counts
44 → 3

regimes107.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
0125
1125

end0.0ms

sample551.0ms

Algorithm
intervals
Results
244.0ms14372×body80valid

Profiling

Loading profile data...