11.791 * [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.044 * * [simplify]: iteration 5 : 62 enodes (cost 4 ) 0.046 * * [simplify]: iteration 6 : 64 enodes (cost 4 ) 0.047 * * [simplify]: iteration 7 : 64 enodes (cost 4 ) 0.048 * [simplify]: Simplified to: (fma (- (/ 1.0 x)) (fabs x) 1) 0.051 * * [progress]: iteration 1 / 4 0.051 * * * [progress]: picking best candidate 0.054 * * * * [pick]: Picked # 0.054 * * * [progress]: localizing error 0.062 * * * [progress]: generating rewritten candidates 0.062 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.063 * * * [progress]: generating series expansions 0.063 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.063 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in (x) around 0 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.064 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.064 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.064 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.064 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.064 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.064 * [taylor]: Taking taylor expansion of 1.0 in x 0.064 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.064 * [taylor]: Taking taylor expansion of x in x 0.065 * [taylor]: Taking taylor expansion of (fabs x) in x 0.065 * [taylor]: Taking taylor expansion of 1 in x 0.089 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in (x) around 0 0.090 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.090 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.090 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.090 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.090 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.090 * [taylor]: Taking taylor expansion of 1.0 in x 0.090 * [taylor]: Taking taylor expansion of x in x 0.090 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.090 * [taylor]: Taking taylor expansion of 1 in x 0.090 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.090 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.090 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.090 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.090 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.090 * [taylor]: Taking taylor expansion of 1.0 in x 0.090 * [taylor]: Taking taylor expansion of x in x 0.090 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.090 * [taylor]: Taking taylor expansion of 1 in x 0.112 * [approximate]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in (x) around 0 0.112 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.112 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.112 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.112 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.112 * [taylor]: Taking taylor expansion of 1.0 in x 0.112 * [taylor]: Taking taylor expansion of x in x 0.112 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.112 * [taylor]: Taking taylor expansion of 1 in x 0.112 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.112 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.112 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.112 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.112 * [taylor]: Taking taylor expansion of 1.0 in x 0.112 * [taylor]: Taking taylor expansion of x in x 0.112 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.113 * [taylor]: Taking taylor expansion of 1 in x 0.126 * * * [progress]: simplifying candidates 0.127 * [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.130 * * [simplify]: iteration 0 : 34 enodes (cost 76 ) 0.131 * * [simplify]: iteration 1 : 73 enodes (cost 67 ) 0.133 * * [simplify]: iteration 2 : 263 enodes (cost 67 ) 0.139 * * [simplify]: iteration 3 : 1366 enodes (cost 67 ) 0.179 * * [simplify]: iteration 4 : 5001 enodes (cost 67 ) 0.179 * [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.179 * * * [progress]: adding candidates to table 0.204 * * [progress]: iteration 2 / 4 0.204 * * * [progress]: picking best candidate 0.207 * * * * [pick]: Picked # 0.207 * * * [progress]: localizing error 0.216 * * * [progress]: generating rewritten candidates 0.216 * * * * [progress]: [ 1 / 2 ] rewriting at (2 1 1) 0.217 * * * * [progress]: [ 2 / 2 ] rewriting at (2) 0.220 * * * [progress]: generating series expansions 0.220 * * * * [progress]: [ 1 / 2 ] generating series at (2 1 1) 0.220 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in (x) around 0 0.220 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.220 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.220 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.220 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.220 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.220 * [taylor]: Taking taylor expansion of 1.0 in x 0.220 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.220 * [taylor]: Taking taylor expansion of x in x 0.221 * [taylor]: Taking taylor expansion of (fabs x) in x 0.221 * [taylor]: Taking taylor expansion of 1 in x 0.221 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.221 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.221 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.221 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.221 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.221 * [taylor]: Taking taylor expansion of 1.0 in x 0.221 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.221 * [taylor]: Taking taylor expansion of x in x 0.221 * [taylor]: Taking taylor expansion of (fabs x) in x 0.221 * [taylor]: Taking taylor expansion of 1 in x 0.246 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in (x) around 0 0.246 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.246 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.246 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.246 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.246 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.246 * [taylor]: Taking taylor expansion of 1.0 in x 0.246 * [taylor]: Taking taylor expansion of x in x 0.246 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.246 * [taylor]: Taking taylor expansion of 1 in x 0.246 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.246 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.246 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.246 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.246 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.246 * [taylor]: Taking taylor expansion of 1.0 in x 0.246 * [taylor]: Taking taylor expansion of x in x 0.246 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.246 * [taylor]: Taking taylor expansion of 1 in x 0.271 * [approximate]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in (x) around 0 0.271 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.272 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.272 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.272 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.272 * [taylor]: Taking taylor expansion of 1.0 in x 0.272 * [taylor]: Taking taylor expansion of x in x 0.272 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.272 * [taylor]: Taking taylor expansion of 1 in x 0.272 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.272 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.272 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.272 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.272 * [taylor]: Taking taylor expansion of 1.0 in x 0.272 * [taylor]: Taking taylor expansion of x in x 0.272 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.272 * [taylor]: Taking taylor expansion of 1 in x 0.286 * * * * [progress]: [ 2 / 2 ] generating series at (2) 0.286 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in (x) around 0 0.286 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.286 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.286 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.286 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.286 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.286 * [taylor]: Taking taylor expansion of 1.0 in x 0.286 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.286 * [taylor]: Taking taylor expansion of x in x 0.286 * [taylor]: Taking taylor expansion of (fabs x) in x 0.287 * [taylor]: Taking taylor expansion of 1 in x 0.287 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 (/ 1 x))) (fabs x) 1) in x 0.287 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 (/ 1 x))) (fabs x)) 1) 0.287 * [taylor]: Taking taylor expansion of (* (- (* 1.0 (/ 1 x))) (fabs x)) in x 0.287 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x))) in x 0.287 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.287 * [taylor]: Taking taylor expansion of 1.0 in x 0.287 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.287 * [taylor]: Taking taylor expansion of x in x 0.287 * [taylor]: Taking taylor expansion of (fabs x) in x 0.287 * [taylor]: Taking taylor expansion of 1 in x 0.312 * [approximate]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in (x) around 0 0.312 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.312 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.312 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.312 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.312 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.312 * [taylor]: Taking taylor expansion of 1.0 in x 0.312 * [taylor]: Taking taylor expansion of x in x 0.312 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.312 * [taylor]: Taking taylor expansion of 1 in x 0.312 * [taylor]: Taking taylor expansion of (fma (- (* 1.0 x)) (fabs (/ 1 x)) 1) in x 0.312 * [taylor]: Rewrote expression to (+ (* (- (* 1.0 x)) (fabs (/ 1 x))) 1) 0.312 * [taylor]: Taking taylor expansion of (* (- (* 1.0 x)) (fabs (/ 1 x))) in x 0.312 * [taylor]: Taking taylor expansion of (- (* 1.0 x)) in x 0.312 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.312 * [taylor]: Taking taylor expansion of 1.0 in x 0.312 * [taylor]: Taking taylor expansion of x in x 0.312 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.312 * [taylor]: Taking taylor expansion of 1 in x 0.335 * [approximate]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in (x) around 0 0.335 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.335 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.335 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.335 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.335 * [taylor]: Taking taylor expansion of 1.0 in x 0.335 * [taylor]: Taking taylor expansion of x in x 0.335 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.335 * [taylor]: Taking taylor expansion of 1 in x 0.335 * [taylor]: Taking taylor expansion of (fma (* 1.0 x) (fabs (/ -1 x)) 1) in x 0.335 * [taylor]: Rewrote expression to (+ (* (* 1.0 x) (fabs (/ -1 x))) 1) 0.335 * [taylor]: Taking taylor expansion of (* (* 1.0 x) (fabs (/ -1 x))) in x 0.335 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.335 * [taylor]: Taking taylor expansion of 1.0 in x 0.335 * [taylor]: Taking taylor expansion of x in x 0.335 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.335 * [taylor]: Taking taylor expansion of 1 in x 0.352 * * * [progress]: simplifying candidates 0.352 * [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.356 * * [simplify]: iteration 0 : 66 enodes (cost 212 ) 0.357 * * [simplify]: iteration 1 : 127 enodes (cost 187 ) 0.360 * * [simplify]: iteration 2 : 365 enodes (cost 187 ) 0.367 * * [simplify]: iteration 3 : 1673 enodes (cost 187 ) 0.411 * * [simplify]: iteration 4 : 5003 enodes (cost 187 ) 0.412 * [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.413 * * * [progress]: adding candidates to table 0.468 * * [progress]: iteration 3 / 4 0.468 * * * [progress]: picking best candidate 0.469 * * * * [pick]: Picked # 0.469 * * * [progress]: localizing error 0.475 * * * [progress]: generating rewritten candidates 0.475 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 0.482 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1) 0.492 * * * [progress]: generating series expansions 0.492 * * * * [progress]: [ 1 / 2 ] generating series at (2) 0.492 * [approximate]: Taking taylor expansion of (- 1 (* 1.0 (/ (fabs x) x))) in (x) around 0 0.492 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (/ (fabs x) x))) in x 0.492 * [taylor]: Taking taylor expansion of 1 in x 0.492 * [taylor]: Taking taylor expansion of (* 1.0 (/ (fabs x) x)) in x 0.492 * [taylor]: Taking taylor expansion of 1.0 in x 0.492 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.492 * [taylor]: Taking taylor expansion of (fabs x) in x 0.492 * [taylor]: Taking taylor expansion of x in x 0.492 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (/ (fabs x) x))) in x 0.492 * [taylor]: Taking taylor expansion of 1 in x 0.492 * [taylor]: Taking taylor expansion of (* 1.0 (/ (fabs x) x)) in x 0.492 * [taylor]: Taking taylor expansion of 1.0 in x 0.492 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.492 * [taylor]: Taking taylor expansion of (fabs x) in x 0.492 * [taylor]: Taking taylor expansion of x in x 0.513 * [approximate]: Taking taylor expansion of (- 1 (* 1.0 (* (fabs (/ 1 x)) x))) in (x) around 0 0.513 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (* (fabs (/ 1 x)) x))) in x 0.513 * [taylor]: Taking taylor expansion of 1 in x 0.513 * [taylor]: Taking taylor expansion of (* 1.0 (* (fabs (/ 1 x)) x)) in x 0.513 * [taylor]: Taking taylor expansion of 1.0 in x 0.513 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.513 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.513 * [taylor]: Taking taylor expansion of x in x 0.513 * [taylor]: Taking taylor expansion of (- 1 (* 1.0 (* (fabs (/ 1 x)) x))) in x 0.513 * [taylor]: Taking taylor expansion of 1 in x 0.513 * [taylor]: Taking taylor expansion of (* 1.0 (* (fabs (/ 1 x)) x)) in x 0.513 * [taylor]: Taking taylor expansion of 1.0 in x 0.513 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.513 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.513 * [taylor]: Taking taylor expansion of x in x 0.528 * [approximate]: Taking taylor expansion of (+ (* 1.0 (* x (fabs (/ -1 x)))) 1) in (x) around 0 0.528 * [taylor]: Taking taylor expansion of (+ (* 1.0 (* x (fabs (/ -1 x)))) 1) in x 0.528 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.528 * [taylor]: Taking taylor expansion of 1.0 in x 0.528 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.528 * [taylor]: Taking taylor expansion of x in x 0.528 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.528 * [taylor]: Taking taylor expansion of 1 in x 0.528 * [taylor]: Taking taylor expansion of (+ (* 1.0 (* x (fabs (/ -1 x)))) 1) in x 0.528 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.528 * [taylor]: Taking taylor expansion of 1.0 in x 0.528 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.528 * [taylor]: Taking taylor expansion of x in x 0.528 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.528 * [taylor]: Taking taylor expansion of 1 in x 0.543 * * * * [progress]: [ 2 / 2 ] generating series at (2 1) 0.544 * [approximate]: Taking taylor expansion of (* -1.0 (/ (fabs x) x)) in (x) around 0 0.544 * [taylor]: Taking taylor expansion of (* -1.0 (/ (fabs x) x)) in x 0.544 * [taylor]: Taking taylor expansion of -1.0 in x 0.544 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.544 * [taylor]: Taking taylor expansion of (fabs x) in x 0.544 * [taylor]: Taking taylor expansion of x in x 0.544 * [taylor]: Taking taylor expansion of (* -1.0 (/ (fabs x) x)) in x 0.544 * [taylor]: Taking taylor expansion of -1.0 in x 0.544 * [taylor]: Taking taylor expansion of (/ (fabs x) x) in x 0.544 * [taylor]: Taking taylor expansion of (fabs x) in x 0.544 * [taylor]: Taking taylor expansion of x in x 0.560 * [approximate]: Taking taylor expansion of (* -1.0 (* (fabs (/ 1 x)) x)) in (x) around 0 0.560 * [taylor]: Taking taylor expansion of (* -1.0 (* (fabs (/ 1 x)) x)) in x 0.560 * [taylor]: Taking taylor expansion of -1.0 in x 0.560 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.560 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.560 * [taylor]: Taking taylor expansion of x in x 0.561 * [taylor]: Taking taylor expansion of (* -1.0 (* (fabs (/ 1 x)) x)) in x 0.561 * [taylor]: Taking taylor expansion of -1.0 in x 0.561 * [taylor]: Taking taylor expansion of (* (fabs (/ 1 x)) x) in x 0.561 * [taylor]: Taking taylor expansion of (fabs (/ 1 x)) in x 0.561 * [taylor]: Taking taylor expansion of x in x 0.572 * [approximate]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in (x) around 0 0.572 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.572 * [taylor]: Taking taylor expansion of 1.0 in x 0.572 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.572 * [taylor]: Taking taylor expansion of x in x 0.572 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.572 * [taylor]: Taking taylor expansion of (* 1.0 (* x (fabs (/ -1 x)))) in x 0.572 * [taylor]: Taking taylor expansion of 1.0 in x 0.572 * [taylor]: Taking taylor expansion of (* x (fabs (/ -1 x))) in x 0.572 * [taylor]: Taking taylor expansion of x in x 0.572 * [taylor]: Taking taylor expansion of (fabs (/ -1 x)) in x 0.586 * * * [progress]: simplifying candidates 0.587 * [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.591 * * [simplify]: iteration 0 : 275 enodes (cost 372 ) 0.597 * * [simplify]: iteration 1 : 1065 enodes (cost 348 ) 0.618 * * [simplify]: iteration 2 : 4927 enodes (cost 341 ) 0.724 * * [simplify]: iteration 3 : 5001 enodes (cost 341 ) 0.727 * [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.727 * * * [progress]: adding candidates to table 0.832 * [progress]: [Phase 3 of 3] Extracting. 0.832 * * [regime]: Finding splitpoints for: (# #) 0.832 * * * [regime-changes]: Trying 1 branch expressions: (x) 0.833 * * * * [regimes]: Trying to branch on x from (# #) 0.842 * * * [regime]: Found split indices: #