5.903 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.045 * * * [progress]: [2/2] Setting up program. 0.047 * [progress]: [Phase 2 of 3] Improving. 0.047 * [simplify]: Simplifying using # : (- (exp x) 1.0) 0.049 * * [simplify]: iteration 0 : 6 enodes (cost 2 ) 0.051 * * [simplify]: iteration 1 : 7 enodes (cost 2 ) 0.052 * * [simplify]: iteration 2 : 7 enodes (cost 2 ) 0.052 * [simplify]: Simplified to: (- (exp x) 1.0) 0.052 * * [progress]: iteration 1 / 4 0.052 * * * [progress]: picking best candidate 0.054 * * * * [pick]: Picked # 0.054 * * * [progress]: localizing error 0.057 * * * [progress]: generating rewritten candidates 0.057 * * * * [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 (- (exp x) 1.0) in (x) around 0 0.063 * [taylor]: Taking taylor expansion of (- (exp x) 1.0) in x 0.063 * [taylor]: Taking taylor expansion of (exp x) in x 0.063 * [taylor]: Taking taylor expansion of x in x 0.063 * [taylor]: Taking taylor expansion of 1.0 in x 0.063 * [taylor]: Taking taylor expansion of (- (exp x) 1.0) in x 0.063 * [taylor]: Taking taylor expansion of (exp x) in x 0.063 * [taylor]: Taking taylor expansion of x in x 0.063 * [taylor]: Taking taylor expansion of 1.0 in x 0.069 * [approximate]: Taking taylor expansion of (- (exp (/ 1 x)) 1.0) in (x) around 0 0.069 * [taylor]: Taking taylor expansion of (- (exp (/ 1 x)) 1.0) in x 0.069 * [taylor]: Taking taylor expansion of (exp (/ 1 x)) in x 0.069 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.069 * [taylor]: Taking taylor expansion of x in x 0.069 * [taylor]: Taking taylor expansion of 1.0 in x 0.069 * [taylor]: Taking taylor expansion of (- (exp (/ 1 x)) 1.0) in x 0.069 * [taylor]: Taking taylor expansion of (exp (/ 1 x)) in x 0.069 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.069 * [taylor]: Taking taylor expansion of x in x 0.070 * [taylor]: Taking taylor expansion of 1.0 in x 0.073 * [approximate]: Taking taylor expansion of (- (exp (/ -1 x)) 1.0) in (x) around 0 0.073 * [taylor]: Taking taylor expansion of (- (exp (/ -1 x)) 1.0) in x 0.073 * [taylor]: Taking taylor expansion of (exp (/ -1 x)) in x 0.073 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.073 * [taylor]: Taking taylor expansion of -1 in x 0.073 * [taylor]: Taking taylor expansion of x in x 0.074 * [taylor]: Taking taylor expansion of 1.0 in x 0.074 * [taylor]: Taking taylor expansion of (- (exp (/ -1 x)) 1.0) in x 0.074 * [taylor]: Taking taylor expansion of (exp (/ -1 x)) in x 0.074 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.074 * [taylor]: Taking taylor expansion of -1 in x 0.074 * [taylor]: Taking taylor expansion of x in x 0.074 * [taylor]: Taking taylor expansion of 1.0 in x 0.078 * * * [progress]: simplifying candidates 0.078 * [simplify]: Simplifying using # : (fma (* (cbrt (exp x)) (cbrt (exp x))) (cbrt (exp x)) (- (* (cbrt 1.0) (* (cbrt 1.0) (cbrt 1.0))))) (fma (- (cbrt 1.0)) (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt 1.0) (* (cbrt 1.0) (cbrt 1.0)))) (fma (* (cbrt (exp x)) (cbrt (exp x))) (cbrt (exp x)) (- (* (sqrt 1.0) (sqrt 1.0)))) (fma (- (sqrt 1.0)) (sqrt 1.0) (* (sqrt 1.0) (sqrt 1.0))) (fma (* (cbrt (exp x)) (cbrt (exp x))) (cbrt (exp x)) (- (* 1.0 1))) (fma (- 1.0) 1 (* 1.0 1)) (fma (sqrt (exp x)) (sqrt (exp x)) (- (* (cbrt 1.0) (* (cbrt 1.0) (cbrt 1.0))))) (fma (- (cbrt 1.0)) (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt 1.0) (* (cbrt 1.0) (cbrt 1.0)))) (fma (sqrt (exp x)) (sqrt (exp x)) (- (* (sqrt 1.0) (sqrt 1.0)))) (fma (- (sqrt 1.0)) (sqrt 1.0) (* (sqrt 1.0) (sqrt 1.0))) (fma (sqrt (exp x)) (sqrt (exp x)) (- (* 1.0 1))) (fma (- 1.0) 1 (* 1.0 1)) (fma 1 (exp x) (- (* (cbrt 1.0) (* (cbrt 1.0) (cbrt 1.0))))) (fma (- (cbrt 1.0)) (* (cbrt 1.0) (cbrt 1.0)) (* (cbrt 1.0) (* (cbrt 1.0) (cbrt 1.0)))) (fma 1 (exp x) (- (* (sqrt 1.0) (sqrt 1.0)))) (fma (- (sqrt 1.0)) (sqrt 1.0) (* (sqrt 1.0) (sqrt 1.0))) (fma 1 (exp x) (- (* 1.0 1))) (fma (- 1.0) 1 (* 1.0 1)) (expm1 (- (exp x) 1.0)) (log1p (- (exp x) 1.0)) (- 1.0) (- 1.0) (- 1.0) (/ (exp (exp x)) (exp 1.0)) (log (- (exp x) 1.0)) (exp (- (exp x) 1.0)) (* (cbrt (- (exp x) 1.0)) (cbrt (- (exp x) 1.0))) (cbrt (- (exp x) 1.0)) (* (* (- (exp x) 1.0) (- (exp x) 1.0)) (- (exp x) 1.0)) (sqrt (- (exp x) 1.0)) (sqrt (- (exp x) 1.0)) (- (pow (exp x) 3) (pow 1.0 3)) (+ (* (exp x) (exp x)) (+ (* 1.0 1.0) (* (exp x) 1.0))) (- 1.0) (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0) (+ (sqrt (exp x)) (sqrt 1.0)) (- (sqrt (exp x)) (sqrt 1.0)) (- (exp x) 1.0) (- 1.0) (+ (* 1/2 (pow x 2)) (+ (* 1/6 (pow x 3)) x)) (- (exp x) 1.0) (- (exp x) 1.0) 0.082 * * [simplify]: iteration 0 : 140 enodes (cost 205 ) 0.085 * * [simplify]: iteration 1 : 403 enodes (cost 130 ) 0.094 * * [simplify]: iteration 2 : 2063 enodes (cost 120 ) 0.139 * * [simplify]: iteration 3 : 5003 enodes (cost 90 ) 0.140 * [simplify]: Simplified to: (- (exp x) 1.0) 0 (- (exp x) 1.0) 0 (- (exp x) 1.0) 0 (- (exp x) 1.0) 0 (- (exp x) 1.0) 0 (- (exp x) 1.0) 0 (- (exp x) 1.0) 0 (- (exp x) 1.0) 0 (- (exp x) 1.0) 0 (expm1 (- (exp x) 1.0)) (log1p (- (exp x) 1.0)) (- 1.0) (- 1.0) (- 1.0) (exp (- (exp x) 1.0)) (log (- (exp x) 1.0)) (exp (- (exp x) 1.0)) (* (cbrt (- (exp x) 1.0)) (cbrt (- (exp x) 1.0))) (cbrt (- (exp x) 1.0)) (pow (- (exp x) 1.0) 3) (sqrt (- (exp x) 1.0)) (sqrt (- (exp x) 1.0)) (- (pow (exp x) 3) (pow 1.0 3)) (fma 1.0 (+ (exp x) 1.0) (exp (+ x x))) (- 1.0) (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0) (+ (sqrt (exp x)) (sqrt 1.0)) (- (sqrt (exp x)) (sqrt 1.0)) (- (exp x) 1.0) (- 1.0) (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) (- (exp x) 1.0) (- (exp x) 1.0) 0.141 * * * [progress]: adding candidates to table 0.184 * * [progress]: iteration 2 / 4 0.184 * * * [progress]: picking best candidate 0.186 * * * * [pick]: Picked # 0.186 * * * [progress]: localizing error 0.195 * * * [progress]: generating rewritten candidates 0.195 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.196 * * * [progress]: generating series expansions 0.196 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.196 * [approximate]: Taking taylor expansion of (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) in (x) around 0 0.196 * [taylor]: Taking taylor expansion of (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) in x 0.196 * [taylor]: Rewrote expression to (+ (* 1/2 (pow x 2)) (fma 1/6 (pow x 3) x)) 0.196 * [taylor]: Taking taylor expansion of (* 1/2 (pow x 2)) in x 0.196 * [taylor]: Taking taylor expansion of 1/2 in x 0.196 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.196 * [taylor]: Taking taylor expansion of x in x 0.196 * [taylor]: Taking taylor expansion of (fma 1/6 (pow x 3) x) in x 0.196 * [taylor]: Rewrote expression to (+ (* 1/6 (pow x 3)) x) 0.196 * [taylor]: Taking taylor expansion of (* 1/6 (pow x 3)) in x 0.196 * [taylor]: Taking taylor expansion of 1/6 in x 0.196 * [taylor]: Taking taylor expansion of (pow x 3) in x 0.196 * [taylor]: Taking taylor expansion of x in x 0.196 * [taylor]: Taking taylor expansion of x in x 0.196 * [taylor]: Taking taylor expansion of (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) in x 0.196 * [taylor]: Rewrote expression to (+ (* 1/2 (pow x 2)) (fma 1/6 (pow x 3) x)) 0.196 * [taylor]: Taking taylor expansion of (* 1/2 (pow x 2)) in x 0.196 * [taylor]: Taking taylor expansion of 1/2 in x 0.196 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.196 * [taylor]: Taking taylor expansion of x in x 0.196 * [taylor]: Taking taylor expansion of (fma 1/6 (pow x 3) x) in x 0.196 * [taylor]: Rewrote expression to (+ (* 1/6 (pow x 3)) x) 0.197 * [taylor]: Taking taylor expansion of (* 1/6 (pow x 3)) in x 0.197 * [taylor]: Taking taylor expansion of 1/6 in x 0.197 * [taylor]: Taking taylor expansion of (pow x 3) in x 0.197 * [taylor]: Taking taylor expansion of x in x 0.197 * [taylor]: Taking taylor expansion of x in x 0.201 * [approximate]: Taking taylor expansion of (fma 1/2 (pow (/ 1 x) 2) (fma 1/6 (pow (/ 1 x) 3) (/ 1 x))) in (x) around 0 0.201 * [taylor]: Taking taylor expansion of (fma 1/2 (pow (/ 1 x) 2) (fma 1/6 (pow (/ 1 x) 3) (/ 1 x))) in x 0.201 * [taylor]: Rewrote expression to (+ (* 1/2 (pow (/ 1 x) 2)) (fma 1/6 (pow (/ 1 x) 3) (/ 1 x))) 0.201 * [taylor]: Taking taylor expansion of (* 1/2 (pow (/ 1 x) 2)) in x 0.201 * [taylor]: Taking taylor expansion of 1/2 in x 0.201 * [taylor]: Taking taylor expansion of (pow (/ 1 x) 2) in x 0.201 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.201 * [taylor]: Taking taylor expansion of x in x 0.202 * [taylor]: Taking taylor expansion of (fma 1/6 (pow (/ 1 x) 3) (/ 1 x)) in x 0.202 * [taylor]: Rewrote expression to (+ (* 1/6 (pow (/ 1 x) 3)) (/ 1 x)) 0.202 * [taylor]: Taking taylor expansion of (* 1/6 (pow (/ 1 x) 3)) in x 0.202 * [taylor]: Taking taylor expansion of 1/6 in x 0.202 * [taylor]: Taking taylor expansion of (pow (/ 1 x) 3) in x 0.202 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.202 * [taylor]: Taking taylor expansion of x in x 0.202 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.202 * [taylor]: Taking taylor expansion of x in x 0.202 * [taylor]: Taking taylor expansion of (fma 1/2 (pow (/ 1 x) 2) (fma 1/6 (pow (/ 1 x) 3) (/ 1 x))) in x 0.202 * [taylor]: Rewrote expression to (+ (* 1/2 (pow (/ 1 x) 2)) (fma 1/6 (pow (/ 1 x) 3) (/ 1 x))) 0.202 * [taylor]: Taking taylor expansion of (* 1/2 (pow (/ 1 x) 2)) in x 0.202 * [taylor]: Taking taylor expansion of 1/2 in x 0.203 * [taylor]: Taking taylor expansion of (pow (/ 1 x) 2) in x 0.203 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.203 * [taylor]: Taking taylor expansion of x in x 0.203 * [taylor]: Taking taylor expansion of (fma 1/6 (pow (/ 1 x) 3) (/ 1 x)) in x 0.203 * [taylor]: Rewrote expression to (+ (* 1/6 (pow (/ 1 x) 3)) (/ 1 x)) 0.203 * [taylor]: Taking taylor expansion of (* 1/6 (pow (/ 1 x) 3)) in x 0.203 * [taylor]: Taking taylor expansion of 1/6 in x 0.203 * [taylor]: Taking taylor expansion of (pow (/ 1 x) 3) in x 0.203 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.203 * [taylor]: Taking taylor expansion of x in x 0.203 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.203 * [taylor]: Taking taylor expansion of x in x 0.211 * [approximate]: Taking taylor expansion of (fma 1/2 (pow (/ -1 x) 2) (fma 1/6 (pow (/ -1 x) 3) (/ -1 x))) in (x) around 0 0.211 * [taylor]: Taking taylor expansion of (fma 1/2 (pow (/ -1 x) 2) (fma 1/6 (pow (/ -1 x) 3) (/ -1 x))) in x 0.211 * [taylor]: Rewrote expression to (+ (* 1/2 (pow (/ -1 x) 2)) (fma 1/6 (pow (/ -1 x) 3) (/ -1 x))) 0.211 * [taylor]: Taking taylor expansion of (* 1/2 (pow (/ -1 x) 2)) in x 0.211 * [taylor]: Taking taylor expansion of 1/2 in x 0.211 * [taylor]: Taking taylor expansion of (pow (/ -1 x) 2) in x 0.211 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.211 * [taylor]: Taking taylor expansion of -1 in x 0.211 * [taylor]: Taking taylor expansion of x in x 0.212 * [taylor]: Taking taylor expansion of (fma 1/6 (pow (/ -1 x) 3) (/ -1 x)) in x 0.212 * [taylor]: Rewrote expression to (+ (* 1/6 (pow (/ -1 x) 3)) (/ -1 x)) 0.212 * [taylor]: Taking taylor expansion of (* 1/6 (pow (/ -1 x) 3)) in x 0.212 * [taylor]: Taking taylor expansion of 1/6 in x 0.212 * [taylor]: Taking taylor expansion of (pow (/ -1 x) 3) in x 0.212 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.212 * [taylor]: Taking taylor expansion of -1 in x 0.212 * [taylor]: Taking taylor expansion of x in x 0.212 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.212 * [taylor]: Taking taylor expansion of -1 in x 0.212 * [taylor]: Taking taylor expansion of x in x 0.212 * [taylor]: Taking taylor expansion of (fma 1/2 (pow (/ -1 x) 2) (fma 1/6 (pow (/ -1 x) 3) (/ -1 x))) in x 0.213 * [taylor]: Rewrote expression to (+ (* 1/2 (pow (/ -1 x) 2)) (fma 1/6 (pow (/ -1 x) 3) (/ -1 x))) 0.213 * [taylor]: Taking taylor expansion of (* 1/2 (pow (/ -1 x) 2)) in x 0.213 * [taylor]: Taking taylor expansion of 1/2 in x 0.213 * [taylor]: Taking taylor expansion of (pow (/ -1 x) 2) in x 0.213 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.213 * [taylor]: Taking taylor expansion of -1 in x 0.213 * [taylor]: Taking taylor expansion of x in x 0.213 * [taylor]: Taking taylor expansion of (fma 1/6 (pow (/ -1 x) 3) (/ -1 x)) in x 0.213 * [taylor]: Rewrote expression to (+ (* 1/6 (pow (/ -1 x) 3)) (/ -1 x)) 0.213 * [taylor]: Taking taylor expansion of (* 1/6 (pow (/ -1 x) 3)) in x 0.213 * [taylor]: Taking taylor expansion of 1/6 in x 0.213 * [taylor]: Taking taylor expansion of (pow (/ -1 x) 3) in x 0.213 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.213 * [taylor]: Taking taylor expansion of -1 in x 0.213 * [taylor]: Taking taylor expansion of x in x 0.213 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.214 * [taylor]: Taking taylor expansion of -1 in x 0.214 * [taylor]: Taking taylor expansion of x in x 0.224 * * * [progress]: simplifying candidates 0.225 * [simplify]: Simplifying using # : (expm1 (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (log1p (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (* 1/2 (pow x 2)) (log (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (exp (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (* (cbrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (cbrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))) (cbrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (* (* (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (+ (* 1/2 (pow x 2)) (+ (* 1/6 (pow x 3)) x)) (+ (* 1/2 (pow x 2)) (+ x (* 1/6 (pow x 3)))) (+ (* 1/2 (pow x 2)) (+ x (* 1/6 (pow x 3)))) 0.227 * * [simplify]: iteration 0 : 45 enodes (cost 74 ) 0.229 * * [simplify]: iteration 1 : 152 enodes (cost 65 ) 0.233 * * [simplify]: iteration 2 : 948 enodes (cost 65 ) 0.257 * * [simplify]: iteration 3 : 5001 enodes (cost 65 ) 0.258 * [simplify]: Simplified to: (expm1 (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (log1p (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (* 1/2 (pow x 2)) (log (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (exp (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (* (cbrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (cbrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))) (cbrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (pow (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) 3) (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (sqrt (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))) (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)) 0.258 * * * [progress]: adding candidates to table 0.282 * [progress]: [Phase 3 of 3] Extracting. 0.282 * * [regime]: Finding splitpoints for: (# #) 0.283 * * * [regime-changes]: Trying 3 branch expressions: ((exp x) (- (exp x) 1.0) x) 0.283 * * * * [regimes]: Trying to branch on (exp x) from (# #) 0.293 * * * * [regimes]: Trying to branch on (- (exp x) 1.0) from (# #) 0.303 * * * * [regimes]: Trying to branch on x from (# #) 0.315 * * * [regime]: Found split indices: #