Details

Time bar (total: 4.7s)

sample296.0ms

Algorithm
intervals
Results
30.0ms538×body80valid

simplify86.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (23.0ms)

IterNodesCost
05114
115514
267514
3324213
4500113

prune13.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.2b

Counts
2 → 2

localize33.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (* (* w w) r) r) 4.5)
0.2b
(/ 2.0 (* r r))
6.6b
(* (* (* w w) r) r)
9.4b
(* (* w w) r)

rewrite24.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)
8.0ms
(* (* w w) r)

series197.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (* (* w w) r) r) 4.5)
25.0ms
(/ 2.0 (* r r))
41.0ms
(* (* (* w w) r) r)
26.0ms
(* (* w w) r)

simplify44.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0320459
11457382
25001374

prune259.0ms

Filtered
89 candidates to 58 candidates (65.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New771289
Fresh101
Picked101
Done000
Total791291

Merged error: 0.1b

Counts
91 → 12

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

series195.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03781079
11315875
25001837

prune308.0ms

Filtered
101 candidates to 69 candidates (68.3%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New965101
Fresh2911
Picked011
Done000
Total9815113

Merged error: 0.0b

Counts
113 → 15

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (/ (* 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.2b
(/ 2.0 (* r r))
0.4b
(* (fabs (* w r)) (fabs (* w r)))

rewrite42.0ms

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

series167.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
07261332
131641080
250021059

prune379.0ms

Filtered
129 candidates to 86 candidates (66.7%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1263129
Fresh4913
Picked101
Done011
Total13113144

Merged error: 0.0b

Counts
144 → 13

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (pow (fabs (* w r)) 2) (sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))))
0.2b
(/ 2.0 (* r r))
0.2b
(* (sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))) (* (pow (fabs (* w r)) 2) (sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)))))
0.4b
(pow (fabs (* w r)) 2)

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
26×sqrt-prod
25×add-exp-log
22×associate-*l*
20×*-un-lft-identity
16×add-cube-cbrt add-cbrt-cube
15×associate-*r*
13×times-frac
11×prod-exp
unpow-prod-down unswap-sqr
pow1
sqrt-div cbrt-unprod
expm1-log1p-u associate-*r/ associate-/r/ log1p-expm1-u unpow2 add-log-exp sqr-pow
pow-to-exp pow-unpow pow-exp div-inv associate-/l*
cbrt-undiv flip3-- div-exp *-commutative flip-- distribute-lft-out-- difference-of-squares
frac-times pow-pow frac-2neg pow-prod-down associate-*l/ clear-num associate-/r*
Counts
4 → 123
Calls
4 calls:
14.0ms
(* (pow (fabs (* w r)) 2) (sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))))
4.0ms
(/ 2.0 (* r r))
19.0ms
(* (sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))) (* (pow (fabs (* w r)) 2) (sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)))))
2.0ms
(pow (fabs (* w r)) 2)

series438.0ms

Counts
4 → 12
Calls
4 calls:
208.0ms
(* (pow (fabs (* w r)) 2) (sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))))
29.0ms
(/ 2.0 (* r r))
193.0ms
(* (sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))) (* (pow (fabs (* w r)) 2) (sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)))))
8.0ms
(pow (fabs (* w r)) 2)

simplify77.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06381601
124771458
250011377

prune419.0ms

Filtered
135 candidates to 90 candidates (66.7%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1341135
Fresh2911
Picked011
Done101
Total13711148

Merged error: 0.0b

Counts
148 → 11

regimes254.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03122
13122

end0.0ms

sample1.3s

Algorithm
intervals
Results
916.0ms16882×body80valid