Details

Time bar (total: 2.0s)

sample25.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
13.0ms435×body80valid

simplify273.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))

rewrite14.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:
8.0ms
(+ (* 3 (* y y)) (* x x))
5.0ms
(* 3 (* y y))

series9.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0164163
1658146
22429139
35003139

prune49.0ms

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New33336
Fresh011
Picked101
Done000
Total34438

Merged error: 0.0b

Counts
38 → 4

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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:
5.0ms
(+ (* (* 3 y) y) (* x x))
5.0ms
(* (* 3 y) y)

series9.0ms

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

simplify129.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (125.0ms)

IterNodesCost
0173161
1854144
24082139
35001138

prune41.0ms

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New35035
Fresh033
Picked011
Done000
Total35439

Merged error: 0.0b

Counts
39 → 4

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))

rewrite15.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:
6.0ms
(+ (+ (* x x) (* y y)) (* y y))
8.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series15.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))

simplify106.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0166282
1781246
23541225
35001214

prune40.0ms

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

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New32133
Fresh022
Picked011
Done011
Total32537

Merged error: 0b

Counts
37 → 5

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:
14.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)))

series32.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y))
7.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)))

simplify47.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
02441203
111651041
25001979

prune82.0ms

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

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1100110
Fresh022
Picked011
Done022
Total1105115

Merged error: 0b

Counts
115 → 5

regimes227.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
0104
1104

end0.0ms

sample736.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
432.0ms14145×body80valid

Profiling

Loading profile data...