Details

Time bar (total: 7.1s)

sample93.0ms

Algorithm
intervals
Results
31.0ms68×body1280valid
25.0ms69×body10240exit
16.0ms50×body640valid
6.0ms100×body80valid
5.0ms25×body320valid
2.0ms13×body160valid

simplify21.0ms

Calls
1 calls:
Slowest
21.0ms
(/ (exp x) (- (exp x) 1))

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.5b

localize15.0ms

Local error

Found 2 expressions with local error:

3.9b
(- (exp x) 1)
0.3b
(/ (exp x) (- (exp x) 1))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
12×*-un-lft-identity times-frac add-cube-cbrt
difference-of-sqr-1
associate-/r* add-cbrt-cube
fma-neg add-exp-log associate-/l*
expm1-log1p-u pow1 flip3-- associate-/r/ insert-posit16 log1p-expm1-u flip-- add-log-exp
cbrt-undiv expm1-def clear-num sub-neg frac-2neg div-exp div-inv
Calls
2 calls:
Slowest
14.0ms
(/ (exp x) (- (exp x) 1))
8.0ms
(- (exp x) 1)

series49.0ms

Calls
2 calls:
Slowest
31.0ms
(/ (exp x) (- (exp x) 1))
18.0ms
(- (exp x) 1)

simplify1.3s

Calls
43 calls:
Slowest
375.0ms
(/ (* (* (exp x) (exp x)) (exp x)) (* (* (- (exp x) 1) (- (exp x) 1)) (- (exp x) 1)))
238.0ms
(+ x (+ (* 1/6 (pow x 3)) (* 1/2 (pow x 2))))
60.0ms
(+ (* (exp x) (exp x)) (+ (* 1 1) (* (exp x) 1)))
50.0ms
(/ (* (cbrt (exp x)) (cbrt (exp x))) (* (cbrt (- (exp x) 1)) (cbrt (- (exp x) 1))))
45.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))

prune409.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 1 expressions with local error:

0.3b
(/ (exp x) (expm1 x))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity times-frac add-cube-cbrt
associate-/r* add-cbrt-cube associate-/l*
add-exp-log
expm1-log1p-u pow1 cbrt-undiv clear-num frac-2neg div-exp insert-posit16 log1p-expm1-u div-inv add-log-exp
Calls
1 calls:
Slowest
8.0ms
(/ (exp x) (expm1 x))

series36.0ms

Calls
1 calls:
Slowest
36.0ms
(/ (exp x) (expm1 x))

simplify602.0ms

Calls
28 calls:
Slowest
186.0ms
(/ (* (* (exp x) (exp x)) (exp x)) (* (* (expm1 x) (expm1 x)) (expm1 x)))
63.0ms
(/ (* (cbrt (exp x)) (cbrt (exp x))) 1)
58.0ms
(/ (* (cbrt (exp x)) (cbrt (exp x))) (* (cbrt (expm1 x)) (cbrt (expm1 x))))
46.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))
28.0ms
(/ (* (cbrt (exp x)) (cbrt (exp x))) (sqrt (expm1 x)))

prune287.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma x 1/12 (+ 1/2 (/ 1 x)))

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt expm1-log1p-u pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt fma-udef insert-posit16 log1p-expm1-u add-log-exp
Calls
1 calls:
Slowest
0.0ms
(fma x 1/12 (+ 1/2 (/ 1 x)))

series9.0ms

Calls
1 calls:
Slowest
9.0ms
(fma x 1/12 (+ 1/2 (/ 1 x)))

simplify103.0ms

Calls
3 calls:
Slowest
38.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))
37.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))
27.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))

prune81.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 2 expressions with local error:

60.1b
(posit16->real (real->posit16 (fma x 1/12 (+ 1/2 (/ 1 x)))))
0.1b
(fma x 1/12 (+ 1/2 (/ 1 x)))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt expm1-log1p-u pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt insert-posit16 log1p-expm1-u add-log-exp
fma-udef remove-posit16
Calls
2 calls:
Slowest
0.0ms
(posit16->real (real->posit16 (fma x 1/12 (+ 1/2 (/ 1 x)))))
0.0ms
(fma x 1/12 (+ 1/2 (/ 1 x)))

series15.0ms

Calls
2 calls:
Slowest
8.0ms
(posit16->real (real->posit16 (fma x 1/12 (+ 1/2 (/ 1 x)))))
7.0ms
(fma x 1/12 (+ 1/2 (/ 1 x)))

simplify169.0ms

Calls
6 calls:
Slowest
43.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))
28.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))
25.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))
25.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))
23.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))

prune288.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

regimes42.0ms

Accuracy

0% (0.1b remaining)

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

bsearch1.0ms

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.2s2445×body10240exit
1.1s2326×body1280valid
493.0ms1643×body640valid
238.0ms2826×body80valid
178.0ms807×body320valid
52.0ms399×body160valid