8.757 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.029 * * * [progress]: [2/2] Setting up program. 0.032 * [progress]: [Phase 2 of 3] Improving. 0.032 * [simplify]: Simplifying using # : (- (/ x x) (* (/ 1.0 x) (sqrt (* x x)))) 0.035 * * [simplify]: iteration 0 : 15 enodes (cost 5 ) 0.037 * * [simplify]: iteration 1 : 30 enodes (cost 5 ) 0.039 * * [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.049 * * [simplify]: iteration 7 : 64 enodes (cost 4 ) 0.049 * [simplify]: Simplified to: (fma (- (/ 1.0 x)) (fabs x) 1) 0.053 * * [progress]: iteration 1 / 4 0.053 * * * [progress]: picking best candidate 0.057 * * * * [pick]: Picked # 0.057 * * * [progress]: localizing error 0.064 * * * [progress]: generating rewritten candidates 0.064 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.065 * * * [progress]: generating series expansions 0.065 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.065 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in (x) around 0 0.065 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.065 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.065 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.065 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.066 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.066 * [taylor]: Taking taylor expansion of 1.0 in x 0.066 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.066 * [taylor]: Taking taylor expansion of x in x 0.066 * [taylor]: Taking taylor expansion of (fabs x) in x 0.066 * [taylor]: Taking taylor expansion of 1 in x 0.066 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.066 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.066 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.066 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.066 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.066 * [taylor]: Taking taylor expansion of 1.0 in x 0.066 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.066 * [taylor]: Taking taylor expansion of x in x 0.067 * [taylor]: Taking taylor expansion of (fabs x) in x 0.067 * [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.099 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.099 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.099 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.099 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.099 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.099 * [taylor]: Taking taylor expansion of 1.0 in x 0.099 * [taylor]: Taking taylor expansion of x in x 0.099 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.099 * [taylor]: Taking taylor expansion of 1 in x 0.123 * [approximate]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in (x) around 0 0.123 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.123 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.123 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.123 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.123 * [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.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.140 * * * [progress]: simplifying candidates 0.140 * [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.143 * * [simplify]: iteration 0 : 34 enodes (cost 76 ) 0.145 * * [simplify]: iteration 1 : 73 enodes (cost 67 ) 0.148 * * [simplify]: iteration 2 : 263 enodes (cost 67 ) 0.156 * * [simplify]: iteration 3 : 1366 enodes (cost 67 ) 0.202 * * [simplify]: iteration 4 : 5001 enodes (cost 67 ) 0.203 * [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.203 * * * [progress]: adding candidates to table 0.233 * * [progress]: iteration 2 / 4 0.233 * * * [progress]: picking best candidate 0.236 * * * * [pick]: Picked # 0.236 * * * [progress]: localizing error 0.247 * * * [progress]: generating rewritten candidates 0.247 * * * * [progress]: [ 1 / 2 ] rewriting at (2 1 1) 0.248 * * * * [progress]: [ 2 / 2 ] rewriting at (2) 0.251 * * * [progress]: generating series expansions 0.251 * * * * [progress]: [ 1 / 2 ] generating series at (2 1 1) 0.251 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in (x) around 0 0.251 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.251 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.251 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.251 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.251 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.251 * [taylor]: Taking taylor expansion of 1.0 in x 0.251 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.251 * [taylor]: Taking taylor expansion of x in x 0.252 * [taylor]: Taking taylor expansion of (fabs x) in x 0.252 * [taylor]: Taking taylor expansion of 1 in x 0.252 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.252 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.252 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.252 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.252 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.252 * [taylor]: Taking taylor expansion of 1.0 in x 0.252 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.252 * [taylor]: Taking taylor expansion of x in x 0.253 * [taylor]: Taking taylor expansion of (fabs x) in x 0.253 * [taylor]: Taking taylor expansion of 1 in x 0.281 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in (x) around 0 0.281 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.281 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.281 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.281 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.281 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.281 * [taylor]: Taking taylor expansion of 1.0 in x 0.281 * [taylor]: Taking taylor expansion of x in x 0.281 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.281 * [taylor]: Taking taylor expansion of 1 in x 0.281 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.281 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.281 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.281 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.281 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.281 * [taylor]: Taking taylor expansion of 1.0 in x 0.281 * [taylor]: Taking taylor expansion of x in x 0.281 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.281 * [taylor]: Taking taylor expansion of 1 in x 0.305 * [approximate]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in (x) around 0 0.306 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.306 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.306 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.306 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.306 * [taylor]: Taking taylor expansion of 1.0 in x 0.306 * [taylor]: Taking taylor expansion of x in x 0.306 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.306 * [taylor]: Taking taylor expansion of 1 in x 0.306 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.306 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.306 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.306 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.306 * [taylor]: Taking taylor expansion of 1.0 in x 0.306 * [taylor]: Taking taylor expansion of x in x 0.306 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.306 * [taylor]: Taking taylor expansion of 1 in x 0.326 * * * * [progress]: [ 2 / 2 ] generating series at (2) 0.326 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in (x) around 0 0.326 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.326 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.326 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.326 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.326 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.326 * [taylor]: Taking taylor expansion of 1.0 in x 0.326 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.326 * [taylor]: Taking taylor expansion of x in x 0.327 * [taylor]: Taking taylor expansion of (fabs x) in x 0.327 * [taylor]: Taking taylor expansion of 1 in x 0.327 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.327 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.327 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.327 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.327 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.327 * [taylor]: Taking taylor expansion of 1.0 in x 0.327 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.327 * [taylor]: Taking taylor expansion of x in x 0.327 * [taylor]: Taking taylor expansion of (fabs x) in x 0.327 * [taylor]: Taking taylor expansion of 1 in x 0.355 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in (x) around 0 0.355 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.355 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.355 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.355 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.355 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.355 * [taylor]: Taking taylor expansion of 1.0 in x 0.355 * [taylor]: Taking taylor expansion of x in x 0.355 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.355 * [taylor]: Taking taylor expansion of 1 in x 0.355 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.355 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.355 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.355 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.355 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.355 * [taylor]: Taking taylor expansion of 1.0 in x 0.355 * [taylor]: Taking taylor expansion of x in x 0.355 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.355 * [taylor]: Taking taylor expansion of 1 in x 0.380 * [approximate]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in (x) around 0 0.380 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.380 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.380 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.380 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.380 * [taylor]: Taking taylor expansion of 1.0 in x 0.380 * [taylor]: Taking taylor expansion of x in x 0.380 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.380 * [taylor]: Taking taylor expansion of 1 in x 0.380 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.380 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.380 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.380 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.380 * [taylor]: Taking taylor expansion of 1.0 in x 0.380 * [taylor]: Taking taylor expansion of x in x 0.380 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.381 * [taylor]: Taking taylor expansion of 1 in x 0.396 * * * [progress]: simplifying candidates 0.397 * [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.401 * * [simplify]: iteration 0 : 66 enodes (cost 212 ) 0.403 * * [simplify]: iteration 1 : 127 enodes (cost 187 ) 0.407 * * [simplify]: iteration 2 : 365 enodes (cost 187 ) 0.416 * * [simplify]: iteration 3 : 1673 enodes (cost 187 ) 0.466 * * [simplify]: iteration 4 : 5003 enodes (cost 187 ) 0.468 * [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.468 * * * [progress]: adding candidates to table 0.535 * * [progress]: iteration 3 / 4 0.535 * * * [progress]: picking best candidate 0.537 * * * * [pick]: Picked # 0.537 * * * [progress]: localizing error 0.544 * * * [progress]: generating rewritten candidates 0.544 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 0.551 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1) 0.565 * * * [progress]: generating series expansions 0.565 * * * * [progress]: [ 1 / 2 ] generating series at (2) 0.565 * [approximate]: Taking taylor expansion of (- 1 (* 1.0 (/ (fabs x) x))) in (x) around 0 0.565 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (/ (fabs x) x))) in x 0.565 * [taylor]: Taking taylor expansion of 1 in x 0.565 * [taylor]: Taking taylor expansion of (* 1.0 (/ (fabs x) x)) in x 0.565 * [taylor]: Taking taylor expansion of 1.0 in x 0.565 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.565 * [taylor]: Taking taylor expansion of (fabs x) in x 0.565 * [taylor]: Taking taylor expansion of x in x 0.565 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (/ (fabs x) x))) in x 0.565 * [taylor]: Taking taylor expansion of 1 in x 0.565 * [taylor]: Taking taylor expansion of (* 1.0 (/ (fabs x) x)) in x 0.566 * [taylor]: Taking taylor expansion of 1.0 in x 0.566 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.566 * [taylor]: Taking taylor expansion of (fabs x) in x 0.566 * [taylor]: Taking taylor expansion of x in x 0.588 * [approximate]: Taking taylor expansion of (- 1 (* 1.0 (* (fabs (/ 1 x)) x))) in (x) around 0 0.588 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (* (fabs (/ 1 x)) x))) in x 0.588 * [taylor]: Taking taylor expansion of 1 in x 0.588 * [taylor]: Taking taylor expansion of (* 1.0 (* (fabs (/ 1 x)) x)) in x 0.588 * [taylor]: Taking taylor expansion of 1.0 in x 0.588 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.588 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.589 * [taylor]: Taking taylor expansion of x in x 0.589 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (* (fabs (/ 1 x)) x))) in x 0.589 * [taylor]: Taking taylor expansion of 1 in x 0.589 * [taylor]: Taking taylor expansion of (* 1.0 (* (fabs (/ 1 x)) x)) in x 0.589 * [taylor]: Taking taylor expansion of 1.0 in x 0.589 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.589 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.589 * [taylor]: Taking taylor expansion of x in x 0.605 * [approximate]: Taking taylor expansion of (+ (* 1.0 (* x (fabs (/ -1 x)))) 1) in (x) around 0 0.605 * [taylor]: Taking taylor expansion of (+ (* 1.0 (* x (fabs (/ -1 x)))) 1) in x 0.605 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.605 * [taylor]: Taking taylor expansion of 1.0 in x 0.605 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.605 * [taylor]: Taking taylor expansion of x in x 0.605 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.605 * [taylor]: Taking taylor expansion of 1 in x 0.605 * [taylor]: Taking taylor expansion of (+ (* 1.0 (* x (fabs (/ -1 x)))) 1) in x 0.605 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.605 * [taylor]: Taking taylor expansion of 1.0 in x 0.605 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.605 * [taylor]: Taking taylor expansion of x in x 0.605 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.605 * [taylor]: Taking taylor expansion of 1 in x 0.622 * * * * [progress]: [ 2 / 2 ] generating series at (2 1) 0.622 * [approximate]: Taking taylor expansion of (* -1.0 (/ (fabs x) x)) in (x) around 0 0.622 * [taylor]: Taking taylor expansion of (* -1.0 (/ (fabs x) x)) in x 0.622 * [taylor]: Taking taylor expansion of -1.0 in x 0.622 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.622 * [taylor]: Taking taylor expansion of (fabs x) in x 0.622 * [taylor]: Taking taylor expansion of x in x 0.622 * [taylor]: Taking taylor expansion of (* -1.0 (/ (fabs x) x)) in x 0.622 * [taylor]: Taking taylor expansion of -1.0 in x 0.622 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.622 * [taylor]: Taking taylor expansion of (fabs x) in x 0.622 * [taylor]: Taking taylor expansion of x in x 0.637 * [approximate]: Taking taylor expansion of (* -1.0 (* (fabs (/ 1 x)) x)) in (x) around 0 0.637 * [taylor]: Taking taylor expansion of (* -1.0 (* (fabs (/ 1 x)) x)) in x 0.637 * [taylor]: Taking taylor expansion of -1.0 in x 0.637 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.637 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.637 * [taylor]: Taking taylor expansion of x in x 0.637 * [taylor]: Taking taylor expansion of (* -1.0 (* (fabs (/ 1 x)) x)) in x 0.637 * [taylor]: Taking taylor expansion of -1.0 in x 0.637 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.637 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.637 * [taylor]: Taking taylor expansion of x in x 0.654 * [approximate]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in (x) around 0 0.654 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.654 * [taylor]: Taking taylor expansion of 1.0 in x 0.654 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.654 * [taylor]: Taking taylor expansion of x in x 0.654 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.654 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.654 * [taylor]: Taking taylor expansion of 1.0 in x 0.654 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.654 * [taylor]: Taking taylor expansion of x in x 0.654 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.670 * * * [progress]: simplifying candidates 0.671 * [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.677 * * [simplify]: iteration 0 : 275 enodes (cost 372 ) 0.684 * * [simplify]: iteration 1 : 1065 enodes (cost 348 ) 0.709 * * [simplify]: iteration 2 : 4927 enodes (cost 341 ) 0.825 * * [simplify]: iteration 3 : 5001 enodes (cost 341 ) 0.828 * [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.828 * * * [progress]: adding candidates to table 0.958 * [progress]: [Phase 3 of 3] Extracting. 0.958 * * [regime]: Finding splitpoints for: (# #) 0.958 * * * [regime-changes]: Trying 1 branch expressions: (x) 0.958 * * * * [regimes]: Trying to branch on x from (# #) 0.977 * * * [regime]: Found split indices: #