Details

Time bar (total: 4.4s)

sample311.0ms

Algorithm
intervals
Results
31.0ms553×body80valid

simplify87.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (21.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: 9.0b

Counts
2 → 2

localize36.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))
5.3b
(* (* (* w w) r) r)
10.7b
(* (* w w) r)

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

series192.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (* (* w w) r) r) 4.5)
31.0ms
(/ 2.0 (* r r))
33.0ms
(* (* (* w w) r) r)
25.0ms
(* (* w w) r)

simplify44.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0320459
11457382
25001374

prune253.0ms

Filtered
89 candidates to 58 candidates (65.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New80989
Fresh011
Picked101
Done000
Total811091

Merged error: 0.1b

Counts
91 → 10

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

rewrite18.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:
7.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:
83.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)
24.0ms
(/ 2.0 (* r r))
8.0ms
(* (fabs (* w r)) (fabs (* w r)))

simplify47.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03781079
11315875
25001837

prune318.0ms

Filtered
101 candidates to 69 candidates (68.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New929101
Fresh549
Picked101
Done000
Total9813111

Merged error: 0.0b

Counts
111 → 13

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

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

series192.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)
78.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
23.0ms
(/ (/ 2.0 r) r)
8.0ms
(* (fabs (* w r)) (fabs (* w r)))

simplify62.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05861442
121621219
250011199

prune434.0ms

Filtered
150 candidates to 101 candidates (67.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1482150
Fresh11112
Picked101
Done000
Total15013163

Merged error: 0.0b

Counts
163 → 13

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (pow (sqrt (fabs (* w r))) 3) (sqrt (fabs (* w r))))
0.5b
(pow (sqrt (fabs (* w r))) 3)
3.2b
(sqrt (fabs (* w r)))
3.2b
(sqrt (fabs (* w r)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
31×sqrt-prod
18×add-cube-cbrt *-un-lft-identity associate-*l*
16×unpow-prod-down cube-prod
12×unswap-sqr
10×add-exp-log
pow1
add-cbrt-cube
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp sqr-pow
pow-unpow pow-pow sqrt-pow1 pow1/2 prod-exp
cube-mult pow-to-exp rem-sqrt-square unpow3 pow-exp
pow-plus *-commutative pow-prod-up sqrt-pow2 cbrt-unprod rem-cube-cbrt
Counts
4 → 116
Calls
4 calls:
9.0ms
(* (pow (sqrt (fabs (* w r))) 3) (sqrt (fabs (* w r))))
3.0ms
(pow (sqrt (fabs (* w r))) 3)
1.0ms
(sqrt (fabs (* w r)))
1.0ms
(sqrt (fabs (* w r)))

series48.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (pow (sqrt (fabs (* w r))) 3) (sqrt (fabs (* w r))))
24.0ms
(pow (sqrt (fabs (* w r))) 3)
8.0ms
(sqrt (fabs (* w r)))
8.0ms
(sqrt (fabs (* w r)))

simplify51.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0191786
11000646
25002575

prune300.0ms

Filtered
128 candidates to 68 candidates (53.1%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1244128
Fresh21012
Picked011
Done000
Total12615141

Merged error: 0.0b

Counts
141 → 15

regimes447.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02817
12817

end0.0ms

sample1.3s

Algorithm
intervals
Results
885.0ms16940×body80valid