4.075 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.036 * * * [progress]: [2/2] Setting up program. 0.038 * [progress]: [Phase 2 of 3] Improving. 0.038 * [simplify]: Simplifying using # : (- (log (- (/ 1.0 x) 1.0))) 0.039 * * [simplify]: iteration 0 : 6 enodes (cost 7 ) 0.040 * * [simplify]: iteration 1 : 8 enodes (cost 7 ) 0.041 * * [simplify]: iteration 2 : 9 enodes (cost 7 ) 0.042 * * [simplify]: iteration done : 9 enodes (cost 7 ) 0.042 * [simplify]: Simplified to: (- (log (- (/ 1.0 x) 1.0))) 0.042 * * [progress]: iteration 1 / 4 0.042 * * * [progress]: picking best candidate 0.044 * * * * [pick]: Picked # 0.044 * * * [progress]: localizing error 0.049 * * * [progress]: generating rewritten candidates 0.050 * * * * [progress]: [ 1 / 1 ] rewriting at (2 1) 0.060 * * * [progress]: generating series expansions 0.060 * * * * [progress]: [ 1 / 1 ] generating series at (2 1) 0.060 * [approximate]: Taking taylor expansion of (log (- (* 1.0 (/ 1 x)) 1.0)) in (x) around 0 0.060 * [taylor]: Taking taylor expansion of (log (- (* 1.0 (/ 1 x)) 1.0)) in x 0.060 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x)) 1.0) in x 0.060 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.060 * [taylor]: Taking taylor expansion of 1.0 in x 0.060 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.060 * [taylor]: Taking taylor expansion of x in x 0.061 * [taylor]: Taking taylor expansion of 1.0 in x 0.062 * [taylor]: Taking taylor expansion of (log (- (* 1.0 (/ 1 x)) 1.0)) in x 0.062 * [taylor]: Taking taylor expansion of (- (* 1.0 (/ 1 x)) 1.0) in x 0.062 * [taylor]: Taking taylor expansion of (* 1.0 (/ 1 x)) in x 0.062 * [taylor]: Taking taylor expansion of 1.0 in x 0.062 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.062 * [taylor]: Taking taylor expansion of x in x 0.062 * [taylor]: Taking taylor expansion of 1.0 in x 0.080 * [approximate]: Taking taylor expansion of (log (- (* 1.0 x) 1.0)) in (x) around 0 0.080 * [taylor]: Taking taylor expansion of (log (- (* 1.0 x) 1.0)) in x 0.080 * [taylor]: Taking taylor expansion of (- (* 1.0 x) 1.0) in x 0.080 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.080 * [taylor]: Taking taylor expansion of 1.0 in x 0.080 * [taylor]: Taking taylor expansion of x in x 0.080 * [taylor]: Taking taylor expansion of 1.0 in x 0.082 * [taylor]: Taking taylor expansion of (log (- (* 1.0 x) 1.0)) in x 0.082 * [taylor]: Taking taylor expansion of (- (* 1.0 x) 1.0) in x 0.082 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.082 * [taylor]: Taking taylor expansion of 1.0 in x 0.082 * [taylor]: Taking taylor expansion of x in x 0.082 * [taylor]: Taking taylor expansion of 1.0 in x 0.099 * [approximate]: Taking taylor expansion of (log (- (+ (* 1.0 x) 1.0))) in (x) around 0 0.099 * [taylor]: Taking taylor expansion of (log (- (+ (* 1.0 x) 1.0))) in x 0.099 * [taylor]: Taking taylor expansion of (- (+ (* 1.0 x) 1.0)) in x 0.099 * [taylor]: Taking taylor expansion of (+ (* 1.0 x) 1.0) 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 1.0 in x 0.101 * [taylor]: Taking taylor expansion of (log (- (+ (* 1.0 x) 1.0))) in x 0.101 * [taylor]: Taking taylor expansion of (- (+ (* 1.0 x) 1.0)) in x 0.101 * [taylor]: Taking taylor expansion of (+ (* 1.0 x) 1.0) in x 0.101 * [taylor]: Taking taylor expansion of (* 1.0 x) in x 0.101 * [taylor]: Taking taylor expansion of 1.0 in x 0.101 * [taylor]: Taking taylor expansion of x in x 0.101 * [taylor]: Taking taylor expansion of 1.0 in x 0.122 * * * [progress]: simplifying candidates 0.123 * [simplify]: Simplifying using # : (expm1 (log (- (/ 1.0 x) 1.0))) (log1p (log (- (/ 1.0 x) 1.0))) (log (* (cbrt (- (/ 1.0 x) 1.0)) (cbrt (- (/ 1.0 x) 1.0)))) (log (cbrt (- (/ 1.0 x) 1.0))) (log (sqrt (- (/ 1.0 x) 1.0))) (log (sqrt (- (/ 1.0 x) 1.0))) (log 1) (log (- (/ 1.0 x) 1.0)) (log (+ (sqrt (/ 1.0 x)) (sqrt 1.0))) (log (- (sqrt (/ 1.0 x)) (sqrt 1.0))) (log (+ (/ (sqrt 1.0) (sqrt x)) (sqrt 1.0))) (log (- (/ (sqrt 1.0) (sqrt x)) (sqrt 1.0))) (log 1) (log (- (/ 1.0 x) 1.0)) (log (- (pow (/ 1.0 x) 3) (pow 1.0 3))) (log (+ (* (/ 1.0 x) (/ 1.0 x)) (+ (* 1.0 1.0) (* (/ 1.0 x) 1.0)))) (log (- (* (/ 1.0 x) (/ 1.0 x)) (* 1.0 1.0))) (log (+ (/ 1.0 x) 1.0)) (log (- (/ 1.0 x) 1.0)) (log (log (- (/ 1.0 x) 1.0))) (exp (log (- (/ 1.0 x) 1.0))) (* (cbrt (log (- (/ 1.0 x) 1.0))) (cbrt (log (- (/ 1.0 x) 1.0)))) (cbrt (log (- (/ 1.0 x) 1.0))) (* (* (log (- (/ 1.0 x) 1.0)) (log (- (/ 1.0 x) 1.0))) (log (- (/ 1.0 x) 1.0))) (sqrt (log (- (/ 1.0 x) 1.0))) (sqrt (log (- (/ 1.0 x) 1.0))) (- (log 1.0) (+ (log x) (+ (* 1.0 x) (* 0.5 (/ (pow x 2) (pow 1.0 2)))))) (- (log (- 1.0)) (+ (* 0.5 (/ 1 (* (pow x 2) (pow -1.0 2)))) (* 1.0 (/ 1 x)))) (- (log (- 1.0)) (+ (* 1/2 (/ 1 (pow x 2))) (* 1.0 (/ 1 x)))) 0.125 * * [simplify]: iteration 0 : 77 enodes (cost 278 ) 0.139 * * [simplify]: iteration 1 : 162 enodes (cost 267 ) 0.169 * * [simplify]: iteration 2 : 458 enodes (cost 245 ) 0.298 * * [simplify]: iteration 3 : 2110 enodes (cost 242 ) 1.127 * * [simplify]: iteration done : 5000 enodes (cost 242 ) 1.127 * [simplify]: Simplified to: (expm1 (log (- (/ 1.0 x) 1.0))) (log1p (log (- (/ 1.0 x) 1.0))) (* 2 (log (cbrt (- (/ 1.0 x) 1.0)))) (log (cbrt (- (/ 1.0 x) 1.0))) (log (sqrt (- (/ 1.0 x) 1.0))) (log (sqrt (- (/ 1.0 x) 1.0))) 0 (log (- (/ 1.0 x) 1.0)) (log (+ (sqrt (/ 1.0 x)) (sqrt 1.0))) (log (- (sqrt (/ 1.0 x)) (sqrt 1.0))) (log (+ (/ (sqrt 1.0) (sqrt x)) (sqrt 1.0))) (log (- (/ (sqrt 1.0) (sqrt x)) (sqrt 1.0))) 0 (log (- (/ 1.0 x) 1.0)) (log (- (pow (/ 1.0 x) 3) (pow 1.0 3))) (log (fma 1.0 1.0 (* (+ (/ 1.0 x) 1.0) (/ 1.0 x)))) (log (- (* (/ 1.0 x) (/ 1.0 x)) (* 1.0 1.0))) (log (+ (/ 1.0 x) 1.0)) (log (- (/ 1.0 x) 1.0)) (log (log (- (/ 1.0 x) 1.0))) (- (/ 1.0 x) 1.0) (* (cbrt (log (- (/ 1.0 x) 1.0))) (cbrt (log (- (/ 1.0 x) 1.0)))) (cbrt (log (- (/ 1.0 x) 1.0))) (pow (log (- (/ 1.0 x) 1.0)) 3) (sqrt (log (- (/ 1.0 x) 1.0))) (sqrt (log (- (/ 1.0 x) 1.0))) (- (log 1.0) (fma x 1.0 (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x)))) (- (- (log (- 1.0)) (/ 1.0 x)) (/ 0.5 (* (pow x 2) (pow -1.0 2)))) (- (- (log (- 1.0)) (/ 1/2 (pow x 2))) (/ 1.0 x)) 1.127 * * * [progress]: adding candidates to table 1.175 * * [progress]: iteration 2 / 4 1.175 * * * [progress]: picking best candidate 1.178 * * * * [pick]: Picked # 1.178 * * * [progress]: localizing error 1.191 * * * [progress]: generating rewritten candidates 1.191 * * * * [progress]: [ 1 / 1 ] rewriting at (2 1 2 3) 1.192 * * * [progress]: generating series expansions 1.192 * * * * [progress]: [ 1 / 1 ] generating series at (2 1 2 3) 1.193 * [approximate]: Taking taylor expansion of (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x)) in (x) around 0 1.193 * [taylor]: Taking taylor expansion of (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x)) in x 1.194 * [taylor]: Rewrote expression to (+ (* 0.5 (/ (pow x 2) (pow 1.0 2))) (log x)) 1.194 * [taylor]: Taking taylor expansion of (* 0.5 (/ (pow x 2) (pow 1.0 2))) in x 1.194 * [taylor]: Taking taylor expansion of 0.5 in x 1.194 * [taylor]: Taking taylor expansion of (/ (pow x 2) (pow 1.0 2)) in x 1.194 * [taylor]: Taking taylor expansion of (pow x 2) in x 1.194 * [taylor]: Taking taylor expansion of x in x 1.194 * [taylor]: Taking taylor expansion of (pow 1.0 2) in x 1.194 * [taylor]: Taking taylor expansion of 1.0 in x 1.195 * [taylor]: Taking taylor expansion of (log x) in x 1.195 * [taylor]: Taking taylor expansion of x in x 1.195 * [taylor]: Taking taylor expansion of (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x)) in x 1.196 * [taylor]: Rewrote expression to (+ (* 0.5 (/ (pow x 2) (pow 1.0 2))) (log x)) 1.196 * [taylor]: Taking taylor expansion of (* 0.5 (/ (pow x 2) (pow 1.0 2))) in x 1.196 * [taylor]: Taking taylor expansion of 0.5 in x 1.196 * [taylor]: Taking taylor expansion of (/ (pow x 2) (pow 1.0 2)) in x 1.196 * [taylor]: Taking taylor expansion of (pow x 2) in x 1.196 * [taylor]: Taking taylor expansion of x in x 1.196 * [taylor]: Taking taylor expansion of (pow 1.0 2) in x 1.196 * [taylor]: Taking taylor expansion of 1.0 in x 1.197 * [taylor]: Taking taylor expansion of (log x) in x 1.197 * [taylor]: Taking taylor expansion of x in x 1.319 * [approximate]: Taking taylor expansion of (fma 0.5 (/ 1 (* (pow x 2) (pow 1.0 2))) (log (/ 1 x))) in (x) around 0 1.319 * [taylor]: Taking taylor expansion of (fma 0.5 (/ 1 (* (pow x 2) (pow 1.0 2))) (log (/ 1 x))) in x 1.319 * [taylor]: Rewrote expression to (+ (* 0.5 (/ 1 (* (pow x 2) (pow 1.0 2)))) (log (/ 1 x))) 1.319 * [taylor]: Taking taylor expansion of (* 0.5 (/ 1 (* (pow x 2) (pow 1.0 2)))) in x 1.319 * [taylor]: Taking taylor expansion of 0.5 in x 1.319 * [taylor]: Taking taylor expansion of (/ 1 (* (pow x 2) (pow 1.0 2))) in x 1.319 * [taylor]: Taking taylor expansion of (* (pow x 2) (pow 1.0 2)) in x 1.319 * [taylor]: Taking taylor expansion of (pow x 2) in x 1.319 * [taylor]: Taking taylor expansion of x in x 1.319 * [taylor]: Taking taylor expansion of (pow 1.0 2) in x 1.319 * [taylor]: Taking taylor expansion of 1.0 in x 1.320 * [taylor]: Taking taylor expansion of (log (/ 1 x)) in x 1.320 * [taylor]: Taking taylor expansion of (/ 1 x) in x 1.320 * [taylor]: Taking taylor expansion of x in x 1.321 * [taylor]: Taking taylor expansion of (fma 0.5 (/ 1 (* (pow x 2) (pow 1.0 2))) (log (/ 1 x))) in x 1.321 * [taylor]: Rewrote expression to (+ (* 0.5 (/ 1 (* (pow x 2) (pow 1.0 2)))) (log (/ 1 x))) 1.321 * [taylor]: Taking taylor expansion of (* 0.5 (/ 1 (* (pow x 2) (pow 1.0 2)))) in x 1.321 * [taylor]: Taking taylor expansion of 0.5 in x 1.321 * [taylor]: Taking taylor expansion of (/ 1 (* (pow x 2) (pow 1.0 2))) in x 1.321 * [taylor]: Taking taylor expansion of (* (pow x 2) (pow 1.0 2)) in x 1.321 * [taylor]: Taking taylor expansion of (pow x 2) in x 1.321 * [taylor]: Taking taylor expansion of x in x 1.321 * [taylor]: Taking taylor expansion of (pow 1.0 2) in x 1.321 * [taylor]: Taking taylor expansion of 1.0 in x 1.322 * [taylor]: Taking taylor expansion of (log (/ 1 x)) in x 1.322 * [taylor]: Taking taylor expansion of (/ 1 x) in x 1.322 * [taylor]: Taking taylor expansion of x in x 1.389 * [approximate]: Taking taylor expansion of (fma 0.5 (/ 1 (* (pow x 2) (pow 1.0 2))) (log (/ -1 x))) in (x) around 0 1.390 * [taylor]: Taking taylor expansion of (fma 0.5 (/ 1 (* (pow x 2) (pow 1.0 2))) (log (/ -1 x))) in x 1.390 * [taylor]: Rewrote expression to (+ (* 0.5 (/ 1 (* (pow x 2) (pow 1.0 2)))) (log (/ -1 x))) 1.390 * [taylor]: Taking taylor expansion of (* 0.5 (/ 1 (* (pow x 2) (pow 1.0 2)))) in x 1.390 * [taylor]: Taking taylor expansion of 0.5 in x 1.390 * [taylor]: Taking taylor expansion of (/ 1 (* (pow x 2) (pow 1.0 2))) in x 1.390 * [taylor]: Taking taylor expansion of (* (pow x 2) (pow 1.0 2)) in x 1.390 * [taylor]: Taking taylor expansion of (pow x 2) in x 1.390 * [taylor]: Taking taylor expansion of x in x 1.390 * [taylor]: Taking taylor expansion of (pow 1.0 2) in x 1.390 * [taylor]: Taking taylor expansion of 1.0 in x 1.391 * [taylor]: Taking taylor expansion of (log (/ -1 x)) in x 1.391 * [taylor]: Taking taylor expansion of (/ -1 x) in x 1.391 * [taylor]: Taking taylor expansion of -1 in x 1.391 * [taylor]: Taking taylor expansion of x in x 1.391 * [taylor]: Taking taylor expansion of (fma 0.5 (/ 1 (* (pow x 2) (pow 1.0 2))) (log (/ -1 x))) in x 1.391 * [taylor]: Rewrote expression to (+ (* 0.5 (/ 1 (* (pow x 2) (pow 1.0 2)))) (log (/ -1 x))) 1.392 * [taylor]: Taking taylor expansion of (* 0.5 (/ 1 (* (pow x 2) (pow 1.0 2)))) in x 1.392 * [taylor]: Taking taylor expansion of 0.5 in x 1.392 * [taylor]: Taking taylor expansion of (/ 1 (* (pow x 2) (pow 1.0 2))) in x 1.392 * [taylor]: Taking taylor expansion of (* (pow x 2) (pow 1.0 2)) in x 1.392 * [taylor]: Taking taylor expansion of (pow x 2) in x 1.392 * [taylor]: Taking taylor expansion of x in x 1.392 * [taylor]: Taking taylor expansion of (pow 1.0 2) in x 1.392 * [taylor]: Taking taylor expansion of 1.0 in x 1.393 * [taylor]: Taking taylor expansion of (log (/ -1 x)) in x 1.393 * [taylor]: Taking taylor expansion of (/ -1 x) in x 1.393 * [taylor]: Taking taylor expansion of -1 in x 1.393 * [taylor]: Taking taylor expansion of x in x 1.463 * * * [progress]: simplifying candidates 1.463 * [simplify]: Simplifying using # : (expm1 (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x))) (log1p (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x))) (* 0.5 (/ (pow x 2) (pow 1.0 2))) (log (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x))) (exp (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x))) (* (cbrt (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x))) (cbrt (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x)))) (cbrt (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x))) (* (* (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x)) (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x))) (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x))) (sqrt (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x))) (sqrt (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x))) (+ (* 0.5 (pow x 2)) (log x)) (- (* 0.5 (pow x 2)) (log (/ 1 x))) (- (+ (* 0.5 (pow x 2)) (log -1)) (log (/ -1 x))) 1.464 * * [simplify]: iteration 0 : 31 enodes (cost 184 ) 1.470 * * [simplify]: iteration 1 : 60 enodes (cost 181 ) 1.481 * * [simplify]: iteration 2 : 160 enodes (cost 157 ) 1.524 * * [simplify]: iteration 3 : 633 enodes (cost 154 ) 1.757 * * [simplify]: iteration 4 : 2776 enodes (cost 152 ) 2.870 * * [simplify]: iteration done : 5001 enodes (cost 152 ) 2.871 * [simplify]: Simplified to: (expm1 (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x))) (log1p (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x))) (* 0.5 (/ (pow x 2) (pow 1.0 2))) (log (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x))) (exp (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x))) (* (cbrt (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x))) (cbrt (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x)))) (cbrt (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x))) (pow (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x)) 3) (sqrt (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x))) (sqrt (fma 0.5 (/ (pow x 2) (pow 1.0 2)) (log x))) (fma (* x 0.5) x (log x)) (fma (* x 0.5) x (log x)) (fma (* x 0.5) x (log x)) 2.871 * * * [progress]: adding candidates to table 2.914 * [progress]: [Phase 3 of 3] Extracting. 2.914 * * [regime]: Finding splitpoints for: (# #) 2.915 * * * [regime-changes]: Trying 5 branch expressions: ((/ 1.0 x) (- (/ 1.0 x) 1.0) (log (- (/ 1.0 x) 1.0)) (- (log (- (/ 1.0 x) 1.0))) x) 2.915 * * * * [regimes]: Trying to branch on (/ 1.0 x) from (# #) 2.926 * * * * [regimes]: Trying to branch on (- (/ 1.0 x) 1.0) from (# #) 2.937 * * * * [regimes]: Trying to branch on (log (- (/ 1.0 x) 1.0)) from (# #) 2.954 * * * * [regimes]: Trying to branch on (- (log (- (/ 1.0 x) 1.0))) from (# #) 2.969 * * * * [regimes]: Trying to branch on x from (# #) 2.979 * * * [regime]: Found split indices: #