27.443 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.036 * * * [progress]: [2/2] Setting up program. 0.039 * [progress]: [Phase 2 of 3] Improving. 0.039 * [simplify]: Simplifying using # : (- (/ x x) (* (/ 1.0 x) (sqrt (* x x)))) 0.042 * * [simplify]: iteration 0 : 15 enodes (cost 5 ) 0.044 * * [simplify]: iteration 1 : 30 enodes (cost 5 ) 0.046 * * [simplify]: iteration 2 : 43 enodes (cost 4 ) 0.049 * * [simplify]: iteration 3 : 50 enodes (cost 4 ) 0.051 * * [simplify]: iteration 4 : 56 enodes (cost 4 ) 0.053 * * [simplify]: iteration 5 : 62 enodes (cost 4 ) 0.056 * * [simplify]: iteration 6 : 64 enodes (cost 4 ) 0.058 * * [simplify]: iteration 7 : 64 enodes (cost 4 ) 0.058 * [simplify]: Simplified to: (fma (- (/ 1.0 x)) (fabs x) 1) 0.062 * * [progress]: iteration 1 / 4 0.062 * * * [progress]: picking best candidate 0.066 * * * * [pick]: Picked # 0.066 * * * [progress]: localizing error 0.073 * * * [progress]: generating rewritten candidates 0.074 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.075 * * * [progress]: generating series expansions 0.075 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.075 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in (x) around 0 0.075 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.075 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.075 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.075 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.075 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.075 * [taylor]: Taking taylor expansion of 1.0 in x 0.075 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.075 * [taylor]: Taking taylor expansion of x in x 0.076 * [taylor]: Taking taylor expansion of (fabs x) in x 0.076 * [taylor]: Taking taylor expansion of 1 in x 0.076 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.076 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.076 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.076 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.076 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.076 * [taylor]: Taking taylor expansion of 1.0 in x 0.076 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.076 * [taylor]: Taking taylor expansion of x in x 0.077 * [taylor]: Taking taylor expansion of (fabs x) in x 0.077 * [taylor]: Taking taylor expansion of 1 in x 0.105 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in (x) around 0 0.105 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.105 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.105 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.105 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.105 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.105 * [taylor]: Taking taylor expansion of 1.0 in x 0.105 * [taylor]: Taking taylor expansion of x in x 0.105 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.105 * [taylor]: Taking taylor expansion of 1 in x 0.105 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.105 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.105 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.105 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.105 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.105 * [taylor]: Taking taylor expansion of 1.0 in x 0.105 * [taylor]: Taking taylor expansion of x in x 0.105 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.106 * [taylor]: Taking taylor expansion of 1 in x 0.137 * [approximate]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in (x) around 0 0.138 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.138 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.138 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.138 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.138 * [taylor]: Taking taylor expansion of 1.0 in x 0.138 * [taylor]: Taking taylor expansion of x in x 0.138 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.138 * [taylor]: Taking taylor expansion of 1 in x 0.138 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.138 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.138 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.138 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.138 * [taylor]: Taking taylor expansion of 1.0 in x 0.138 * [taylor]: Taking taylor expansion of x in x 0.138 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.138 * [taylor]: Taking taylor expansion of 1 in x 0.154 * * * [progress]: simplifying candidates 0.155 * [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.158 * * [simplify]: iteration 0 : 34 enodes (cost 76 ) 0.161 * * [simplify]: iteration 1 : 73 enodes (cost 67 ) 0.164 * * [simplify]: iteration 2 : 263 enodes (cost 67 ) 0.172 * * [simplify]: iteration 3 : 1366 enodes (cost 67 ) 0.218 * * [simplify]: iteration 4 : 5001 enodes (cost 67 ) 0.218 * [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.219 * * * [progress]: adding candidates to table 0.246 * * [progress]: iteration 2 / 4 0.246 * * * [progress]: picking best candidate 0.251 * * * * [pick]: Picked # 0.251 * * * [progress]: localizing error 0.268 * * * [progress]: generating rewritten candidates 0.268 * * * * [progress]: [ 1 / 2 ] rewriting at (2 1 1) 0.269 * * * * [progress]: [ 2 / 2 ] rewriting at (2) 0.272 * * * [progress]: generating series expansions 0.272 * * * * [progress]: [ 1 / 2 ] generating series at (2 1 1) 0.273 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in (x) around 0 0.273 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.273 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.273 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.273 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.273 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.273 * [taylor]: Taking taylor expansion of 1.0 in x 0.273 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.273 * [taylor]: Taking taylor expansion of x in x 0.274 * [taylor]: Taking taylor expansion of (fabs x) in x 0.274 * [taylor]: Taking taylor expansion of 1 in x 0.274 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.274 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.274 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.274 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.274 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.274 * [taylor]: Taking taylor expansion of 1.0 in x 0.274 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.274 * [taylor]: Taking taylor expansion of x in x 0.274 * [taylor]: Taking taylor expansion of (fabs x) in x 0.274 * [taylor]: Taking taylor expansion of 1 in x 0.302 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in (x) around 0 0.302 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.303 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.303 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.303 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.303 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.303 * [taylor]: Taking taylor expansion of 1.0 in x 0.303 * [taylor]: Taking taylor expansion of x in x 0.303 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.303 * [taylor]: Taking taylor expansion of 1 in x 0.303 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.303 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.303 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.303 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.303 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.303 * [taylor]: Taking taylor expansion of 1.0 in x 0.303 * [taylor]: Taking taylor expansion of x in x 0.303 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.303 * [taylor]: Taking taylor expansion of 1 in x 0.328 * [approximate]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in (x) around 0 0.328 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.328 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.328 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.328 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.328 * [taylor]: Taking taylor expansion of 1.0 in x 0.328 * [taylor]: Taking taylor expansion of x in x 0.329 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.329 * [taylor]: Taking taylor expansion of 1 in x 0.329 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.329 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.329 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.329 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.329 * [taylor]: Taking taylor expansion of 1.0 in x 0.329 * [taylor]: Taking taylor expansion of x in x 0.329 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.329 * [taylor]: Taking taylor expansion of 1 in x 0.345 * * * * [progress]: [ 2 / 2 ] generating series at (2) 0.345 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in (x) around 0 0.345 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.345 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.345 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.345 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.345 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.345 * [taylor]: Taking taylor expansion of 1.0 in x 0.345 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.345 * [taylor]: Taking taylor expansion of x in x 0.346 * [taylor]: Taking taylor expansion of (fabs x) in x 0.346 * [taylor]: Taking taylor expansion of 1 in x 0.346 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.346 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.346 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.346 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.346 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.346 * [taylor]: Taking taylor expansion of 1.0 in x 0.346 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.346 * [taylor]: Taking taylor expansion of x in x 0.346 * [taylor]: Taking taylor expansion of (fabs x) in x 0.346 * [taylor]: Taking taylor expansion of 1 in x 0.382 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in (x) around 0 0.382 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.382 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.383 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.383 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.383 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.383 * [taylor]: Taking taylor expansion of 1.0 in x 0.383 * [taylor]: Taking taylor expansion of x in x 0.383 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.383 * [taylor]: Taking taylor expansion of 1 in x 0.383 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.383 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.383 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.383 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.383 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.383 * [taylor]: Taking taylor expansion of 1.0 in x 0.383 * [taylor]: Taking taylor expansion of x in x 0.383 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.383 * [taylor]: Taking taylor expansion of 1 in x 0.408 * [approximate]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in (x) around 0 0.408 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.409 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.409 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.409 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.409 * [taylor]: Taking taylor expansion of 1.0 in x 0.409 * [taylor]: Taking taylor expansion of x in x 0.409 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.409 * [taylor]: Taking taylor expansion of 1 in x 0.409 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.409 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.409 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.409 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.409 * [taylor]: Taking taylor expansion of 1.0 in x 0.409 * [taylor]: Taking taylor expansion of x in x 0.409 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.409 * [taylor]: Taking taylor expansion of 1 in x 0.425 * * * [progress]: simplifying candidates 0.426 * [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.430 * * [simplify]: iteration 0 : 66 enodes (cost 212 ) 0.433 * * [simplify]: iteration 1 : 127 enodes (cost 187 ) 0.437 * * [simplify]: iteration 2 : 365 enodes (cost 187 ) 0.446 * * [simplify]: iteration 3 : 1673 enodes (cost 187 ) 0.498 * * [simplify]: iteration 4 : 5003 enodes (cost 187 ) 0.499 * [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.500 * * * [progress]: adding candidates to table 0.578 * * [progress]: iteration 3 / 4 0.578 * * * [progress]: picking best candidate 0.580 * * * * [pick]: Picked # 0.580 * * * [progress]: localizing error 0.587 * * * [progress]: generating rewritten candidates 0.587 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 0.594 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1) 0.605 * * * [progress]: generating series expansions 0.605 * * * * [progress]: [ 1 / 2 ] generating series at (2) 0.605 * [approximate]: Taking taylor expansion of (- 1 (* 1.0 (/ (fabs x) x))) in (x) around 0 0.605 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (/ (fabs x) x))) in x 0.605 * [taylor]: Taking taylor expansion of 1 in x 0.605 * [taylor]: Taking taylor expansion of (* 1.0 (/ (fabs x) x)) in x 0.605 * [taylor]: Taking taylor expansion of 1.0 in x 0.605 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.605 * [taylor]: Taking taylor expansion of (fabs x) in x 0.606 * [taylor]: Taking taylor expansion of x in x 0.606 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (/ (fabs x) x))) in x 0.606 * [taylor]: Taking taylor expansion of 1 in x 0.606 * [taylor]: Taking taylor expansion of (* 1.0 (/ (fabs x) x)) in x 0.606 * [taylor]: Taking taylor expansion of 1.0 in x 0.606 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.606 * [taylor]: Taking taylor expansion of (fabs x) in x 0.606 * [taylor]: Taking taylor expansion of x in x 0.634 * [approximate]: Taking taylor expansion of (- 1 (* 1.0 (* (fabs (/ 1 x)) x))) in (x) around 0 0.634 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (* (fabs (/ 1 x)) x))) in x 0.634 * [taylor]: Taking taylor expansion of 1 in x 0.634 * [taylor]: Taking taylor expansion of (* 1.0 (* (fabs (/ 1 x)) x)) in x 0.634 * [taylor]: Taking taylor expansion of 1.0 in x 0.634 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.634 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.634 * [taylor]: Taking taylor expansion of x in x 0.634 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (* (fabs (/ 1 x)) x))) in x 0.634 * [taylor]: Taking taylor expansion of 1 in x 0.634 * [taylor]: Taking taylor expansion of (* 1.0 (* (fabs (/ 1 x)) x)) in x 0.634 * [taylor]: Taking taylor expansion of 1.0 in x 0.634 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.634 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.634 * [taylor]: Taking taylor expansion of x in x 0.650 * [approximate]: Taking taylor expansion of (+ (* 1.0 (* x (fabs (/ -1 x)))) 1) in (x) around 0 0.650 * [taylor]: Taking taylor expansion of (+ (* 1.0 (* x (fabs (/ -1 x)))) 1) in x 0.650 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.650 * [taylor]: Taking taylor expansion of 1.0 in x 0.650 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.650 * [taylor]: Taking taylor expansion of x in x 0.650 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.650 * [taylor]: Taking taylor expansion of 1 in x 0.650 * [taylor]: Taking taylor expansion of (+ (* 1.0 (* x (fabs (/ -1 x)))) 1) in x 0.650 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.650 * [taylor]: Taking taylor expansion of 1.0 in x 0.650 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.650 * [taylor]: Taking taylor expansion of x in x 0.650 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.650 * [taylor]: Taking taylor expansion of 1 in x 0.668 * * * * [progress]: [ 2 / 2 ] generating series at (2 1) 0.669 * [approximate]: Taking taylor expansion of (* -1.0 (/ (fabs x) x)) in (x) around 0 0.669 * [taylor]: Taking taylor expansion of (* -1.0 (/ (fabs x) x)) in x 0.669 * [taylor]: Taking taylor expansion of -1.0 in x 0.669 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.669 * [taylor]: Taking taylor expansion of (fabs x) in x 0.669 * [taylor]: Taking taylor expansion of x in x 0.669 * [taylor]: Taking taylor expansion of (* -1.0 (/ (fabs x) x)) in x 0.669 * [taylor]: Taking taylor expansion of -1.0 in x 0.669 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.669 * [taylor]: Taking taylor expansion of (fabs x) in x 0.669 * [taylor]: Taking taylor expansion of x in x 0.683 * [approximate]: Taking taylor expansion of (* -1.0 (* (fabs (/ 1 x)) x)) in (x) around 0 0.683 * [taylor]: Taking taylor expansion of (* -1.0 (* (fabs (/ 1 x)) x)) in x 0.683 * [taylor]: Taking taylor expansion of -1.0 in x 0.683 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.683 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.683 * [taylor]: Taking taylor expansion of x in x 0.683 * [taylor]: Taking taylor expansion of (* -1.0 (* (fabs (/ 1 x)) x)) in x 0.683 * [taylor]: Taking taylor expansion of -1.0 in x 0.683 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.683 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.683 * [taylor]: Taking taylor expansion of x in x 0.696 * [approximate]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in (x) around 0 0.696 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.696 * [taylor]: Taking taylor expansion of 1.0 in x 0.696 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.696 * [taylor]: Taking taylor expansion of x in x 0.696 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.696 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.696 * [taylor]: Taking taylor expansion of 1.0 in x 0.696 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.697 * [taylor]: Taking taylor expansion of x in x 0.697 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.719 * * * [progress]: simplifying candidates 0.721 * [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.726 * * [simplify]: iteration 0 : 275 enodes (cost 372 ) 0.733 * * [simplify]: iteration 1 : 1065 enodes (cost 348 ) 0.760 * * [simplify]: iteration 2 : 4927 enodes (cost 341 ) 0.877 * * [simplify]: iteration 3 : 5001 enodes (cost 341 ) 0.879 * [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.880 * * * [progress]: adding candidates to table 1.022 * [progress]: [Phase 3 of 3] Extracting. 1.022 * * [regime]: Finding splitpoints for: (# #) 1.022 * * * [regime-changes]: Trying 1 branch expressions: (x) 1.022 * * * * [regimes]: Trying to branch on x from (# #) 1.040 * * * [regime]: Found split indices: #