0.001 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.001 * * * * [points]: Sampling 256 additional inputs, on iter 0 have 0 / 256 0.002 * * * * [points]: Computing exacts on every 16 of 256 points to ramp up precision 0.004 * * * * [points]: Setting MPFR precision to 64 0.005 * * * * [points]: Setting MPFR precision to 320 0.006 * * * * [points]: Computing exacts on every 8 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 4 of 256 points to ramp up precision 0.012 * * * * [points]: Setting MPFR precision to 64 0.015 * * * * [points]: Setting MPFR precision to 320 0.017 * * * * [points]: Computing exacts on every 2 of 256 points to ramp up precision 0.019 * * * * [points]: Setting MPFR precision to 64 0.028 * * * * [points]: Setting MPFR precision to 320 0.032 * * * * [points]: Computing exacts for 256 points 0.035 * * * * [points]: Setting MPFR precision to 64 0.048 * * * * [points]: Setting MPFR precision to 320 0.061 * * * * [points]: Filtering points with unrepresentable outputs 0.062 * * * * [points]: Sampled 256 points with exact outputs 0.062 * * * [progress]: [2/2] Setting up program. 0.075 * [progress]: [Phase 2 of 3] Improving. 0.076 * * * * [progress]: [ 1 / 1 ] simplifiying candidate #posit16 10)) (*.p16 d1 d2)) (*.p16 d1 (real->posit16 20))))> 0.076 * [simplify]: Simplifying: (+.p16 (+.p16 (*.p16 d1 (real->posit16 10)) (*.p16 d1 d2)) (*.p16 d1 (real->posit16 20))) 0.076 * * [simplify]: iteration 1: (11 enodes) 0.079 * * [simplify]: iteration 2: (26 enodes) 0.083 * * [simplify]: iteration 3: (41 enodes) 0.091 * * [simplify]: iteration 4: (58 enodes) 0.109 * * [simplify]: iteration 5: (70 enodes) 0.121 * * [simplify]: iteration 6: (71 enodes) 0.129 * * [simplify]: Extracting #0: cost 1 inf + 0 0.129 * * [simplify]: Extracting #1: cost 9 inf + 0 0.129 * * [simplify]: Extracting #2: cost 14 inf + 1 0.129 * * [simplify]: Extracting #3: cost 14 inf + 324 0.129 * * [simplify]: Extracting #4: cost 12 inf + 326 0.129 * * [simplify]: Extracting #5: cost 4 inf + 1822 0.130 * * [simplify]: Extracting #6: cost 0 inf + 2674 0.130 * [simplify]: Simplified to: (*.p16 (+.p16 (real->posit16 20) (+.p16 (real->posit16 10) d2)) d1) 0.180 * * [progress]: iteration 1 / 4 0.181 * * * [progress]: picking best candidate 0.229 * * * * [pick]: Picked #posit16 10)) (*.p16 d1 d2)) (*.p16 d1 (real->posit16 20))))> 0.229 * * * [progress]: localizing error 0.497 * * * [progress]: generating rewritten candidates 0.497 * * * * [progress]: [ 1 / 2 ] rewriting at (2 1) 0.504 * * * * [progress]: [ 2 / 2 ] rewriting at (2) 0.515 * * * [progress]: generating series expansions 0.515 * * * * [progress]: [ 1 / 2 ] generating series at (2 1) 0.515 * * * * [progress]: [ 2 / 2 ] generating series at (2) 0.515 * * * [progress]: simplifying candidates 0.515 * * * * [progress]: [ 1 / 11 ] simplifiying candidate #posit16 10) d2)) (*.p16 d1 (real->posit16 20))))> 0.515 * * * * [progress]: [ 2 / 11 ] simplifiying candidate #posit16 10) d2)) (*.p16 d1 (real->posit16 20))))> 0.515 * * * * [progress]: [ 3 / 11 ] simplifiying candidate #posit16 10))) (*.p16 d1 (real->posit16 20))))> 0.515 * * * * [progress]: [ 4 / 11 ] simplifiying candidate #posit16 10) d2) (real->posit16 20))))> 0.515 * * * * [progress]: [ 5 / 11 ] simplifiying candidate #posit16 10) d2) (real->posit16 20))))> 0.515 * * * * [progress]: [ 6 / 11 ] simplifiying candidate #posit16 10)) (+.p16 (*.p16 d1 d2) (*.p16 d1 (real->posit16 20)))))> 0.516 * * * * [progress]: [ 7 / 11 ] simplifiying candidate #posit16 10) d2) (real->posit16 20))))> 0.516 * * * * [progress]: [ 8 / 11 ] simplifiying candidate #posit16 10) d2) (real->posit16 20))))> 0.516 * * * * [progress]: [ 9 / 11 ] simplifiying candidate #posit16 20)) (+.p16 (*.p16 d1 (real->posit16 10)) (*.p16 d1 d2))))> 0.516 * * * * [progress]: [ 10 / 11 ] simplifiying candidate #posit16 10)) (*.p16 d1 d2)) (*.p16 d1 (real->posit16 20))))> 0.516 * * * * [progress]: [ 11 / 11 ] simplifiying candidate #posit16 10)) (*.p16 d1 d2)) (*.p16 d1 (real->posit16 20))))> 0.516 * [simplify]: Simplifying: (+.p16 (real->posit16 10) d2) (+.p16 (real->posit16 10) d2) (+.p16 (+.p16 (real->posit16 10) d2) (real->posit16 20)) (+.p16 (+.p16 (real->posit16 10) d2) (real->posit16 20)) (+.p16 (*.p16 d1 d2) (*.p16 d1 (real->posit16 20))) (+.p16 (+.p16 (real->posit16 10) d2) (real->posit16 20)) (+.p16 (+.p16 (real->posit16 10) d2) (real->posit16 20)) (+.p16 (+.p16 (*.p16 d1 (real->posit16 10)) (*.p16 d1 d2)) (*.p16 d1 (real->posit16 20))) (+.p16 (+.p16 (*.p16 d1 (real->posit16 10)) (*.p16 d1 d2)) (*.p16 d1 (real->posit16 20))) 0.516 * * [simplify]: iteration 1: (14 enodes) 0.523 * * [simplify]: iteration 2: (33 enodes) 0.535 * * [simplify]: iteration 3: (49 enodes) 0.552 * * [simplify]: iteration 4: (66 enodes) 0.579 * * [simplify]: iteration 5: (71 enodes) 0.594 * * [simplify]: Extracting #0: cost 4 inf + 0 0.594 * * [simplify]: Extracting #1: cost 15 inf + 0 0.595 * * [simplify]: Extracting #2: cost 15 inf + 2 0.595 * * [simplify]: Extracting #3: cost 7 inf + 734 0.595 * * [simplify]: Extracting #4: cost 1 inf + 2311 0.596 * * [simplify]: Extracting #5: cost 0 inf + 2674 0.597 * [simplify]: Simplified to: (+.p16 (real->posit16 10) d2) (+.p16 (real->posit16 10) d2) (+.p16 (+.p16 (real->posit16 10) d2) (real->posit16 20)) (+.p16 (+.p16 (real->posit16 10) d2) (real->posit16 20)) (*.p16 (+.p16 (real->posit16 20) d2) d1) (+.p16 (+.p16 (real->posit16 10) d2) (real->posit16 20)) (+.p16 (+.p16 (real->posit16 10) d2) (real->posit16 20)) (*.p16 (+.p16 (+.p16 (real->posit16 10) d2) (real->posit16 20)) d1) (*.p16 (+.p16 (+.p16 (real->posit16 10) d2) (real->posit16 20)) d1) 0.598 * * * [progress]: adding candidates to table 1.149 * * [progress]: iteration 2 / 4 1.149 * * * [progress]: picking best candidate 1.233 * * * * [pick]: Picked #posit16 10) d2)) (*.p16 d1 (real->posit16 20))))> 1.233 * * * [progress]: localizing error 1.446 * * * [progress]: generating rewritten candidates 1.446 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 1.453 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1) 1.458 * * * [progress]: generating series expansions 1.458 * * * * [progress]: [ 1 / 2 ] generating series at (2) 1.458 * * * * [progress]: [ 2 / 2 ] generating series at (2 1) 1.458 * * * [progress]: simplifying candidates 1.458 * * * * [progress]: [ 1 / 10 ] simplifiying candidate #posit16 10) d2) (real->posit16 20))))> 1.458 * * * * [progress]: [ 2 / 10 ] simplifiying candidate #posit16 10)) (+.p16 (*.p16 d1 d2) (*.p16 d1 (real->posit16 20)))))> 1.458 * * * * [progress]: [ 3 / 10 ] simplifiying candidate #posit16 10) d1) (+.p16 (*.p16 d2 d1) (*.p16 d1 (real->posit16 20)))))> 1.458 * * * * [progress]: [ 4 / 10 ] simplifiying candidate #posit16 10) d2) (real->posit16 20))))> 1.458 * * * * [progress]: [ 5 / 10 ] simplifiying candidate #posit16 20)) (*.p16 d1 (+.p16 (real->posit16 10) d2))))> 1.459 * * * * [progress]: [ 6 / 10 ] simplifiying candidate #posit16 10)) (*.p16 d1 d2)) (*.p16 d1 (real->posit16 20))))> 1.459 * * * * [progress]: [ 7 / 10 ] simplifiying candidate #posit16 10) d1) (*.p16 d2 d1)) (*.p16 d1 (real->posit16 20))))> 1.459 * * * * [progress]: [ 8 / 10 ] simplifiying candidate #posit16 10) d2) d1) (*.p16 d1 (real->posit16 20))))> 1.459 * * * * [progress]: [ 9 / 10 ] simplifiying candidate #posit16 10) d2)) (*.p16 d1 (real->posit16 20))))> 1.459 * * * * [progress]: [ 10 / 10 ] simplifiying candidate #posit16 10) d2)) (*.p16 d1 (real->posit16 20))))> 1.459 * [simplify]: Simplifying: (+.p16 (+.p16 (real->posit16 10) d2) (real->posit16 20)) (+.p16 (*.p16 d1 d2) (*.p16 d1 (real->posit16 20))) (+.p16 (*.p16 d2 d1) (*.p16 d1 (real->posit16 20))) (+.p16 (+.p16 (real->posit16 10) d2) (real->posit16 20)) (*.p16 d1 (real->posit16 10)) (*.p16 d1 d2) (*.p16 (real->posit16 10) d1) (*.p16 d2 d1) (+.p16 (real->posit16 10) d2) (+.p16 (real->posit16 10) d2) 1.459 * * [simplify]: iteration 1: (15 enodes) 1.466 * * [simplify]: iteration 2: (29 enodes) 1.475 * * [simplify]: iteration 3: (37 enodes) 1.485 * * [simplify]: iteration 4: (39 enodes) 1.495 * * [simplify]: Extracting #0: cost 5 inf + 0 1.495 * * [simplify]: Extracting #1: cost 12 inf + 0 1.495 * * [simplify]: Extracting #2: cost 11 inf + 324 1.495 * * [simplify]: Extracting #3: cost 6 inf + 691 1.495 * * [simplify]: Extracting #4: cost 3 inf + 1097 1.496 * * [simplify]: Extracting #5: cost 0 inf + 1544 1.496 * [simplify]: Simplified to: (+.p16 (+.p16 (real->posit16 20) (real->posit16 10)) d2) (*.p16 d1 (+.p16 (real->posit16 20) d2)) (*.p16 d1 (+.p16 (real->posit16 20) d2)) (+.p16 (+.p16 (real->posit16 20) (real->posit16 10)) d2) (*.p16 (real->posit16 10) d1) (*.p16 d2 d1) (*.p16 (real->posit16 10) d1) (*.p16 d2 d1) (+.p16 (real->posit16 10) d2) (+.p16 (real->posit16 10) d2) 1.497 * * * [progress]: adding candidates to table 1.853 * * [progress]: iteration 3 / 4 1.853 * * * [progress]: picking best candidate 1.889 * * * * [pick]: Picked #posit16 10) d2) (real->posit16 20))))> 1.889 * * * [progress]: localizing error 2.004 * * * [progress]: generating rewritten candidates 2.004 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 2.018 * * * * [progress]: [ 2 / 2 ] rewriting at (2 2) 2.046 * * * [progress]: generating series expansions 2.046 * * * * [progress]: [ 1 / 2 ] generating series at (2) 2.046 * * * * [progress]: [ 2 / 2 ] generating series at (2 2) 2.046 * * * [progress]: simplifying candidates 2.046 * * * * [progress]: [ 1 / 7 ] simplifiying candidate #posit16 10) d2)) (*.p16 d1 (real->posit16 20))))> 2.047 * * * * [progress]: [ 2 / 7 ] simplifiying candidate #posit16 10) d2) d1) (*.p16 (real->posit16 20) d1)))> 2.047 * * * * [progress]: [ 3 / 7 ] simplifiying candidate #posit16 10) d2) (real->posit16 20)) d1))> 2.047 * * * * [progress]: [ 4 / 7 ] simplifiying candidate #posit16 10) (+.p16 d2 (real->posit16 20)))))> 2.047 * * * * [progress]: [ 5 / 7 ] simplifiying candidate #posit16 20) (+.p16 (real->posit16 10) d2))))> 2.047 * * * * [progress]: [ 6 / 7 ] simplifiying candidate #posit16 10) d2) (real->posit16 20))))> 2.047 * * * * [progress]: [ 7 / 7 ] simplifiying candidate #posit16 10) d2) (real->posit16 20))))> 2.047 * [simplify]: Simplifying: (*.p16 d1 (+.p16 (real->posit16 10) d2)) (*.p16 d1 (real->posit16 20)) (*.p16 (+.p16 (real->posit16 10) d2) d1) (*.p16 (real->posit16 20) d1) (+.p16 d2 (real->posit16 20)) (+.p16 (+.p16 (real->posit16 10) d2) (real->posit16 20)) (+.p16 (+.p16 (real->posit16 10) d2) (real->posit16 20)) 2.047 * * [simplify]: iteration 1: (13 enodes) 2.054 * * [simplify]: iteration 2: (29 enodes) 2.063 * * [simplify]: iteration 3: (37 enodes) 2.073 * * [simplify]: Extracting #0: cost 4 inf + 0 2.073 * * [simplify]: Extracting #1: cost 12 inf + 0 2.073 * * [simplify]: Extracting #2: cost 12 inf + 2 2.073 * * [simplify]: Extracting #3: cost 7 inf + 369 2.073 * * [simplify]: Extracting #4: cost 0 inf + 1544 2.074 * [simplify]: Simplified to: (*.p16 d1 (+.p16 (real->posit16 10) d2)) (*.p16 (real->posit16 20) d1) (*.p16 d1 (+.p16 (real->posit16 10) d2)) (*.p16 (real->posit16 20) d1) (+.p16 d2 (real->posit16 20)) (+.p16 (+.p16 d2 (real->posit16 20)) (real->posit16 10)) (+.p16 (+.p16 d2 (real->posit16 20)) (real->posit16 10)) 2.074 * * * [progress]: adding candidates to table 2.301 * * [progress]: iteration 4 / 4 2.301 * * * [progress]: picking best candidate 2.337 * * * * [pick]: Picked #posit16 10) (+.p16 d2 (real->posit16 20)))))> 2.337 * * * [progress]: localizing error 2.486 * * * [progress]: generating rewritten candidates 2.486 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 2.495 * * * * [progress]: [ 2 / 2 ] rewriting at (2 2) 2.501 * * * [progress]: generating series expansions 2.501 * * * * [progress]: [ 1 / 2 ] generating series at (2) 2.501 * * * * [progress]: [ 2 / 2 ] generating series at (2 2) 2.501 * * * [progress]: simplifying candidates 2.501 * * * * [progress]: [ 1 / 7 ] simplifiying candidate #posit16 10)) (*.p16 d1 (+.p16 d2 (real->posit16 20)))))> 2.501 * * * * [progress]: [ 2 / 7 ] simplifiying candidate #posit16 10) d1) (*.p16 (+.p16 d2 (real->posit16 20)) d1)))> 2.501 * * * * [progress]: [ 3 / 7 ] simplifiying candidate #posit16 10) (+.p16 d2 (real->posit16 20))) d1))> 2.501 * * * * [progress]: [ 4 / 7 ] simplifiying candidate #posit16 10) d2) (real->posit16 20))))> 2.501 * * * * [progress]: [ 5 / 7 ] simplifiying candidate #posit16 20)) (real->posit16 10))))> 2.501 * * * * [progress]: [ 6 / 7 ] simplifiying candidate #posit16 10) (+.p16 d2 (real->posit16 20)))))> 2.501 * * * * [progress]: [ 7 / 7 ] simplifiying candidate #posit16 10) (+.p16 d2 (real->posit16 20)))))> 2.501 * [simplify]: Simplifying: (*.p16 d1 (real->posit16 10)) (*.p16 d1 (+.p16 d2 (real->posit16 20))) (*.p16 (real->posit16 10) d1) (*.p16 (+.p16 d2 (real->posit16 20)) d1) (+.p16 (real->posit16 10) d2) (+.p16 d2 (real->posit16 20)) (+.p16 d2 (real->posit16 20)) 2.501 * * [simplify]: iteration 1: (12 enodes) 2.504 * * [simplify]: iteration 2: (26 enodes) 2.509 * * [simplify]: iteration 3: (28 enodes) 2.512 * * [simplify]: Extracting #0: cost 4 inf + 0 2.513 * * [simplify]: Extracting #1: cost 10 inf + 0 2.513 * * [simplify]: Extracting #2: cost 10 inf + 2 2.513 * * [simplify]: Extracting #3: cost 7 inf + 326 2.513 * * [simplify]: Extracting #4: cost 1 inf + 1097 2.513 * * [simplify]: Extracting #5: cost 0 inf + 1419 2.513 * [simplify]: Simplified to: (*.p16 d1 (real->posit16 10)) (*.p16 (+.p16 d2 (real->posit16 20)) d1) (*.p16 d1 (real->posit16 10)) (*.p16 (+.p16 d2 (real->posit16 20)) d1) (+.p16 (real->posit16 10) d2) (+.p16 d2 (real->posit16 20)) (+.p16 d2 (real->posit16 20)) 2.513 * * * [progress]: adding candidates to table 2.811 * [progress]: [Phase 3 of 3] Extracting. 2.811 * * [regime]: Finding splitpoints for: (#posit16 10)) (*.p16 d1 d2)) (*.p16 d1 (real->posit16 20))))> #posit16 10) (+.p16 d2 (real->posit16 20)))))> #posit16 10) d2)) (*.p16 d1 (real->posit16 20))))> #posit16 10) d2) (real->posit16 20))))> #posit16 10)) (*.p16 d1 (+.p16 d2 (real->posit16 20)))))>) 2.812 * * * [regime-changes]: Trying 2 branch expressions: (d2 d1) 2.812 * * * * [regimes]: Trying to branch on d2 from (#posit16 10)) (*.p16 d1 d2)) (*.p16 d1 (real->posit16 20))))> #posit16 10) (+.p16 d2 (real->posit16 20)))))> #posit16 10) d2)) (*.p16 d1 (real->posit16 20))))> #posit16 10) d2) (real->posit16 20))))> #posit16 10)) (*.p16 d1 (+.p16 d2 (real->posit16 20)))))>) 3.033 * * * * [regimes]: Trying to branch on d1 from (#posit16 10)) (*.p16 d1 d2)) (*.p16 d1 (real->posit16 20))))> #posit16 10) (+.p16 d2 (real->posit16 20)))))> #posit16 10) d2)) (*.p16 d1 (real->posit16 20))))> #posit16 10) d2) (real->posit16 20))))> #posit16 10)) (*.p16 d1 (+.p16 d2 (real->posit16 20)))))>) 3.263 * * * [regime]: Found split indices: #