Details

Time bar (total: 7.0s)

sample1.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 13.275146%

Guaranteed chance to sample good point: 83.60898%

Results
21.0ms256×body80valid
14.0ms205×body80invalid

simplify433.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05114
115514
266714
3312514
4500214

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.6b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

3.2b
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r))
4.7b
(* (* (* w w) r) r)
4.8b
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))
10.9b
(* (* w w) r)

rewrite50.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)
16.0ms
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))
8.0ms
(* (* w w) r)

series73.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)
24.0ms
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))
20.0ms
(* (* w w) r)

simplify99.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
06701303
13876935
25003931

prune171.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New12110131
Fresh000
Picked101
Done000
Total12210132

Merged error: 1.7b

Counts
132 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (fabs (* w r)) (fabs (* w r)))
0.5b
(/ 2.0 (* r r))
3.2b
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r))))
4.8b
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (fabs (* w r)))) (- 1.0 v))

rewrite32.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:
3.0ms
(* (fabs (* w r)) (fabs (* w r)))
4.0ms
(/ 2.0 (* r 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))

series46.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05591085
12754841
25001821

prune209.0ms

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

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New10710117
Fresh639
Picked101
Done000
Total11413127

Merged error: 0.3b

Counts
127 → 13

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (pow (fabs (* w r)) 2) (- 1.0 v))
0.4b
(pow (fabs (* w r)) 2)
0.5b
(/ 2.0 (* r r))
3.1b
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (pow (fabs (* w r)) 2) (- 1.0 v)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
83×times-frac
82×add-sqr-sqrt *-un-lft-identity
48×add-cube-cbrt
46×associate-*r*
39×add-exp-log
36×unpow-prod-down
23×add-cbrt-cube
17×distribute-lft-out-- difference-of-squares
13×prod-exp
12×unpow2 sqr-pow
11×div-exp associate-/l*
10×pow1
cbrt-unprod
associate-/r*
cbrt-undiv associate-*r/
pow-to-exp flip3-- pow-exp associate-/r/ flip-- add-log-exp
pow-unpow pow-prod-down div-inv
frac-times frac-2neg associate-*l/ clear-num
pow-pow associate-*l* *-commutative
Counts
4 → 182
Calls
4 calls:
9.0ms
(/ (pow (fabs (* w r)) 2) (- 1.0 v))
2.0ms
(pow (fabs (* w r)) 2)
4.0ms
(/ 2.0 (* r r))
16.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (pow (fabs (* w r)) 2) (- 1.0 v)))

series44.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
07881794
135911581
250031581

prune337.0ms

Filtered
118 candidates to 194 candidates (-64.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1895194
Fresh5712
Picked101
Done000
Total19512207

Merged error: 0.0b

Counts
207 → 12

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (fabs (* w r)) (- 1.0 v))
0.3b
(* (fabs (* w r)) (/ (fabs (* w r)) (- 1.0 v)))
0.5b
(/ 2.0 (* r r))
3.1b
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (/ (fabs (* w r)) (- 1.0 v))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt
40×*-un-lft-identity
37×add-exp-log add-cbrt-cube
34×times-frac
26×add-cube-cbrt
22×associate-*r*
18×pow1
16×prod-exp cbrt-unprod
associate-*r/ pow-prod-down
distribute-lft-out-- difference-of-squares
cbrt-undiv div-exp associate-/r* associate-/l*
flip3-- associate-*l* associate-/r/ flip-- add-log-exp
div-inv
frac-times frac-2neg associate-*l/ clear-num *-commutative unswap-sqr
Counts
4 → 129
Calls
4 calls:
5.0ms
(/ (fabs (* w r)) (- 1.0 v))
10.0ms
(* (fabs (* w r)) (/ (fabs (* w r)) (- 1.0 v)))
4.0ms
(/ 2.0 (* r r))
12.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (fabs (* w r)) (/ (fabs (* w r)) (- 1.0 v))))

series54.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06511399
129881144
250011131

prune193.0ms

Filtered
96 candidates to 141 candidates (-46.9%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1401141
Fresh01111
Picked011
Done000
Total14013153

Merged error: 0.0b

Counts
153 → 13

regimes394.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02816
12816

end0.0ms

sample2.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 13.275146%

Guaranteed chance to sample good point: 83.60898%

Results
540.0ms8000×body80valid
451.0ms6628×body80invalid

Profiling

Loading profile data...