12.372 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.020 * * * [progress]: [2/2] Setting up program. 0.021 * [progress]: [Phase 2 of 3] Improving. 0.022 * [simplify]: Simplifying using # : (+ (+ (* x 2.0) (* x x)) (* y y)) 0.024 * * [simplify]: iteration 0 : 16 enodes (cost 4 ) 0.026 * * [simplify]: iteration 1 : 33 enodes (cost 3 ) 0.027 * * [simplify]: iteration 2 : 41 enodes (cost 3 ) 0.028 * * [simplify]: iteration 3 : 41 enodes (cost 3 ) 0.028 * [simplify]: Simplified to: (fma x (+ 2.0 x) (* y y)) 0.031 * * [progress]: iteration 1 / 4 0.031 * * * [progress]: picking best candidate 0.033 * * * * [pick]: Picked # 0.033 * * * [progress]: localizing error 0.039 * * * [progress]: generating rewritten candidates 0.039 * * * * [progress]: [ 1 / 1 ] rewriting at (2 1) 0.042 * * * [progress]: generating series expansions 0.042 * * * * [progress]: [ 1 / 1 ] generating series at (2 1) 0.042 * [approximate]: Taking taylor expansion of (+ (pow x 2) (* 2.0 x)) in (x) around 0 0.042 * [taylor]: Taking taylor expansion of (+ (pow x 2) (* 2.0 x)) in x 0.042 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.042 * [taylor]: Taking taylor expansion of x in x 0.042 * [taylor]: Taking taylor expansion of (* 2.0 x) in x 0.042 * [taylor]: Taking taylor expansion of 2.0 in x 0.042 * [taylor]: Taking taylor expansion of x in x 0.042 * [taylor]: Taking taylor expansion of (+ (pow x 2) (* 2.0 x)) in x 0.042 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.042 * [taylor]: Taking taylor expansion of x in x 0.042 * [taylor]: Taking taylor expansion of (* 2.0 x) in x 0.042 * [taylor]: Taking taylor expansion of 2.0 in x 0.042 * [taylor]: Taking taylor expansion of x in x 0.058 * [approximate]: Taking taylor expansion of (+ (/ 1 (pow x 2)) (* 2.0 (/ 1 x))) in (x) around 0 0.058 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow x 2)) (* 2.0 (/ 1 x))) in x 0.058 * [taylor]: Taking taylor expansion of (/ 1 (pow x 2)) in x 0.058 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.058 * [taylor]: Taking taylor expansion of x in x 0.058 * [taylor]: Taking taylor expansion of (* 2.0 (/ 1 x)) in x 0.058 * [taylor]: Taking taylor expansion of 2.0 in x 0.058 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.058 * [taylor]: Taking taylor expansion of x in x 0.059 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow x 2)) (* 2.0 (/ 1 x))) in x 0.059 * [taylor]: Taking taylor expansion of (/ 1 (pow x 2)) in x 0.059 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.059 * [taylor]: Taking taylor expansion of x in x 0.059 * [taylor]: Taking taylor expansion of (* 2.0 (/ 1 x)) in x 0.059 * [taylor]: Taking taylor expansion of 2.0 in x 0.059 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.059 * [taylor]: Taking taylor expansion of x in x 0.080 * [approximate]: Taking taylor expansion of (- (/ 1 (pow x 2)) (* 2.0 (/ 1 x))) in (x) around 0 0.081 * [taylor]: Taking taylor expansion of (- (/ 1 (pow x 2)) (* 2.0 (/ 1 x))) in x 0.081 * [taylor]: Taking taylor expansion of (/ 1 (pow x 2)) in x 0.081 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.081 * [taylor]: Taking taylor expansion of x in x 0.081 * [taylor]: Taking taylor expansion of (* 2.0 (/ 1 x)) in x 0.081 * [taylor]: Taking taylor expansion of 2.0 in x 0.081 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.081 * [taylor]: Taking taylor expansion of x in x 0.082 * [taylor]: Taking taylor expansion of (- (/ 1 (pow x 2)) (* 2.0 (/ 1 x))) in x 0.082 * [taylor]: Taking taylor expansion of (/ 1 (pow x 2)) in x 0.082 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.082 * [taylor]: Taking taylor expansion of x in x 0.083 * [taylor]: Taking taylor expansion of (* 2.0 (/ 1 x)) in x 0.083 * [taylor]: Taking taylor expansion of 2.0 in x 0.083 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.083 * [taylor]: Taking taylor expansion of x in x 0.105 * * * [progress]: simplifying candidates 0.106 * [simplify]: Simplifying using # : (expm1 (+ (* x 2.0) (* x x))) (log1p (+ (* x 2.0) (* x x))) (* (exp (* x 2.0)) (exp (* x x))) (log (+ (* x 2.0) (* x x))) (exp (+ (* x 2.0) (* x x))) (* (cbrt (+ (* x 2.0) (* x x))) (cbrt (+ (* x 2.0) (* x x)))) (cbrt (+ (* x 2.0) (* x x))) (* (* (+ (* x 2.0) (* x x)) (+ (* x 2.0) (* x x))) (+ (* x 2.0) (* x x))) (sqrt (+ (* x 2.0) (* x x))) (sqrt (+ (* x 2.0) (* x x))) (+ (pow (* x 2.0) 3) (pow (* x x) 3)) (+ (* (* x 2.0) (* x 2.0)) (- (* (* x x) (* x x)) (* (* x 2.0) (* x x)))) (- (* (* x 2.0) (* x 2.0)) (* (* x x) (* x x))) (- (* x 2.0) (* x x)) (+ 2.0 x) (+ (pow x 2) (* 2.0 x)) (+ (pow x 2) (* 2.0 x)) (+ (pow x 2) (* 2.0 x)) 0.108 * * [simplify]: iteration 0 : 105 enodes (cost 80 ) 0.111 * * [simplify]: iteration 1 : 464 enodes (cost 68 ) 0.120 * * [simplify]: iteration 2 : 1748 enodes (cost 65 ) 0.156 * * [simplify]: iteration 3 : 5002 enodes (cost 65 ) 0.157 * [simplify]: Simplified to: (expm1 (+ (* x 2.0) (* x x))) (log1p (+ (* x 2.0) (* x x))) (pow (exp x) (+ 2.0 x)) (log (+ (* x 2.0) (* x x))) (pow (exp x) (+ 2.0 x)) (* (cbrt (+ (* x 2.0) (* x x))) (cbrt (+ (* x 2.0) (* x x)))) (cbrt (+ (* x 2.0) (* x x))) (pow (fma x 2.0 (* x x)) 3) (sqrt (+ (* x 2.0) (* x x))) (sqrt (+ (* x 2.0) (* x x))) (fma (pow 2.0 3) (pow x 3) (pow x 6)) (* x (* x (fma 2.0 2.0 (* x (- x 2.0))))) (* (pow x 2) (- (* 2.0 2.0) (pow x 2))) (* x (- 2.0 x)) (+ 2.0 x) (fma x 2.0 (* x x)) (fma x 2.0 (* x x)) (fma x 2.0 (* x x)) 0.157 * * * [progress]: adding candidates to table 0.192 * * [progress]: iteration 2 / 4 0.192 * * * [progress]: picking best candidate 0.194 * * * * [pick]: Picked # 0.194 * * * [progress]: localizing error 0.198 * * * [progress]: generating rewritten candidates 0.198 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.199 * * * [progress]: generating series expansions 0.199 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.199 * [approximate]: Taking taylor expansion of (fma x (+ x 2.0) (pow y 2)) in (x y) around 0 0.199 * [taylor]: Taking taylor expansion of (fma x (+ x 2.0) (pow y 2)) in y 0.199 * [taylor]: Rewrote expression to (+ (* x (+ x 2.0)) (pow y 2)) 0.199 * [taylor]: Taking taylor expansion of (* x (+ x 2.0)) in y 0.199 * [taylor]: Taking taylor expansion of x in y 0.199 * [taylor]: Taking taylor expansion of (+ x 2.0) in y 0.199 * [taylor]: Taking taylor expansion of x in y 0.199 * [taylor]: Taking taylor expansion of 2.0 in y 0.199 * [taylor]: Taking taylor expansion of (pow y 2) in y 0.199 * [taylor]: Taking taylor expansion of y in y 0.199 * [taylor]: Taking taylor expansion of (fma x (+ x 2.0) (pow y 2)) in x 0.200 * [taylor]: Rewrote expression to (+ (* x (+ x 2.0)) (pow y 2)) 0.200 * [taylor]: Taking taylor expansion of (* x (+ x 2.0)) in x 0.200 * [taylor]: Taking taylor expansion of x in x 0.200 * [taylor]: Taking taylor expansion of (+ x 2.0) in x 0.200 * [taylor]: Taking taylor expansion of x in x 0.200 * [taylor]: Taking taylor expansion of 2.0 in x 0.200 * [taylor]: Taking taylor expansion of (pow y 2) in x 0.200 * [taylor]: Taking taylor expansion of y in x 0.200 * [taylor]: Taking taylor expansion of (fma x (+ x 2.0) (pow y 2)) in x 0.200 * [taylor]: Rewrote expression to (+ (* x (+ x 2.0)) (pow y 2)) 0.200 * [taylor]: Taking taylor expansion of (* x (+ x 2.0)) in x 0.200 * [taylor]: Taking taylor expansion of x in x 0.200 * [taylor]: Taking taylor expansion of (+ x 2.0) in x 0.200 * [taylor]: Taking taylor expansion of x in x 0.200 * [taylor]: Taking taylor expansion of 2.0 in x 0.200 * [taylor]: Taking taylor expansion of (pow y 2) in x 0.200 * [taylor]: Taking taylor expansion of y in x 0.201 * [taylor]: Taking taylor expansion of (pow y 2) in y 0.201 * [taylor]: Taking taylor expansion of y in y 0.202 * [taylor]: Taking taylor expansion of 2.0 in y 0.203 * [taylor]: Taking taylor expansion of 1 in y 0.204 * [approximate]: Taking taylor expansion of (fma (/ 1 x) (+ (/ 1 x) 2.0) (/ 1 (pow y 2))) in (x y) around 0 0.204 * [taylor]: Taking taylor expansion of (fma (/ 1 x) (+ (/ 1 x) 2.0) (/ 1 (pow y 2))) in y 0.204 * [taylor]: Rewrote expression to (+ (* (/ 1 x) (+ (/ 1 x) 2.0)) (/ 1 (pow y 2))) 0.204 * [taylor]: Taking taylor expansion of (* (/ 1 x) (+ (/ 1 x) 2.0)) in y 0.204 * [taylor]: Taking taylor expansion of (/ 1 x) in y 0.204 * [taylor]: Taking taylor expansion of x in y 0.204 * [taylor]: Taking taylor expansion of (+ (/ 1 x) 2.0) in y 0.204 * [taylor]: Taking taylor expansion of (/ 1 x) in y 0.204 * [taylor]: Taking taylor expansion of x in y 0.204 * [taylor]: Taking taylor expansion of 2.0 in y 0.204 * [taylor]: Taking taylor expansion of (/ 1 (pow y 2)) in y 0.204 * [taylor]: Taking taylor expansion of (pow y 2) in y 0.204 * [taylor]: Taking taylor expansion of y in y 0.205 * [taylor]: Taking taylor expansion of (fma (/ 1 x) (+ (/ 1 x) 2.0) (/ 1 (pow y 2))) in x 0.205 * [taylor]: Rewrote expression to (+ (* (/ 1 x) (+ (/ 1 x) 2.0)) (/ 1 (pow y 2))) 0.205 * [taylor]: Taking taylor expansion of (* (/ 1 x) (+ (/ 1 x) 2.0)) in x 0.205 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.205 * [taylor]: Taking taylor expansion of x in x 0.205 * [taylor]: Taking taylor expansion of (+ (/ 1 x) 2.0) in x 0.205 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.205 * [taylor]: Taking taylor expansion of x in x 0.206 * [taylor]: Taking taylor expansion of 2.0 in x 0.206 * [taylor]: Taking taylor expansion of (/ 1 (pow y 2)) in x 0.206 * [taylor]: Taking taylor expansion of (pow y 2) in x 0.206 * [taylor]: Taking taylor expansion of y in x 0.206 * [taylor]: Taking taylor expansion of (fma (/ 1 x) (+ (/ 1 x) 2.0) (/ 1 (pow y 2))) in x 0.206 * [taylor]: Rewrote expression to (+ (* (/ 1 x) (+ (/ 1 x) 2.0)) (/ 1 (pow y 2))) 0.206 * [taylor]: Taking taylor expansion of (* (/ 1 x) (+ (/ 1 x) 2.0)) in x 0.206 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.206 * [taylor]: Taking taylor expansion of x in x 0.206 * [taylor]: Taking taylor expansion of (+ (/ 1 x) 2.0) in x 0.206 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.206 * [taylor]: Taking taylor expansion of x in x 0.206 * [taylor]: Taking taylor expansion of 2.0 in x 0.206 * [taylor]: Taking taylor expansion of (/ 1 (pow y 2)) in x 0.206 * [taylor]: Taking taylor expansion of (pow y 2) in x 0.206 * [taylor]: Taking taylor expansion of y in x 0.207 * [taylor]: Taking taylor expansion of 1 in y 0.210 * [taylor]: Taking taylor expansion of 2.0 in y 0.211 * [taylor]: Taking taylor expansion of (/ 1 (pow y 2)) in y 0.211 * [taylor]: Taking taylor expansion of (pow y 2) in y 0.211 * [taylor]: Taking taylor expansion of y in y 0.214 * [taylor]: Taking taylor expansion of 0 in y 0.215 * [approximate]: Taking taylor expansion of (fma (/ -1 x) (- 2.0 (/ 1 x)) (/ 1 (pow y 2))) in (x y) around 0 0.215 * [taylor]: Taking taylor expansion of (fma (/ -1 x) (- 2.0 (/ 1 x)) (/ 1 (pow y 2))) in y 0.215 * [taylor]: Rewrote expression to (+ (* (/ -1 x) (- 2.0 (/ 1 x))) (/ 1 (pow y 2))) 0.215 * [taylor]: Taking taylor expansion of (* (/ -1 x) (- 2.0 (/ 1 x))) in y 0.215 * [taylor]: Taking taylor expansion of (/ -1 x) in y 0.215 * [taylor]: Taking taylor expansion of -1 in y 0.215 * [taylor]: Taking taylor expansion of x in y 0.216 * [taylor]: Taking taylor expansion of (- 2.0 (/ 1 x)) in y 0.216 * [taylor]: Taking taylor expansion of 2.0 in y 0.216 * [taylor]: Taking taylor expansion of (/ 1 x) in y 0.216 * [taylor]: Taking taylor expansion of x in y 0.216 * [taylor]: Taking taylor expansion of (/ 1 (pow y 2)) in y 0.216 * [taylor]: Taking taylor expansion of (pow y 2) in y 0.216 * [taylor]: Taking taylor expansion of y in y 0.216 * [taylor]: Taking taylor expansion of (fma (/ -1 x) (- 2.0 (/ 1 x)) (/ 1 (pow y 2))) in x 0.216 * [taylor]: Rewrote expression to (+ (* (/ -1 x) (- 2.0 (/ 1 x))) (/ 1 (pow y 2))) 0.216 * [taylor]: Taking taylor expansion of (* (/ -1 x) (- 2.0 (/ 1 x))) in x 0.216 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.216 * [taylor]: Taking taylor expansion of -1 in x 0.216 * [taylor]: Taking taylor expansion of x in x 0.217 * [taylor]: Taking taylor expansion of (- 2.0 (/ 1 x)) in x 0.217 * [taylor]: Taking taylor expansion of 2.0 in x 0.217 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.217 * [taylor]: Taking taylor expansion of x in x 0.217 * [taylor]: Taking taylor expansion of (/ 1 (pow y 2)) in x 0.217 * [taylor]: Taking taylor expansion of (pow y 2) in x 0.217 * [taylor]: Taking taylor expansion of y in x 0.217 * [taylor]: Taking taylor expansion of (fma (/ -1 x) (- 2.0 (/ 1 x)) (/ 1 (pow y 2))) in x 0.217 * [taylor]: Rewrote expression to (+ (* (/ -1 x) (- 2.0 (/ 1 x))) (/ 1 (pow y 2))) 0.217 * [taylor]: Taking taylor expansion of (* (/ -1 x) (- 2.0 (/ 1 x))) in x 0.217 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.217 * [taylor]: Taking taylor expansion of -1 in x 0.217 * [taylor]: Taking taylor expansion of x in x 0.218 * [taylor]: Taking taylor expansion of (- 2.0 (/ 1 x)) in x 0.218 * [taylor]: Taking taylor expansion of 2.0 in x 0.218 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.218 * [taylor]: Taking taylor expansion of x in x 0.218 * [taylor]: Taking taylor expansion of (/ 1 (pow y 2)) in x 0.218 * [taylor]: Taking taylor expansion of (pow y 2) in x 0.218 * [taylor]: Taking taylor expansion of y in x 0.219 * [taylor]: Taking taylor expansion of 1 in y 0.222 * [taylor]: Taking taylor expansion of (- 2.0) in y 0.222 * [taylor]: Taking taylor expansion of 2.0 in y 0.224 * [taylor]: Taking taylor expansion of (/ 1 (pow y 2)) in y 0.224 * [taylor]: Taking taylor expansion of (pow y 2) in y 0.224 * [taylor]: Taking taylor expansion of y in y 0.227 * [taylor]: Taking taylor expansion of 0 in y 0.229 * * * [progress]: simplifying candidates 0.230 * [simplify]: Simplifying using # : (expm1 (fma x (+ 2.0 x) (* y y))) (log1p (fma x (+ 2.0 x) (* y y))) (* x (+ 2.0 x)) (log (fma x (+ 2.0 x) (* y y))) (exp (fma x (+ 2.0 x) (* y y))) (* (cbrt (fma x (+ 2.0 x) (* y y))) (cbrt (fma x (+ 2.0 x) (* y y)))) (cbrt (fma x (+ 2.0 x) (* y y))) (* (* (fma x (+ 2.0 x) (* y y)) (fma x (+ 2.0 x) (* y y))) (fma x (+ 2.0 x) (* y y))) (sqrt (fma x (+ 2.0 x) (* y y))) (sqrt (fma x (+ 2.0 x) (* y y))) (+ (pow x 2) (+ (* 2.0 x) (pow y 2))) (+ (pow x 2) (+ (* 2.0 x) (pow y 2))) (+ (pow x 2) (+ (* 2.0 x) (pow y 2))) 0.232 * * [simplify]: iteration 0 : 40 enodes (cost 62 ) 0.234 * * [simplify]: iteration 1 : 87 enodes (cost 52 ) 0.236 * * [simplify]: iteration 2 : 383 enodes (cost 52 ) 0.244 * * [simplify]: iteration 3 : 2092 enodes (cost 52 ) 0.296 * * [simplify]: iteration 4 : 5001 enodes (cost 52 ) 0.297 * [simplify]: Simplified to: (expm1 (fma x (+ 2.0 x) (* y y))) (log1p (fma x (+ 2.0 x) (* y y))) (* x (+ 2.0 x)) (log (fma x (+ 2.0 x) (* y y))) (exp (fma x (+ 2.0 x) (* y y))) (* (cbrt (fma x (+ 2.0 x) (* y y))) (cbrt (fma x (+ 2.0 x) (* y y)))) (cbrt (fma x (+ 2.0 x) (* y y))) (pow (fma x (+ 2.0 x) (* y y)) 3) (sqrt (fma x (+ 2.0 x) (* y y))) (sqrt (fma x (+ 2.0 x) (* y y))) (fma x x (fma 2.0 x (pow y 2))) (fma x x (fma 2.0 x (pow y 2))) (fma x x (fma 2.0 x (pow y 2))) 0.297 * * * [progress]: adding candidates to table 0.324 * [progress]: [Phase 3 of 3] Extracting. 0.324 * * [regime]: Finding splitpoints for: (# #) 0.325 * * * [regime-changes]: Trying 5 branch expressions: ((* y y) (+ (* x 2.0) (* x x)) (+ (+ (* x 2.0) (* x x)) (* y y)) y x) 0.325 * * * * [regimes]: Trying to branch on (* y y) from (# #) 0.334 * * * * [regimes]: Trying to branch on (+ (* x 2.0) (* x x)) from (# #) 0.347 * * * * [regimes]: Trying to branch on (+ (+ (* x 2.0) (* x x)) (* y y)) from (# #) 0.358 * * * * [regimes]: Trying to branch on y from (# #) 0.368 * * * * [regimes]: Trying to branch on x from (# #) 0.378 * * * [regime]: Found split indices: #