Details

Time bar (total: 4.7s)

sample299.0ms

Algorithm
intervals
Results
29.0ms508×body80valid

simplify82.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05114
115514
266714
3312514
4500214

prune5.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 9.8b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

4.0b
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r))
4.6b
(* (* (* w w) r) r)
5.2b
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))
8.6b
(* (* w w) r)

rewrite69.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:
14.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r))
8.0ms
(* (* (* w w) r) r)
18.0ms
(/ (* (* 0.125 (- 3.0 (* 2.0 v))) (* (* (* w w) r) r)) (- 1.0 v))
22.0ms
(* (* w w) r)

series216.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
06701303
13876935
25003931

prune277.0ms

Filtered
131 candidates to 61 candidates (46.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1229131
Fresh000
Picked101
Done000
Total1239132

Merged error: 1.1b

Counts
132 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

0.8b
(/ 2.0 (* r r))
4.3b
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (* (* (* w w) r) r) (- 1.0 v)))
4.6b
(* (* (* w w) r) r)
8.6b
(* (* w w) r)

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
68×add-exp-log add-cbrt-cube
37×prod-exp cbrt-unprod
23×pow1
17×associate-*r*
13×add-sqr-sqrt
12×*-un-lft-identity pow-prod-down
10×cbrt-undiv add-cube-cbrt div-exp
times-frac
associate-*r/
add-log-exp
flip3-- associate-*l* *-commutative flip-- associate-/l*
frac-times associate-*l/ associate-/r/ div-inv
frac-2neg clear-num associate-/r* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 108
Calls
4 calls:
5.0ms
(/ 2.0 (* r r))
17.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (* (* (* w w) r) r) (- 1.0 v)))
8.0ms
(* (* (* w w) r) r)
6.0ms
(* (* w w) r)

series147.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ 2.0 (* r r))
71.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (* (* (* w w) r) r) (- 1.0 v)))
35.0ms
(* (* (* w w) r) r)
18.0ms
(* (* w w) r)

simplify97.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
07071007
13970740
25001736

prune300.0ms

Filtered
120 candidates to 65 candidates (54.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1119120
Fresh718
Picked101
Done000
Total11910129

Merged error: 0.1b

Counts
129 → 10

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

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

series134.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ (* (fabs (* w r)) (fabs (* w r))) (- 1.0 v))
8.0ms
(* (fabs (* w r)) (fabs (* w r)))
24.0ms
(/ 2.0 (* r r))
63.0ms
(* (* 0.125 (- 3.0 (* 2.0 v))) (/ (* (fabs (* w r)) (fabs (* w r))) (- 1.0 v)))

simplify83.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
05991138
13030904
25002889

prune394.0ms

Filtered
124 candidates to 79 candidates (63.7%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1168124
Fresh549
Picked101
Done000
Total12212134

Merged error: 0.0b

Counts
134 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

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

series135.0ms

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

simplify95.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
08071501
138921248
250021234

prune511.0ms

Filtered
173 candidates to 113 candidates (65.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1676173
Fresh5611
Picked101
Done000
Total17312185

Merged error: 0.0b

Counts
185 → 12

regimes254.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02921
12921

end0.0ms

sample1.3s

Algorithm
intervals
Results
951.0ms17028×body80valid