0.003 * [progress]: [Phase 1 of 3] Setting up. 0.003 * * * [progress]: [1/2] Preparing points 0.003 * * * * [points]: Sampling 256 additional inputs, on iter 0 have 0 / 256 0.005 * * * * [points]: Computing exacts on every 16 of 256 points to ramp up precision 0.007 * * * * [points]: Setting MPFR precision to 64 0.009 * * * * [points]: Setting MPFR precision to 320 0.011 * * * * [points]: Computing exacts on every 8 of 256 points to ramp up precision 0.013 * * * * [points]: Setting MPFR precision to 64 0.016 * * * * [points]: Setting MPFR precision to 320 0.019 * * * * [points]: Computing exacts on every 4 of 256 points to ramp up precision 0.022 * * * * [points]: Setting MPFR precision to 64 0.028 * * * * [points]: Setting MPFR precision to 320 0.033 * * * * [points]: Computing exacts on every 2 of 256 points to ramp up precision 0.036 * * * * [points]: Setting MPFR precision to 64 0.053 * * * * [points]: Setting MPFR precision to 320 0.062 * * * * [points]: Computing exacts for 256 points 0.065 * * * * [points]: Setting MPFR precision to 64 0.093 * * * * [points]: Setting MPFR precision to 320 0.123 * * * * [points]: Filtering points with unrepresentable outputs 0.124 * * * * [points]: Sampled 256 points with exact outputs 0.124 * * * [progress]: [2/2] Setting up program. 0.144 * [progress]: [Phase 2 of 3] Improving. 0.144 * * * * [progress]: [ 1 / 1 ] simplifiying candidate #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> 0.145 * [simplify]: Simplifying (+.p16 (+.p16 (*.p16 d1 (real->posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)) 0.145 * * [simplify]: iteration 1: (10 enodes) 0.150 * * [simplify]: iteration 2: (26 enodes) 0.155 * * [simplify]: iteration 3: (41 enodes) 0.164 * * [simplify]: iteration 4: (57 enodes) 0.173 * * [simplify]: iteration 5: (65 enodes) 0.183 * * [simplify]: Extracting #0: cost 1 inf + 0 0.183 * * [simplify]: Extracting #1: cost 9 inf + 0 0.183 * * [simplify]: Extracting #2: cost 14 inf + 1 0.183 * * [simplify]: Extracting #3: cost 11 inf + 367 0.184 * * [simplify]: Extracting #4: cost 8 inf + 1053 0.184 * * [simplify]: Extracting #5: cost 2 inf + 2267 0.185 * * [simplify]: Extracting #6: cost 0 inf + 2673 0.185 * [simplify]: Simplified to (*.p16 (+.p16 (real->posit16 3) (+.p16 d2 d3)) d1) 0.241 * * [progress]: iteration 1 / 4 0.241 * * * [progress]: picking best candidate 0.278 * * * * [pick]: Picked #posit16 3) (+.p16 d2 d3)) d1))> 0.278 * * * [progress]: localizing error 0.379 * * * [progress]: generating rewritten candidates 0.380 * * * * [progress]: [ 1 / 2 ] rewriting at (2 1) 0.384 * * * * [progress]: [ 2 / 2 ] rewriting at (2) 0.390 * * * [progress]: generating series expansions 0.390 * * * * [progress]: [ 1 / 2 ] generating series at (2 1) 0.390 * * * * [progress]: [ 2 / 2 ] generating series at (2) 0.390 * * * [progress]: simplifying candidates 0.390 * * * * [progress]: [ 1 / 5 ] simplifiying candidate #posit16 3) d2) d3) d1))> 0.390 * * * * [progress]: [ 2 / 5 ] simplifiying candidate #posit16 3)) d1))> 0.390 * * * * [progress]: [ 3 / 5 ] simplifiying candidate #posit16 3) (+.p16 d2 d3))))> 0.390 * * * * [progress]: [ 4 / 5 ] simplifiying candidate #posit16 3) (+.p16 d2 d3)) d1))> 0.390 * * * * [progress]: [ 5 / 5 ] simplifiying candidate #posit16 3) (+.p16 d2 d3)) d1))> 0.390 * [simplify]: Simplifying (+.p16 (real->posit16 3) d2), (*.p16 (+.p16 (real->posit16 3) (+.p16 d2 d3)) d1), (*.p16 (+.p16 (real->posit16 3) (+.p16 d2 d3)) d1) 0.390 * * [simplify]: iteration 1: (9 enodes) 0.400 * * [simplify]: iteration 2: (21 enodes) 0.405 * * [simplify]: iteration 3: (41 enodes) 0.419 * * [simplify]: iteration 4: (59 enodes) 0.435 * * [simplify]: iteration 5: (66 enodes) 0.447 * * [simplify]: Extracting #0: cost 2 inf + 0 0.447 * * [simplify]: Extracting #1: cost 12 inf + 0 0.448 * * [simplify]: Extracting #2: cost 13 inf + 324 0.448 * * [simplify]: Extracting #3: cost 8 inf + 1373 0.448 * * [simplify]: Extracting #4: cost 4 inf + 1501 0.448 * * [simplify]: Extracting #5: cost 0 inf + 2673 0.449 * [simplify]: Simplified to (+.p16 (real->posit16 3) d2), (*.p16 (+.p16 d3 (+.p16 (real->posit16 3) d2)) d1), (*.p16 (+.p16 d3 (+.p16 (real->posit16 3) d2)) d1) 0.449 * * * [progress]: adding candidates to table 0.545 * * [progress]: iteration 2 / 4 0.545 * * * [progress]: picking best candidate 0.578 * * * * [pick]: Picked #posit16 3) d2) d3) d1))> 0.578 * * * [progress]: localizing error 0.701 * * * [progress]: generating rewritten candidates 0.701 * * * * [progress]: [ 1 / 2 ] rewriting at (2 1) 0.729 * * * * [progress]: [ 2 / 2 ] rewriting at (2) 0.745 * * * [progress]: generating series expansions 0.745 * * * * [progress]: [ 1 / 2 ] generating series at (2 1) 0.745 * * * * [progress]: [ 2 / 2 ] generating series at (2) 0.745 * * * [progress]: simplifying candidates 0.746 * * * * [progress]: [ 1 / 5 ] simplifiying candidate #posit16 3) (+.p16 d2 d3)) d1))> 0.746 * * * * [progress]: [ 2 / 5 ] simplifiying candidate #posit16 3) d2)) d1))> 0.746 * * * * [progress]: [ 3 / 5 ] simplifiying candidate #posit16 3) d2) d3)))> 0.746 * * * * [progress]: [ 4 / 5 ] simplifiying candidate #posit16 3) d2) d3) d1))> 0.746 * * * * [progress]: [ 5 / 5 ] simplifiying candidate #posit16 3) d2) d3) d1))> 0.746 * [simplify]: Simplifying (+.p16 d2 d3), (+.p16 (real->posit16 3) d2), (+.p16 (real->posit16 3) d2) 0.746 * * [simplify]: iteration 1: (6 enodes) 0.749 * * [simplify]: iteration 2: (13 enodes) 0.752 * * [simplify]: Extracting #0: cost 2 inf + 0 0.752 * * [simplify]: Extracting #1: cost 5 inf + 0 0.752 * * [simplify]: Extracting #2: cost 4 inf + 2 0.752 * * [simplify]: Extracting #3: cost 0 inf + 88 0.752 * [simplify]: Simplified to (+.p16 d3 d2), (+.p16 d2 (real->posit16 3)), (+.p16 d2 (real->posit16 3)) 0.753 * * * [progress]: adding candidates to table 0.855 * * [progress]: iteration 3 / 4 0.855 * * * [progress]: picking best candidate 0.878 * * * * [pick]: Picked #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> 0.878 * * * [progress]: localizing error 1.065 * * * [progress]: generating rewritten candidates 1.065 * * * * [progress]: [ 1 / 2 ] rewriting at (2 1) 1.073 * * * * [progress]: [ 2 / 2 ] rewriting at (2) 1.095 * * * [progress]: generating series expansions 1.095 * * * * [progress]: [ 1 / 2 ] generating series at (2 1) 1.095 * * * * [progress]: [ 2 / 2 ] generating series at (2) 1.095 * * * [progress]: simplifying candidates 1.095 * * * * [progress]: [ 1 / 11 ] simplifiying candidate #posit16 3) d2)) (*.p16 d1 d3)))> 1.095 * * * * [progress]: [ 2 / 11 ] simplifiying candidate #posit16 3) d2)) (*.p16 d1 d3)))> 1.095 * * * * [progress]: [ 3 / 11 ] simplifiying candidate #posit16 3))) (*.p16 d1 d3)))> 1.096 * * * * [progress]: [ 4 / 11 ] simplifiying candidate #posit16 3) d2) d3)))> 1.096 * * * * [progress]: [ 5 / 11 ] simplifiying candidate #posit16 3) d2) d3)))> 1.096 * * * * [progress]: [ 6 / 11 ] simplifiying candidate #posit16 3)) (+.p16 (*.p16 d1 d2) (*.p16 d1 d3))))> 1.096 * * * * [progress]: [ 7 / 11 ] simplifiying candidate #posit16 3) d2) d3)))> 1.096 * * * * [progress]: [ 8 / 11 ] simplifiying candidate #posit16 3) d2) d3)))> 1.096 * * * * [progress]: [ 9 / 11 ] simplifiying candidate #posit16 3)) (*.p16 d1 d2))))> 1.096 * * * * [progress]: [ 10 / 11 ] simplifiying candidate #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> 1.096 * * * * [progress]: [ 11 / 11 ] simplifiying candidate #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> 1.096 * [simplify]: Simplifying (+.p16 (real->posit16 3) d2), (+.p16 (real->posit16 3) d2), (+.p16 (+.p16 (real->posit16 3) d2) d3), (+.p16 (+.p16 (real->posit16 3) d2) d3), (+.p16 (*.p16 d1 d2) (*.p16 d1 d3)), (+.p16 (+.p16 (real->posit16 3) d2) d3), (+.p16 (+.p16 (real->posit16 3) d2) d3), (+.p16 (+.p16 (*.p16 d1 (real->posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)), (+.p16 (+.p16 (*.p16 d1 (real->posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)) 1.096 * * [simplify]: iteration 1: (13 enodes) 1.105 * * [simplify]: iteration 2: (33 enodes) 1.117 * * [simplify]: iteration 3: (49 enodes) 1.134 * * [simplify]: iteration 4: (65 enodes) 1.153 * * [simplify]: iteration 5: (70 enodes) 1.169 * * [simplify]: Extracting #0: cost 4 inf + 0 1.169 * * [simplify]: Extracting #1: cost 15 inf + 0 1.170 * * [simplify]: Extracting #2: cost 9 inf + 1372 1.170 * * [simplify]: Extracting #3: cost 8 inf + 1053 1.170 * * [simplify]: Extracting #4: cost 4 inf + 1542 1.171 * * [simplify]: Extracting #5: cost 0 inf + 2673 1.171 * [simplify]: Simplified to (+.p16 (real->posit16 3) d2), (+.p16 (real->posit16 3) d2), (+.p16 d3 (+.p16 (real->posit16 3) d2)), (+.p16 d3 (+.p16 (real->posit16 3) d2)), (*.p16 d1 (+.p16 d2 d3)), (+.p16 d3 (+.p16 (real->posit16 3) d2)), (+.p16 d3 (+.p16 (real->posit16 3) d2)), (*.p16 d1 (+.p16 d3 (+.p16 (real->posit16 3) d2))), (*.p16 d1 (+.p16 d3 (+.p16 (real->posit16 3) d2))) 1.172 * * * [progress]: adding candidates to table 1.540 * * [progress]: iteration 4 / 4 1.540 * * * [progress]: picking best candidate 1.559 * * * * [pick]: Picked #posit16 3) d2)) (*.p16 d1 d3)))> 1.559 * * * [progress]: localizing error 1.720 * * * [progress]: generating rewritten candidates 1.720 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 1.728 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1) 1.734 * * * [progress]: generating series expansions 1.734 * * * * [progress]: [ 1 / 2 ] generating series at (2) 1.734 * * * * [progress]: [ 2 / 2 ] generating series at (2 1) 1.734 * * * [progress]: simplifying candidates 1.734 * * * * [progress]: [ 1 / 10 ] simplifiying candidate #posit16 3) d2) d3)))> 1.734 * * * * [progress]: [ 2 / 10 ] simplifiying candidate #posit16 3)) (+.p16 (*.p16 d1 d2) (*.p16 d1 d3))))> 1.734 * * * * [progress]: [ 3 / 10 ] simplifiying candidate #posit16 3) d1) (+.p16 (*.p16 d2 d1) (*.p16 d1 d3))))> 1.734 * * * * [progress]: [ 4 / 10 ] simplifiying candidate #posit16 3) d2) d3)))> 1.734 * * * * [progress]: [ 5 / 10 ] simplifiying candidate #posit16 3) d2))))> 1.734 * * * * [progress]: [ 6 / 10 ] simplifiying candidate #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> 1.734 * * * * [progress]: [ 7 / 10 ] simplifiying candidate #posit16 3) d1) (*.p16 d2 d1)) (*.p16 d1 d3)))> 1.735 * * * * [progress]: [ 8 / 10 ] simplifiying candidate #posit16 3) d2) d1) (*.p16 d1 d3)))> 1.735 * * * * [progress]: [ 9 / 10 ] simplifiying candidate #posit16 3) d2)) (*.p16 d1 d3)))> 1.735 * * * * [progress]: [ 10 / 10 ] simplifiying candidate #posit16 3) d2)) (*.p16 d1 d3)))> 1.735 * [simplify]: Simplifying (+.p16 (+.p16 (real->posit16 3) d2) d3), (+.p16 (*.p16 d1 d2) (*.p16 d1 d3)), (+.p16 (*.p16 d2 d1) (*.p16 d1 d3)), (+.p16 (+.p16 (real->posit16 3) d2) d3), (*.p16 d1 (real->posit16 3)), (*.p16 d1 d2), (*.p16 (real->posit16 3) d1), (*.p16 d2 d1), (+.p16 (real->posit16 3) d2), (+.p16 (real->posit16 3) d2) 1.735 * * [simplify]: iteration 1: (14 enodes) 1.742 * * [simplify]: iteration 2: (29 enodes) 1.751 * * [simplify]: iteration 3: (37 enodes) 1.762 * * [simplify]: iteration 4: (38 enodes) 1.771 * * [simplify]: Extracting #0: cost 5 inf + 0 1.771 * * [simplify]: Extracting #1: cost 12 inf + 0 1.772 * * [simplify]: Extracting #2: cost 6 inf + 1372 1.772 * * [simplify]: Extracting #3: cost 5 inf + 1053 1.772 * * [simplify]: Extracting #4: cost 2 inf + 1179 1.773 * * [simplify]: Extracting #5: cost 0 inf + 1543 1.773 * [simplify]: Simplified to (+.p16 d3 (+.p16 (real->posit16 3) d2)), (*.p16 d1 (+.p16 d2 d3)), (*.p16 d1 (+.p16 d2 d3)), (+.p16 d3 (+.p16 (real->posit16 3) d2)), (*.p16 d1 (real->posit16 3)), (*.p16 d1 d2), (*.p16 d1 (real->posit16 3)), (*.p16 d1 d2), (+.p16 (real->posit16 3) d2), (+.p16 (real->posit16 3) d2) 1.773 * * * [progress]: adding candidates to table 2.075 * [progress]: [Phase 3 of 3] Extracting. 2.075 * * [regime]: Finding splitpoints for: (#posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> #posit16 3) d2) d3) d1))> #posit16 3) (+.p16 d2 d3)) d1))> #posit16 3) d2)) (*.p16 d1 d3)))> #posit16 3)) (*.p16 d1 (+.p16 d2 d3))))>) 2.076 * * * [regime-changes]: Trying 3 branch expressions: (d3 d2 d1) 2.076 * * * * [regimes]: Trying to branch on d3 from (#posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> #posit16 3) d2) d3) d1))> #posit16 3) (+.p16 d2 d3)) d1))> #posit16 3) d2)) (*.p16 d1 d3)))> #posit16 3)) (*.p16 d1 (+.p16 d2 d3))))>) 2.249 * * * * [regimes]: Trying to branch on d2 from (#posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> #posit16 3) d2) d3) d1))> #posit16 3) (+.p16 d2 d3)) d1))> #posit16 3) d2)) (*.p16 d1 d3)))> #posit16 3)) (*.p16 d1 (+.p16 d2 d3))))>) 2.415 * * * * [regimes]: Trying to branch on d1 from (#posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> #posit16 3) d2) d3) d1))> #posit16 3) (+.p16 d2 d3)) d1))> #posit16 3) d2)) (*.p16 d1 d3)))> #posit16 3)) (*.p16 d1 (+.p16 d2 d3))))>) 2.575 * * * [regime]: Found split indices: #