Details

Time bar (total: 23.0s)

sample384.0ms

Algorithm
intervals
Results
129.0ms70×body10240exit
104.0ms57×body1280valid
64.0ms315×body80valid
40.0ms42×body640valid
15.0ms25×body320valid
5.0ms12×body160valid

simplify1.3s

Counts
1 → 1
Iterations
IterNodes
done2010
52010
41436
3398
2124
149
019

prune23.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 30.4b

localize83.0ms

Local error

Found 4 expressions with local error:

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

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
74×exp-neg
72×frac-times
56×neg-sub0 exp-diff
38×associate-*l/
36×associate-*r/
28×flip3-+ flip3-- flip-+ flip--
18×un-div-inv
12×exp-prod
10×add-sqr-sqrt *-un-lft-identity add-log-exp
add-cube-cbrt
pow1 add-cbrt-cube add-exp-log
expm1-log1p-u associate-*l* insert-posit16 log1p-expm1-u rem-exp-log
associate-*r*
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in neg-log
sub-neg fma-neg diff-log prod-diff pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
4 → 162
Calls
4 calls:
33.0ms
(* (+ 1 eps) x)
12.0ms
(exp (- (* (+ 1 eps) x)))
15.0ms
(exp (- (* (- 1 eps) x)))
57.0ms
(- (* (+ 1 (/ 1 eps)) (exp (- (* (- 1 eps) x)))) (* (- (/ 1 eps) 1) (exp (- (* (+ 1 eps) x)))))

series265.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (+ 1 eps) x)
28.0ms
(exp (- (* (+ 1 eps) x)))
27.0ms
(exp (- (* (- 1 eps) x)))
167.0ms
(- (* (+ 1 (/ 1 eps)) (exp (- (* (- 1 eps) x)))) (* (- (/ 1 eps) 1) (exp (- (* (+ 1 eps) x)))))

simplify1.4s

Counts
174 → 174
Iterations
IterNodes
done2000
22000
11277
0377

prune1.0s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (* x x))
6.6b
(fma (* x (* x x)) 2/3 (- 2 (* x x)))

rewrite15.0ms

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

series109.0ms

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

simplify945.0ms

Counts
44 → 44
Iterations
IterNodes
done2001
42001
3905
2277
1108
056

prune180.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize32.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (* x x))
0.5b
(expm1 (log1p (fma (* x (* x x)) 2/3 (- 2 (* x x)))))
6.6b
(fma (* x (* x x)) 2/3 (- 2 (* x x)))
10.9b
(log1p (fma (* x (* x x)) 2/3 (- 2 (* x x))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1
add-cbrt-cube add-exp-log
add-sqr-sqrt
expm1-log1p-u *-un-lft-identity pow-prod-up add-cube-cbrt
insert-posit16 log1p-expm1-u add-log-exp
associate-*l* pow-prod-down prod-exp cbrt-unprod
pow2 log1p-udef expm1-log1p pow-plus cube-unmult associate-*r* log1p-expm1 pow-sqr *-commutative fma-udef expm1-udef unswap-sqr
Counts
4 → 62
Calls
4 calls:
29.0ms
(* x (* x x))
0.0ms
(expm1 (log1p (fma (* x (* x x)) 2/3 (- 2 (* x x)))))
0.0ms
(fma (* x (* x x)) 2/3 (- 2 (* x x)))
1.0ms
(log1p (fma (* x (* x x)) 2/3 (- 2 (* x x))))

series321.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(* x (* x x))
143.0ms
(expm1 (log1p (fma (* x (* x x)) 2/3 (- 2 (* x x)))))
58.0ms
(fma (* x (* x x)) 2/3 (- 2 (* x x)))
60.0ms
(log1p (fma (* x (* x x)) 2/3 (- 2 (* x x))))

simplify1.3s

Counts
74 → 74
Iterations
IterNodes
done2014
32014
2700
1257
0123

prune420.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize59.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (* x x))
6.6b
(fma (posit16->real (real->posit16 (* x (* x x)))) 2/3 (- 2 (* x x)))
18.9b
(posit16->real (real->posit16 (* x (* x x))))

rewrite31.0ms

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

series192.0ms

Counts
3 → 9
Calls
3 calls:
64.0ms
(* x (* x x))
59.0ms
(fma (posit16->real (real->posit16 (* x (* x x)))) 2/3 (- 2 (* x x)))
69.0ms
(posit16->real (real->posit16 (* x (* x x))))

simplify1.1s

Counts
58 → 58
Iterations
IterNodes
done2000
42000
31225
2318
1121
067

prune453.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

regimes208.0ms

Accuracy

96.6% (0.6b remaining)

Error of 1.0b against oracle of 0.5b and baseline of 16.6b

bsearch299.0ms

Steps
ItersRangePoint
10
1.4509785142153935e-08
32640636.358721357
158.8018617543875

simplify31.0ms

Iterations
IterNodes
done59
359
257
148
031

end0.0ms

sample12.6s

Algorithm
intervals
Results
3.7s10022×body80valid
3.3s1869×body10240exit
3.2s1714×body1280valid
1.4s1241×body640valid
506.0ms650×body320valid
170.0ms336×body160valid