Details

Time bar (total: 5.5s)

sample300.0ms

Algorithm
intervals
Results
29.0ms526×body80valid

simplify89.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (21.0ms)

IterNodesCost
05114
115514
267514
3324213
4500113

prune12.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: 8.5b

Counts
2 → 2

localize34.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 0.125 (- 3.0 (* 2.0 v)))
0.4b
(/ 2.0 (* r r))
5.8b
(* (* (* w w) r) r)
9.6b
(* (* w w) r)

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log add-cbrt-cube
20×pow1
15×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
11×prod-exp cbrt-unprod
10×pow-prod-down
associate-*r*
prod-diff
distribute-rgt-in distribute-lft-in associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
times-frac *-commutative associate-/l*
cbrt-undiv sub-neg associate-*r/ div-exp unswap-sqr
flip3-- frac-2neg clear-num associate-/r* flip-- div-inv
Counts
4 → 99
Calls
4 calls:
6.0ms
(* 0.125 (- 3.0 (* 2.0 v)))
5.0ms
(/ 2.0 (* r r))
8.0ms
(* (* (* w w) r) r)
10.0ms
(* (* w w) r)

series147.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0394490
11732410
25001397

prune311.0ms

Filtered
111 candidates to 67 candidates (60.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1038111
Fresh011
Picked101
Done000
Total1049113

Merged error: 0.1b

Counts
113 → 9

localize20.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)
0.2b
(* 0.125 (- 3.0 (* 2.0 v)))
0.4b
(/ 2.0 (* r r))
0.4b
(* (fabs (* w r)) (fabs (* w r)))

rewrite17.0ms

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

series167.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0384637
11539546
25001522

prune330.0ms

Filtered
104 candidates to 68 candidates (65.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New986104
Fresh628
Picked101
Done000
Total1058113

Merged error: 0.0b

Counts
113 → 8

localize17.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)
0.2b
(* 0.125 (- 3.0 (* 2.0 v)))
0.2b
(/ (/ 2.0 r) r)
0.4b
(* (fabs (* w r)) (fabs (* w r)))

rewrite22.0ms

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

series168.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05921000
12405890
25001875

prune509.0ms

Filtered
153 candidates to 102 candidates (66.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1476153
Fresh347
Picked101
Done000
Total15110161

Merged error: 0.0b

Counts
161 → 10

localize20.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt (/ (/ 2.0 r) r)) (sqrt (/ (/ 2.0 r) r)))
0.4b
(* (fabs (* w r)) (fabs (* w r)))
11.7b
(sqrt (/ (/ 2.0 r) r))
11.7b
(sqrt (/ (/ 2.0 r) r))

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
426×times-frac
296×add-sqr-sqrt
284×sqrt-prod
222×add-cube-cbrt *-un-lft-identity
51×swap-sqr
49×associate-*r* associate-*l*
28×pow1
24×div-inv
17×unswap-sqr
10×sqrt-pow1 pow1/2
add-exp-log add-cbrt-cube
rem-sqrt-square sqrt-div pow-prod-up
expm1-log1p-u pow-prod-down pow-sqr log1p-expm1-u add-log-exp
pow2 pow-plus prod-exp *-commutative cbrt-unprod
frac-times sqrt-unprod associate-*r/ associate-*l/ rem-square-sqrt
Counts
4 → 329
Calls
4 calls:
47.0ms
(* (sqrt (/ (/ 2.0 r) r)) (sqrt (/ (/ 2.0 r) r)))
4.0ms
(* (fabs (* w r)) (fabs (* w r)))
11.0ms
(sqrt (/ (/ 2.0 r) r))
8.0ms
(sqrt (/ (/ 2.0 r) r))

series154.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(* (sqrt (/ (/ 2.0 r) r)) (sqrt (/ (/ 2.0 r) r)))
8.0ms
(* (fabs (* w r)) (fabs (* w r)))
41.0ms
(sqrt (/ (/ 2.0 r) r))
36.0ms
(sqrt (/ (/ 2.0 r) r))

simplify107.0ms

Algorithm
egg-herbie
Counts
341 → 341
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
06642707
132702553
250012474

prune1.3s

Filtered
341 candidates to 234 candidates (68.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New3383341
Fresh459
Picked101
Done000
Total3438351

Merged error: 0.0b

Counts
351 → 8

regimes192.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
03926
13926

end0.0ms

sample1.3s

Algorithm
intervals
Results
908.0ms17036×body80valid