Details

Time bar (total: 23.1s)

sample201.0ms

Algorithm
intervals
Results
106.0ms538×body80valid

simplify2.7s

Counts
1 → 1
Iterations

Useful iterations: 3 (124.0ms)

IterNodesCost
02229
15129
215229
364128
4296128
done500028

prune21.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 9.7b

localize44.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.3b
(/ 2.0 (* r r))
5.6b
(* (* (* w w) r) r)
10.7b
(* (* w w) r)

rewrite141.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)
17.0ms
(/ 2.0 (* r r))
76.0ms
(* (* (* w w) r) r)
40.0ms
(* (* w w) r)

series320.0ms

Counts
4 → 12
Calls
4 calls:
188.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (* (* w w) r) r) 4.5)
36.0ms
(/ 2.0 (* r r))
49.0ms
(* (* (* w w) r) r)
48.0ms
(* (* w w) r)

simplify3.2s

Counts
89 → 89
Iterations

Useful iterations: done (3.2s)

IterNodesCost
0128982
1293962
21009802
33247766
done5000758

prune491.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize38.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ 3.0 (/ 2.0 (* r r))) (fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5))
0.1b
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
0.3b
(/ 2.0 (* r r))
0.4b
(* (fabs (* w r)) (fabs (* w r)))

rewrite209.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
22×add-sqr-sqrt
18×add-cube-cbrt
12×prod-diff
11×pow1 add-exp-log add-cbrt-cube
add-log-exp
distribute-lft-out
expm1-log1p-u fma-neg log1p-expm1-u
times-frac swap-sqr associate-*r* associate-*l* associate-/l*
cbrt-undiv diff-log div-exp prod-exp cbrt-unprod fma-udef distribute-lft-out--
pow2 sub-neg flip3-- frac-2neg pow-plus pow-prod-down associate--l+ clear-num associate-/r* sum-log pow-sqr *-commutative pow-prod-up flip-- div-inv associate--r+ difference-of-squares unswap-sqr
Counts
4 → 96
Calls
4 calls:
186.0ms
(- (+ 3.0 (/ 2.0 (* r r))) (fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5))
0.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
9.0ms
(/ 2.0 (* r r))
8.0ms
(* (fabs (* w r)) (fabs (* w r)))

series305.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(- (+ 3.0 (/ 2.0 (* r r))) (fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5))
124.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
42.0ms
(/ 2.0 (* r r))
18.0ms
(* (fabs (* w r)) (fabs (* w r)))

simplify1.3s

Counts
108 → 108
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01783903
13952614
211592171
done50001845

prune565.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.1b

localize48.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ 3.0 (/ (/ 2.0 r) r)) (fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5))
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)))

rewrite409.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
71×*-un-lft-identity
62×add-sqr-sqrt
58×add-cube-cbrt
13×associate-/l*
12×prod-diff
11×pow1 add-exp-log add-cbrt-cube
add-log-exp
div-inv distribute-lft-out
expm1-log1p-u fma-neg log1p-expm1-u
cbrt-undiv swap-sqr div-exp associate-*r* associate-*l* associate-/r*
diff-log fma-udef distribute-lft-out--
pow2 sub-neg flip3-- frac-2neg pow-plus pow-prod-down prod-exp associate--l+ clear-num sum-log pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod associate-/l/ associate--r+ difference-of-squares unswap-sqr
Counts
4 → 145
Calls
4 calls:
371.0ms
(- (+ 3.0 (/ (/ 2.0 r) r)) (fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5))
0.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
13.0ms
(/ (/ 2.0 r) r)
13.0ms
(* (fabs (* w r)) (fabs (* w r)))

series315.0ms

Counts
4 → 12
Calls
4 calls:
144.0ms
(- (+ 3.0 (/ (/ 2.0 r) r)) (fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5))
116.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
41.0ms
(/ (/ 2.0 r) r)
14.0ms
(* (fabs (* w r)) (fabs (* w r)))

simplify1.5s

Counts
157 → 157
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02754580
16023245
215632776
done50002438

prune886.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
0.2b
(/ r (/ 2.0 r))
0.3b
(/ (/ 1 1) (/ r (/ 2.0 r)))
0.4b
(* (fabs (* w r)) (fabs (* w r)))

rewrite216.0ms

Algorithm
rewrite-expression-head
Rules
1976×times-frac
857×add-sqr-sqrt
855×add-cube-cbrt *-un-lft-identity
107×div-inv
71×add-exp-log
57×div-exp associate-/r*
32×add-cbrt-cube
18×cbrt-undiv
16×associate-/r/ associate-/l*
15×1-exp
11×pow1
rec-exp
expm1-log1p-u log1p-expm1-u add-log-exp
swap-sqr associate-*r* associate-*l*
frac-2neg clear-num
pow2 pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod fma-udef associate-/l/ unswap-sqr
Counts
4 → 779
Calls
4 calls:
1.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
11.0ms
(/ r (/ 2.0 r))
59.0ms
(/ (/ 1 1) (/ r (/ 2.0 r)))
15.0ms
(* (fabs (* w r)) (fabs (* w r)))

series214.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(fma (/ (* 0.125 (- 3.0 (* 2.0 v))) (- 1.0 v)) (* (fabs (* w r)) (fabs (* w r))) 4.5)
46.0ms
(/ r (/ 2.0 r))
48.0ms
(/ (/ 1 1) (/ r (/ 2.0 r)))
16.0ms
(* (fabs (* w r)) (fabs (* w r)))

simplify4.3s

Counts
791 → 791
Iterations

Useful iterations: done (4.2s)

IterNodesCost
0124718259
1300812082
2448010223
done500010092

prune1.3s

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0.0b

regimes654.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify7.0ms

Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
02434
13032
done3032

end0.0ms

sample3.8s

Algorithm
intervals
Results
3.0s17002×body80valid