Details

Time bar (total: 26.0s)

sample392.0ms

Algorithm
intervals
Results
140.0ms76×body10240exit
68.0ms333×body80valid
67.0ms48×body1280valid
62.0ms42×body640valid
20.0ms32×body320valid
2.0msbody160valid

simplify1.3s

Counts
1 → 1
Iterations
IterNodes
53313
4892
3314
2124
149
019

prune15.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 30.6b

localize50.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- 1 (/ 1 eps)) (exp (fma x eps x)))
0.0b
(exp (fma x eps x))
0.0b
(exp (- (* x eps) x))
4.4b
(fma (exp (- (* x eps) x)) (+ 1 (/ 1 eps)) (/ (- 1 (/ 1 eps)) (exp (fma x eps x))))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
79×add-sqr-sqrt
64×*-un-lft-identity times-frac
30×difference-of-squares
24×add-cube-cbrt
18×exp-sum
14×fma-udef
11×associate-/l*
10×distribute-lft-out--
add-log-exp
exp-prod add-cbrt-cube div-inv
add-exp-log
expm1-log1p-u pow1 associate-/r* insert-posit16 log1p-expm1-u
prod-diff rem-exp-log
associate-/l/
cbrt-undiv clear-num sub-neg frac-2neg flip3-- exp-diff diff-log div-sub div-exp flip--
Counts
4 → 124
Calls
4 calls:
46.0ms
(/ (- 1 (/ 1 eps)) (exp (fma x eps x)))
2.0ms
(exp (fma x eps x))
19.0ms
(exp (- (* x eps) x))
0.0ms
(fma (exp (- (* x eps) x)) (+ 1 (/ 1 eps)) (/ (- 1 (/ 1 eps)) (exp (fma x eps x))))

series197.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/ (- 1 (/ 1 eps)) (exp (fma x eps x)))
16.0ms
(exp (fma x eps x))
20.0ms
(exp (- (* x eps) x))
130.0ms
(fma (exp (- (* x eps) x)) (+ 1 (/ 1 eps)) (/ (- 1 (/ 1 eps)) (exp (fma x eps x))))

simplify1.2s

Counts
136 → 136
Iterations
IterNodes
32776
21010
1466
0233

prune1.8s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.5b

localize14.0ms

Local error

Found 2 expressions with local error:

0.3b
(* 2/3 x)
4.8b
(fma (* 2/3 x) (* x x) (- 2 (* x x)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt
associate-*r* associate-*l*
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
2 → 32
Calls
2 calls:
5.0ms
(* 2/3 x)
0.0ms
(fma (* 2/3 x) (* x x) (- 2 (* x x)))

series72.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(* 2/3 x)
47.0ms
(fma (* 2/3 x) (* x x) (- 2 (* x x)))

simplify1.4s

Counts
38 → 38
Iterations
IterNodes
43647
3711
2210
1103
053

prune362.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.5b

localize56.0ms

Local error

Found 3 expressions with local error:

0.3b
(* 2/3 x)
4.8b
(fma (* 2/3 x) (* x x) (- 2 (* x x)))
5.0b
(posit16->real (real->posit16 (fma (* 2/3 x) (* x x) (- 2 (* x x)))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt
expm1-log1p-u associate-*r* associate-*l* insert-posit16 log1p-expm1-u add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef remove-posit16 unswap-sqr
Counts
3 → 43
Calls
3 calls:
11.0ms
(* 2/3 x)
0.0ms
(fma (* 2/3 x) (* x x) (- 2 (* x x)))
1.0ms
(posit16->real (real->posit16 (fma (* 2/3 x) (* x x) (- 2 (* x x)))))

series125.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(* 2/3 x)
39.0ms
(fma (* 2/3 x) (* x x) (- 2 (* x x)))
57.0ms
(posit16->real (real->posit16 (fma (* 2/3 x) (* x x) (- 2 (* x x)))))

simplify2.2s

Counts
52 → 52
Iterations
IterNodes
45571
3842
2249
1119
064

prune1.0s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.5b

localize35.0ms

Local error

Found 4 expressions with local error:

4.8b
(fma (* 2/3 x) (* x x) (- 2 (* x x)))
10.2b
(cbrt (fma (* 2/3 x) (* x x) (- 2 (* x x))))
10.2b
(cbrt (fma (* 2/3 x) (* x x) (- 2 (* x x))))
10.2b
(cbrt (fma (* 2/3 x) (* x x) (- 2 (* x x))))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 53
Calls
4 calls:
0.0ms
(fma (* 2/3 x) (* x x) (- 2 (* x x)))
1.0ms
(cbrt (fma (* 2/3 x) (* x x) (- 2 (* x x))))
1.0ms
(cbrt (fma (* 2/3 x) (* x x) (- 2 (* x x))))
1.0ms
(cbrt (fma (* 2/3 x) (* x x) (- 2 (* x x))))

series352.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(fma (* 2/3 x) (* x x) (- 2 (* x x)))
97.0ms
(cbrt (fma (* 2/3 x) (* x x) (- 2 (* x x))))
107.0ms
(cbrt (fma (* 2/3 x) (* x x) (- 2 (* x x))))
106.0ms
(cbrt (fma (* 2/3 x) (* x x) (- 2 (* x x))))

simplify1.9s

Counts
65 → 65
Iterations
IterNodes
44633
31244
2400
1163
077

prune630.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.5b

regimes162.0ms

Accuracy

95.8% (0.7b remaining)

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

bsearch461.0ms

Steps
ItersRangePoint
11
2.3824489835354504e-16
446233850.42817044
80.15112264149943

simplify5.0ms

Iterations
IterNodes
230
130
026

end0.0ms

sample12.3s

Algorithm
intervals
Results
3.6s1950×body10240exit
3.4s1789×body1280valid
2.6s10087×body80valid
1.3s1259×body640valid
894.0ms628×body320valid
155.0ms291×body160valid