Details

Time bar (total: 4.5s)

sample304.0ms

Algorithm
intervals
Results
31.0ms561×body80valid

simplify88.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (24.0ms)

IterNodesCost
05114
115514
267514
3324213
4500113

prune12.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 9.9b

localize34.0ms

Local error

Found 4 expressions with local error:

0.3b
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (* (* w w) r) r) 4.5)
0.6b
(/ 2.0 (* r r))
6.6b
(* (* (* w w) r) r)
11.1b
(* (* 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)
9.0ms
(* (* w w) r)

series195.0ms

Counts
4 → 12
Calls
4 calls:
103.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)
26.0ms
(* (* w w) r)

simplify44.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0320459
11457382
25001374

prune269.0ms

Filtered
89 candidates to 58 candidates (65.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.3b

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

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

series193.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03781079
11315875
25001837

prune368.0ms

Filtered
101 candidates to 69 candidates (68.3%)
Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.3b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))
0.3b
(* (/ (* 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.6b
(/ 2.0 (* r r))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
37×add-exp-log add-cbrt-cube
23×add-sqr-sqrt
20×*-un-lft-identity
16×pow1
14×add-cube-cbrt associate-*l* prod-exp cbrt-unprod
13×times-frac
cbrt-undiv div-exp
associate-/r*
expm1-log1p-u associate-*r* pow-prod-down associate-/r/ log1p-expm1-u associate-/l* add-log-exp
flip3-- swap-sqr flip-- div-inv distribute-lft-out-- difference-of-squares
frac-2neg associate-*r/ clear-num *-commutative associate-/l/ unswap-sqr
pow2 pow-plus associate-*l/ pow-sqr pow-prod-up
Counts
4 → 119
Calls
4 calls:
9.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))
13.0ms
(* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))))
4.0ms
(* (fabs (* w r)) (fabs (* w r)))
5.0ms
(/ 2.0 (* r r))

series138.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06041050
12763834
25001822

prune428.0ms

Filtered
131 candidates to 87 candidates (66.4%)
Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))
0.2b
(* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (fabs (* w r)))
0.3b
(* (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (fabs (* w r))) (fabs (* w r)))
0.6b
(/ 2.0 (* r r))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
37×add-exp-log add-cbrt-cube
20×add-sqr-sqrt
18×*-un-lft-identity
14×prod-exp cbrt-unprod
13×times-frac
12×add-cube-cbrt associate-*l*
11×pow1
cbrt-undiv div-exp
associate-*r* associate-/r*
expm1-log1p-u pow-prod-down associate-/r/ log1p-expm1-u associate-/l* add-log-exp
flip3-- associate-*l/ flip-- div-inv distribute-lft-out-- difference-of-squares
frac-2neg associate-*r/ clear-num *-commutative associate-/l/
unswap-sqr
Counts
4 → 112
Calls
4 calls:
9.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))
13.0ms
(* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (fabs (* w r)))
12.0ms
(* (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (fabs (* w r))) (fabs (* w r)))
5.0ms
(/ 2.0 (* r r))

series178.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v))
44.0ms
(* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (fabs (* w r)))
59.0ms
(* (* (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (fabs (* w r))) (fabs (* w r)))
25.0ms
(/ 2.0 (* r r))

simplify66.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06311140
12886921
25001907

prune367.0ms

Filtered
124 candidates to 86 candidates (69.4%)
Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 0.0b

regimes200.0ms

Accuracy

0% (0.3b 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
02816
12816

end0.0ms

sample1.3s

Algorithm
intervals
Results
946.0ms17100×body80valid