7.913 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.030 * * * [progress]: [2/2] Setting up program. 0.033 * [progress]: [Phase 2 of 3] Improving. 0.033 * [simplify]: Simplifying using # : (- (/ x x) (* (/ 1.0 x) (sqrt (* x x)))) 0.036 * * [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.042 * * [simplify]: iteration 3 : 50 enodes (cost 4 ) 0.044 * * [simplify]: iteration 4 : 56 enodes (cost 4 ) 0.046 * * [simplify]: iteration 5 : 62 enodes (cost 4 ) 0.049 * * [simplify]: iteration 6 : 64 enodes (cost 4 ) 0.051 * * [simplify]: iteration 7 : 64 enodes (cost 4 ) 0.051 * [simplify]: Simplified to: (fma (- (/ 1.0 x)) (fabs x) 1) 0.055 * * [progress]: iteration 1 / 4 0.055 * * * [progress]: picking best candidate 0.059 * * * * [pick]: Picked # 0.059 * * * [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.098 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in (x) around 0 0.098 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.098 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.098 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.098 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.098 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.098 * [taylor]: Taking taylor expansion of 1.0 in x 0.098 * [taylor]: Taking taylor expansion of x in x 0.098 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.098 * [taylor]: Taking taylor expansion of 1 in x 0.098 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.098 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.098 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.098 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.098 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.098 * [taylor]: Taking taylor expansion of 1.0 in x 0.098 * [taylor]: Taking taylor expansion of x in x 0.098 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.098 * [taylor]: Taking taylor expansion of 1 in x 0.124 * [approximate]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in (x) around 0 0.124 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.124 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.124 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.124 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.124 * [taylor]: Taking taylor expansion of 1.0 in x 0.124 * [taylor]: Taking taylor expansion of x in x 0.124 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.124 * [taylor]: Taking taylor expansion of 1 in x 0.124 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.125 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.125 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.125 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.125 * [taylor]: Taking taylor expansion of 1.0 in x 0.125 * [taylor]: Taking taylor expansion of x in x 0.125 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.125 * [taylor]: Taking taylor expansion of 1 in x 0.148 * * * [progress]: simplifying candidates 0.148 * [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.151 * * [simplify]: iteration 0 : 34 enodes (cost 76 ) 0.154 * * [simplify]: iteration 1 : 73 enodes (cost 67 ) 0.157 * * [simplify]: iteration 2 : 263 enodes (cost 67 ) 0.164 * * [simplify]: iteration 3 : 1366 enodes (cost 67 ) 0.209 * * [simplify]: iteration 4 : 5001 enodes (cost 67 ) 0.210 * [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.210 * * * [progress]: adding candidates to table 0.236 * * [progress]: iteration 2 / 4 0.236 * * * [progress]: picking best candidate 0.240 * * * * [pick]: Picked # 0.240 * * * [progress]: localizing error 0.250 * * * [progress]: generating rewritten candidates 0.250 * * * * [progress]: [ 1 / 2 ] rewriting at (2 1 1) 0.251 * * * * [progress]: [ 2 / 2 ] rewriting at (2) 0.254 * * * [progress]: generating series expansions 0.254 * * * * [progress]: [ 1 / 2 ] generating series at (2 1 1) 0.255 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in (x) around 0 0.255 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.255 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.255 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.255 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.255 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.255 * [taylor]: Taking taylor expansion of 1.0 in x 0.255 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.255 * [taylor]: Taking taylor expansion of x in x 0.256 * [taylor]: Taking taylor expansion of (fabs x) in x 0.256 * [taylor]: Taking taylor expansion of 1 in x 0.256 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.256 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.256 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.256 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.256 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.256 * [taylor]: Taking taylor expansion of 1.0 in x 0.256 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.256 * [taylor]: Taking taylor expansion of x in x 0.256 * [taylor]: Taking taylor expansion of (fabs x) in x 0.256 * [taylor]: Taking taylor expansion of 1 in x 0.291 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in (x) around 0 0.291 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.291 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.291 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.291 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.291 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.291 * [taylor]: Taking taylor expansion of 1.0 in x 0.291 * [taylor]: Taking taylor expansion of x in x 0.291 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.291 * [taylor]: Taking taylor expansion of 1 in x 0.291 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.291 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.291 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.291 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.291 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.291 * [taylor]: Taking taylor expansion of 1.0 in x 0.291 * [taylor]: Taking taylor expansion of x in x 0.291 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.292 * [taylor]: Taking taylor expansion of 1 in x 0.317 * [approximate]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in (x) around 0 0.317 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.317 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.317 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.317 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.317 * [taylor]: Taking taylor expansion of 1.0 in x 0.318 * [taylor]: Taking taylor expansion of x in x 0.318 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.318 * [taylor]: Taking taylor expansion of 1 in x 0.318 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.318 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.318 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.318 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.318 * [taylor]: Taking taylor expansion of 1.0 in x 0.318 * [taylor]: Taking taylor expansion of x in x 0.318 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.318 * [taylor]: Taking taylor expansion of 1 in x 0.334 * * * * [progress]: [ 2 / 2 ] generating series at (2) 0.335 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in (x) around 0 0.335 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.335 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.335 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.335 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.335 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.335 * [taylor]: Taking taylor expansion of 1.0 in x 0.335 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.335 * [taylor]: Taking taylor expansion of x in x 0.335 * [taylor]: Taking taylor expansion of (fabs x) in x 0.336 * [taylor]: Taking taylor expansion of 1 in x 0.336 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.336 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.336 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.336 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.336 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.336 * [taylor]: Taking taylor expansion of 1.0 in x 0.336 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.336 * [taylor]: Taking taylor expansion of x in x 0.336 * [taylor]: Taking taylor expansion of (fabs x) in x 0.336 * [taylor]: Taking taylor expansion of 1 in x 0.364 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in (x) around 0 0.364 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.365 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.365 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.365 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.365 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.365 * [taylor]: Taking taylor expansion of 1.0 in x 0.365 * [taylor]: Taking taylor expansion of x in x 0.365 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.365 * [taylor]: Taking taylor expansion of 1 in x 0.365 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.365 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.365 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.365 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.365 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.365 * [taylor]: Taking taylor expansion of 1.0 in x 0.365 * [taylor]: Taking taylor expansion of x in x 0.365 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.365 * [taylor]: Taking taylor expansion of 1 in x 0.397 * [approximate]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in (x) around 0 0.398 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.398 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.398 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.398 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.398 * [taylor]: Taking taylor expansion of 1.0 in x 0.398 * [taylor]: Taking taylor expansion of x in x 0.398 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.398 * [taylor]: Taking taylor expansion of 1 in x 0.398 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.398 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.398 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.398 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.398 * [taylor]: Taking taylor expansion of 1.0 in x 0.398 * [taylor]: Taking taylor expansion of x in x 0.398 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.398 * [taylor]: Taking taylor expansion of 1 in x 0.415 * * * [progress]: simplifying candidates 0.415 * [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.419 * * [simplify]: iteration 0 : 66 enodes (cost 212 ) 0.422 * * [simplify]: iteration 1 : 127 enodes (cost 187 ) 0.426 * * [simplify]: iteration 2 : 365 enodes (cost 187 ) 0.434 * * [simplify]: iteration 3 : 1673 enodes (cost 187 ) 0.485 * * [simplify]: iteration 4 : 5003 enodes (cost 187 ) 0.486 * [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.487 * * * [progress]: adding candidates to table 0.556 * * [progress]: iteration 3 / 4 0.556 * * * [progress]: picking best candidate 0.558 * * * * [pick]: Picked # 0.558 * * * [progress]: localizing error 0.564 * * * [progress]: generating rewritten candidates 0.565 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 0.572 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1) 0.582 * * * [progress]: generating series expansions 0.582 * * * * [progress]: [ 1 / 2 ] generating series at (2) 0.583 * [approximate]: Taking taylor expansion of (- 1 (* 1.0 (/ (fabs x) x))) in (x) around 0 0.583 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (/ (fabs x) x))) in x 0.583 * [taylor]: Taking taylor expansion of 1 in x 0.583 * [taylor]: Taking taylor expansion of (* 1.0 (/ (fabs x) x)) in x 0.583 * [taylor]: Taking taylor expansion of 1.0 in x 0.583 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.583 * [taylor]: Taking taylor expansion of (fabs x) in x 0.583 * [taylor]: Taking taylor expansion of x in x 0.583 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (/ (fabs x) x))) in x 0.583 * [taylor]: Taking taylor expansion of 1 in x 0.583 * [taylor]: Taking taylor expansion of (* 1.0 (/ (fabs x) x)) in x 0.583 * [taylor]: Taking taylor expansion of 1.0 in x 0.583 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.583 * [taylor]: Taking taylor expansion of (fabs x) in x 0.583 * [taylor]: Taking taylor expansion of x in x 0.606 * [approximate]: Taking taylor expansion of (- 1 (* 1.0 (* (fabs (/ 1 x)) x))) in (x) around 0 0.607 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (* (fabs (/ 1 x)) x))) in x 0.607 * [taylor]: Taking taylor expansion of 1 in x 0.607 * [taylor]: Taking taylor expansion of (* 1.0 (* (fabs (/ 1 x)) x)) in x 0.607 * [taylor]: Taking taylor expansion of 1.0 in x 0.607 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.607 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.607 * [taylor]: Taking taylor expansion of x in x 0.607 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (* (fabs (/ 1 x)) x))) in x 0.607 * [taylor]: Taking taylor expansion of 1 in x 0.607 * [taylor]: Taking taylor expansion of (* 1.0 (* (fabs (/ 1 x)) x)) in x 0.607 * [taylor]: Taking taylor expansion of 1.0 in x 0.607 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.607 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.607 * [taylor]: Taking taylor expansion of x in x 0.629 * [approximate]: Taking taylor expansion of (+ (* 1.0 (* x (fabs (/ -1 x)))) 1) in (x) around 0 0.629 * [taylor]: Taking taylor expansion of (+ (* 1.0 (* x (fabs (/ -1 x)))) 1) in x 0.629 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.629 * [taylor]: Taking taylor expansion of 1.0 in x 0.629 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.629 * [taylor]: Taking taylor expansion of x in x 0.629 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.629 * [taylor]: Taking taylor expansion of 1 in x 0.629 * [taylor]: Taking taylor expansion of (+ (* 1.0 (* x (fabs (/ -1 x)))) 1) in x 0.630 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.630 * [taylor]: Taking taylor expansion of 1.0 in x 0.630 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.630 * [taylor]: Taking taylor expansion of x in x 0.630 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.630 * [taylor]: Taking taylor expansion of 1 in x 0.648 * * * * [progress]: [ 2 / 2 ] generating series at (2 1) 0.648 * [approximate]: Taking taylor expansion of (* -1.0 (/ (fabs x) x)) in (x) around 0 0.648 * [taylor]: Taking taylor expansion of (* -1.0 (/ (fabs x) x)) in x 0.648 * [taylor]: Taking taylor expansion of -1.0 in x 0.648 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.648 * [taylor]: Taking taylor expansion of (fabs x) in x 0.648 * [taylor]: Taking taylor expansion of x in x 0.648 * [taylor]: Taking taylor expansion of (* -1.0 (/ (fabs x) x)) in x 0.648 * [taylor]: Taking taylor expansion of -1.0 in x 0.648 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.648 * [taylor]: Taking taylor expansion of (fabs x) in x 0.648 * [taylor]: Taking taylor expansion of x in x 0.663 * [approximate]: Taking taylor expansion of (* -1.0 (* (fabs (/ 1 x)) x)) in (x) around 0 0.663 * [taylor]: Taking taylor expansion of (* -1.0 (* (fabs (/ 1 x)) x)) in x 0.663 * [taylor]: Taking taylor expansion of -1.0 in x 0.663 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.663 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.663 * [taylor]: Taking taylor expansion of x in x 0.663 * [taylor]: Taking taylor expansion of (* -1.0 (* (fabs (/ 1 x)) x)) in x 0.663 * [taylor]: Taking taylor expansion of -1.0 in x 0.663 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.663 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.663 * [taylor]: Taking taylor expansion of x in x 0.676 * [approximate]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in (x) around 0 0.676 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.676 * [taylor]: Taking taylor expansion of 1.0 in x 0.676 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.676 * [taylor]: Taking taylor expansion of x in x 0.676 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.676 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.676 * [taylor]: Taking taylor expansion of 1.0 in x 0.676 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.676 * [taylor]: Taking taylor expansion of x in x 0.676 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.692 * * * [progress]: simplifying candidates 0.693 * [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.699 * * [simplify]: iteration 0 : 275 enodes (cost 372 ) 0.705 * * [simplify]: iteration 1 : 1065 enodes (cost 348 ) 0.730 * * [simplify]: iteration 2 : 4927 enodes (cost 341 ) 0.848 * * [simplify]: iteration 3 : 5001 enodes (cost 341 ) 0.851 * [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.851 * * * [progress]: adding candidates to table 0.986 * [progress]: [Phase 3 of 3] Extracting. 0.986 * * [regime]: Finding splitpoints for: (# #) 0.987 * * * [regime-changes]: Trying 1 branch expressions: (x) 0.987 * * * * [regimes]: Trying to branch on x from (# #) 0.998 * * * [regime]: Found split indices: #