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.008 * * * * [points]: Setting MPFR precision to 64 0.010 * * * * [points]: Setting MPFR precision to 320 0.011 * * * * [points]: Computing exacts on every 8 of 256 points to ramp up precision 0.014 * * * * [points]: Setting MPFR precision to 64 0.017 * * * * [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.027 * * * * [points]: Setting MPFR precision to 320 0.032 * * * * [points]: Computing exacts on every 2 of 256 points to ramp up precision 0.035 * * * * [points]: Setting MPFR precision to 64 0.043 * * * * [points]: Setting MPFR precision to 320 0.052 * * * * [points]: Computing exacts for 256 points 0.054 * * * * [points]: Setting MPFR precision to 64 0.097 * * * * [points]: Setting MPFR precision to 320 0.125 * * * * [points]: Filtering points with unrepresentable outputs 0.127 * * * * [points]: Sampled 256 points with exact outputs 0.127 * * * [progress]: [2/2] Setting up program. 0.147 * [progress]: [Phase 2 of 3] Improving. 0.147 * * * * [progress]: [ 1 / 1 ] simplifiying candidate #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> 0.147 * [simplify]: Simplifying (+.p16 (+.p16 (*.p16 d1 (real->posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)) 0.147 * * [simplify]: iteration 1: (10 enodes) 0.153 * * [simplify]: iteration 2: (26 enodes) 0.162 * * [simplify]: iteration 3: (41 enodes) 0.177 * * [simplify]: iteration 4: (57 enodes) 0.194 * * [simplify]: iteration 5: (65 enodes) 0.209 * * [simplify]: Extracting #0: cost 1 inf + 0 0.209 * * [simplify]: Extracting #1: cost 9 inf + 0 0.209 * * [simplify]: Extracting #2: cost 14 inf + 1 0.210 * * [simplify]: Extracting #3: cost 11 inf + 367 0.210 * * [simplify]: Extracting #4: cost 8 inf + 1053 0.210 * * [simplify]: Extracting #5: cost 2 inf + 2267 0.211 * * [simplify]: Extracting #6: cost 0 inf + 2673 0.212 * [simplify]: Simplified to (*.p16 (+.p16 (real->posit16 3) (+.p16 d2 d3)) d1) 0.250 * * [progress]: iteration 1 / 4 0.250 * * * [progress]: picking best candidate 0.302 * * * * [pick]: Picked #posit16 3) (+.p16 d2 d3)) d1))> 0.302 * * * [progress]: localizing error 0.437 * * * [progress]: generating rewritten candidates 0.437 * * * * [progress]: [ 1 / 2 ] rewriting at (2 1) 0.442 * * * * [progress]: [ 2 / 2 ] rewriting at (2) 0.447 * * * [progress]: generating series expansions 0.447 * * * * [progress]: [ 1 / 2 ] generating series at (2 1) 0.447 * * * * [progress]: [ 2 / 2 ] generating series at (2) 0.447 * * * [progress]: simplifying candidates 0.447 * * * * [progress]: [ 1 / 5 ] simplifiying candidate #posit16 3) d2) d3) d1))> 0.447 * * * * [progress]: [ 2 / 5 ] simplifiying candidate #posit16 3)) d1))> 0.447 * * * * [progress]: [ 3 / 5 ] simplifiying candidate #posit16 3) (+.p16 d2 d3))))> 0.447 * * * * [progress]: [ 4 / 5 ] simplifiying candidate #posit16 3) (+.p16 d2 d3)) d1))> 0.447 * * * * [progress]: [ 5 / 5 ] simplifiying candidate #posit16 3) (+.p16 d2 d3)) d1))> 0.447 * [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.447 * * [simplify]: iteration 1: (9 enodes) 0.450 * * [simplify]: iteration 2: (21 enodes) 0.454 * * [simplify]: iteration 3: (41 enodes) 0.479 * * [simplify]: iteration 4: (59 enodes) 0.499 * * [simplify]: iteration 5: (66 enodes) 0.515 * * [simplify]: Extracting #0: cost 2 inf + 0 0.516 * * [simplify]: Extracting #1: cost 12 inf + 0 0.516 * * [simplify]: Extracting #2: cost 13 inf + 324 0.516 * * [simplify]: Extracting #3: cost 8 inf + 1373 0.516 * * [simplify]: Extracting #4: cost 4 inf + 1501 0.517 * * [simplify]: Extracting #5: cost 0 inf + 2673 0.517 * [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.518 * * * [progress]: adding candidates to table 0.641 * * [progress]: iteration 2 / 4 0.641 * * * [progress]: picking best candidate 0.674 * * * * [pick]: Picked #posit16 3) d2) d3) d1))> 0.674 * * * [progress]: localizing error 0.815 * * * [progress]: generating rewritten candidates 0.815 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 0.831 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1) 0.862 * * * [progress]: generating series expansions 0.862 * * * * [progress]: [ 1 / 2 ] generating series at (2) 0.862 * * * * [progress]: [ 2 / 2 ] generating series at (2 1) 0.862 * * * [progress]: simplifying candidates 0.862 * * * * [progress]: [ 1 / 5 ] simplifiying candidate #posit16 3) d2) d3)))> 0.862 * * * * [progress]: [ 2 / 5 ] simplifiying candidate #posit16 3) (+.p16 d2 d3)) d1))> 0.862 * * * * [progress]: [ 3 / 5 ] simplifiying candidate #posit16 3) d2)) d1))> 0.862 * * * * [progress]: [ 4 / 5 ] simplifiying candidate #posit16 3) d2) d3) d1))> 0.862 * * * * [progress]: [ 5 / 5 ] simplifiying candidate #posit16 3) d2) d3) d1))> 0.863 * [simplify]: Simplifying (+.p16 d2 d3), (+.p16 (real->posit16 3) d2), (+.p16 (real->posit16 3) d2) 0.863 * * [simplify]: iteration 1: (6 enodes) 0.868 * * [simplify]: iteration 2: (13 enodes) 0.872 * * [simplify]: Extracting #0: cost 2 inf + 0 0.872 * * [simplify]: Extracting #1: cost 5 inf + 0 0.873 * * [simplify]: Extracting #2: cost 4 inf + 2 0.873 * * [simplify]: Extracting #3: cost 0 inf + 88 0.873 * [simplify]: Simplified to (+.p16 d3 d2), (+.p16 d2 (real->posit16 3)), (+.p16 d2 (real->posit16 3)) 0.873 * * * [progress]: adding candidates to table 1.007 * * [progress]: iteration 3 / 4 1.007 * * * [progress]: picking best candidate 1.026 * * * * [pick]: Picked #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> 1.026 * * * [progress]: localizing error 1.195 * * * [progress]: generating rewritten candidates 1.195 * * * * [progress]: [ 1 / 2 ] rewriting at (2 1) 1.202 * * * * [progress]: [ 2 / 2 ] rewriting at (2) 1.214 * * * [progress]: generating series expansions 1.214 * * * * [progress]: [ 1 / 2 ] generating series at (2 1) 1.214 * * * * [progress]: [ 2 / 2 ] generating series at (2) 1.214 * * * [progress]: simplifying candidates 1.214 * * * * [progress]: [ 1 / 11 ] simplifiying candidate #posit16 3) d2)) (*.p16 d1 d3)))> 1.214 * * * * [progress]: [ 2 / 11 ] simplifiying candidate #posit16 3) d2)) (*.p16 d1 d3)))> 1.214 * * * * [progress]: [ 3 / 11 ] simplifiying candidate #posit16 3))) (*.p16 d1 d3)))> 1.214 * * * * [progress]: [ 4 / 11 ] simplifiying candidate #posit16 3) d2) d3)))> 1.214 * * * * [progress]: [ 5 / 11 ] simplifiying candidate #posit16 3) d2) d3)))> 1.214 * * * * [progress]: [ 6 / 11 ] simplifiying candidate #posit16 3)) (+.p16 (*.p16 d1 d2) (*.p16 d1 d3))))> 1.214 * * * * [progress]: [ 7 / 11 ] simplifiying candidate #posit16 3) d2) d3)))> 1.214 * * * * [progress]: [ 8 / 11 ] simplifiying candidate #posit16 3) d2) d3)))> 1.214 * * * * [progress]: [ 9 / 11 ] simplifiying candidate #posit16 3)) (*.p16 d1 d2))))> 1.214 * * * * [progress]: [ 10 / 11 ] simplifiying candidate #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> 1.215 * * * * [progress]: [ 11 / 11 ] simplifiying candidate #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> 1.215 * [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.215 * * [simplify]: iteration 1: (13 enodes) 1.222 * * [simplify]: iteration 2: (33 enodes) 1.247 * * [simplify]: iteration 3: (49 enodes) 1.260 * * [simplify]: iteration 4: (65 enodes) 1.271 * * [simplify]: iteration 5: (70 enodes) 1.280 * * [simplify]: Extracting #0: cost 4 inf + 0 1.280 * * [simplify]: Extracting #1: cost 15 inf + 0 1.280 * * [simplify]: Extracting #2: cost 9 inf + 1372 1.280 * * [simplify]: Extracting #3: cost 8 inf + 1053 1.280 * * [simplify]: Extracting #4: cost 4 inf + 1542 1.281 * * [simplify]: Extracting #5: cost 0 inf + 2673 1.281 * [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.281 * * * [progress]: adding candidates to table 1.639 * * [progress]: iteration 4 / 4 1.639 * * * [progress]: picking best candidate 1.670 * * * * [pick]: Picked #posit16 3) d2)) (*.p16 d1 d3)))> 1.670 * * * [progress]: localizing error 1.804 * * * [progress]: generating rewritten candidates 1.804 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 1.812 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1) 1.819 * * * [progress]: generating series expansions 1.819 * * * * [progress]: [ 1 / 2 ] generating series at (2) 1.819 * * * * [progress]: [ 2 / 2 ] generating series at (2 1) 1.819 * * * [progress]: simplifying candidates 1.819 * * * * [progress]: [ 1 / 10 ] simplifiying candidate #posit16 3) d2) d3)))> 1.819 * * * * [progress]: [ 2 / 10 ] simplifiying candidate #posit16 3)) (+.p16 (*.p16 d1 d2) (*.p16 d1 d3))))> 1.819 * * * * [progress]: [ 3 / 10 ] simplifiying candidate #posit16 3) d1) (+.p16 (*.p16 d2 d1) (*.p16 d1 d3))))> 1.819 * * * * [progress]: [ 4 / 10 ] simplifiying candidate #posit16 3) d2) d3)))> 1.819 * * * * [progress]: [ 5 / 10 ] simplifiying candidate #posit16 3) d2))))> 1.819 * * * * [progress]: [ 6 / 10 ] simplifiying candidate #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> 1.819 * * * * [progress]: [ 7 / 10 ] simplifiying candidate #posit16 3) d1) (*.p16 d2 d1)) (*.p16 d1 d3)))> 1.819 * * * * [progress]: [ 8 / 10 ] simplifiying candidate #posit16 3) d2) d1) (*.p16 d1 d3)))> 1.819 * * * * [progress]: [ 9 / 10 ] simplifiying candidate #posit16 3) d2)) (*.p16 d1 d3)))> 1.819 * * * * [progress]: [ 10 / 10 ] simplifiying candidate #posit16 3) d2)) (*.p16 d1 d3)))> 1.820 * [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.820 * * [simplify]: iteration 1: (14 enodes) 1.828 * * [simplify]: iteration 2: (29 enodes) 1.837 * * [simplify]: iteration 3: (37 enodes) 1.847 * * [simplify]: iteration 4: (38 enodes) 1.857 * * [simplify]: Extracting #0: cost 5 inf + 0 1.858 * * [simplify]: Extracting #1: cost 12 inf + 0 1.858 * * [simplify]: Extracting #2: cost 6 inf + 1372 1.858 * * [simplify]: Extracting #3: cost 5 inf + 1053 1.858 * * [simplify]: Extracting #4: cost 2 inf + 1179 1.858 * * [simplify]: Extracting #5: cost 0 inf + 1543 1.859 * [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.859 * * * [progress]: adding candidates to table 2.177 * [progress]: [Phase 3 of 3] Extracting. 2.177 * * [regime]: Finding splitpoints for: (#posit16 3) d2) d3) d1))> #posit16 3) (+.p16 d2 d3)) d1))> #posit16 3)) (*.p16 d1 (+.p16 d2 d3))))> #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> #posit16 3) d2)) (*.p16 d1 d3)))>) 2.177 * * * [regime-changes]: Trying 3 branch expressions: (d3 d2 d1) 2.177 * * * * [regimes]: Trying to branch on d3 from (#posit16 3) d2) d3) d1))> #posit16 3) (+.p16 d2 d3)) d1))> #posit16 3)) (*.p16 d1 (+.p16 d2 d3))))> #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> #posit16 3) d2)) (*.p16 d1 d3)))>) 2.305 * * * * [regimes]: Trying to branch on d2 from (#posit16 3) d2) d3) d1))> #posit16 3) (+.p16 d2 d3)) d1))> #posit16 3)) (*.p16 d1 (+.p16 d2 d3))))> #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> #posit16 3) d2)) (*.p16 d1 d3)))>) 2.411 * * * * [regimes]: Trying to branch on d1 from (#posit16 3) d2) d3) d1))> #posit16 3) (+.p16 d2 d3)) d1))> #posit16 3)) (*.p16 d1 (+.p16 d2 d3))))> #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> #posit16 3) d2)) (*.p16 d1 d3)))>) 2.536 * * * [regime]: Found split indices: #