Details

Time bar (total: 6.1s)

sample342.0ms

Algorithm
intervals
Results
74.0ms563×body80valid

simplify86.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (23.0ms)

IterNodesCost
05114
115514
267514
3324213
4500113

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 8.9b

localize20.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))
6.0b
(* (* (* w w) r) r)
9.7b
(* (* w w) r)

rewrite41.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)
3.0ms
(/ 2.0 (* r r))
24.0ms
(* (* (* w w) r) r)
10.0ms
(* (* w w) r)

series195.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)
25.0ms
(/ 2.0 (* r r))
32.0ms
(* (* (* w w) r) r)
33.0ms
(* (* w w) r)

simplify46.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0320459
11457382
25001374

prune263.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

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

rewrite12.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:
3.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)
3.0ms
(* (fabs (* w r)) (fabs (* w r)))
3.0ms
(/ 2.0 (* r r))

series197.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03781079
11315875
25001837

prune349.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

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

rewrite56.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:
22.0ms
(+ (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r)))) (- 4.5 3.0))
24.0ms
(* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))))
3.0ms
(* (fabs (* w r)) (fabs (* w r)))
3.0ms
(/ 2.0 (* r r))

series170.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
07261332
131641080
250021059

prune455.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

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

rewrite20.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:
3.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)
6.0ms
(/ (/ 2.0 r) r)
3.0ms
(* (fabs (* w r)) (fabs (* w r)))

series200.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05861442
121621219
250011199

prune489.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

regimes278.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 (1.0ms)

IterNodesCost
02415
12415

end0.0ms

sample2.6s

Algorithm
intervals
Results
2.2s17106×body80valid