Details

Time bar (total: 7.9s)

sample321.0ms

Algorithm
intervals
Results
42.0ms542×body80valid

simplify84.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (21.0ms)

IterNodesCost
05114
115514
267514
3324213
4500113

prune23.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 8.5b

localize22.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.4b
(/ 2.0 (* r r))
5.8b
(* (* (* w w) r) r)
8.7b
(* (* w w) r)

rewrite90.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:
0.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (* (* w w) r) r) 4.5)
8.0ms
(/ 2.0 (* r r))
59.0ms
(* (* (* w w) r) r)
20.0ms
(* (* w w) r)

series177.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (* (* w w) r) r) 4.5)
23.0ms
(/ 2.0 (* r r))
33.0ms
(* (* (* w w) r) r)
24.0ms
(* (* w w) r)

simplify44.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0320459
11457382
25001374

prune423.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

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

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

series183.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- (fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5) 3.0)
70.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
7.0ms
(* (fabs (* w r)) (fabs (* w r)))
27.0ms
(/ 2.0 (* r r))

simplify45.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03781079
11315875
25001837

prune621.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

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

rewrite265.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:
191.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)))
54.0ms
(* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))))
7.0ms
(* (fabs (* w r)) (fabs (* w r)))
8.0ms
(/ 2.0 (* r r))

series168.0ms

Counts
4 → 12
Calls
4 calls:
79.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)))
58.0ms
(* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))))
7.0ms
(* (fabs (* w r)) (fabs (* w r)))
24.0ms
(/ 2.0 (* r r))

simplify124.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
08923307
141191978
250011951

prune860.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize20.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.2b
(/ (/ 2.0 r) r)
0.3b
(* (fabs (* w r)) (fabs (* w r)))

rewrite314.0ms

Algorithm
rewrite-expression-head
Rules
347×times-frac
249×add-sqr-sqrt
239×*-un-lft-identity
235×add-cube-cbrt
129×prod-diff
43×fma-neg
32×add-exp-log add-cbrt-cube
22×div-inv
16×pow1
14×associate-*l*
13×associate-/l* add-log-exp
12×prod-exp cbrt-unprod
cbrt-undiv div-exp
expm1-log1p-u diff-log associate-*r* pow-prod-down frac-sub log1p-expm1-u difference-of-squares
flip3-- swap-sqr associate-*l/ associate-/r* flip--
frac-add sum-log associate-/r/ *-commutative distribute-lft-out-- unswap-sqr
pow2 associate-+r- sub-neg frac-2neg flip3-+ pow-plus clear-num pow-sqr pow-prod-up flip-+ associate-/l/ associate--r+ associate--r-
Counts
4 → 335
Calls
4 calls:
218.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)))
52.0ms
(* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))))
11.0ms
(/ (/ 2.0 r) r)
10.0ms
(* (fabs (* w r)) (fabs (* w r)))

series172.0ms

Counts
4 → 12
Calls
4 calls:
83.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)))
58.0ms
(* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))))
23.0ms
(/ (/ 2.0 r) r)
8.0ms
(* (fabs (* w r)) (fabs (* w r)))

simplify116.0ms

Algorithm
egg-herbie
Counts
347 → 347
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
0134713333
150026692

prune1.7s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

regimes460.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
03122
13122

end0.0ms

sample1.6s

Algorithm
intervals
Results
1.3s17004×body80valid