Details

Time bar (total: 1.9s)

sample22.0ms

Algorithm
intervals
Results
7.0ms435×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1253
2533
3803
4983
51073
61133
71133

prune3.0ms

Filtered
1 candidates to 0 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 → 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:
3.0ms
(* (+ x y) (+ x y))

simplify35.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0189213
1901188
25001170

prune52.0ms

Filtered
43 candidates to 19 candidates (55.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New41243
Fresh000
Picked011
Done000
Total41344

Merged error: 0.0b

Counts
44 → 3

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×associate-*r/
11×add-sqr-sqrt *-un-lft-identity
associate-*r*
pow1 add-exp-log add-cube-cbrt flip3-+ add-cbrt-cube flip-+
associate-*l*
add-log-exp
distribute-rgt-in distribute-lft-in frac-add
associate-+l+ associate-+r+ pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
+-commutative distribute-rgt-out sum-log
Counts
3 → 66
Calls
3 calls:
6.0ms
(* x (+ x y))
5.0ms
(* y (+ x y))
7.0ms
(+ (* x (+ x y)) (* y (+ x y)))

series14.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0349386
11961333
25003331

prune182.0ms

Filtered
75 candidates to 49 candidates (34.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New74175
Fresh011
Picked101
Done011
Total75378

Merged error: 0b

Counts
78 → 3

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

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

series15.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ (* x x) (* y (+ x (+ x y))))
5.0ms
(* y (+ x (+ x y)))
4.0ms
(+ x (+ x y))

simplify43.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0252301
11187261
25001244

prune126.0ms

Filtered
61 candidates to 39 candidates (36.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New61061
Fresh011
Picked011
Done011
Total61364

Merged error: 0b

Counts
64 → 3

localize6.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x y))
0.0b
(sqrt (+ x y))
0.2b
(* (pow (sqrt (+ x y)) 3) (sqrt (+ x y)))
0.4b
(pow (sqrt (+ x y)) 3)

rewrite28.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))
13.0ms
(* (pow (sqrt (+ x y)) 3) (sqrt (+ x y)))
5.0ms
(pow (sqrt (+ x y)) 3)

series39.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)))
18.0ms
(pow (sqrt (+ x y)) 3)

simplify71.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0409820
11953690
25001634

prune363.0ms

Filtered
141 candidates to 79 candidates (44.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1410141
Fresh000
Picked011
Done022
Total1413144

Merged error: 0b

Counts
144 → 3

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

sample565.0ms

Algorithm
intervals
Results
218.0ms14279×body80valid

Profiling

Loading profile data...