Details

Time bar (total: 4.6s)

sample293.0ms

Algorithm
intervals
Results
29.0ms508×body80valid

simplify85.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (21.0ms)

IterNodesCost
05114
115514
267514
3324213
4500113

prune14.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 5.3b

Counts
2 → 2

localize35.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log add-cbrt-cube
18×pow1
10×prod-exp cbrt-unprod
add-sqr-sqrt pow-prod-down
add-cube-cbrt *-un-lft-identity
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
times-frac associate-/l*
cbrt-undiv div-exp associate-*l* *-commutative
frac-2neg clear-num associate-/r* fma-udef div-inv unswap-sqr
Counts
4 → 77
Calls
4 calls:
1.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (* (* w w) r) r) 4.5)
4.0ms
(/ 2.0 (* r r))
8.0ms
(* (* (* w w) r) r)
9.0ms
(* (* w w) r)

series199.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (* (* w w) r) r) 4.5)
32.0ms
(/ 2.0 (* r r))
34.0ms
(* (* (* w w) r) r)
26.0ms
(* (* w w) r)

simplify45.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0320459
11457382
25001374

prune277.0ms

Filtered
89 candidates to 58 candidates (65.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New81889
Fresh011
Picked101
Done000
Total82991

Merged error: 0.1b

Counts
91 → 9

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×*-un-lft-identity
17×add-cube-cbrt
11×pow1 add-exp-log add-cbrt-cube
prod-diff
add-log-exp
expm1-log1p-u log1p-expm1-u
times-frac fma-neg swap-sqr associate-*r* associate-*l* associate-/l*
cbrt-undiv div-exp prod-exp cbrt-unprod fma-udef
pow2 sub-neg flip3-- frac-2neg pow-plus diff-log pow-prod-down associate--l+ clear-num associate-/r* pow-sqr *-commutative pow-prod-up flip-- div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 89
Calls
4 calls:
4.0ms
(- (fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5) 3.0)
1.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
4.0ms
(* (fabs (* w r)) (fabs (* w r)))
5.0ms
(/ 2.0 (* r r))

series197.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(- (fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5) 3.0)
78.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
11.0ms
(* (fabs (* w r)) (fabs (* w r)))
25.0ms
(/ 2.0 (* r r))

simplify50.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03781079
11315875
25001837

prune352.0ms

Filtered
101 candidates to 69 candidates (68.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New956101
Fresh448
Picked101
Done000
Total10010110

Merged error: 0.0b

Counts
110 → 10

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
61×add-sqr-sqrt
59×*-un-lft-identity
57×add-cube-cbrt
13×associate-/l*
11×pow1 add-exp-log add-cbrt-cube
prod-diff
add-log-exp
div-inv
expm1-log1p-u log1p-expm1-u
cbrt-undiv fma-neg swap-sqr div-exp associate-*r* associate-*l* associate-/r*
fma-udef
pow2 sub-neg flip3-- frac-2neg pow-plus diff-log pow-prod-down prod-exp associate--l+ clear-num pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod associate-/l/ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 138
Calls
4 calls:
4.0ms
(- (fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5) 3.0)
1.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
6.0ms
(/ (/ 2.0 r) r)
4.0ms
(* (fabs (* w r)) (fabs (* w r)))

series200.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(- (fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5) 3.0)
81.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
24.0ms
(/ (/ 2.0 r) r)
8.0ms
(* (fabs (* w r)) (fabs (* w r)))

simplify63.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05861442
121621219
250011199

prune531.0ms

Filtered
150 candidates to 103 candidates (68.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1464150
Fresh369
Picked101
Done000
Total15010160

Merged error: 0.0b

Counts
160 → 10

localize25.0ms

Local error

Found 4 expressions with local error:

0.8b
(/ 2.0 (* r r))
0.8b
(/ 2.0 (* r r))
11.2b
(sqrt (/ 2.0 (* r r)))
11.2b
(sqrt (/ 2.0 (* r r)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
14×add-exp-log times-frac sqrt-prod add-cbrt-cube
12×add-cube-cbrt *-un-lft-identity
pow1 associate-/l*
cbrt-undiv expm1-log1p-u rem-sqrt-square div-exp log1p-expm1-u div-inv add-log-exp
frac-2neg sqrt-pow1 pow1/2 sqrt-div prod-exp clear-num associate-/r* cbrt-unprod
Counts
4 → 88
Calls
4 calls:
5.0ms
(/ 2.0 (* r r))
5.0ms
(/ 2.0 (* r r))
4.0ms
(sqrt (/ 2.0 (* r r)))
4.0ms
(sqrt (/ 2.0 (* r r)))

series125.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ 2.0 (* r r))
24.0ms
(/ 2.0 (* r r))
40.0ms
(sqrt (/ 2.0 (* r r)))
36.0ms
(sqrt (/ 2.0 (* r r)))

simplify39.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 3 (33.0ms)

IterNodesCost
0130372
1387338
21207338
35001334

prune404.0ms

Filtered
100 candidates to 76 candidates (76.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New991100
Fresh189
Picked101
Done000
Total1019110

Merged error: 0.0b

Counts
110 → 9

regimes294.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02818
12818

end0.0ms

sample1.3s

Algorithm
intervals
Results
927.0ms17028×body80valid