Details

Time bar (total: 5.2s)

sample307.0ms

Algorithm
intervals
Results
37.0ms549×body80valid

simplify89.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (23.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: 9.6b

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.9b
(/ 2.0 (* r r))
7.0b
(* (* (* w w) r) r)
10.1b
(* (* 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))
7.0ms
(* (* (* w w) r) r)
9.0ms
(* (* w w) r)

series210.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (* (* w w) r) r) 4.5)
28.0ms
(/ 2.0 (* r r))
42.0ms
(* (* (* w w) r) r)
28.0ms
(* (* w w) r)

simplify45.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0320459
11457382
25001374

prune257.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

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) 3.0)
0.1b
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
0.4b
(* (fabs (* w r)) (fabs (* w r)))
0.9b
(/ 2.0 (* r r))

rewrite15.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))

series212.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03781079
11315875
25001837

prune321.0ms

Filtered
101 candidates to 69 candidates (68.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New956101
Fresh268
Picked101
Done000
Total9812110

Merged error: 0.0b

Counts
110 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 2.0 (* r r)) (+ (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r)))) (- 4.5 3.0)))
0.1b
(* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))))
0.4b
(* (fabs (* w r)) (fabs (* w r)))
0.9b
(/ 2.0 (* r r))

rewrite46.0ms

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

series191.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(- (/ 2.0 (* r r)) (+ (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r)))) (- 4.5 3.0)))
60.0ms
(* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))))
8.0ms
(* (fabs (* w r)) (fabs (* w r)))
29.0ms
(/ 2.0 (* r r))

simplify122.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
08923307
141191978
250011951

prune444.0ms

Filtered
153 candidates to 95 candidates (62.1%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1476153
Fresh3811
Picked101
Done000
Total15114165

Merged error: 0.0b

Counts
165 → 14

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
32×add-exp-log add-cbrt-cube
29×*-un-lft-identity
25×add-cube-cbrt
21×times-frac prod-diff
13×prod-exp cbrt-unprod add-log-exp
12×associate-*l*
11×pow1
fma-neg associate-*l/
cbrt-undiv div-exp associate-*r* div-inv
expm1-log1p-u diff-log pow-prod-down frac-sub log1p-expm1-u
flip3-- flip-- associate-/l* difference-of-squares
frac-add sum-log associate-/r/ *-commutative distribute-lft-out--
associate-+r- sub-neg frac-2neg flip3-+ clear-num associate-/r* flip-+ associate--r+ associate--r- unswap-sqr
Counts
4 → 134
Calls
4 calls:
20.0ms
(- (/ 2.0 (* r r)) (+ (* (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (fabs (* w r))) (fabs (* w r))) (- 4.5 3.0)))
10.0ms
(* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (fabs (* w r)))
12.0ms
(* (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (fabs (* w r))) (fabs (* w r)))
4.0ms
(/ 2.0 (* r r))

series232.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(- (/ 2.0 (* r r)) (+ (* (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (fabs (* w r))) (fabs (* w r))) (- 4.5 3.0)))
49.0ms
(* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (fabs (* w r)))
61.0ms
(* (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (fabs (* w r))) (fabs (* w r)))
30.0ms
(/ 2.0 (* r r))

simplify118.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
09193398
141692068
250012040

prune368.0ms

Filtered
146 candidates to 93 candidates (63.7%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1442146
Fresh11213
Picked011
Done000
Total14515160

Merged error: 0.0b

Counts
160 → 15

regimes476.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

sample1.5s

Algorithm
intervals
Results
1.1s17056×body80valid