Details

Time bar (total: 5.0s)

sample1.4s

Algorithm
intervals
sampling

Space saved by range analysis: 28.9433%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 0%

Results
14.0ms256×body80valid
3.0ms80×body80invalid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.7b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
4.8b
(- (+ (* x x) (* y y)) (* z z))
24.9b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt *-un-lft-identity
times-frac associate-/l*
pow1 difference-of-squares
cbrt-undiv flip3-- diff-log div-exp sum-log flip-- associate-/l/
+-commutative sub-neg frac-2neg flip3-+ div-sub prod-exp associate--l+ clear-num associate-/r* cbrt-unprod flip-+ div-inv
Counts
3 → 52
Calls
3 calls:
4.0ms
(+ (* x x) (* y y))
5.0ms
(- (+ (* x x) (* y y)) (* z z))
9.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series35.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* x x) (* y y))
10.0ms
(- (+ (* x x) (* y y)) (* z z))
19.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify40.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0337520
11492454
25001446

prune95.0ms

Filtered
46 candidates to 61 candidates (-32.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New56561
Fresh000
Picked101
Done000
Total57562

Merged error: 10.4b

Counts
62 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
0.2b
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ (pow z 2) y)))
9.2b
(/ (pow x 2) y)
10.9b
(/ (pow z 2) y)

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
66×add-sqr-sqrt
56×times-frac
50×*-un-lft-identity
40×add-cube-cbrt
26×unpow-prod-down
16×add-exp-log associate-/l*
10×associate-*r* add-cbrt-cube unpow2 difference-of-squares sqr-pow
add-log-exp
pow1 div-exp associate-/r*
associate-*r/ frac-sub distribute-lft-out--
distribute-rgt-in sub-neg distribute-lft-in associate-*l* associate--l+
cbrt-undiv pow-to-exp flip3-- frac-2neg flip3-+ diff-log pow-exp clear-num flip-- flip-+ div-inv distribute-lft-out
pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
4 → 156
Calls
4 calls:
19.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
25.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ (pow z 2) y)))
5.0ms
(/ (pow x 2) y)
5.0ms
(/ (pow z 2) y)

series33.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
14.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ (pow z 2) y)))
3.0ms
(/ (pow x 2) y)
4.0ms
(/ (pow z 2) y)

simplify64.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05231126
120101020
250021014

prune276.0ms

Filtered
106 candidates to 168 candidates (-58.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1617168
Fresh314
Picked101
Done000
Total1658173

Merged error: 1.1b

Counts
173 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ z (/ y z)))
0.2b
(/ z (/ y z))
0.2b
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ z (/ y z))))
9.2b
(/ (pow x 2) y)

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
105×times-frac
85×add-sqr-sqrt
75×*-un-lft-identity
65×add-cube-cbrt
16×add-exp-log associate-/r*
13×add-cbrt-cube
12×unpow-prod-down
11×associate-/l*
add-log-exp
associate-*r*
pow1 div-exp div-inv difference-of-squares
cbrt-undiv associate-*r/ frac-sub distribute-lft-out-- unpow2 sqr-pow
distribute-rgt-in sub-neg distribute-lft-in associate-*l* associate--l+
flip3-- frac-2neg flip3-+ diff-log clear-num flip-- flip-+ distribute-lft-out
pow-to-exp pow-prod-down pow-exp prod-exp sum-log associate-/r/ *-commutative cbrt-unprod unswap-sqr
Counts
4 → 173
Calls
4 calls:
25.0ms
(- (+ y (/ (pow x 2) y)) (/ z (/ y z)))
6.0ms
(/ z (/ y z))
26.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ z (/ y z))))
5.0ms
(/ (pow x 2) y)

series34.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(- (+ y (/ (pow x 2) y)) (/ z (/ y z)))
4.0ms
(/ z (/ y z))
15.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ z (/ y z))))
4.0ms
(/ (pow x 2) y)

simplify94.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
06971298
132861185
250011184

prune232.0ms

Filtered
124 candidates to 185 candidates (-49.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1832185
Fresh257
Picked101
Done000
Total1867193

Merged error: 0.3b

Counts
193 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ y (* x (/ x y))) (/ z (/ y z)))
0.2b
(* x (/ x y))
0.2b
(/ z (/ y z))
0.2b
(* 0.5 (- (+ y (* x (/ x y))) (/ z (/ y z))))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
91×times-frac
81×add-sqr-sqrt
60×*-un-lft-identity
56×add-cube-cbrt
20×associate-*r*
16×add-exp-log add-cbrt-cube
13×associate-/r*
add-log-exp
pow1
associate-*l* div-inv difference-of-squares
associate-*r/
cbrt-undiv div-exp frac-sub
distribute-rgt-in sub-neg distribute-lft-in prod-exp associate--l+ cbrt-unprod associate-/l* unswap-sqr
flip3-- flip3-+ diff-log pow-prod-down *-commutative flip-- flip-+ distribute-lft-out--
frac-2neg clear-num sum-log associate-/r/
Counts
4 → 154
Calls
4 calls:
15.0ms
(- (+ y (* x (/ x y))) (/ z (/ y z)))
6.0ms
(* x (/ x y))
5.0ms
(/ z (/ y z))
17.0ms
(* 0.5 (- (+ y (* x (/ x y))) (/ z (/ y z))))

series37.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (+ y (* x (/ x y))) (/ z (/ y z)))
3.0ms
(* x (/ x y))
4.0ms
(/ z (/ y z))
15.0ms
(* 0.5 (- (+ y (* x (/ x y))) (/ z (/ y z))))

simplify95.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
07141184
135871084
250021084

prune134.0ms

Filtered
115 candidates to 166 candidates (-44.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1642166
Fresh336
Picked011
Done000
Total1676173

Merged error: 0.3b

Counts
173 → 6

regimes171.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147
1147

end0.0ms

sample2.0s

Algorithm
intervals
sampling

Space saved by range analysis: 28.9433%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 0%

Results
342.0ms8000×body80valid
77.0ms1771×body80invalid

Profiling

Loading profile data...