0.002 * [progress]: [Phase 1 of 3] Setting up. 0.002 * * * [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.010 * * * * [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.021 * * * * [points]: Setting MPFR precision to 64 0.026 * * * * [points]: Setting MPFR precision to 320 0.031 * * * * [points]: Computing exacts on every 2 of 256 points to ramp up precision 0.034 * * * * [points]: Setting MPFR precision to 64 0.042 * * * * [points]: Setting MPFR precision to 320 0.050 * * * * [points]: Computing exacts for 256 points 0.053 * * * * [points]: Setting MPFR precision to 64 0.078 * * * * [points]: Setting MPFR precision to 320 0.104 * * * * [points]: Filtering points with unrepresentable outputs 0.106 * * * * [points]: Sampled 256 points with exact outputs 0.106 * * * [progress]: [2/2] Setting up program. 0.124 * [progress]: [Phase 2 of 3] Improving. 0.124 * * * * [progress]: [ 1 / 1 ] simplifiying candidate #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> 0.124 * [simplify]: Simplifying: (+.p16 (+.p16 (*.p16 d1 (real->posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)) 0.124 * * [simplify]: iteration 1: (10 enodes) 0.151 * * [simplify]: iteration 2: (26 enodes) 0.161 * * [simplify]: iteration 3: (41 enodes) 0.175 * * [simplify]: iteration 4: (57 enodes) 0.192 * * [simplify]: iteration 5: (65 enodes) 0.205 * * [simplify]: Extracting #0: cost 1 inf + 0 0.205 * * [simplify]: Extracting #1: cost 9 inf + 0 0.205 * * [simplify]: Extracting #2: cost 14 inf + 1 0.205 * * [simplify]: Extracting #3: cost 11 inf + 367 0.206 * * [simplify]: Extracting #4: cost 8 inf + 1053 0.206 * * [simplify]: Extracting #5: cost 2 inf + 2267 0.207 * * [simplify]: Extracting #6: cost 0 inf + 2673 0.207 * [simplify]: Simplified to: (*.p16 (+.p16 (real->posit16 3) (+.p16 d2 d3)) d1) 0.240 * * [progress]: iteration 1 / 4 0.241 * * * [progress]: picking best candidate 0.273 * * * * [pick]: Picked #posit16 3) (+.p16 d2 d3)) d1))> 0.273 * * * [progress]: localizing error 0.792 * * * [progress]: generating rewritten candidates 0.792 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 0.801 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1) 0.808 * * * [progress]: generating series expansions 0.809 * * * * [progress]: [ 1 / 2 ] generating series at (2) 0.809 * * * * [progress]: [ 2 / 2 ] generating series at (2 1) 0.809 * * * [progress]: simplifying candidates 0.809 * * * * [progress]: [ 1 / 5 ] simplifiying candidate #posit16 3) (+.p16 d2 d3))))> 0.809 * * * * [progress]: [ 2 / 5 ] simplifiying candidate #posit16 3) d2) d3) d1))> 0.809 * * * * [progress]: [ 3 / 5 ] simplifiying candidate #posit16 3)) d1))> 0.809 * * * * [progress]: [ 4 / 5 ] simplifiying candidate #posit16 3) (+.p16 d2 d3)) d1))> 0.809 * * * * [progress]: [ 5 / 5 ] simplifiying candidate #posit16 3) (+.p16 d2 d3)) d1))> 0.809 * [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.809 * * [simplify]: iteration 1: (9 enodes) 0.813 * * [simplify]: iteration 2: (21 enodes) 0.819 * * [simplify]: iteration 3: (41 enodes) 0.832 * * [simplify]: iteration 4: (59 enodes) 0.849 * * [simplify]: iteration 5: (66 enodes) 0.862 * * [simplify]: Extracting #0: cost 2 inf + 0 0.862 * * [simplify]: Extracting #1: cost 12 inf + 0 0.863 * * [simplify]: Extracting #2: cost 13 inf + 324 0.864 * * [simplify]: Extracting #3: cost 8 inf + 1373 0.864 * * [simplify]: Extracting #4: cost 4 inf + 1501 0.864 * * [simplify]: Extracting #5: cost 0 inf + 2673 0.865 * [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.865 * * * [progress]: adding candidates to table 1.001 * * [progress]: iteration 2 / 4 1.001 * * * [progress]: picking best candidate 1.028 * * * * [pick]: Picked #posit16 3) d2) d3) d1))> 1.028 * * * [progress]: localizing error 1.124 * * * [progress]: generating rewritten candidates 1.124 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 1.140 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1) 1.156 * * * [progress]: generating series expansions 1.156 * * * * [progress]: [ 1 / 2 ] generating series at (2) 1.156 * * * * [progress]: [ 2 / 2 ] generating series at (2 1) 1.156 * * * [progress]: simplifying candidates 1.156 * * * * [progress]: [ 1 / 5 ] simplifiying candidate #posit16 3) d2) d3)))> 1.156 * * * * [progress]: [ 2 / 5 ] simplifiying candidate #posit16 3) (+.p16 d2 d3)) d1))> 1.156 * * * * [progress]: [ 3 / 5 ] simplifiying candidate #posit16 3) d2)) d1))> 1.156 * * * * [progress]: [ 4 / 5 ] simplifiying candidate #posit16 3) d2) d3) d1))> 1.156 * * * * [progress]: [ 5 / 5 ] simplifiying candidate #posit16 3) d2) d3) d1))> 1.156 * [simplify]: Simplifying: (+.p16 d2 d3) (+.p16 (real->posit16 3) d2) (+.p16 (real->posit16 3) d2) 1.156 * * [simplify]: iteration 1: (6 enodes) 1.161 * * [simplify]: iteration 2: (13 enodes) 1.165 * * [simplify]: Extracting #0: cost 2 inf + 0 1.165 * * [simplify]: Extracting #1: cost 5 inf + 0 1.165 * * [simplify]: Extracting #2: cost 4 inf + 2 1.165 * * [simplify]: Extracting #3: cost 0 inf + 88 1.165 * [simplify]: Simplified to: (+.p16 d3 d2) (+.p16 d2 (real->posit16 3)) (+.p16 d2 (real->posit16 3)) 1.165 * * * [progress]: adding candidates to table 1.309 * * [progress]: iteration 3 / 4 1.309 * * * [progress]: picking best candidate 1.327 * * * * [pick]: Picked #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> 1.327 * * * [progress]: localizing error 1.451 * * * [progress]: generating rewritten candidates 1.452 * * * * [progress]: [ 1 / 2 ] rewriting at (2 1) 1.455 * * * * [progress]: [ 2 / 2 ] rewriting at (2) 1.460 * * * [progress]: generating series expansions 1.460 * * * * [progress]: [ 1 / 2 ] generating series at (2 1) 1.460 * * * * [progress]: [ 2 / 2 ] generating series at (2) 1.460 * * * [progress]: simplifying candidates 1.460 * * * * [progress]: [ 1 / 11 ] simplifiying candidate #posit16 3) d2)) (*.p16 d1 d3)))> 1.460 * * * * [progress]: [ 2 / 11 ] simplifiying candidate #posit16 3) d2)) (*.p16 d1 d3)))> 1.460 * * * * [progress]: [ 3 / 11 ] simplifiying candidate #posit16 3))) (*.p16 d1 d3)))> 1.461 * * * * [progress]: [ 4 / 11 ] simplifiying candidate #posit16 3) d2) d3)))> 1.461 * * * * [progress]: [ 5 / 11 ] simplifiying candidate #posit16 3) d2) d3)))> 1.461 * * * * [progress]: [ 6 / 11 ] simplifiying candidate #posit16 3)) (+.p16 (*.p16 d1 d2) (*.p16 d1 d3))))> 1.461 * * * * [progress]: [ 7 / 11 ] simplifiying candidate #posit16 3) d2) d3)))> 1.461 * * * * [progress]: [ 8 / 11 ] simplifiying candidate #posit16 3) d2) d3)))> 1.461 * * * * [progress]: [ 9 / 11 ] simplifiying candidate #posit16 3)) (*.p16 d1 d2))))> 1.461 * * * * [progress]: [ 10 / 11 ] simplifiying candidate #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> 1.461 * * * * [progress]: [ 11 / 11 ] simplifiying candidate #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> 1.461 * [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.461 * * [simplify]: iteration 1: (13 enodes) 1.464 * * [simplify]: iteration 2: (33 enodes) 1.470 * * [simplify]: iteration 3: (49 enodes) 1.478 * * [simplify]: iteration 4: (65 enodes) 1.487 * * [simplify]: iteration 5: (70 enodes) 1.495 * * [simplify]: Extracting #0: cost 4 inf + 0 1.496 * * [simplify]: Extracting #1: cost 15 inf + 0 1.496 * * [simplify]: Extracting #2: cost 9 inf + 1372 1.496 * * [simplify]: Extracting #3: cost 8 inf + 1053 1.496 * * [simplify]: Extracting #4: cost 4 inf + 1542 1.502 * * [simplify]: Extracting #5: cost 0 inf + 2673 1.503 * [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.504 * * * [progress]: adding candidates to table 1.733 * * [progress]: iteration 4 / 4 1.733 * * * [progress]: picking best candidate 1.753 * * * * [pick]: Picked #posit16 3) d2)) (*.p16 d1 d3)))> 1.753 * * * [progress]: localizing error 1.840 * * * [progress]: generating rewritten candidates 1.840 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 1.851 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1) 1.855 * * * [progress]: generating series expansions 1.855 * * * * [progress]: [ 1 / 2 ] generating series at (2) 1.855 * * * * [progress]: [ 2 / 2 ] generating series at (2 1) 1.855 * * * [progress]: simplifying candidates 1.855 * * * * [progress]: [ 1 / 10 ] simplifiying candidate #posit16 3) d2) d3)))> 1.855 * * * * [progress]: [ 2 / 10 ] simplifiying candidate #posit16 3)) (+.p16 (*.p16 d1 d2) (*.p16 d1 d3))))> 1.855 * * * * [progress]: [ 3 / 10 ] simplifiying candidate #posit16 3) d1) (+.p16 (*.p16 d2 d1) (*.p16 d1 d3))))> 1.855 * * * * [progress]: [ 4 / 10 ] simplifiying candidate #posit16 3) d2) d3)))> 1.855 * * * * [progress]: [ 5 / 10 ] simplifiying candidate #posit16 3) d2))))> 1.855 * * * * [progress]: [ 6 / 10 ] simplifiying candidate #posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> 1.856 * * * * [progress]: [ 7 / 10 ] simplifiying candidate #posit16 3) d1) (*.p16 d2 d1)) (*.p16 d1 d3)))> 1.856 * * * * [progress]: [ 8 / 10 ] simplifiying candidate #posit16 3) d2) d1) (*.p16 d1 d3)))> 1.856 * * * * [progress]: [ 9 / 10 ] simplifiying candidate #posit16 3) d2)) (*.p16 d1 d3)))> 1.856 * * * * [progress]: [ 10 / 10 ] simplifiying candidate #posit16 3) d2)) (*.p16 d1 d3)))> 1.856 * [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.856 * * [simplify]: iteration 1: (14 enodes) 1.863 * * [simplify]: iteration 2: (29 enodes) 1.870 * * [simplify]: iteration 3: (37 enodes) 1.880 * * [simplify]: iteration 4: (38 enodes) 1.888 * * [simplify]: Extracting #0: cost 5 inf + 0 1.888 * * [simplify]: Extracting #1: cost 12 inf + 0 1.888 * * [simplify]: Extracting #2: cost 6 inf + 1372 1.888 * * [simplify]: Extracting #3: cost 5 inf + 1053 1.889 * * [simplify]: Extracting #4: cost 2 inf + 1179 1.889 * * [simplify]: Extracting #5: cost 0 inf + 1543 1.889 * [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.890 * * * [progress]: adding candidates to table 2.128 * [progress]: [Phase 3 of 3] Extracting. 2.128 * * [regime]: Finding splitpoints for: (#posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> #posit16 3) d1) (*.p16 d1 (+.p16 d2 d3))))> #posit16 3) d2)) (*.p16 d1 d3)))> #posit16 3) d2) d3) d1))> #posit16 3) (+.p16 d2 d3)) d1))>) 2.129 * * * [regime-changes]: Trying 3 branch expressions: (d3 d2 d1) 2.129 * * * * [regimes]: Trying to branch on d3 from (#posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> #posit16 3) d1) (*.p16 d1 (+.p16 d2 d3))))> #posit16 3) d2)) (*.p16 d1 d3)))> #posit16 3) d2) d3) d1))> #posit16 3) (+.p16 d2 d3)) d1))>) 2.281 * * * * [regimes]: Trying to branch on d2 from (#posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> #posit16 3) d1) (*.p16 d1 (+.p16 d2 d3))))> #posit16 3) d2)) (*.p16 d1 d3)))> #posit16 3) d2) d3) d1))> #posit16 3) (+.p16 d2 d3)) d1))>) 2.404 * * * * [regimes]: Trying to branch on d1 from (#posit16 3)) (*.p16 d1 d2)) (*.p16 d1 d3)))> #posit16 3) d1) (*.p16 d1 (+.p16 d2 d3))))> #posit16 3) d2)) (*.p16 d1 d3)))> #posit16 3) d2) d3) d1))> #posit16 3) (+.p16 d2 d3)) d1))>) 2.499 * * * [regime]: Found split indices: #