Details

Time bar (total: 5.0s)

sample306.0ms

Algorithm
intervals
Results
31.0ms569×body80valid

simplify87.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (23.0ms)

IterNodesCost
05114
115514
267514
3324213
4500113

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 7.9b

localize31.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))
5.9b
(* (* (* w w) r) r)
10.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)

series202.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (* (* w w) r) r) 4.5)
34.0ms
(/ 2.0 (* r r))
33.0ms
(* (* (* w w) r) r)
26.0ms
(* (* w w) r)

simplify45.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0320459
11457382
25001374

prune270.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize17.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)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
0.4b
(* (fabs (* w r)) (fabs (* w r)))
0.5b
(/ 2.0 (* r r))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×add-exp-log *-un-lft-identity add-cbrt-cube
12×add-cube-cbrt
11×pow1
times-frac
associate-/r*
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u associate-/l* add-log-exp
swap-sqr associate-*r* associate-*l* prod-exp cbrt-unprod
flip3-- frac-2neg associate-*r/ clear-num associate-/r/ flip-- div-inv associate-/l/ distribute-lft-out-- difference-of-squares
pow2 pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up fma-udef unswap-sqr
Counts
4 → 91
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)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
3.0ms
(* (fabs (* w r)) (fabs (* w r)))
4.0ms
(/ 2.0 (* r r))

series167.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))
81.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)))
25.0ms
(/ 2.0 (* r r))

simplify53.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0484688
12000586
25001573

prune364.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize22.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)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
0.2b
(/ (/ 2.0 r) r)
0.4b
(* (fabs (* w r)) (fabs (* w r)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
58×add-sqr-sqrt
56×*-un-lft-identity
52×add-cube-cbrt
16×add-exp-log add-cbrt-cube
14×associate-/l*
11×pow1
associate-/r*
div-inv
cbrt-undiv div-exp
expm1-log1p-u log1p-expm1-u add-log-exp
swap-sqr associate-*r* associate-*l* associate-/l/
flip3-- frac-2neg associate-*r/ prod-exp clear-num associate-/r/ flip-- cbrt-unprod distribute-lft-out-- difference-of-squares
pow2 pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up fma-udef unswap-sqr
Counts
4 → 140
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)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
6.0ms
(/ (/ 2.0 r) r)
4.0ms
(* (fabs (* w r)) (fabs (* w r)))

series168.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))
82.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)))

simplify70.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06921051
12867930
25002913

prune538.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (* (sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))) (sqrt (/ (* 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))
0.5b
(* (sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))) (sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
54×sqrt-prod
44×add-sqr-sqrt
36×*-un-lft-identity
27×times-frac
26×pow1
22×add-cube-cbrt
21×swap-sqr
17×associate-*r* associate-*l*
13×add-exp-log add-cbrt-cube
sqrt-pow1 pow1/2 associate-/r/
pow-prod-up distribute-lft-out--
div-inv unswap-sqr
expm1-log1p-u flip3-- sqrt-div pow-prod-down pow-sqr flip-- log1p-expm1-u add-log-exp difference-of-squares
prod-exp cbrt-unprod associate-/l*
cbrt-undiv pow2 pow-plus div-exp *-commutative
frac-times frac-2neg sqrt-unprod associate-*r/ associate-*l/ clear-num associate-/r* rem-square-sqrt fma-udef
Counts
4 → 140
Calls
4 calls:
1.0ms
(fma (* (sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))) (sqrt (/ (* 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)))
4.0ms
(/ 2.0 (* r r))
23.0ms
(* (sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))) (sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))))

series419.0ms

Counts
4 → 12
Calls
4 calls:
255.0ms
(fma (* (sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))) (sqrt (/ (* 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))
126.0ms
(* (sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))) (sqrt (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))))

simplify77.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05261384
123001192
250011136

prune485.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

regimes257.0ms

Accuracy

0% (0.2b 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
02415
12415

end0.0ms

sample1.3s

Algorithm
intervals
Results
926.0ms17251×body80valid