Details

Time bar (total: 9.5s)

sample2.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 27.536011%

Guaranteed chance to sample good point: 66.877237%

Results
19.0ms256×body80valid
13.0ms159×body80invalid

simplify436.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05114
115514
266714
3312514
4500214

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.9b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

3.8b
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r))
5.4b
(* (* (* w w) r) r)
6.2b
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))
8.1b
(* (* w w) r)

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
92×add-exp-log add-cbrt-cube
57×prod-exp cbrt-unprod
50×pow1
33×pow-prod-down
13×add-sqr-sqrt
12×*-un-lft-identity
cbrt-undiv div-exp
add-cube-cbrt
associate-*r*
times-frac associate-/r*
associate-*r/ associate-*l/ add-log-exp
flip3-- associate-*l* *-commutative flip--
associate-/r/ associate-/l/ distribute-lft-out-- difference-of-squares
frac-2neg clear-num div-inv associate-/l* unswap-sqr
Counts
4 → 119
Calls
4 calls:
12.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r))
7.0ms
(* (* (* w w) r) r)
34.0ms
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))
8.0ms
(* (* w w) r)

series62.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r))
7.0ms
(* (* (* w w) r) r)
23.0ms
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))
11.0ms
(* (* w w) r)

simplify108.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
06701303
13876935
25003931

prune181.0ms

Filtered
61 candidates to 131 candidates (-114.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1238131
Fresh000
Picked101
Done000
Total1248132

Merged error: 1.6b

Counts
132 → 8

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 2.0 (* r r))
0.3b
(* (fabs (* w r)) (fabs (* w r)))
3.8b
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r))))
6.2b
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r)))) (- 1.0 v))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
41×add-exp-log add-cbrt-cube
23×pow1
18×add-sqr-sqrt prod-exp cbrt-unprod
16×*-un-lft-identity
12×add-cube-cbrt
pow-prod-down
times-frac
cbrt-undiv div-exp
associate-/r*
associate-*r/ associate-*r* associate-*l* associate-*l/ associate-/l* add-log-exp
flip3-- swap-sqr flip--
frac-2neg clear-num associate-/r/ *-commutative div-inv associate-/l/ distribute-lft-out-- difference-of-squares
pow2 pow-plus pow-sqr pow-prod-up unswap-sqr
Counts
4 → 105
Calls
4 calls:
4.0ms
(/ 2.0 (* r r))
4.0ms
(* (fabs (* w r)) (fabs (* w r)))
8.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r))))
13.0ms
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r)))) (- 1.0 v))

series44.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ 2.0 (* r r))
3.0ms
(* (fabs (* w r)) (fabs (* w r)))
13.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r))))
25.0ms
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r)))) (- 1.0 v))

simplify74.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05591085
12754841
25001821

prune227.0ms

Filtered
70 candidates to 117 candidates (-67.1%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1107117
Fresh347
Picked101
Done000
Total11411125

Merged error: 0.0b

Counts
125 → 11

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- 1.0 v) (pow (fabs (* w r)) 2))
0.2b
(/ 2.0 (* r r))
0.3b
(pow (fabs (* w r)) 2)
4.9b
(/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
167×times-frac
117×add-sqr-sqrt *-un-lft-identity
67×add-cube-cbrt
53×associate-/r*
51×unpow-prod-down
39×add-exp-log
25×distribute-lft-out-- difference-of-squares
23×add-cbrt-cube
19×div-exp
17×unpow2 sqr-pow
cbrt-undiv associate-/l*
pow1 prod-exp div-inv
pow-to-exp pow-exp associate-/l/ add-log-exp
pow-unpow frac-2neg clear-num cbrt-unprod
flip3-- associate-*r/ flip--
pow-pow div-sub associate-/r/
Counts
4 → 223
Calls
4 calls:
7.0ms
(/ (- 1.0 v) (pow (fabs (* w r)) 2))
4.0ms
(/ 2.0 (* r r))
2.0ms
(pow (fabs (* w r)) 2)
15.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2)))

series44.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/ (- 1.0 v) (pow (fabs (* w r)) 2))
3.0ms
(/ 2.0 (* r r))
3.0ms
(pow (fabs (* w r)) 2)
22.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2)))

simplify101.0ms

Algorithm
egg-herbie
Counts
235 → 235
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
09712431
141662156
250012156

prune438.0ms

Filtered
137 candidates to 235 candidates (-71.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2314235
Fresh5510
Picked101
Done000
Total2379246

Merged error: 0.0b

Counts
246 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- 1.0 v) (pow (fabs (* w r)) 2))
0.2b
(/ (/ 2.0 r) r)
0.3b
(pow (fabs (* w r)) 2)
4.9b
(/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
239×times-frac
157×add-sqr-sqrt *-un-lft-identity
107×add-cube-cbrt
55×associate-/r*
51×unpow-prod-down
39×add-exp-log
25×distribute-lft-out-- difference-of-squares
23×add-cbrt-cube
20×div-exp
19×associate-/l*
17×unpow2 sqr-pow
10×cbrt-undiv
div-inv
pow1 associate-/l/
pow-to-exp pow-exp prod-exp add-log-exp
pow-unpow frac-2neg clear-num
flip3-- associate-*r/ flip-- cbrt-unprod
pow-pow div-sub associate-/r/
Counts
4 → 272
Calls
4 calls:
7.0ms
(/ (- 1.0 v) (pow (fabs (* w r)) 2))
6.0ms
(/ (/ 2.0 r) r)
2.0ms
(pow (fabs (* w r)) 2)
15.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2)))

series43.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/ (- 1.0 v) (pow (fabs (* w r)) 2))
3.0ms
(/ (/ 2.0 r) r)
3.0ms
(pow (fabs (* w r)) 2)
21.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (/ (- 1.0 v) (pow (fabs (* w r)) 2)))

simplify55.0ms

Algorithm
egg-herbie
Counts
284 → 284
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
011802794
150012504

prune502.0ms

Filtered
170 candidates to 284 candidates (-67.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2831284
Fresh088
Picked011
Done000
Total28310293

Merged error: 0.0b

Counts
293 → 10

regimes347.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02714
12714

end0.0ms

sample3.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 27.536011%

Guaranteed chance to sample good point: 66.877237%

Results
598.0ms8000×body80valid
319.0ms4315×body80invalid

Profiling

Loading profile data...