0.814 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.253 * * * [progress]: [2/2] Setting up program. 0.255 * [progress]: [Phase 2 of 3] Improving. 0.257 * [simplify]: Simplifying using # : (- (* (+ x 1.0) (+ x 1.0)) 1.0) 0.263 * * [simplify]: iteration 0 : 15 enodes (cost 4 ) 0.264 * * [simplify]: iteration 1 : 40 enodes (cost 4 ) 0.266 * * [simplify]: iteration 2 : 123 enodes (cost 4 ) 0.268 * * [simplify]: iteration 3 : 279 enodes (cost 4 ) 0.271 * * [simplify]: iteration 4 : 490 enodes (cost 4 ) 0.276 * * [simplify]: iteration 5 : 713 enodes (cost 4 ) 0.282 * * [simplify]: iteration 6 : 1046 enodes (cost 4 ) 0.294 * * [simplify]: iteration 7 : 2001 enodes (cost 4 ) 0.314 * * [simplify]: iteration 8 : 3844 enodes (cost 4 ) 0.337 * * [simplify]: iteration 9 : 5001 enodes (cost 4 ) 0.337 * [simplify]: Simplified to: (- (* (+ x 1.0) (+ x 1.0)) 1.0) 0.339 * * [progress]: iteration 1 / 4 0.339 * * * [progress]: picking best candidate 0.341 * * * * [pick]: Picked # 0.341 * * * [progress]: localizing error 0.347 * * * [progress]: generating rewritten candidates 0.347 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 0.356 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1) 0.362 * * * [progress]: generating series expansions 0.363 * * * * [progress]: [ 1 / 2 ] generating series at (2) 0.367 * [approximate]: Taking taylor expansion of (+ (pow x 2) (* 2.0 x)) in (x) around 0 0.368 * [taylor]: Taking taylor expansion of (+ (pow x 2) (* 2.0 x)) in x 0.368 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.368 * [taylor]: Taking taylor expansion of x in x 0.368 * [taylor]: Taking taylor expansion of (* 2.0 x) in x 0.368 * [taylor]: Taking taylor expansion of 2.0 in x 0.368 * [taylor]: Taking taylor expansion of x in x 0.369 * [taylor]: Taking taylor expansion of (+ (pow x 2) (* 2.0 x)) in x 0.369 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.369 * [taylor]: Taking taylor expansion of x in x 0.369 * [taylor]: Taking taylor expansion of (* 2.0 x) in x 0.369 * [taylor]: Taking taylor expansion of 2.0 in x 0.369 * [taylor]: Taking taylor expansion of x in x 0.384 * [approximate]: Taking taylor expansion of (+ (/ 1 (pow x 2)) (* 2.0 (/ 1 x))) in (x) around 0 0.384 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow x 2)) (* 2.0 (/ 1 x))) in x 0.384 * [taylor]: Taking taylor expansion of (/ 1 (pow x 2)) in x 0.384 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.384 * [taylor]: Taking taylor expansion of x in x 0.384 * [taylor]: Taking taylor expansion of (* 2.0 (/ 1 x)) in x 0.384 * [taylor]: Taking taylor expansion of 2.0 in x 0.384 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.384 * [taylor]: Taking taylor expansion of x in x 0.385 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow x 2)) (* 2.0 (/ 1 x))) in x 0.385 * [taylor]: Taking taylor expansion of (/ 1 (pow x 2)) in x 0.385 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.385 * [taylor]: Taking taylor expansion of x in x 0.385 * [taylor]: Taking taylor expansion of (* 2.0 (/ 1 x)) in x 0.385 * [taylor]: Taking taylor expansion of 2.0 in x 0.385 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.385 * [taylor]: Taking taylor expansion of x in x 0.403 * [approximate]: Taking taylor expansion of (- (/ 1 (pow x 2)) (* 2.0 (/ 1 x))) in (x) around 0 0.403 * [taylor]: Taking taylor expansion of (- (/ 1 (pow x 2)) (* 2.0 (/ 1 x))) in x 0.403 * [taylor]: Taking taylor expansion of (/ 1 (pow x 2)) in x 0.403 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.403 * [taylor]: Taking taylor expansion of x in x 0.404 * [taylor]: Taking taylor expansion of (* 2.0 (/ 1 x)) in x 0.404 * [taylor]: Taking taylor expansion of 2.0 in x 0.404 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.404 * [taylor]: Taking taylor expansion of x in x 0.404 * [taylor]: Taking taylor expansion of (- (/ 1 (pow x 2)) (* 2.0 (/ 1 x))) in x 0.404 * [taylor]: Taking taylor expansion of (/ 1 (pow x 2)) in x 0.404 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.404 * [taylor]: Taking taylor expansion of x in x 0.404 * [taylor]: Taking taylor expansion of (* 2.0 (/ 1 x)) in x 0.404 * [taylor]: Taking taylor expansion of 2.0 in x 0.404 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.405 * [taylor]: Taking taylor expansion of x in x 0.436 * * * * [progress]: [ 2 / 2 ] generating series at (2 1) 0.436 * [approximate]: Taking taylor expansion of (pow (+ x 1.0) 2) in (x) around 0 0.436 * [taylor]: Taking taylor expansion of (pow (+ x 1.0) 2) in x 0.436 * [taylor]: Taking taylor expansion of (+ x 1.0) in x 0.436 * [taylor]: Taking taylor expansion of x in x 0.436 * [taylor]: Taking taylor expansion of 1.0 in x 0.436 * [taylor]: Taking taylor expansion of (pow (+ x 1.0) 2) in x 0.436 * [taylor]: Taking taylor expansion of (+ x 1.0) in x 0.436 * [taylor]: Taking taylor expansion of x in x 0.436 * [taylor]: Taking taylor expansion of 1.0 in x 0.439 * [approximate]: Taking taylor expansion of (pow (+ 1.0 (/ 1 x)) 2) in (x) around 0 0.439 * [taylor]: Taking taylor expansion of (pow (+ 1.0 (/ 1 x)) 2) in x 0.439 * [taylor]: Taking taylor expansion of (+ 1.0 (/ 1 x)) in x 0.439 * [taylor]: Taking taylor expansion of 1.0 in x 0.439 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.439 * [taylor]: Taking taylor expansion of x in x 0.440 * [taylor]: Taking taylor expansion of (pow (+ 1.0 (/ 1 x)) 2) in x 0.440 * [taylor]: Taking taylor expansion of (+ 1.0 (/ 1 x)) in x 0.440 * [taylor]: Taking taylor expansion of 1.0 in x 0.440 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.440 * [taylor]: Taking taylor expansion of x in x 0.444 * [approximate]: Taking taylor expansion of (pow (- 1.0 (/ 1 x)) 2) in (x) around 0 0.445 * [taylor]: Taking taylor expansion of (pow (- 1.0 (/ 1 x)) 2) in x 0.445 * [taylor]: Taking taylor expansion of (- 1.0 (/ 1 x)) in x 0.445 * [taylor]: Taking taylor expansion of 1.0 in x 0.445 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.445 * [taylor]: Taking taylor expansion of x in x 0.445 * [taylor]: Taking taylor expansion of (pow (- 1.0 (/ 1 x)) 2) in x 0.445 * [taylor]: Taking taylor expansion of (- 1.0 (/ 1 x)) in x 0.445 * [taylor]: Taking taylor expansion of 1.0 in x 0.445 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.445 * [taylor]: Taking taylor expansion of x in x 0.451 * * * [progress]: simplifying candidates 0.452 * [simplify]: Simplifying using # : (- 1.0) (- 1.0) (- (pow (* (+ x 1.0) (+ x 1.0)) 3) (pow 1.0 3)) (+ (* (* (+ x 1.0) (+ x 1.0)) (* (+ x 1.0) (+ x 1.0))) (+ (* 1.0 1.0) (* (* (+ x 1.0) (+ x 1.0)) 1.0))) (- 1.0) (- (* (* (+ x 1.0) (+ x 1.0)) (* (+ x 1.0) (+ x 1.0))) (* 1.0 1.0)) (+ (* (+ x 1.0) (+ x 1.0)) 1.0) (- (* (+ x 1.0) 1.0) 1.0) (- (* (+ x 1.0) x) 1.0) (- (* 1.0 (+ x 1.0)) 1.0) (- (* x (+ x 1.0)) 1.0) (- 1.0) (* (+ (pow x 3) (pow 1.0 3)) (+ (pow x 3) (pow 1.0 3))) (* (+ (* x x) (- (* 1.0 1.0) (* x 1.0))) (+ (* x x) (- (* 1.0 1.0) (* x 1.0)))) (* (+ (pow x 3) (pow 1.0 3)) (- (* x x) (* 1.0 1.0))) (* (+ (* x x) (- (* 1.0 1.0) (* x 1.0))) (- x 1.0)) (* (- (* x x) (* 1.0 1.0)) (+ (pow x 3) (pow 1.0 3))) (* (- x 1.0) (+ (* x x) (- (* 1.0 1.0) (* x 1.0)))) (* (- (* x x) (* 1.0 1.0)) (- (* x x) (* 1.0 1.0))) (* (- x 1.0) (- x 1.0)) (* (+ x 1.0) x) (* (+ x 1.0) 1.0) (* (+ x 1.0) 1.0) (* (+ x 1.0) x) (* x (+ x 1.0)) (* 1.0 (+ x 1.0)) (* 1.0 (+ x 1.0)) (* x (+ x 1.0)) (* (+ x 1.0) (+ (pow x 3) (pow 1.0 3))) (* (+ x 1.0) (- (* x x) (* 1.0 1.0))) (* (+ (pow x 3) (pow 1.0 3)) (+ x 1.0)) (* (- (* x x) (* 1.0 1.0)) (+ x 1.0)) (+ (pow x 2) (* 2.0 x)) (+ (pow x 2) (* 2.0 x)) (+ (pow x 2) (* 2.0 x)) (+ (pow x 2) (+ (* 2.0 x) 1.0)) (+ (pow x 2) (+ (* 2.0 x) 1.0)) (+ (pow x 2) (+ (* 2.0 x) 1.0)) 0.455 * * [simplify]: iteration 0 : 164 enodes (cost 155 ) 0.459 * * [simplify]: iteration 1 : 602 enodes (cost 147 ) 0.471 * * [simplify]: iteration 2 : 3019 enodes (cost 141 ) 0.521 * * [simplify]: iteration 3 : 5001 enodes (cost 140 ) 0.523 * [simplify]: Simplified to: (- 1.0) (- 1.0) (fma (- 1.0) (* 1.0 1.0) (pow (+ x 1.0) 6)) (fma (+ x 1.0) (pow (+ x 1.0) 3) (* 1.0 (fma (+ x 1.0) (+ x 1.0) 1.0))) (- 1.0) (fma (+ x 1.0) (pow (+ x 1.0) 3) (- (* 1.0 1.0))) (fma (+ x 1.0) (+ x 1.0) 1.0) (- (* 1.0 (+ x 1.0)) 1.0) (- (* x (+ x 1.0)) 1.0) (- (* 1.0 (+ x 1.0)) 1.0) (- (* x (+ x 1.0)) 1.0) (- 1.0) (* (+ (pow x 3) (pow 1.0 3)) (+ (pow x 3) (pow 1.0 3))) (* (+ (* x x) (- (* 1.0 1.0) (* x 1.0))) (+ (* x x) (- (* 1.0 1.0) (* x 1.0)))) (* (- (* x x) (* 1.0 1.0)) (+ (pow x 3) (pow 1.0 3))) (* (fma 1.0 (- 1.0 x) (pow x 2)) (+ x (- 1.0))) (* (- (* x x) (* 1.0 1.0)) (+ (pow x 3) (pow 1.0 3))) (* (fma 1.0 (- 1.0 x) (pow x 2)) (+ x (- 1.0))) (* (- (* x x) (* 1.0 1.0)) (- (* x x) (* 1.0 1.0))) (* (- x 1.0) (- x 1.0)) (* x (+ x 1.0)) (* 1.0 (+ x 1.0)) (* 1.0 (+ x 1.0)) (* x (+ x 1.0)) (* x (+ x 1.0)) (* 1.0 (+ x 1.0)) (* 1.0 (+ x 1.0)) (* x (+ x 1.0)) (* (+ x 1.0) (+ (pow x 3) (pow 1.0 3))) (* (- (* x x) (* 1.0 1.0)) (+ x 1.0)) (* (+ x 1.0) (+ (pow x 3) (pow 1.0 3))) (* (- (* x x) (* 1.0 1.0)) (+ x 1.0)) (fma x 2.0 (pow x 2)) (fma x 2.0 (pow x 2)) (fma x 2.0 (pow x 2)) (fma x x (fma 2.0 x 1.0)) (fma x x (fma 2.0 x 1.0)) (fma x x (fma 2.0 x 1.0)) 0.523 * * * [progress]: adding candidates to table 0.567 * * [progress]: iteration 2 / 4 0.567 * * * [progress]: picking best candidate 0.568 * * * * [pick]: Picked # 0.568 * * * [progress]: localizing error 0.572 * * * [progress]: generating rewritten candidates 0.572 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.573 * * * [progress]: generating series expansions 0.573 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.573 * [approximate]: Taking taylor expansion of (fma x 2.0 (pow x 2)) in (x) around 0 0.573 * [taylor]: Taking taylor expansion of (fma x 2.0 (pow x 2)) in x 0.575 * [taylor]: Rewrote expression to (+ (* x 2.0) (pow x 2)) 0.575 * [taylor]: Taking taylor expansion of (* x 2.0) in x 0.575 * [taylor]: Taking taylor expansion of x in x 0.575 * [taylor]: Taking taylor expansion of 2.0 in x 0.575 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.575 * [taylor]: Taking taylor expansion of x in x 0.575 * [taylor]: Taking taylor expansion of (fma x 2.0 (pow x 2)) in x 0.575 * [taylor]: Rewrote expression to (+ (* x 2.0) (pow x 2)) 0.575 * [taylor]: Taking taylor expansion of (* x 2.0) in x 0.575 * [taylor]: Taking taylor expansion of x in x 0.575 * [taylor]: Taking taylor expansion of 2.0 in x 0.575 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.575 * [taylor]: Taking taylor expansion of x in x 0.587 * [approximate]: Taking taylor expansion of (fma (/ 1 x) 2.0 (pow (/ 1 x) 2)) in (x) around 0 0.587 * [taylor]: Taking taylor expansion of (fma (/ 1 x) 2.0 (pow (/ 1 x) 2)) in x 0.587 * [taylor]: Rewrote expression to (+ (* (/ 1 x) 2.0) (pow (/ 1 x) 2)) 0.587 * [taylor]: Taking taylor expansion of (* (/ 1 x) 2.0) in x 0.587 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.587 * [taylor]: Taking taylor expansion of x in x 0.587 * [taylor]: Taking taylor expansion of 2.0 in x 0.587 * [taylor]: Taking taylor expansion of (pow (/ 1 x) 2) in x 0.587 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.587 * [taylor]: Taking taylor expansion of x in x 0.588 * [taylor]: Taking taylor expansion of (fma (/ 1 x) 2.0 (pow (/ 1 x) 2)) in x 0.588 * [taylor]: Rewrote expression to (+ (* (/ 1 x) 2.0) (pow (/ 1 x) 2)) 0.588 * [taylor]: Taking taylor expansion of (* (/ 1 x) 2.0) in x 0.588 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.588 * [taylor]: Taking taylor expansion of x in x 0.588 * [taylor]: Taking taylor expansion of 2.0 in x 0.588 * [taylor]: Taking taylor expansion of (pow (/ 1 x) 2) in x 0.588 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.588 * [taylor]: Taking taylor expansion of x in x 0.604 * [approximate]: Taking taylor expansion of (fma (/ -1 x) 2.0 (pow (/ -1 x) 2)) in (x) around 0 0.605 * [taylor]: Taking taylor expansion of (fma (/ -1 x) 2.0 (pow (/ -1 x) 2)) in x 0.605 * [taylor]: Rewrote expression to (+ (* (/ -1 x) 2.0) (pow (/ -1 x) 2)) 0.605 * [taylor]: Taking taylor expansion of (* (/ -1 x) 2.0) in x 0.605 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.605 * [taylor]: Taking taylor expansion of -1 in x 0.605 * [taylor]: Taking taylor expansion of x in x 0.605 * [taylor]: Taking taylor expansion of 2.0 in x 0.605 * [taylor]: Taking taylor expansion of (pow (/ -1 x) 2) in x 0.605 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.605 * [taylor]: Taking taylor expansion of -1 in x 0.605 * [taylor]: Taking taylor expansion of x in x 0.606 * [taylor]: Taking taylor expansion of (fma (/ -1 x) 2.0 (pow (/ -1 x) 2)) in x 0.606 * [taylor]: Rewrote expression to (+ (* (/ -1 x) 2.0) (pow (/ -1 x) 2)) 0.606 * [taylor]: Taking taylor expansion of (* (/ -1 x) 2.0) in x 0.606 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.606 * [taylor]: Taking taylor expansion of -1 in x 0.606 * [taylor]: Taking taylor expansion of x in x 0.606 * [taylor]: Taking taylor expansion of 2.0 in x 0.606 * [taylor]: Taking taylor expansion of (pow (/ -1 x) 2) in x 0.606 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.606 * [taylor]: Taking taylor expansion of -1 in x 0.606 * [taylor]: Taking taylor expansion of x in x 0.627 * * * [progress]: simplifying candidates 0.627 * [simplify]: Simplifying using # : (* x 2.0) (+ (pow x 2) (* 2.0 x)) (+ (pow x 2) (* 2.0 x)) (+ (pow x 2) (* 2.0 x)) 0.629 * * [simplify]: iteration 0 : 12 enodes (cost 10 ) 0.630 * * [simplify]: iteration 1 : 30 enodes (cost 7 ) 0.632 * * [simplify]: iteration 2 : 85 enodes (cost 7 ) 0.634 * * [simplify]: iteration 3 : 190 enodes (cost 7 ) 0.639 * * [simplify]: iteration 4 : 571 enodes (cost 7 ) 0.665 * * [simplify]: iteration 5 : 3025 enodes (cost 7 ) 0.775 * * [simplify]: iteration 6 : 5001 enodes (cost 7 ) 0.776 * [simplify]: Simplified to: (* x 2.0) (fma 2.0 x (pow x 2)) (fma 2.0 x (pow x 2)) (fma 2.0 x (pow x 2)) 0.776 * * * [progress]: adding candidates to table 0.781 * [progress]: [Phase 3 of 3] Extracting. 0.781 * * [regime]: Finding splitpoints for: (# #) 0.781 * * * [regime-changes]: Trying 4 branch expressions: ((+ x 1.0) (* (+ x 1.0) (+ x 1.0)) (- (* (+ x 1.0) (+ x 1.0)) 1.0) x) 0.782 * * * * [regimes]: Trying to branch on (+ x 1.0) from (# #) 0.791 * * * * [regimes]: Trying to branch on (* (+ x 1.0) (+ x 1.0)) from (# #) 0.799 * * * * [regimes]: Trying to branch on (- (* (+ x 1.0) (+ x 1.0)) 1.0) from (# #) 0.807 * * * * [regimes]: Trying to branch on x from (# #) 0.819 * * * [regime]: Found split indices: #