Details

Time bar (total: 8.9s)

sample92.0ms

Algorithm
intervals
Results
26.0ms75×body10240exit
22.0ms58×body1280valid
17.0ms59×body640valid
6.0ms101×body80valid
6.0ms18×body160valid
3.0ms20×body320valid

simplify18.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
18.0ms
(/ (exp x) (- (exp x) 1))

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.0b

localize16.0ms

Local error

Found 2 expressions with local error:

5.0b
(- (exp x) 1)
0.5b
(/ (exp x) (- (exp x) 1))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
36×*-un-lft-identity
21×times-frac add-cube-cbrt
10×difference-of-squares
prod-diff
associate-/r*
difference-of-sqr-1 distribute-lft-out--
add-cbrt-cube add-log-exp
fma-neg add-exp-log associate-/l*
expm1-log1p-u pow1 flip3-- associate-/r/ insert-posit16 log1p-expm1-u flip--
cbrt-undiv expm1-def clear-num sub-neg frac-2neg diff-log div-exp div-inv
Counts
2 → 80
Calls
2 calls:
Slowest
42.0ms
(/ (exp x) (- (exp x) 1))
20.0ms
(- (exp x) 1)

series51.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
26.0ms
(/ (exp x) (- (exp x) 1))
24.0ms
(- (exp x) 1)

simplify2.3s

Counts
88 → 86
Calls
88 calls:
Slowest
244.0ms
(/ (* (* (exp x) (exp x)) (exp x)) (* (* (- (exp x) 1) (- (exp x) 1)) (- (exp x) 1)))
213.0ms
(+ x (+ (* 1/6 (pow x 3)) (* 1/2 (pow x 2))))
97.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (- (* (sqrt 1) (sqrt 1))))
82.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (- (* (cbrt 1) (* (cbrt 1) (cbrt 1)))))
80.0ms
(+ (* (exp x) (exp x)) (+ (* 1 1) (* (exp x) 1)))

prune645.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.4b

localize8.0ms

Local error

Found 1 expressions with local error:

0.5b
(/ (exp x) (expm1 x))

rewrite7.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
Counts
1 → 30
Calls
1 calls:
Slowest
6.0ms
(/ (exp x) (expm1 x))

series30.0ms

Counts
1 → 3
Calls
1 calls:
Slowest
30.0ms
(/ (exp x) (expm1 x))

simplify746.0ms

Counts
28 → 33
Calls
28 calls:
Slowest
397.0ms
(/ (* (* (exp x) (exp x)) (exp x)) (* (* (expm1 x) (expm1 x)) (expm1 x)))
63.0ms
(/ (* (cbrt (exp x)) (cbrt (exp x))) (* (cbrt (expm1 x)) (cbrt (expm1 x))))
47.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))
21.0ms
(/ (exp x) (- (exp x) 1))
20.0ms
(/ (sqrt (exp x)) (* (cbrt (expm1 x)) (cbrt (expm1 x))))

prune279.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.4b

localize19.0ms

Local error

Found 1 expressions with local error:

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 fma-udef insert-posit16 log1p-expm1-u add-log-exp
Counts
1 → 11
Calls
1 calls:
Slowest
1.0ms
(fma x 1/12 (+ 1/2 (/ 1 x)))

series27.0ms

Counts
1 → 3
Calls
1 calls:
Slowest
27.0ms
(fma x 1/12 (+ 1/2 (/ 1 x)))

simplify118.0ms

Counts
3 → 14
Calls
3 calls:
Slowest
47.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))
46.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))
23.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))

prune89.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.4b

localize29.0ms

Local error

Found 2 expressions with local error:

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

rewrite8.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
Counts
2 → 22
Calls
2 calls:
Slowest
7.0ms
(fma x 1/12 (+ 1/2 (/ 1 x)))
1.0ms
(posit16->real (real->posit16 (fma x 1/12 (+ 1/2 (/ 1 x)))))

series40.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
25.0ms
(posit16->real (real->posit16 (fma x 1/12 (+ 1/2 (/ 1 x)))))
15.0ms
(fma x 1/12 (+ 1/2 (/ 1 x)))

simplify221.0ms

Counts
6 → 28
Calls
6 calls:
Slowest
49.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))
48.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))
34.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))
32.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))
31.0ms
(+ (* 1/12 x) (+ (/ 1 x) 1/2))

prune450.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.4b

regimes41.0ms

Accuracy

0% (0.0b remaining)

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

bsearch1.0ms

end0.0ms

sample3.6s

Algorithm
intervals
Results
1.4s2601×body10240exit
999.0ms2285×body1280valid
504.0ms1643×body640valid
235.0ms2831×body80valid
149.0ms801×body320valid
86.0ms442×body160valid