Details

Time bar (total: 2.1s)

sample19.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
6.0ms235×body80valid
1.0msbody1280valid
1.0msbody640valid
0.0msbody320valid
0.0msbody2560valid
0.0msbody160valid

simplify304.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
0205
1644
22034
33274
43394
53454
64134
75164
85614
97004
109094
1112714
1239074
1350014

prune12.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 1 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
flip3-+ flip-+
associate-*r/ frac-add
sum-log
associate-+l+
pow1 add-exp-log +-commutative distribute-rgt-in add-sqr-sqrt add-cube-cbrt associate-+r+ *-un-lft-identity distribute-lft-in add-cbrt-cube
Counts
1 → 19
Calls
1 calls:
9.0ms
(+ (* 2 (+ x y)) (+ x z))

series6.0ms

Counts
1 → 3
Calls
1 calls:
6.0ms
(+ (* 2 (+ x y)) (+ x z))

simplify33.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0275199
11174190
25001185

prune44.0ms

Filtered
17 candidates to 22 candidates (-29.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New18422
Fresh101
Picked011
Done000
Total19524

Merged error: 0.0b

Counts
24 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
*-un-lft-identity sum-log
associate-+l+
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt flip3-+ add-cbrt-cube flip-+
distribute-rgt-in distribute-lft-in distribute-lft-out
Counts
2 → 27
Calls
2 calls:
9.0ms
(+ (+ (* 2 (+ x y)) x) z)
6.0ms
(+ (* 2 (+ x y)) x)

series11.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0165183
1588174
22960170
35001170

prune45.0ms

Filtered
22 candidates to 33 candidates (-50.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New31233
Fresh213
Picked011
Done011
Total33538

Merged error: 0.0b

Counts
38 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (* 2 (+ x y)) (* 2 (+ x y)))
0.0b
(- (* 2 (+ x y)) x)
13.9b
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
29.9b
(/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)) (- (* 2 (+ x y)) x))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
43×pow1
18×add-exp-log add-cbrt-cube
17×pow-prod-down
14×associate-*r/
13×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×times-frac
distribute-rgt-in distribute-lft-in
prod-exp cbrt-unprod add-log-exp
flip3-+ associate--l+ flip-+
difference-of-squares
frac-times flip3-- pow-sqr pow-prod-up flip-- associate-/l*
associate-/r*
sub-neg pow-plus diff-log associate-*l/ associate-/r/ associate-/l/
cbrt-undiv pow2 frac-2neg div-sub swap-sqr div-exp associate-*r* associate-*l* clear-num *-commutative div-inv
Counts
4 → 113
Calls
4 calls:
12.0ms
(* (* 2 (+ x y)) (* 2 (+ x y)))
6.0ms
(- (* 2 (+ x y)) x)
12.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
20.0ms
(/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)) (- (* 2 (+ x y)) x))

series35.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* (* 2 (+ x y)) (* 2 (+ x y)))
4.0ms
(- (* 2 (+ x y)) x)
8.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
18.0ms
(/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)) (- (* 2 (+ x y)) x))

simplify87.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
05161156
12822976
25001959

prune164.0ms

Filtered
80 candidates to 125 candidates (-56.3%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1223125
Fresh022
Picked011
Done022
Total1228130

Merged error: 0.0b

Counts
130 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- (* 2 (+ x y)) x)) (cbrt (- (* 2 (+ x y)) x)))
0.5b
(cbrt (- (* 2 (+ x y)) x))
0.5b
(cbrt (- (* 2 (+ x y)) x))
0.5b
(cbrt (- (* 2 (+ x y)) x))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-- pow1/3 flip--
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
16.0ms
(* (cbrt (- (* 2 (+ x y)) x)) (cbrt (- (* 2 (+ x y)) x)))
6.0ms
(cbrt (- (* 2 (+ x y)) x))
6.0ms
(cbrt (- (* 2 (+ x y)) x))
6.0ms
(cbrt (- (* 2 (+ x y)) x))

series147.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (cbrt (- (* 2 (+ x y)) x)) (cbrt (- (* 2 (+ x y)) x)))
35.0ms
(cbrt (- (* 2 (+ x y)) x))
34.0ms
(cbrt (- (* 2 (+ x y)) x))
36.0ms
(cbrt (- (* 2 (+ x y)) x))

simplify45.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03041086
110611021
25001942

prune257.0ms

Filtered
75 candidates to 99 candidates (-32.0%)
Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New99099
Fresh044
Picked011
Done033
Total998107

Merged error: 0.0b

Counts
107 → 8

regimes197.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0124
1124

end0.0ms

sample472.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
201.0ms7383×body80valid
23.0ms197×body1280valid
17.0ms187×body640valid
9.0ms128×body320valid
5.0ms38×body2560valid
4.0ms74×body160valid

Profiling

Loading profile data...