8.538 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.032 * * * [progress]: [2/2] Setting up program. 0.034 * [progress]: [Phase 2 of 3] Improving. 0.034 * [simplify]: Simplifying using # : (- (/ x x) (* (/ 1.0 x) (sqrt (* x x)))) 0.037 * * [simplify]: iteration 0 : 15 enodes (cost 5 ) 0.038 * * [simplify]: iteration 1 : 30 enodes (cost 5 ) 0.040 * * [simplify]: iteration 2 : 43 enodes (cost 4 ) 0.041 * * [simplify]: iteration 3 : 50 enodes (cost 4 ) 0.043 * * [simplify]: iteration 4 : 56 enodes (cost 4 ) 0.045 * * [simplify]: iteration 5 : 62 enodes (cost 4 ) 0.047 * * [simplify]: iteration 6 : 64 enodes (cost 4 ) 0.048 * * [simplify]: iteration 7 : 64 enodes (cost 4 ) 0.049 * [simplify]: Simplified to: (fma (- (/ 1.0 x)) (fabs x) 1) 0.052 * * [progress]: iteration 1 / 4 0.052 * * * [progress]: picking best candidate 0.055 * * * * [pick]: Picked # 0.055 * * * [progress]: localizing error 0.061 * * * [progress]: generating rewritten candidates 0.061 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.062 * * * [progress]: generating series expansions 0.062 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.062 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in (x) around 0 0.062 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.062 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.062 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.063 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.063 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.063 * [taylor]: Taking taylor expansion of 1.0 in x 0.063 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.063 * [taylor]: Taking taylor expansion of x in x 0.063 * [taylor]: Taking taylor expansion of (fabs x) in x 0.063 * [taylor]: Taking taylor expansion of 1 in x 0.063 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.063 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.063 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.063 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.063 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.063 * [taylor]: Taking taylor expansion of 1.0 in x 0.063 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.063 * [taylor]: Taking taylor expansion of x in x 0.064 * [taylor]: Taking taylor expansion of (fabs x) in x 0.064 * [taylor]: Taking taylor expansion of 1 in x 0.095 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in (x) around 0 0.095 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.095 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.095 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.095 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.095 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.095 * [taylor]: Taking taylor expansion of 1.0 in x 0.095 * [taylor]: Taking taylor expansion of x in x 0.095 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.095 * [taylor]: Taking taylor expansion of 1 in x 0.095 * [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.118 * [approximate]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in (x) around 0 0.118 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.119 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.119 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.119 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.119 * [taylor]: Taking taylor expansion of 1.0 in x 0.119 * [taylor]: Taking taylor expansion of x in x 0.119 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.119 * [taylor]: Taking taylor expansion of 1 in x 0.119 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.119 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.119 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.119 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.119 * [taylor]: Taking taylor expansion of 1.0 in x 0.119 * [taylor]: Taking taylor expansion of x in x 0.119 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.119 * [taylor]: Taking taylor expansion of 1 in x 0.134 * * * [progress]: simplifying candidates 0.134 * [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.137 * * [simplify]: iteration 0 : 34 enodes (cost 76 ) 0.139 * * [simplify]: iteration 1 : 73 enodes (cost 67 ) 0.141 * * [simplify]: iteration 2 : 263 enodes (cost 67 ) 0.148 * * [simplify]: iteration 3 : 1366 enodes (cost 67 ) 0.189 * * [simplify]: iteration 4 : 5001 enodes (cost 67 ) 0.190 * [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.190 * * * [progress]: adding candidates to table 0.218 * * [progress]: iteration 2 / 4 0.218 * * * [progress]: picking best candidate 0.221 * * * * [pick]: Picked # 0.221 * * * [progress]: localizing error 0.230 * * * [progress]: generating rewritten candidates 0.230 * * * * [progress]: [ 1 / 2 ] rewriting at (2 1 1) 0.231 * * * * [progress]: [ 2 / 2 ] rewriting at (2) 0.234 * * * [progress]: generating series expansions 0.234 * * * * [progress]: [ 1 / 2 ] generating series at (2 1 1) 0.234 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in (x) around 0 0.234 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.234 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.234 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.234 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.234 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.234 * [taylor]: Taking taylor expansion of 1.0 in x 0.234 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.235 * [taylor]: Taking taylor expansion of x in x 0.235 * [taylor]: Taking taylor expansion of (fabs x) in x 0.235 * [taylor]: Taking taylor expansion of 1 in x 0.235 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.235 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.235 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.235 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.235 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.235 * [taylor]: Taking taylor expansion of 1.0 in x 0.235 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.235 * [taylor]: Taking taylor expansion of x in x 0.236 * [taylor]: Taking taylor expansion of (fabs x) in x 0.236 * [taylor]: Taking taylor expansion of 1 in x 0.261 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in (x) around 0 0.261 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.261 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.261 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.261 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.261 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.261 * [taylor]: Taking taylor expansion of 1.0 in x 0.261 * [taylor]: Taking taylor expansion of x in x 0.261 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.261 * [taylor]: Taking taylor expansion of 1 in x 0.262 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.262 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.262 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.262 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.262 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.262 * [taylor]: Taking taylor expansion of 1.0 in x 0.262 * [taylor]: Taking taylor expansion of x in x 0.262 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.262 * [taylor]: Taking taylor expansion of 1 in x 0.284 * [approximate]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in (x) around 0 0.284 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.286 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.286 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.286 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.286 * [taylor]: Taking taylor expansion of 1.0 in x 0.286 * [taylor]: Taking taylor expansion of x in x 0.286 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.286 * [taylor]: Taking taylor expansion of 1 in x 0.286 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.286 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.286 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.286 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.286 * [taylor]: Taking taylor expansion of 1.0 in x 0.286 * [taylor]: Taking taylor expansion of x in x 0.286 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.286 * [taylor]: Taking taylor expansion of 1 in x 0.306 * * * * [progress]: [ 2 / 2 ] generating series at (2) 0.306 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in (x) around 0 0.306 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.307 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.307 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.307 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.307 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.307 * [taylor]: Taking taylor expansion of 1.0 in x 0.307 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.307 * [taylor]: Taking taylor expansion of x in x 0.307 * [taylor]: Taking taylor expansion of (fabs x) in x 0.307 * [taylor]: Taking taylor expansion of 1 in x 0.307 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.307 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.307 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.307 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.307 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.307 * [taylor]: Taking taylor expansion of 1.0 in x 0.307 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.307 * [taylor]: Taking taylor expansion of x in x 0.308 * [taylor]: Taking taylor expansion of (fabs x) in x 0.308 * [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.336 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.336 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.336 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.336 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.336 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.336 * [taylor]: Taking taylor expansion of 1.0 in x 0.336 * [taylor]: Taking taylor expansion of x in x 0.336 * [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.362 * [approximate]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in (x) around 0 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.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.378 * * * [progress]: simplifying candidates 0.379 * [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.389 * * [simplify]: iteration 2 : 365 enodes (cost 187 ) 0.398 * * [simplify]: iteration 3 : 1673 enodes (cost 187 ) 0.448 * * [simplify]: iteration 4 : 5003 enodes (cost 187 ) 0.450 * [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.450 * * * [progress]: adding candidates to table 0.516 * * [progress]: iteration 3 / 4 0.516 * * * [progress]: picking best candidate 0.518 * * * * [pick]: Picked # 0.518 * * * [progress]: localizing error 0.525 * * * [progress]: generating rewritten candidates 0.525 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 0.533 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1) 0.547 * * * [progress]: generating series expansions 0.547 * * * * [progress]: [ 1 / 2 ] generating series at (2) 0.548 * [approximate]: Taking taylor expansion of (- 1 (* 1.0 (/ (fabs x) x))) in (x) around 0 0.548 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (/ (fabs x) x))) in x 0.548 * [taylor]: Taking taylor expansion of 1 in x 0.548 * [taylor]: Taking taylor expansion of (* 1.0 (/ (fabs x) x)) in x 0.548 * [taylor]: Taking taylor expansion of 1.0 in x 0.548 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.548 * [taylor]: Taking taylor expansion of (fabs x) in x 0.548 * [taylor]: Taking taylor expansion of x in x 0.548 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (/ (fabs x) x))) in x 0.548 * [taylor]: Taking taylor expansion of 1 in x 0.548 * [taylor]: Taking taylor expansion of (* 1.0 (/ (fabs x) x)) in x 0.548 * [taylor]: Taking taylor expansion of 1.0 in x 0.548 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.548 * [taylor]: Taking taylor expansion of (fabs x) in x 0.548 * [taylor]: Taking taylor expansion of x in x 0.570 * [approximate]: Taking taylor expansion of (- 1 (* 1.0 (* (fabs (/ 1 x)) x))) in (x) around 0 0.570 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (* (fabs (/ 1 x)) x))) in x 0.570 * [taylor]: Taking taylor expansion of 1 in x 0.570 * [taylor]: Taking taylor expansion of (* 1.0 (* (fabs (/ 1 x)) x)) in x 0.570 * [taylor]: Taking taylor expansion of 1.0 in x 0.570 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.570 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.570 * [taylor]: Taking taylor expansion of x in x 0.571 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (* (fabs (/ 1 x)) x))) in x 0.571 * [taylor]: Taking taylor expansion of 1 in x 0.571 * [taylor]: Taking taylor expansion of (* 1.0 (* (fabs (/ 1 x)) x)) in x 0.571 * [taylor]: Taking taylor expansion of 1.0 in x 0.571 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.571 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.571 * [taylor]: Taking taylor expansion of x in x 0.586 * [approximate]: Taking taylor expansion of (+ (* 1.0 (* x (fabs (/ -1 x)))) 1) in (x) around 0 0.586 * [taylor]: Taking taylor expansion of (+ (* 1.0 (* x (fabs (/ -1 x)))) 1) in x 0.586 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.586 * [taylor]: Taking taylor expansion of 1.0 in x 0.586 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.586 * [taylor]: Taking taylor expansion of x in x 0.586 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.586 * [taylor]: Taking taylor expansion of 1 in x 0.586 * [taylor]: Taking taylor expansion of (+ (* 1.0 (* x (fabs (/ -1 x)))) 1) in x 0.586 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.586 * [taylor]: Taking taylor expansion of 1.0 in x 0.586 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.586 * [taylor]: Taking taylor expansion of x in x 0.586 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.587 * [taylor]: Taking taylor expansion of 1 in x 0.603 * * * * [progress]: [ 2 / 2 ] generating series at (2 1) 0.603 * [approximate]: Taking taylor expansion of (* -1.0 (/ (fabs x) x)) in (x) around 0 0.603 * [taylor]: Taking taylor expansion of (* -1.0 (/ (fabs x) x)) in x 0.603 * [taylor]: Taking taylor expansion of -1.0 in x 0.604 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.604 * [taylor]: Taking taylor expansion of (fabs x) in x 0.604 * [taylor]: Taking taylor expansion of x in x 0.604 * [taylor]: Taking taylor expansion of (* -1.0 (/ (fabs x) x)) in x 0.604 * [taylor]: Taking taylor expansion of -1.0 in x 0.604 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.604 * [taylor]: Taking taylor expansion of (fabs x) in x 0.604 * [taylor]: Taking taylor expansion of x in x 0.617 * [approximate]: Taking taylor expansion of (* -1.0 (* (fabs (/ 1 x)) x)) in (x) around 0 0.617 * [taylor]: Taking taylor expansion of (* -1.0 (* (fabs (/ 1 x)) x)) in x 0.618 * [taylor]: Taking taylor expansion of -1.0 in x 0.618 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.618 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.618 * [taylor]: Taking taylor expansion of x in x 0.618 * [taylor]: Taking taylor expansion of (* -1.0 (* (fabs (/ 1 x)) x)) in x 0.618 * [taylor]: Taking taylor expansion of -1.0 in x 0.618 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.618 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.618 * [taylor]: Taking taylor expansion of x in x 0.635 * [approximate]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in (x) around 0 0.635 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.635 * [taylor]: Taking taylor expansion of 1.0 in x 0.635 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.635 * [taylor]: Taking taylor expansion of x in x 0.635 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.635 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.635 * [taylor]: Taking taylor expansion of 1.0 in x 0.635 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.635 * [taylor]: Taking taylor expansion of x in x 0.635 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.650 * * * [progress]: simplifying candidates 0.651 * [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.657 * * [simplify]: iteration 0 : 275 enodes (cost 372 ) 0.664 * * [simplify]: iteration 1 : 1065 enodes (cost 348 ) 0.689 * * [simplify]: iteration 2 : 4927 enodes (cost 341 ) 0.804 * * [simplify]: iteration 3 : 5001 enodes (cost 341 ) 0.807 * [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.807 * * * [progress]: adding candidates to table 0.933 * [progress]: [Phase 3 of 3] Extracting. 0.933 * * [regime]: Finding splitpoints for: (# #) 0.933 * * * [regime-changes]: Trying 1 branch expressions: (x) 0.933 * * * * [regimes]: Trying to branch on x from (# #) 0.954 * * * [regime]: Found split indices: #