0.952 * [progress]: [Phase 1 of 3] Setting up. 0.002 * * * [progress]: [1/2] Preparing points 0.188 * * * [progress]: [2/2] Setting up program. 0.196 * [progress]: [Phase 2 of 3] Improving. 0.196 * * * * [progress]: [ 1 / 1 ] simplifiying candidate # 0.199 * [simplify]: Simplifying: (sin (pow (sqrt (atan2 b b)) (- b a))) 0.200 * * [simplify]: iteration 0: 7 enodes 0.206 * * [simplify]: iteration 1: 13 enodes 0.208 * * [simplify]: iteration 2: 22 enodes 0.250 * * [simplify]: iteration 3: 45 enodes 0.261 * * [simplify]: iteration 4: 110 enodes 0.316 * * [simplify]: iteration 5: 256 enodes 0.857 * * [simplify]: iteration 6: 1114 enodes 1.358 * * [simplify]: iteration complete: 5001 enodes 1.358 * * [simplify]: Extracting #0: cost 1 inf + 0 1.359 * * [simplify]: Extracting #1: cost 2 inf + 0 1.359 * * [simplify]: Extracting #2: cost 98 inf + 0 1.360 * * [simplify]: Extracting #3: cost 579 inf + 1 1.365 * * [simplify]: Extracting #4: cost 1976 inf + 3471 1.400 * * [simplify]: Extracting #5: cost 1290 inf + 105905 1.462 * * [simplify]: Extracting #6: cost 289 inf + 351310 1.545 * * [simplify]: Extracting #7: cost 1 inf + 554781 1.649 * * [simplify]: Extracting #8: cost 0 inf + 555003 1.731 * * [simplify]: Extracting #9: cost 0 inf + 554923 1.835 * [simplify]: Simplified to: (sin (pow (sqrt (atan2 b b)) (- b a))) 1.837 * * [progress]: iteration 1 / 4 1.837 * * * [progress]: picking best candidate 1.840 * * * * [pick]: Picked # 1.840 * * * [progress]: localizing error 1.862 * * * [progress]: generating rewritten candidates 1.862 * * * * [progress]: [ 1 / 1 ] rewriting at (2 1 1) 1.870 * * * [progress]: generating series expansions 1.870 * * * * [progress]: [ 1 / 1 ] generating series at (2 1 1) 1.875 * [backup-simplify]: Simplify (sqrt (atan2 b b)) into (sqrt (atan2 b b)) 1.875 * [approximate]: Taking taylor expansion of (sqrt (atan2 b b)) in (b) around 0 1.876 * [taylor]: Taking taylor expansion of (sqrt (atan2 b b)) in b 1.876 * [taylor]: Taking taylor expansion of (atan2 b b) in b 1.877 * [backup-simplify]: Simplify (atan2 b b) into (atan2 b b) 1.877 * [backup-simplify]: Simplify (sqrt (atan2 b b)) into (sqrt (atan2 b b)) 1.877 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt (atan2 b b)))) into 0 1.877 * [taylor]: Taking taylor expansion of (sqrt (atan2 b b)) in b 1.877 * [taylor]: Taking taylor expansion of (atan2 b b) in b 1.877 * [backup-simplify]: Simplify (atan2 b b) into (atan2 b b) 1.877 * [backup-simplify]: Simplify (sqrt (atan2 b b)) into (sqrt (atan2 b b)) 1.877 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt (atan2 b b)))) into 0 1.878 * [backup-simplify]: Simplify (sqrt (atan2 b b)) into (sqrt (atan2 b b)) 1.878 * [backup-simplify]: Simplify 0 into 0 1.879 * [backup-simplify]: Simplify (/ (- 0 (pow 0 2) (+)) (* 2 (sqrt (atan2 b b)))) into 0 1.879 * [backup-simplify]: Simplify 0 into 0 1.879 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* 0 0)))) (* 2 (sqrt (atan2 b b)))) into 0 1.879 * [backup-simplify]: Simplify 0 into 0 1.880 * [backup-simplify]: Simplify (/ (- 0 (pow 0 2) (+ (* 2 (* 0 0)))) (* 2 (sqrt (atan2 b b)))) into 0 1.880 * [backup-simplify]: Simplify 0 into 0 1.881 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* 0 0)) (* 2 (* 0 0)))) (* 2 (sqrt (atan2 b b)))) into 0 1.881 * [backup-simplify]: Simplify 0 into 0 1.881 * [backup-simplify]: Simplify (/ (- 0 (pow 0 2) (+ (* 2 (* 0 0)) (* 2 (* 0 0)))) (* 2 (sqrt (atan2 b b)))) into 0 1.881 * [backup-simplify]: Simplify 0 into 0 1.882 * [backup-simplify]: Simplify (sqrt (atan2 b b)) into (sqrt (atan2 b b)) 1.882 * [backup-simplify]: Simplify (sqrt (atan2 (/ 1 b) (/ 1 b))) into (sqrt (atan2 (/ 1 b) (/ 1 b))) 1.882 * [approximate]: Taking taylor expansion of (sqrt (atan2 (/ 1 b) (/ 1 b))) in (b) around 0 1.882 * [taylor]: Taking taylor expansion of (sqrt (atan2 (/ 1 b) (/ 1 b))) in b 1.882 * [taylor]: Taking taylor expansion of (atan2 (/ 1 b) (/ 1 b)) in b 1.882 * [backup-simplify]: Simplify (atan2 (/ 1 b) (/ 1 b)) into (atan2 (/ 1 b) (/ 1 b)) 1.882 * [backup-simplify]: Simplify (sqrt (atan2 (/ 1 b) (/ 1 b))) into (sqrt (atan2 (/ 1 b) (/ 1 b))) 1.882 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt (atan2 (/ 1 b) (/ 1 b))))) into 0 1.882 * [taylor]: Taking taylor expansion of (sqrt (atan2 (/ 1 b) (/ 1 b))) in b 1.882 * [taylor]: Taking taylor expansion of (atan2 (/ 1 b) (/ 1 b)) in b 1.882 * [backup-simplify]: Simplify (atan2 (/ 1 b) (/ 1 b)) into (atan2 (/ 1 b) (/ 1 b)) 1.882 * [backup-simplify]: Simplify (sqrt (atan2 (/ 1 b) (/ 1 b))) into (sqrt (atan2 (/ 1 b) (/ 1 b))) 1.882 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt (atan2 (/ 1 b) (/ 1 b))))) into 0 1.882 * [backup-simplify]: Simplify (sqrt (atan2 (/ 1 b) (/ 1 b))) into (sqrt (atan2 (/ 1 b) (/ 1 b))) 1.882 * [backup-simplify]: Simplify 0 into 0 1.883 * [backup-simplify]: Simplify (/ (- 0 (pow 0 2) (+)) (* 2 (sqrt (atan2 (/ 1 b) (/ 1 b))))) into 0 1.883 * [backup-simplify]: Simplify 0 into 0 1.883 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* 0 0)))) (* 2 (sqrt (atan2 (/ 1 b) (/ 1 b))))) into 0 1.883 * [backup-simplify]: Simplify 0 into 0 1.884 * [backup-simplify]: Simplify (/ (- 0 (pow 0 2) (+ (* 2 (* 0 0)))) (* 2 (sqrt (atan2 (/ 1 b) (/ 1 b))))) into 0 1.884 * [backup-simplify]: Simplify 0 into 0 1.885 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* 0 0)) (* 2 (* 0 0)))) (* 2 (sqrt (atan2 (/ 1 b) (/ 1 b))))) into 0 1.885 * [backup-simplify]: Simplify 0 into 0 1.885 * [backup-simplify]: Simplify (/ (- 0 (pow 0 2) (+ (* 2 (* 0 0)) (* 2 (* 0 0)))) (* 2 (sqrt (atan2 (/ 1 b) (/ 1 b))))) into 0 1.885 * [backup-simplify]: Simplify 0 into 0 1.885 * [backup-simplify]: Simplify (sqrt (atan2 (/ 1 (/ 1 b)) (/ 1 (/ 1 b)))) into (sqrt (atan2 b b)) 1.893 * [backup-simplify]: Simplify (sqrt (atan2 (/ 1 (- b)) (/ 1 (- b)))) into (sqrt (atan2 (/ -1 b) (/ -1 b))) 1.893 * [approximate]: Taking taylor expansion of (sqrt (atan2 (/ -1 b) (/ -1 b))) in (b) around 0 1.893 * [taylor]: Taking taylor expansion of (sqrt (atan2 (/ -1 b) (/ -1 b))) in b 1.893 * [taylor]: Taking taylor expansion of (atan2 (/ -1 b) (/ -1 b)) in b 1.893 * [backup-simplify]: Simplify (atan2 (/ -1 b) (/ -1 b)) into (atan2 (/ -1 b) (/ -1 b)) 1.893 * [backup-simplify]: Simplify (sqrt (atan2 (/ -1 b) (/ -1 b))) into (sqrt (atan2 (/ -1 b) (/ -1 b))) 1.893 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt (atan2 (/ -1 b) (/ -1 b))))) into 0 1.893 * [taylor]: Taking taylor expansion of (sqrt (atan2 (/ -1 b) (/ -1 b))) in b 1.893 * [taylor]: Taking taylor expansion of (atan2 (/ -1 b) (/ -1 b)) in b 1.893 * [backup-simplify]: Simplify (atan2 (/ -1 b) (/ -1 b)) into (atan2 (/ -1 b) (/ -1 b)) 1.893 * [backup-simplify]: Simplify (sqrt (atan2 (/ -1 b) (/ -1 b))) into (sqrt (atan2 (/ -1 b) (/ -1 b))) 1.894 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt (atan2 (/ -1 b) (/ -1 b))))) into 0 1.894 * [backup-simplify]: Simplify (sqrt (atan2 (/ -1 b) (/ -1 b))) into (sqrt (atan2 (/ -1 b) (/ -1 b))) 1.894 * [backup-simplify]: Simplify 0 into 0 1.894 * [backup-simplify]: Simplify (/ (- 0 (pow 0 2) (+)) (* 2 (sqrt (atan2 (/ -1 b) (/ -1 b))))) into 0 1.894 * [backup-simplify]: Simplify 0 into 0 1.895 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* 0 0)))) (* 2 (sqrt (atan2 (/ -1 b) (/ -1 b))))) into 0 1.895 * [backup-simplify]: Simplify 0 into 0 1.896 * [backup-simplify]: Simplify (/ (- 0 (pow 0 2) (+ (* 2 (* 0 0)))) (* 2 (sqrt (atan2 (/ -1 b) (/ -1 b))))) into 0 1.896 * [backup-simplify]: Simplify 0 into 0 1.896 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* 0 0)) (* 2 (* 0 0)))) (* 2 (sqrt (atan2 (/ -1 b) (/ -1 b))))) into 0 1.896 * [backup-simplify]: Simplify 0 into 0 1.897 * [backup-simplify]: Simplify (/ (- 0 (pow 0 2) (+ (* 2 (* 0 0)) (* 2 (* 0 0)))) (* 2 (sqrt (atan2 (/ -1 b) (/ -1 b))))) into 0 1.897 * [backup-simplify]: Simplify 0 into 0 1.897 * [backup-simplify]: Simplify (sqrt (atan2 (/ -1 (/ 1 (- b))) (/ -1 (/ 1 (- b))))) into (sqrt (atan2 b b)) 1.897 * * * [progress]: simplifying candidates 1.897 * * * * [progress]: [ 1 / 19 ] simplifiying candidate # 1.897 * * * * [progress]: [ 2 / 19 ] simplifiying candidate # 1.897 * * * * [progress]: [ 3 / 19 ] simplifiying candidate # 1.897 * * * * [progress]: [ 4 / 19 ] simplifiying candidate # 1.898 * * * * [progress]: [ 5 / 19 ] simplifiying candidate # 1.898 * * * * [progress]: [ 6 / 19 ] simplifiying candidate # 1.898 * * * * [progress]: [ 7 / 19 ] simplifiying candidate # 1.898 * * * * [progress]: [ 8 / 19 ] simplifiying candidate # 1.898 * * * * [progress]: [ 9 / 19 ] simplifiying candidate # 1.898 * * * * [progress]: [ 10 / 19 ] simplifiying candidate # 1.898 * * * * [progress]: [ 11 / 19 ] simplifiying candidate # 1.898 * * * * [progress]: [ 12 / 19 ] simplifiying candidate # 1.898 * * * * [progress]: [ 13 / 19 ] simplifiying candidate # 1.898 * * * * [progress]: [ 14 / 19 ] simplifiying candidate # 1.898 * * * * [progress]: [ 15 / 19 ] simplifiying candidate # 1.898 * * * * [progress]: [ 16 / 19 ] simplifiying candidate #real (real->posit16 (sqrt (atan2 b b)))) (- b a))))> 1.898 * * * * [progress]: [ 17 / 19 ] simplifiying candidate # 1.898 * * * * [progress]: [ 18 / 19 ] simplifiying candidate # 1.898 * * * * [progress]: [ 19 / 19 ] simplifiying candidate # 1.899 * [simplify]: Simplifying: (expm1 (sqrt (atan2 b b))) (log1p (sqrt (atan2 b b))) (log (sqrt (atan2 b b))) (exp (sqrt (atan2 b b))) (* (cbrt (sqrt (atan2 b b))) (cbrt (sqrt (atan2 b b)))) (cbrt (sqrt (atan2 b b))) (* (* (sqrt (atan2 b b)) (sqrt (atan2 b b))) (sqrt (atan2 b b))) (sqrt (* (cbrt (atan2 b b)) (cbrt (atan2 b b)))) (sqrt (cbrt (atan2 b b))) (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b))) (sqrt 1) (sqrt (atan2 b b)) (/ 1 2) (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b))) (real->posit16 (sqrt (atan2 b b))) (sqrt (atan2 b b)) (sqrt (atan2 b b)) (sqrt (atan2 b b)) 1.899 * * [simplify]: iteration 0: 21 enodes 1.903 * * [simplify]: iteration 1: 26 enodes 1.907 * * [simplify]: iteration 2: 29 enodes 1.915 * * [simplify]: iteration 3: 33 enodes 1.926 * * [simplify]: iteration 4: 41 enodes 1.937 * * [simplify]: iteration 5: 60 enodes 1.947 * * [simplify]: iteration 6: 90 enodes 1.962 * * [simplify]: iteration 7: 163 enodes 2.042 * * [simplify]: iteration 8: 389 enodes 2.437 * * [simplify]: iteration 9: 1279 enodes 4.437 * * [simplify]: iteration complete: 5000 enodes 4.437 * * [simplify]: Extracting #0: cost 14 inf + 0 4.437 * * [simplify]: Extracting #1: cost 211 inf + 2 4.441 * * [simplify]: Extracting #2: cost 1167 inf + 47 4.447 * * [simplify]: Extracting #3: cost 1215 inf + 1060 4.453 * * [simplify]: Extracting #4: cost 1205 inf + 13441 4.496 * * [simplify]: Extracting #5: cost 744 inf + 410322 4.623 * * [simplify]: Extracting #6: cost 120 inf + 1109345 4.764 * * [simplify]: Extracting #7: cost 0 inf + 1240291 4.909 * * [simplify]: Extracting #8: cost 0 inf + 1236154 5.078 * * [simplify]: Extracting #9: cost 0 inf + 1235521 5.235 * [simplify]: Simplified to: (expm1 (sqrt (atan2 b b))) (log1p (sqrt (atan2 b b))) (log (sqrt (atan2 b b))) (exp (sqrt (atan2 b b))) (* (cbrt (sqrt (atan2 b b))) (cbrt (sqrt (atan2 b b)))) (cbrt (sqrt (atan2 b b))) (* (sqrt (atan2 b b)) (atan2 b b)) (fabs (cbrt (atan2 b b))) (sqrt (cbrt (atan2 b b))) (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b))) 1 (sqrt (atan2 b b)) 1/2 (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b))) (real->posit16 (sqrt (atan2 b b))) (sqrt (atan2 b b)) (sqrt (atan2 b b)) (sqrt (atan2 b b)) 5.235 * * * [progress]: adding candidates to table 5.326 * [progress]: [Phase 3 of 3] Extracting. 5.335 * [simplify]: Simplifying: (sin (pow (sqrt (atan2 b b)) (- b a))) 5.335 * * [simplify]: iteration 0: 7 enodes 5.336 * * [simplify]: iteration complete: 7 enodes 5.336 * * [simplify]: Extracting #0: cost 1 inf + 0 5.336 * * [simplify]: Extracting #1: cost 2 inf + 0 5.336 * * [simplify]: Extracting #2: cost 4 inf + 0 5.336 * * [simplify]: Extracting #3: cost 7 inf + 0 5.336 * * [simplify]: Extracting #4: cost 5 inf + 2 5.336 * * [simplify]: Extracting #5: cost 0 inf + 1290 5.336 * [simplify]: Simplified to: (sin (pow (sqrt (atan2 b b)) (- b a))) 11.205 * [regime-testing]: Baseline error score: 0.12348161772244495 11.207 * [regime-testing]: Oracle error score: 0.12348161772244495 11.208 * [regime-testing]: End program error score: 0.12348161772244495