Details

Time bar (total: 2.0s)

sample24.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
11.0ms435×body80valid

simplify280.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (3.0ms)

IterNodesCost
0137
1236
2354
3454
4544
5874
61564
72064
82194
93144
106444
1131834
1250014

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.1b

Counts
2 → 2

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

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

series10.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0164168
1654147
22426139
35002139

prune54.0ms

Filtered
23 candidates to 36 candidates (-56.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New32436
Fresh011
Picked101
Done000
Total33538

Merged error: 0.0b

Counts
38 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
16×add-log-exp
sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt associate-+l+ *-un-lft-identity flip3-+ add-cbrt-cube flip-+
Counts
2 → 27
Calls
2 calls:
7.0ms
(+ (+ (* x x) (* y y)) (* y y))
8.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series14.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0166282
1781246
23541225
35001214

prune46.0ms

Filtered
24 candidates to 33 candidates (-37.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New32133
Fresh044
Picked011
Done000
Total32638

Merged error: 0.0b

Counts
38 → 6

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.0ms

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

series9.0ms

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

simplify123.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (120.0ms)

IterNodesCost
0173161
1854144
24082139
35001138

prune50.0ms

Filtered
22 candidates to 35 candidates (-59.1%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New34135
Fresh044
Picked011
Done011
Total34741

Merged error: 0b

Counts
41 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y))
0.2b
(* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y))))
6.4b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
6.4b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

rewrite39.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-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 98
Calls
4 calls:
13.0ms
(+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y))
13.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y))))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

series34.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y))
8.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y))))
8.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
8.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

simplify51.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
02441203
111651041
25001979

prune86.0ms

Filtered
68 candidates to 110 candidates (-61.8%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1100110
Fresh044
Picked011
Done022
Total1107117

Merged error: 0b

Counts
117 → 7

regimes253.0ms

Accuracy

0% (0.1b 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 (0.0ms)

IterNodesCost
0107
1107

end0.0ms

sample691.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
384.0ms14145×body80valid

Profiling

Loading profile data...