Details

Time bar (total: 5.1s)

sample293.0ms

Algorithm
intervals
Results
30.0ms550×body80valid

simplify86.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: 8.7b

Counts
2 → 2

localize33.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.5b
(/ 2.0 (* r r))
7.4b
(* (* (* w w) r) r)
11.9b
(* (* 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)

series194.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (* (* w w) r) r) 4.5)
30.0ms
(/ 2.0 (* r r))
33.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

prune263.0ms

Filtered
89 candidates to 58 candidates (65.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New781189
Fresh101
Picked101
Done000
Total801191

Merged error: 0.1b

Counts
91 → 11

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 2.0 (* r r)) (- (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.5b
(/ 2.0 (* r r))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
54×*-un-lft-identity
44×prod-diff
35×add-cube-cbrt
22×times-frac
12×associate--r+
11×pow1 add-exp-log add-cbrt-cube
10×distribute-lft-out--
add-log-exp difference-of-squares
fma-neg div-inv
expm1-log1p-u log1p-expm1-u
diff-log swap-sqr associate-*r* associate-*l* associate-/l*
cbrt-undiv sub-neg flip3-- div-exp prod-exp frac-sub flip-- cbrt-unprod fma-udef
pow2 frac-2neg pow-plus pow-prod-down associate--l+ clear-num associate-/r* pow-sqr *-commutative pow-prod-up associate--r- unswap-sqr
Counts
4 → 136
Calls
4 calls:
12.0ms
(- (/ 2.0 (* r r)) (- (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)
3.0ms
(* (fabs (* w r)) (fabs (* w r)))
7.0ms
(/ 2.0 (* r r))

series186.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(- (/ 2.0 (* r r)) (- (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)
8.0ms
(* (fabs (* w r)) (fabs (* w r)))
24.0ms
(/ 2.0 (* r r))

simplify84.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06214025
122322672
250012289

prune406.0ms

Filtered
148 candidates to 86 candidates (58.1%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1399148
Fresh8210
Picked101
Done000
Total14811159

Merged error: 0.0b

Counts
159 → 11

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
474×times-frac
406×add-sqr-sqrt
400×*-un-lft-identity
309×add-cube-cbrt
224×prod-diff
46×distribute-lft-out-- difference-of-squares
43×fma-neg
29×div-inv
13×associate-/l*
12×associate--r+
11×pow1 add-exp-log add-cbrt-cube
add-log-exp
expm1-log1p-u log1p-expm1-u
cbrt-undiv diff-log swap-sqr div-exp associate-*r* associate-*l* associate-/r*
sub-neg flip3-- frac-sub flip-- fma-udef
pow2 frac-2neg pow-plus pow-prod-down prod-exp associate--l+ clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod associate-/l/ associate--r- unswap-sqr
Counts
4 → 402
Calls
4 calls:
31.0ms
(- (/ (/ 2.0 r) r) (- (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)))

series188.0ms

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

simplify212.0ms

Algorithm
egg-herbie
Counts
414 → 414
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
0115218908
1396911394
2500111382

prune895.0ms

Filtered
414 candidates to 194 candidates (46.9%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New4131414
Fresh01010
Picked011
Done000
Total41312425

Merged error: 0.0b

Counts
425 → 12

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))
0.1b
(fma (- (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))) (pow (fabs (* w r)) 2) (/ 2.0 (* r r)))
0.4b
(pow (fabs (* w r)) 2)
0.5b
(/ 2.0 (* r r))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
15×add-exp-log
14×add-sqr-sqrt *-un-lft-identity add-cbrt-cube
10×add-cube-cbrt
times-frac
associate-/r*
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u associate-/l* add-log-exp
unpow-prod-down pow-unpow
flip3-- frac-2neg associate-*r/ prod-exp clear-num associate-/r/ flip-- cbrt-unprod div-inv associate-/l/ distribute-lft-out-- difference-of-squares
pow-to-exp pow-pow pow-exp fma-udef unpow2 sqr-pow
Counts
4 → 84
Calls
4 calls:
9.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))
1.0ms
(fma (- (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))) (pow (fabs (* w r)) 2) (/ 2.0 (* r r)))
2.0ms
(pow (fabs (* w r)) 2)
4.0ms
(/ 2.0 (* r r))

series213.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))
134.0ms
(fma (- (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))) (pow (fabs (* w r)) 2) (/ 2.0 (* r r)))
7.0ms
(pow (fabs (* w r)) 2)
25.0ms
(/ 2.0 (* r r))

simplify55.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0476648
11854560
25001558

prune291.0ms

Filtered
96 candidates to 69 candidates (71.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New93396
Fresh4610
Picked101
Done011
Total9810108

Merged error: 0.0b

Counts
108 → 10

regimes225.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
02415
12415

end0.0ms

sample1.3s

Algorithm
intervals
Results
898.0ms16915×body80valid