8.660 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.027 * * * [progress]: [2/2] Setting up program. 0.030 * [progress]: [Phase 2 of 3] Improving. 0.030 * [simplify]: Simplifying using # : (- (/ x x) (* (/ 1.0 x) (sqrt (* x x)))) 0.033 * * [simplify]: iteration 0 : 15 enodes (cost 5 ) 0.035 * * [simplify]: iteration 1 : 30 enodes (cost 5 ) 0.038 * * [simplify]: iteration 2 : 43 enodes (cost 4 ) 0.040 * * [simplify]: iteration 3 : 50 enodes (cost 4 ) 0.042 * * [simplify]: iteration 4 : 56 enodes (cost 4 ) 0.044 * * [simplify]: iteration 5 : 62 enodes (cost 4 ) 0.046 * * [simplify]: iteration 6 : 64 enodes (cost 4 ) 0.048 * * [simplify]: iteration 7 : 64 enodes (cost 4 ) 0.048 * [simplify]: Simplified to: (fma (- (/ 1.0 x)) (fabs x) 1) 0.052 * * [progress]: iteration 1 / 4 0.052 * * * [progress]: picking best candidate 0.056 * * * * [pick]: Picked # 0.056 * * * [progress]: localizing error 0.065 * * * [progress]: generating rewritten candidates 0.065 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.066 * * * [progress]: generating series expansions 0.066 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.066 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in (x) around 0 0.067 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.067 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.067 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.067 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.067 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.067 * [taylor]: Taking taylor expansion of 1.0 in x 0.067 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.067 * [taylor]: Taking taylor expansion of x in x 0.067 * [taylor]: Taking taylor expansion of (fabs x) in x 0.068 * [taylor]: Taking taylor expansion of 1 in x 0.068 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.068 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.068 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.068 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.068 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.068 * [taylor]: Taking taylor expansion of 1.0 in x 0.068 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.068 * [taylor]: Taking taylor expansion of x in x 0.068 * [taylor]: Taking taylor expansion of (fabs x) in x 0.068 * [taylor]: Taking taylor expansion of 1 in x 0.096 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in (x) around 0 0.096 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.096 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.096 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.096 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.096 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.096 * [taylor]: Taking taylor expansion of 1.0 in x 0.096 * [taylor]: Taking taylor expansion of x in x 0.096 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.096 * [taylor]: Taking taylor expansion of 1 in x 0.096 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.096 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.096 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.096 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.096 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.096 * [taylor]: Taking taylor expansion of 1.0 in x 0.096 * [taylor]: Taking taylor expansion of x in x 0.096 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.096 * [taylor]: Taking taylor expansion of 1 in x 0.119 * [approximate]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in (x) around 0 0.119 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.120 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.120 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.120 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.120 * [taylor]: Taking taylor expansion of 1.0 in x 0.120 * [taylor]: Taking taylor expansion of x in x 0.120 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.120 * [taylor]: Taking taylor expansion of 1 in x 0.120 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.120 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.120 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.120 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.120 * [taylor]: Taking taylor expansion of 1.0 in x 0.120 * [taylor]: Taking taylor expansion of x in x 0.120 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.120 * [taylor]: Taking taylor expansion of 1 in x 0.134 * * * [progress]: simplifying candidates 0.135 * [simplify]: Simplifying using # : (expm1 (fma (- (/ 1.0 x)) (fabs x) 1)) (log1p (fma (- (/ 1.0 x)) (fabs x) 1)) (* (- (/ 1.0 x)) (fabs x)) (log (fma (- (/ 1.0 x)) (fabs x) 1)) (exp (fma (- (/ 1.0 x)) (fabs x) 1)) (* (cbrt (fma (- (/ 1.0 x)) (fabs x) 1)) (cbrt (fma (- (/ 1.0 x)) (fabs x) 1))) (cbrt (fma (- (/ 1.0 x)) (fabs x) 1)) (* (* (fma (- (/ 1.0 x)) (fabs x) 1) (fma (- (/ 1.0 x)) (fabs x) 1)) (fma (- (/ 1.0 x)) (fabs x) 1)) (sqrt (fma (- (/ 1.0 x)) (fabs x) 1)) (sqrt (fma (- (/ 1.0 x)) (fabs x) 1)) (- 1 (* 1.0 (/ (fabs x) x))) (- 1 (* 1.0 (/ (fabs x) x))) (- 1 (* 1.0 (/ (fabs x) x))) 0.138 * * [simplify]: iteration 0 : 34 enodes (cost 76 ) 0.139 * * [simplify]: iteration 1 : 73 enodes (cost 67 ) 0.142 * * [simplify]: iteration 2 : 263 enodes (cost 67 ) 0.148 * * [simplify]: iteration 3 : 1366 enodes (cost 67 ) 0.191 * * [simplify]: iteration 4 : 5001 enodes (cost 67 ) 0.191 * [simplify]: Simplified to: (expm1 (fma (- (/ 1.0 x)) (fabs x) 1)) (log1p (fma (- (/ 1.0 x)) (fabs x) 1)) (* (- (/ 1.0 x)) (fabs x)) (log (fma (- (/ 1.0 x)) (fabs x) 1)) (exp (fma (- (/ 1.0 x)) (fabs x) 1)) (* (cbrt (fma (- (/ 1.0 x)) (fabs x) 1)) (cbrt (fma (- (/ 1.0 x)) (fabs x) 1))) (cbrt (fma (- (/ 1.0 x)) (fabs x) 1)) (pow (fma (- (/ 1.0 x)) (fabs x) 1) 3) (sqrt (fma (- (/ 1.0 x)) (fabs x) 1)) (sqrt (fma (- (/ 1.0 x)) (fabs x) 1)) (fma (- (/ 1.0 x)) (fabs x) 1) (fma (- (/ 1.0 x)) (fabs x) 1) (fma (- (/ 1.0 x)) (fabs x) 1) 0.192 * * * [progress]: adding candidates to table 0.221 * * [progress]: iteration 2 / 4 0.222 * * * [progress]: picking best candidate 0.226 * * * * [pick]: Picked # 0.226 * * * [progress]: localizing error 0.236 * * * [progress]: generating rewritten candidates 0.236 * * * * [progress]: [ 1 / 2 ] rewriting at (2 1 1) 0.237 * * * * [progress]: [ 2 / 2 ] rewriting at (2) 0.240 * * * [progress]: generating series expansions 0.240 * * * * [progress]: [ 1 / 2 ] generating series at (2 1 1) 0.240 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in (x) around 0 0.240 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.240 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.240 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.240 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.240 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.240 * [taylor]: Taking taylor expansion of 1.0 in x 0.240 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.240 * [taylor]: Taking taylor expansion of x in x 0.241 * [taylor]: Taking taylor expansion of (fabs x) in x 0.241 * [taylor]: Taking taylor expansion of 1 in x 0.241 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.241 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.241 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.241 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.241 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.241 * [taylor]: Taking taylor expansion of 1.0 in x 0.241 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.241 * [taylor]: Taking taylor expansion of x in x 0.242 * [taylor]: Taking taylor expansion of (fabs x) in x 0.242 * [taylor]: Taking taylor expansion of 1 in x 0.268 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in (x) around 0 0.268 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.268 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.268 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.268 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.268 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.268 * [taylor]: Taking taylor expansion of 1.0 in x 0.268 * [taylor]: Taking taylor expansion of x in x 0.268 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.268 * [taylor]: Taking taylor expansion of 1 in x 0.268 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.268 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.268 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.268 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.268 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.268 * [taylor]: Taking taylor expansion of 1.0 in x 0.268 * [taylor]: Taking taylor expansion of x in x 0.268 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.268 * [taylor]: Taking taylor expansion of 1 in x 0.295 * [approximate]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in (x) around 0 0.295 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.295 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.295 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.295 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.295 * [taylor]: Taking taylor expansion of 1.0 in x 0.295 * [taylor]: Taking taylor expansion of x in x 0.295 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.295 * [taylor]: Taking taylor expansion of 1 in x 0.295 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.295 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.295 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.295 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.295 * [taylor]: Taking taylor expansion of 1.0 in x 0.295 * [taylor]: Taking taylor expansion of x in x 0.295 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.295 * [taylor]: Taking taylor expansion of 1 in x 0.310 * * * * [progress]: [ 2 / 2 ] generating series at (2) 0.310 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in (x) around 0 0.310 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.310 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.310 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.310 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.310 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.310 * [taylor]: Taking taylor expansion of 1.0 in x 0.310 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.310 * [taylor]: Taking taylor expansion of x in x 0.310 * [taylor]: Taking taylor expansion of (fabs x) in x 0.310 * [taylor]: Taking taylor expansion of 1 in x 0.311 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.311 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.311 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.311 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.311 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.311 * [taylor]: Taking taylor expansion of 1.0 in x 0.311 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.311 * [taylor]: Taking taylor expansion of x in x 0.311 * [taylor]: Taking taylor expansion of (fabs x) in x 0.311 * [taylor]: Taking taylor expansion of 1 in x 0.336 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in (x) around 0 0.337 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.337 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.337 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.337 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.337 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.337 * [taylor]: Taking taylor expansion of 1.0 in x 0.337 * [taylor]: Taking taylor expansion of x in x 0.337 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.337 * [taylor]: Taking taylor expansion of 1 in x 0.337 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.337 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.337 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.337 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.337 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.337 * [taylor]: Taking taylor expansion of 1.0 in x 0.337 * [taylor]: Taking taylor expansion of x in x 0.337 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.337 * [taylor]: Taking taylor expansion of 1 in x 0.361 * [approximate]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in (x) around 0 0.361 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.361 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.361 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.361 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.361 * [taylor]: Taking taylor expansion of 1.0 in x 0.361 * [taylor]: Taking taylor expansion of x in x 0.361 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.361 * [taylor]: Taking taylor expansion of 1 in x 0.362 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.362 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.362 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.362 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.362 * [taylor]: Taking taylor expansion of 1.0 in x 0.362 * [taylor]: Taking taylor expansion of x in x 0.362 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.362 * [taylor]: Taking taylor expansion of 1 in x 0.379 * * * [progress]: simplifying candidates 0.380 * [simplify]: Simplifying using # : (expm1 (fma (- (/ 1.0 x)) (fabs x) 1)) (log1p (fma (- (/ 1.0 x)) (fabs x) 1)) (* (- (/ 1.0 x)) (fabs x)) (log (fma (- (/ 1.0 x)) (fabs x) 1)) (exp (fma (- (/ 1.0 x)) (fabs x) 1)) (* (cbrt (fma (- (/ 1.0 x)) (fabs x) 1)) (cbrt (fma (- (/ 1.0 x)) (fabs x) 1))) (cbrt (fma (- (/ 1.0 x)) (fabs x) 1)) (* (* (fma (- (/ 1.0 x)) (fabs x) 1) (fma (- (/ 1.0 x)) (fabs x) 1)) (fma (- (/ 1.0 x)) (fabs x) 1)) (sqrt (fma (- (/ 1.0 x)) (fabs x) 1)) (sqrt (fma (- (/ 1.0 x)) (fabs x) 1)) (expm1 (log (exp (fma (- (/ 1.0 x)) (fabs x) 1)))) (log1p (log (exp (fma (- (/ 1.0 x)) (fabs x) 1)))) (log (exp (* (- (/ 1.0 x)) (fabs x)))) (log (exp 1)) (log (* (cbrt (exp (fma (- (/ 1.0 x)) (fabs x) 1))) (cbrt (exp (fma (- (/ 1.0 x)) (fabs x) 1))))) (log (cbrt (exp (fma (- (/ 1.0 x)) (fabs x) 1)))) (log (sqrt (exp (fma (- (/ 1.0 x)) (fabs x) 1)))) (log (sqrt (exp (fma (- (/ 1.0 x)) (fabs x) 1)))) (log 1) (log (exp (fma (- (/ 1.0 x)) (fabs x) 1))) (log (exp (fma (- (/ 1.0 x)) (fabs x) 1))) (log (exp (* (cbrt (fma (- (/ 1.0 x)) (fabs x) 1)) (cbrt (fma (- (/ 1.0 x)) (fabs x) 1))))) (log (exp (sqrt (fma (- (/ 1.0 x)) (fabs x) 1)))) (log (exp 1)) (log (log (exp (fma (- (/ 1.0 x)) (fabs x) 1)))) (exp (log (exp (fma (- (/ 1.0 x)) (fabs x) 1)))) (* (cbrt (log (exp (fma (- (/ 1.0 x)) (fabs x) 1)))) (cbrt (log (exp (fma (- (/ 1.0 x)) (fabs x) 1))))) (cbrt (log (exp (fma (- (/ 1.0 x)) (fabs x) 1)))) (* (* (log (exp (fma (- (/ 1.0 x)) (fabs x) 1))) (log (exp (fma (- (/ 1.0 x)) (fabs x) 1)))) (log (exp (fma (- (/ 1.0 x)) (fabs x) 1)))) (sqrt (log (exp (fma (- (/ 1.0 x)) (fabs x) 1)))) (sqrt (log (exp (fma (- (/ 1.0 x)) (fabs x) 1)))) (- 1 (* 1.0 (/ (fabs x) x))) (- 1 (* 1.0 (/ (fabs x) x))) (- 1 (* 1.0 (/ (fabs x) x))) (- 1 (* 1.0 (/ (fabs x) x))) (- 1 (* 1.0 (/ (fabs x) x))) (- 1 (* 1.0 (/ (fabs x) x))) 0.383 * * [simplify]: iteration 0 : 66 enodes (cost 212 ) 0.385 * * [simplify]: iteration 1 : 127 enodes (cost 187 ) 0.388 * * [simplify]: iteration 2 : 365 enodes (cost 187 ) 0.396 * * [simplify]: iteration 3 : 1673 enodes (cost 187 ) 0.446 * * [simplify]: iteration 4 : 5003 enodes (cost 187 ) 0.448 * [simplify]: Simplified to: (expm1 (fma (- (/ 1.0 x)) (fabs x) 1)) (log1p (fma (- (/ 1.0 x)) (fabs x) 1)) (* (- (/ 1.0 x)) (fabs x)) (log (fma (- (/ 1.0 x)) (fabs x) 1)) (exp (fma (- (/ 1.0 x)) (fabs x) 1)) (* (cbrt (fma (- (/ 1.0 x)) (fabs x) 1)) (cbrt (fma (- (/ 1.0 x)) (fabs x) 1))) (cbrt (fma (- (/ 1.0 x)) (fabs x) 1)) (pow (fma (- (/ 1.0 x)) (fabs x) 1) 3) (sqrt (fma (- (/ 1.0 x)) (fabs x) 1)) (sqrt (fma (- (/ 1.0 x)) (fabs x) 1)) (expm1 (fma (- (/ 1.0 x)) (fabs x) 1)) (log1p (fma (- (/ 1.0 x)) (fabs x) 1)) (* (- (/ 1.0 x)) (fabs x)) 1 (* 2 (log (cbrt (exp (fma (- (/ 1.0 x)) (fabs x) 1))))) (log (cbrt (exp (fma (- (/ 1.0 x)) (fabs x) 1)))) (log (sqrt (exp (fma (- (/ 1.0 x)) (fabs x) 1)))) (log (sqrt (exp (fma (- (/ 1.0 x)) (fabs x) 1)))) 0 (fma (- (/ 1.0 x)) (fabs x) 1) (fma (- (/ 1.0 x)) (fabs x) 1) (* (cbrt (fma (- (/ 1.0 x)) (fabs x) 1)) (cbrt (fma (- (/ 1.0 x)) (fabs x) 1))) (sqrt (fma (- (/ 1.0 x)) (fabs x) 1)) 1 (log (fma (- (/ 1.0 x)) (fabs x) 1)) (exp (fma (- (/ 1.0 x)) (fabs x) 1)) (* (cbrt (fma (- (/ 1.0 x)) (fabs x) 1)) (cbrt (fma (- (/ 1.0 x)) (fabs x) 1))) (cbrt (fma (- (/ 1.0 x)) (fabs x) 1)) (pow (fma (- (/ 1.0 x)) (fabs x) 1) 3) (sqrt (fma (- (/ 1.0 x)) (fabs x) 1)) (sqrt (fma (- (/ 1.0 x)) (fabs x) 1)) (fma (- (/ 1.0 x)) (fabs x) 1) (fma (- (/ 1.0 x)) (fabs x) 1) (fma (- (/ 1.0 x)) (fabs x) 1) (fma (- (/ 1.0 x)) (fabs x) 1) (fma (- (/ 1.0 x)) (fabs x) 1) (fma (- (/ 1.0 x)) (fabs x) 1) 0.448 * * * [progress]: adding candidates to table 0.514 * * [progress]: iteration 3 / 4 0.514 * * * [progress]: picking best candidate 0.516 * * * * [pick]: Picked # 0.516 * * * [progress]: localizing error 0.522 * * * [progress]: generating rewritten candidates 0.522 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 0.529 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1) 0.539 * * * [progress]: generating series expansions 0.539 * * * * [progress]: [ 1 / 2 ] generating series at (2) 0.539 * [approximate]: Taking taylor expansion of (- 1 (* 1.0 (/ (fabs x) x))) in (x) around 0 0.539 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (/ (fabs x) x))) in x 0.539 * [taylor]: Taking taylor expansion of 1 in x 0.539 * [taylor]: Taking taylor expansion of (* 1.0 (/ (fabs x) x)) in x 0.539 * [taylor]: Taking taylor expansion of 1.0 in x 0.539 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.539 * [taylor]: Taking taylor expansion of (fabs x) in x 0.539 * [taylor]: Taking taylor expansion of x in x 0.539 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (/ (fabs x) x))) in x 0.539 * [taylor]: Taking taylor expansion of 1 in x 0.539 * [taylor]: Taking taylor expansion of (* 1.0 (/ (fabs x) x)) in x 0.539 * [taylor]: Taking taylor expansion of 1.0 in x 0.539 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.540 * [taylor]: Taking taylor expansion of (fabs x) in x 0.540 * [taylor]: Taking taylor expansion of x in x 0.560 * [approximate]: Taking taylor expansion of (- 1 (* 1.0 (* (fabs (/ 1 x)) x))) in (x) around 0 0.561 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (* (fabs (/ 1 x)) x))) in x 0.561 * [taylor]: Taking taylor expansion of 1 in x 0.561 * [taylor]: Taking taylor expansion of (* 1.0 (* (fabs (/ 1 x)) x)) in x 0.561 * [taylor]: Taking taylor expansion of 1.0 in x 0.561 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.561 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.561 * [taylor]: Taking taylor expansion of x in x 0.561 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (* (fabs (/ 1 x)) x))) in x 0.561 * [taylor]: Taking taylor expansion of 1 in x 0.561 * [taylor]: Taking taylor expansion of (* 1.0 (* (fabs (/ 1 x)) x)) in x 0.561 * [taylor]: Taking taylor expansion of 1.0 in x 0.561 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.561 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.561 * [taylor]: Taking taylor expansion of x in x 0.576 * [approximate]: Taking taylor expansion of (+ (* 1.0 (* x (fabs (/ -1 x)))) 1) in (x) around 0 0.576 * [taylor]: Taking taylor expansion of (+ (* 1.0 (* x (fabs (/ -1 x)))) 1) in x 0.576 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.576 * [taylor]: Taking taylor expansion of 1.0 in x 0.576 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.576 * [taylor]: Taking taylor expansion of x in x 0.576 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.576 * [taylor]: Taking taylor expansion of 1 in x 0.576 * [taylor]: Taking taylor expansion of (+ (* 1.0 (* x (fabs (/ -1 x)))) 1) in x 0.576 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.576 * [taylor]: Taking taylor expansion of 1.0 in x 0.576 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.576 * [taylor]: Taking taylor expansion of x in x 0.576 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.576 * [taylor]: Taking taylor expansion of 1 in x 0.595 * * * * [progress]: [ 2 / 2 ] generating series at (2 1) 0.596 * [approximate]: Taking taylor expansion of (* -1.0 (/ (fabs x) x)) in (x) around 0 0.596 * [taylor]: Taking taylor expansion of (* -1.0 (/ (fabs x) x)) in x 0.596 * [taylor]: Taking taylor expansion of -1.0 in x 0.596 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.596 * [taylor]: Taking taylor expansion of (fabs x) in x 0.596 * [taylor]: Taking taylor expansion of x in x 0.596 * [taylor]: Taking taylor expansion of (* -1.0 (/ (fabs x) x)) in x 0.596 * [taylor]: Taking taylor expansion of -1.0 in x 0.596 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.596 * [taylor]: Taking taylor expansion of (fabs x) in x 0.596 * [taylor]: Taking taylor expansion of x in x 0.609 * [approximate]: Taking taylor expansion of (* -1.0 (* (fabs (/ 1 x)) x)) in (x) around 0 0.609 * [taylor]: Taking taylor expansion of (* -1.0 (* (fabs (/ 1 x)) x)) in x 0.609 * [taylor]: Taking taylor expansion of -1.0 in x 0.609 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.609 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.609 * [taylor]: Taking taylor expansion of x in x 0.609 * [taylor]: Taking taylor expansion of (* -1.0 (* (fabs (/ 1 x)) x)) in x 0.609 * [taylor]: Taking taylor expansion of -1.0 in x 0.609 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.610 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.610 * [taylor]: Taking taylor expansion of x in x 0.621 * [approximate]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in (x) around 0 0.621 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.621 * [taylor]: Taking taylor expansion of 1.0 in x 0.621 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.621 * [taylor]: Taking taylor expansion of x in x 0.621 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.621 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.621 * [taylor]: Taking taylor expansion of 1.0 in x 0.621 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.621 * [taylor]: Taking taylor expansion of x in x 0.621 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.636 * * * [progress]: simplifying candidates 0.637 * [simplify]: Simplifying using # : (expm1 (+ (* (- (/ 1.0 x)) (fabs x)) 1)) (log1p (+ (* (- (/ 1.0 x)) (fabs x)) 1)) (* (exp (* (- (/ 1.0 x)) (fabs x))) (exp 1)) (log (+ (* (- (/ 1.0 x)) (fabs x)) 1)) (exp (+ (* (- (/ 1.0 x)) (fabs x)) 1)) (* (cbrt (+ (* (- (/ 1.0 x)) (fabs x)) 1)) (cbrt (+ (* (- (/ 1.0 x)) (fabs x)) 1))) (cbrt (+ (* (- (/ 1.0 x)) (fabs x)) 1)) (* (* (+ (* (- (/ 1.0 x)) (fabs x)) 1) (+ (* (- (/ 1.0 x)) (fabs x)) 1)) (+ (* (- (/ 1.0 x)) (fabs x)) 1)) (sqrt (+ (* (- (/ 1.0 x)) (fabs x)) 1)) (sqrt (+ (* (- (/ 1.0 x)) (fabs x)) 1)) (+ (pow (* (- (/ 1.0 x)) (fabs x)) 3) (pow 1 3)) (+ (* (* (- (/ 1.0 x)) (fabs x)) (* (- (/ 1.0 x)) (fabs x))) (- (* 1 1) (* (* (- (/ 1.0 x)) (fabs x)) 1))) (- (* (* (- (/ 1.0 x)) (fabs x)) (* (- (/ 1.0 x)) (fabs x))) (* 1 1)) (- (* (- (/ 1.0 x)) (fabs x)) 1) (expm1 (* (- (/ 1.0 x)) (fabs x))) (log1p (* (- (/ 1.0 x)) (fabs x))) (* (- (/ 1.0 x)) (fabs x)) (+ (log (- (/ 1.0 x))) (log (fabs x))) (log (* (- (/ 1.0 x)) (fabs x))) (exp (* (- (/ 1.0 x)) (fabs x))) (* (* (* (- (/ 1.0 x)) (- (/ 1.0 x))) (- (/ 1.0 x))) (* (* (fabs x) (fabs x)) (fabs x))) (* (cbrt (* (- (/ 1.0 x)) (fabs x))) (cbrt (* (- (/ 1.0 x)) (fabs x)))) (cbrt (* (- (/ 1.0 x)) (fabs x))) (* (* (* (- (/ 1.0 x)) (fabs x)) (* (- (/ 1.0 x)) (fabs x))) (* (- (/ 1.0 x)) (fabs x))) (sqrt (* (- (/ 1.0 x)) (fabs x))) (sqrt (* (- (/ 1.0 x)) (fabs x))) (* (sqrt (- (/ 1.0 x))) (sqrt (fabs x))) (* (sqrt (- (/ 1.0 x))) (sqrt (fabs x))) (* (/ 1.0 x) (fabs x)) (* (- (/ 1.0 x)) (* (cbrt (fabs x)) (cbrt (fabs x)))) (* (- (/ 1.0 x)) (sqrt (fabs x))) (* (- (/ 1.0 x)) 1) (* (cbrt (- (/ 1.0 x))) (fabs x)) (* (sqrt (- (/ 1.0 x))) (fabs x)) (* (- (/ 1.0 x)) (fabs x)) (* (/ 1.0 x) (fabs x)) (* (cbrt (/ 1.0 x)) (fabs x)) (* (sqrt (/ 1.0 x)) (fabs x)) (* (/ (cbrt 1.0) (cbrt x)) (fabs x)) (* (/ (cbrt 1.0) (sqrt x)) (fabs x)) (* (/ (cbrt 1.0) x) (fabs x)) (* (/ (sqrt 1.0) (cbrt x)) (fabs x)) (* (/ (sqrt 1.0) (sqrt x)) (fabs x)) (* (/ (sqrt 1.0) x) (fabs x)) (* (/ 1.0 (cbrt x)) (fabs x)) (* (/ 1.0 (sqrt x)) (fabs x)) (* (/ 1.0 x) (fabs x)) (* (/ 1.0 x) (fabs x)) (* (/ 1 x) (fabs x)) (* (- (cbrt (/ 1.0 x))) (fabs x)) (* (- (sqrt (/ 1.0 x))) (fabs x)) (* (- (/ (cbrt 1.0) (cbrt x))) (fabs x)) (* (- (/ (cbrt 1.0) (sqrt x))) (fabs x)) (* (- (/ (cbrt 1.0) x)) (fabs x)) (* (- (/ (sqrt 1.0) (cbrt x))) (fabs x)) (* (- (/ (sqrt 1.0) (sqrt x))) (fabs x)) (* (- (/ (sqrt 1.0) x)) (fabs x)) (* (- (/ 1.0 (cbrt x))) (fabs x)) (* (- (/ 1.0 (sqrt x))) (fabs x)) (* (- (/ 1.0 x)) (fabs x)) (* (- (/ 1.0 x)) (fabs x)) (* (- (/ 1 x)) (fabs x)) (* (- 1.0) (fabs x)) (- 1 (* 1.0 (/ (fabs x) x))) (- 1 (* 1.0 (/ (fabs x) x))) (- 1 (* 1.0 (/ (fabs x) x))) (* -1.0 (/ (fabs x) x)) (* -1.0 (/ (fabs x) x)) (* -1.0 (/ (fabs x) x)) 0.642 * * [simplify]: iteration 0 : 275 enodes (cost 372 ) 0.648 * * [simplify]: iteration 1 : 1065 enodes (cost 348 ) 0.671 * * [simplify]: iteration 2 : 4927 enodes (cost 341 ) 0.783 * * [simplify]: iteration 3 : 5001 enodes (cost 341 ) 0.786 * [simplify]: Simplified to: (expm1 (+ (* (- (/ 1.0 x)) (fabs x)) 1)) (log1p (+ (* (- (/ 1.0 x)) (fabs x)) 1)) (pow E (fma (- (/ 1.0 x)) (fabs x) 1)) (log1p (* (- (/ 1.0 x)) (fabs x))) (pow E (fma (- (/ 1.0 x)) (fabs x) 1)) (* (cbrt (+ (* (- (/ 1.0 x)) (fabs x)) 1)) (cbrt (+ (* (- (/ 1.0 x)) (fabs x)) 1))) (cbrt (+ (* (- (/ 1.0 x)) (fabs x)) 1)) (pow (fma (- (/ 1.0 x)) (fabs x) 1) 3) (sqrt (+ (* (- (/ 1.0 x)) (fabs x)) 1)) (sqrt (+ (* (- (/ 1.0 x)) (fabs x)) 1)) (- 1 (pow (* 1.0 (/ (fabs x) x)) 3)) (+ (* (* 1.0 (/ (fabs x) x)) (fma 1.0 (/ (fabs x) x) 1)) 1) (fma (* (/ 1.0 x) (/ 1.0 x)) (* (fabs x) (fabs x)) (- 1)) (- (fma 1.0 (/ (fabs x) x) 1)) (expm1 (* (- (/ 1.0 x)) (fabs x))) (log1p (* (- (/ 1.0 x)) (fabs x))) (* (- (/ 1.0 x)) (fabs x)) (log (* (- (/ 1.0 x)) (fabs x))) (log (* (- (/ 1.0 x)) (fabs x))) (exp (* (- (/ 1.0 x)) (fabs x))) (pow (* (- (/ 1.0 x)) (fabs x)) 3) (* (cbrt (* (- (/ 1.0 x)) (fabs x))) (cbrt (* (- (/ 1.0 x)) (fabs x)))) (cbrt (* (- (/ 1.0 x)) (fabs x))) (pow (* (- (/ 1.0 x)) (fabs x)) 3) (sqrt (* (- (/ 1.0 x)) (fabs x))) (sqrt (* (- (/ 1.0 x)) (fabs x))) (* (sqrt (- (/ 1.0 x))) (sqrt (fabs x))) (* (sqrt (- (/ 1.0 x))) (sqrt (fabs x))) (* 1.0 (/ (fabs x) x)) (* (- (/ 1.0 x)) (* (cbrt (fabs x)) (cbrt (fabs x)))) (* (- (/ 1.0 x)) (sqrt (fabs x))) (- (/ 1.0 x)) (* (cbrt (- (/ 1.0 x))) (fabs x)) (* (sqrt (- (/ 1.0 x))) (fabs x)) (* (- (/ 1.0 x)) (fabs x)) (* 1.0 (/ (fabs x) x)) (* (cbrt (/ 1.0 x)) (fabs x)) (* (sqrt (/ 1.0 x)) (fabs x)) (* (/ (cbrt 1.0) (cbrt x)) (fabs x)) (* (/ (cbrt 1.0) (sqrt x)) (fabs x)) (* (/ (cbrt 1.0) x) (fabs x)) (* (/ (sqrt 1.0) (cbrt x)) (fabs x)) (* (/ (sqrt 1.0) (sqrt x)) (fabs x)) (* (/ (sqrt 1.0) x) (fabs x)) (* (/ 1.0 (cbrt x)) (fabs x)) (* (/ 1.0 (sqrt x)) (fabs x)) (* 1.0 (/ (fabs x) x)) (* 1.0 (/ (fabs x) x)) (/ (fabs x) x) (* (- (cbrt (/ 1.0 x))) (fabs x)) (* (- (sqrt (/ 1.0 x))) (fabs x)) (* (- (/ (cbrt 1.0) (cbrt x))) (fabs x)) (* (- (/ (cbrt 1.0) (sqrt x))) (fabs x)) (* (- (/ (cbrt 1.0) x)) (fabs x)) (* (- (/ (sqrt 1.0) (cbrt x))) (fabs x)) (* (- (/ (sqrt 1.0) (sqrt x))) (fabs x)) (* (- (/ (sqrt 1.0) x)) (fabs x)) (* (- (/ 1.0 (cbrt x))) (fabs x)) (* (- (/ 1.0 (sqrt x))) (fabs x)) (* (- (/ 1.0 x)) (fabs x)) (* (- (/ 1.0 x)) (fabs x)) (/ (- (fabs x)) x) (* (- 1.0) (fabs x)) (fma (- (/ 1.0 x)) (fabs x) 1) (fma (- (/ 1.0 x)) (fabs x) 1) (fma (- (/ 1.0 x)) (fabs x) 1) (* -1.0 (/ (fabs x) x)) (* -1.0 (/ (fabs x) x)) (* -1.0 (/ (fabs x) x)) 0.786 * * * [progress]: adding candidates to table 0.912 * [progress]: [Phase 3 of 3] Extracting. 0.913 * * [regime]: Finding splitpoints for: (# #) 0.913 * * * [regime-changes]: Trying 1 branch expressions: (x) 0.913 * * * * [regimes]: Trying to branch on x from (# #) 0.932 * * * [regime]: Found split indices: #