9.237 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.025 * * * [progress]: [2/2] Setting up program. 0.027 * [progress]: [Phase 2 of 3] Improving. 0.027 * [simplify]: Simplifying using # : (- (atan (+ N 1.0)) (atan N)) 0.030 * * [simplify]: iteration 0 : 9 enodes (cost 4 ) 0.031 * * [simplify]: iteration 1 : 10 enodes (cost 4 ) 0.033 * * [simplify]: iteration 2 : 10 enodes (cost 4 ) 0.033 * [simplify]: Simplified to: (- (atan (+ N 1.0)) (atan N)) 0.033 * * [progress]: iteration 1 / 4 0.033 * * * [progress]: picking best candidate 0.035 * * * * [pick]: Picked # 0.035 * * * [progress]: localizing error 0.041 * * * [progress]: generating rewritten candidates 0.041 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 0.045 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1) 0.047 * * * [progress]: generating series expansions 0.047 * * * * [progress]: [ 1 / 2 ] generating series at (2) 0.047 * [approximate]: Taking taylor expansion of (- (atan (+ N 1.0)) (atan N)) in (N) around 0 0.047 * [taylor]: Taking taylor expansion of (- (atan (+ N 1.0)) (atan N)) in N 0.047 * [taylor]: Taking taylor expansion of (atan (+ N 1.0)) in N 0.047 * [taylor]: Taking taylor expansion of (atan N) in N 0.047 * [taylor]: Taking taylor expansion of (- (atan (+ N 1.0)) (atan N)) in N 0.047 * [taylor]: Taking taylor expansion of (atan (+ N 1.0)) in N 0.047 * [taylor]: Taking taylor expansion of (atan N) in N 0.050 * [approximate]: Taking taylor expansion of (- (atan (+ (/ 1 N) 1.0)) (atan (/ 1 N))) in (N) around 0 0.050 * [taylor]: Taking taylor expansion of (- (atan (+ (/ 1 N) 1.0)) (atan (/ 1 N))) in N 0.050 * [taylor]: Taking taylor expansion of (atan (+ (/ 1 N) 1.0)) in N 0.051 * [taylor]: Taking taylor expansion of (atan (/ 1 N)) in N 0.051 * [taylor]: Taking taylor expansion of (- (atan (+ (/ 1 N) 1.0)) (atan (/ 1 N))) in N 0.051 * [taylor]: Taking taylor expansion of (atan (+ (/ 1 N) 1.0)) in N 0.051 * [taylor]: Taking taylor expansion of (atan (/ 1 N)) in N 0.054 * [approximate]: Taking taylor expansion of (- (atan (- 1.0 (/ 1 N))) (atan (/ -1 N))) in (N) around 0 0.054 * [taylor]: Taking taylor expansion of (- (atan (- 1.0 (/ 1 N))) (atan (/ -1 N))) in N 0.054 * [taylor]: Taking taylor expansion of (atan (- 1.0 (/ 1 N))) in N 0.054 * [taylor]: Taking taylor expansion of (atan (/ -1 N)) in N 0.054 * [taylor]: Taking taylor expansion of (- (atan (- 1.0 (/ 1 N))) (atan (/ -1 N))) in N 0.054 * [taylor]: Taking taylor expansion of (atan (- 1.0 (/ 1 N))) in N 0.054 * [taylor]: Taking taylor expansion of (atan (/ -1 N)) in N 0.057 * * * * [progress]: [ 2 / 2 ] generating series at (2 1) 0.057 * [approximate]: Taking taylor expansion of (atan (+ N 1.0)) in (N) around 0 0.057 * [taylor]: Taking taylor expansion of (atan (+ N 1.0)) in N 0.057 * [taylor]: Taking taylor expansion of (atan (+ N 1.0)) in N 0.058 * [approximate]: Taking taylor expansion of (atan (+ (/ 1 N) 1.0)) in (N) around 0 0.058 * [taylor]: Taking taylor expansion of (atan (+ (/ 1 N) 1.0)) in N 0.058 * [taylor]: Taking taylor expansion of (atan (+ (/ 1 N) 1.0)) in N 0.058 * [approximate]: Taking taylor expansion of (atan (- 1.0 (/ 1 N))) in (N) around 0 0.058 * [taylor]: Taking taylor expansion of (atan (- 1.0 (/ 1 N))) in N 0.058 * [taylor]: Taking taylor expansion of (atan (- 1.0 (/ 1 N))) in N 0.058 * * * [progress]: simplifying candidates 0.059 * [simplify]: Simplifying using # : (fma (* (cbrt (atan (+ N 1.0))) (cbrt (atan (+ N 1.0)))) (cbrt (atan (+ N 1.0))) (- (* (cbrt (atan N)) (* (cbrt (atan N)) (cbrt (atan N)))))) (fma (- (cbrt (atan N))) (* (cbrt (atan N)) (cbrt (atan N))) (* (cbrt (atan N)) (* (cbrt (atan N)) (cbrt (atan N))))) (fma (* (cbrt (atan (+ N 1.0))) (cbrt (atan (+ N 1.0)))) (cbrt (atan (+ N 1.0))) (- (* (sqrt (atan N)) (sqrt (atan N))))) (fma (- (sqrt (atan N))) (sqrt (atan N)) (* (sqrt (atan N)) (sqrt (atan N)))) (fma (* (cbrt (atan (+ N 1.0))) (cbrt (atan (+ N 1.0)))) (cbrt (atan (+ N 1.0))) (- (* (atan N) 1))) (fma (- (atan N)) 1 (* (atan N) 1)) (fma (sqrt (atan (+ N 1.0))) (sqrt (atan (+ N 1.0))) (- (* (cbrt (atan N)) (* (cbrt (atan N)) (cbrt (atan N)))))) (fma (- (cbrt (atan N))) (* (cbrt (atan N)) (cbrt (atan N))) (* (cbrt (atan N)) (* (cbrt (atan N)) (cbrt (atan N))))) (fma (sqrt (atan (+ N 1.0))) (sqrt (atan (+ N 1.0))) (- (* (sqrt (atan N)) (sqrt (atan N))))) (fma (- (sqrt (atan N))) (sqrt (atan N)) (* (sqrt (atan N)) (sqrt (atan N)))) (fma (sqrt (atan (+ N 1.0))) (sqrt (atan (+ N 1.0))) (- (* (atan N) 1))) (fma (- (atan N)) 1 (* (atan N) 1)) (fma 1 (atan (+ N 1.0)) (- (* (cbrt (atan N)) (* (cbrt (atan N)) (cbrt (atan N)))))) (fma (- (cbrt (atan N))) (* (cbrt (atan N)) (cbrt (atan N))) (* (cbrt (atan N)) (* (cbrt (atan N)) (cbrt (atan N))))) (fma 1 (atan (+ N 1.0)) (- (* (sqrt (atan N)) (sqrt (atan N))))) (fma (- (sqrt (atan N))) (sqrt (atan N)) (* (sqrt (atan N)) (sqrt (atan N)))) (fma 1 (atan (+ N 1.0)) (- (* (atan N) 1))) (fma (- (atan N)) 1 (* (atan N) 1)) (expm1 (- (atan (+ N 1.0)) (atan N))) (log1p (- (atan (+ N 1.0)) (atan N))) (- (atan N)) (- (atan N)) (- (atan N)) (- (+ N 1.0) N) (+ 1 (* (+ N 1.0) N)) (/ (exp (atan (+ N 1.0))) (exp (atan N))) (log (- (atan (+ N 1.0)) (atan N))) (exp (- (atan (+ N 1.0)) (atan N))) (* (cbrt (- (atan (+ N 1.0)) (atan N))) (cbrt (- (atan (+ N 1.0)) (atan N)))) (cbrt (- (atan (+ N 1.0)) (atan N))) (* (* (- (atan (+ N 1.0)) (atan N)) (- (atan (+ N 1.0)) (atan N))) (- (atan (+ N 1.0)) (atan N))) (sqrt (- (atan (+ N 1.0)) (atan N))) (sqrt (- (atan (+ N 1.0)) (atan N))) (- (pow (atan (+ N 1.0)) 3) (pow (atan N) 3)) (+ (* (atan (+ N 1.0)) (atan (+ N 1.0))) (+ (* (atan N) (atan N)) (* (atan (+ N 1.0)) (atan N)))) (- (atan N)) (- (* (atan (+ N 1.0)) (atan (+ N 1.0))) (* (atan N) (atan N))) (+ (atan (+ N 1.0)) (atan N)) (+ (sqrt (atan (+ N 1.0))) (sqrt (atan N))) (- (sqrt (atan (+ N 1.0))) (sqrt (atan N))) (- (atan (+ N 1.0)) (atan N)) (- (atan N)) (expm1 (atan (+ N 1.0))) (log1p (atan (+ N 1.0))) (log (atan (+ N 1.0))) (exp (atan (+ N 1.0))) (* (cbrt (atan (+ N 1.0))) (cbrt (atan (+ N 1.0)))) (cbrt (atan (+ N 1.0))) (* (* (atan (+ N 1.0)) (atan (+ N 1.0))) (atan (+ N 1.0))) (sqrt (atan (+ N 1.0))) (sqrt (atan (+ N 1.0))) (- (atan (+ N 1.0)) (atan N)) (- (atan (+ N 1.0)) (atan N)) (- (atan (+ N 1.0)) (atan N)) (atan (+ N 1.0)) (atan (+ N 1.0)) (atan (+ N 1.0)) 0.067 * * [simplify]: iteration 0 : 129 enodes (cost 365 ) 0.070 * * [simplify]: iteration 1 : 345 enodes (cost 264 ) 0.077 * * [simplify]: iteration 2 : 1480 enodes (cost 254 ) 0.109 * * [simplify]: iteration 3 : 5001 enodes (cost 198 ) 0.111 * [simplify]: Simplified to: (- (atan (+ N 1.0)) (atan N)) 0 (- (atan (+ N 1.0)) (atan N)) 0 (- (atan (+ N 1.0)) (atan N)) 0 (- (atan (+ N 1.0)) (atan N)) 0 (- (atan (+ N 1.0)) (atan N)) 0 (- (atan (+ N 1.0)) (atan N)) 0 (- (atan (+ N 1.0)) (atan N)) 0 (- (atan (+ N 1.0)) (atan N)) 0 (- (atan (+ N 1.0)) (atan N)) 0 (expm1 (- (atan (+ N 1.0)) (atan N))) (log1p (- (atan (+ N 1.0)) (atan N))) (- (atan N)) (- (atan N)) (- (atan N)) 1.0 (fma N (+ N 1.0) 1) (exp (- (atan (+ N 1.0)) (atan N))) (log (- (atan (+ N 1.0)) (atan N))) (exp (- (atan (+ N 1.0)) (atan N))) (* (cbrt (- (atan (+ N 1.0)) (atan N))) (cbrt (- (atan (+ N 1.0)) (atan N)))) (cbrt (- (atan (+ N 1.0)) (atan N))) (pow (- (atan (+ N 1.0)) (atan N)) 3) (sqrt (- (atan (+ N 1.0)) (atan N))) (sqrt (- (atan (+ N 1.0)) (atan N))) (- (pow (atan (+ N 1.0)) 3) (pow (atan N) 3)) (fma (atan (+ N 1.0)) (+ (atan (+ N 1.0)) (atan N)) (* (atan N) (atan N))) (- (atan N)) (- (* (atan (+ N 1.0)) (atan (+ N 1.0))) (* (atan N) (atan N))) (+ (atan (+ N 1.0)) (atan N)) (+ (sqrt (atan (+ N 1.0))) (sqrt (atan N))) (- (sqrt (atan (+ N 1.0))) (sqrt (atan N))) (- (atan (+ N 1.0)) (atan N)) (- (atan N)) (expm1 (atan (+ N 1.0))) (log1p (atan (+ N 1.0))) (log (atan (+ N 1.0))) (exp (atan (+ N 1.0))) (* (cbrt (atan (+ N 1.0))) (cbrt (atan (+ N 1.0)))) (cbrt (atan (+ N 1.0))) (pow (atan (+ N 1.0)) 3) (sqrt (atan (+ N 1.0))) (sqrt (atan (+ N 1.0))) (- (atan (+ N 1.0)) (atan N)) (- (atan (+ N 1.0)) (atan N)) (- (atan (+ N 1.0)) (atan N)) (atan (+ N 1.0)) (atan (+ N 1.0)) (atan (+ N 1.0)) 0.111 * * * [progress]: adding candidates to table 0.166 * * [progress]: iteration 2 / 4 0.166 * * * [progress]: picking best candidate 0.167 * * * * [pick]: Picked # 0.167 * * * [progress]: localizing error 0.173 * * * [progress]: generating rewritten candidates 0.173 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.174 * * * [progress]: generating series expansions 0.174 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.174 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in (N) around 0 0.174 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.174 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.174 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in (N) around 0 0.174 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.174 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.175 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in (N) around 0 0.175 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.175 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.175 * * * [progress]: simplifying candidates 0.176 * [simplify]: Simplifying using # : (expm1 (atan2 1.0 (fma N (+ N 1.0) 1))) (log1p (atan2 1.0 (fma N (+ N 1.0) 1))) (log (atan2 1.0 (fma N (+ N 1.0) 1))) (exp (atan2 1.0 (fma N (+ N 1.0) 1))) (* (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (* (* (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1))) (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) 0.182 * * [simplify]: iteration 0 : 21 enodes (cost 57 ) 0.184 * * [simplify]: iteration 1 : 32 enodes (cost 50 ) 0.185 * * [simplify]: iteration 2 : 55 enodes (cost 50 ) 0.187 * * [simplify]: iteration 3 : 70 enodes (cost 50 ) 0.189 * * [simplify]: iteration 4 : 89 enodes (cost 50 ) 0.191 * * [simplify]: iteration 5 : 143 enodes (cost 50 ) 0.197 * * [simplify]: iteration 6 : 567 enodes (cost 50 ) 0.213 * * [simplify]: iteration 7 : 1779 enodes (cost 50 ) 0.276 * * [simplify]: iteration 8 : 5001 enodes (cost 50 ) 0.276 * [simplify]: Simplified to: (expm1 (atan2 1.0 (fma N (+ N 1.0) 1))) (log1p (atan2 1.0 (fma N (+ N 1.0) 1))) (log (atan2 1.0 (fma N (+ N 1.0) 1))) (exp (atan2 1.0 (fma N (+ N 1.0) 1))) (* (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (pow (atan2 1.0 (fma N (+ N 1.0) 1)) 3) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) 0.277 * * * [progress]: adding candidates to table 0.295 * * [progress]: iteration 3 / 4 0.295 * * * [progress]: picking best candidate 0.299 * * * * [pick]: Picked # 0.299 * * * [progress]: localizing error 0.306 * * * [progress]: generating rewritten candidates 0.307 * * * * [progress]: [ 1 / 4 ] rewriting at (2 2) 0.308 * * * * [progress]: [ 2 / 4 ] rewriting at (2 1) 0.309 * * * * [progress]: [ 3 / 4 ] rewriting at (2) 0.316 * * * * [progress]: [ 4 / 4 ] rewriting at (2 2 1) 0.318 * * * [progress]: generating series expansions 0.319 * * * * [progress]: [ 1 / 4 ] generating series at (2 2) 0.319 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in (N) around 0 0.319 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in N 0.319 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.319 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in N 0.319 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.322 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in (N) around 0 0.323 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in N 0.323 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.323 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in N 0.323 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.327 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in (N) around 0 0.327 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in N 0.327 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.327 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in N 0.327 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.330 * * * * [progress]: [ 2 / 4 ] generating series at (2 1) 0.331 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in (N) around 0 0.331 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in N 0.331 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.331 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in N 0.331 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.334 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in (N) around 0 0.334 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in N 0.334 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.334 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in N 0.334 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.338 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in (N) around 0 0.338 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in N 0.338 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.338 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in N 0.338 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.342 * * * * [progress]: [ 3 / 4 ] generating series at (2) 0.342 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in (N) around 0 0.342 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.342 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.342 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in (N) around 0 0.342 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.342 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.343 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in (N) around 0 0.343 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.343 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.343 * * * * [progress]: [ 4 / 4 ] generating series at (2 2 1) 0.344 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in (N) around 0 0.344 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.344 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.344 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in (N) around 0 0.344 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.344 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.344 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in (N) around 0 0.345 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.345 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.345 * * * [progress]: simplifying candidates 0.346 * [simplify]: Simplifying using # : (expm1 (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (log1p (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (log (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (exp (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (* (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt 1) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (/ 1 2) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (expm1 (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (log1p (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (log (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (exp (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (* (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt 1) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (/ 1 2) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (expm1 (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (log1p (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (+ 1/2 1/2) (+ 1/2 (/ 1 2)) (+ 1 1) (+ (/ 1 2) 1/2) (+ (/ 1 2) (/ 1 2)) (* (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1))) (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1))) (+ 1 1) (+ (log (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (log (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (log (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (exp (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (* (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (cbrt (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (cbrt (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))))) (cbrt (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (* (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (sqrt (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (* (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))))) (* (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt (* (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (sqrt (* (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))))) (* (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt 1) (sqrt 1)) (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* 1 1) (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* 2 1/2) (* 2 1) (* 2 (/ 1 2)) (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (* (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))))) (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (* (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))))) (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt 1)) (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 1) (* (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (expm1 (atan2 1.0 (fma N (+ N 1.0) 1))) (log1p (atan2 1.0 (fma N (+ N 1.0) 1))) (log (atan2 1.0 (fma N (+ N 1.0) 1))) (exp (atan2 1.0 (fma N (+ N 1.0) 1))) (* (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (* (* (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1))) (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) 0.355 * * [simplify]: iteration 0 : 100 enodes (cost 560 ) 0.359 * * [simplify]: iteration 1 : 417 enodes (cost 496 ) 0.370 * * [simplify]: iteration 2 : 2277 enodes (cost 476 ) 0.452 * * [simplify]: iteration 3 : 5002 enodes (cost 461 ) 0.455 * [simplify]: Simplified to: (expm1 (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (log1p (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (log (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (exp (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (pow (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 3) (fabs (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) 1 (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 1/2 (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (expm1 (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (log1p (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (log (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (exp (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (pow (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 3) (fabs (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) 1 (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 1/2 (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (expm1 (atan2 1.0 (fma N (+ N 1.0) 1))) (log1p (atan2 1.0 (fma N (+ N 1.0) 1))) 1 1 2 1 1 (pow (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 4) (atan2 1.0 (fma N (+ N 1.0) 1)) (pow (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 4) 2 (log (atan2 1.0 (fma N (+ N 1.0) 1))) (log (atan2 1.0 (fma N (+ N 1.0) 1))) (exp (atan2 1.0 (fma N (+ N 1.0) 1))) (pow (atan2 1.0 (fma N (+ N 1.0) 1)) 3) (pow (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) 4) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (pow (atan2 1.0 (fma N (+ N 1.0) 1)) 3) (pow (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 4) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (pow (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) 4) (* (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (pow (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) 4) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 1 (atan2 1.0 (fma N (+ N 1.0) 1)) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 1 (atan2 1.0 (fma N (+ N 1.0) 1)) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 1 2 1 (pow (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) 5) (* (fabs (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (pow (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) 3) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (pow (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) 3) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (pow (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) 4) (* (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (pow (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) 3) (atan2 1.0 (fma N (+ N 1.0) 1)) (pow (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) 3) (atan2 1.0 (fma N (+ N 1.0) 1)) (expm1 (atan2 1.0 (fma N (+ N 1.0) 1))) (log1p (atan2 1.0 (fma N (+ N 1.0) 1))) (log (atan2 1.0 (fma N (+ N 1.0) 1))) (exp (atan2 1.0 (fma N (+ N 1.0) 1))) (pow (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) 4) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (pow (atan2 1.0 (fma N (+ N 1.0) 1)) 3) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) 0.456 * * * [progress]: adding candidates to table 0.589 * * [progress]: iteration 4 / 4 0.589 * * * [progress]: picking best candidate 0.600 * * * * [pick]: Picked # 0.600 * * * [progress]: localizing error 0.610 * * * [progress]: generating rewritten candidates 0.610 * * * * [progress]: [ 1 / 4 ] rewriting at (2 2 1) 0.612 * * * * [progress]: [ 2 / 4 ] rewriting at (2 1 1 1) 0.613 * * * * [progress]: [ 3 / 4 ] rewriting at (2 2 1 1) 0.614 * * * * [progress]: [ 4 / 4 ] rewriting at (2 1 1 1 1) 0.615 * * * [progress]: generating series expansions 0.615 * * * * [progress]: [ 1 / 4 ] generating series at (2 2 1) 0.615 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in (N) around 0 0.615 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in N 0.615 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.616 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in N 0.616 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.619 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in (N) around 0 0.619 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in N 0.619 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.619 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in N 0.619 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.623 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in (N) around 0 0.623 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in N 0.623 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.623 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in N 0.623 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.627 * * * * [progress]: [ 2 / 4 ] generating series at (2 1 1 1) 0.627 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in (N) around 0 0.627 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in N 0.627 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.627 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in N 0.627 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.630 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in (N) around 0 0.630 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in N 0.630 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.630 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in N 0.630 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.634 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in (N) around 0 0.634 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in N 0.634 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.634 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in N 0.634 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.638 * * * * [progress]: [ 3 / 4 ] generating series at (2 2 1 1) 0.638 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in (N) around 0 0.638 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.638 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.638 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in (N) around 0 0.638 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.638 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.639 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in (N) around 0 0.639 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.639 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.639 * * * * [progress]: [ 4 / 4 ] generating series at (2 1 1 1 1) 0.639 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in (N) around 0 0.639 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.639 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.639 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in (N) around 0 0.639 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.640 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.640 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in (N) around 0 0.640 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.640 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.640 * * * [progress]: simplifying candidates 0.641 * [simplify]: Simplifying using # : (expm1 (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (log1p (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (log (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (exp (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (* (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt 1) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (/ 1 2) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (expm1 (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (log1p (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (log (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (exp (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (* (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (* (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt 1) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (/ 1 2) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (expm1 (atan2 1.0 (fma N (+ N 1.0) 1))) (log1p (atan2 1.0 (fma N (+ N 1.0) 1))) (log (atan2 1.0 (fma N (+ N 1.0) 1))) (exp (atan2 1.0 (fma N (+ N 1.0) 1))) (* (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (* (* (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1))) (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (expm1 (atan2 1.0 (fma N (+ N 1.0) 1))) (log1p (atan2 1.0 (fma N (+ N 1.0) 1))) (log (atan2 1.0 (fma N (+ N 1.0) 1))) (exp (atan2 1.0 (fma N (+ N 1.0) 1))) (* (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (* (* (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1))) (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) 0.645 * * [simplify]: iteration 0 : 37 enodes (cost 296 ) 0.646 * * [simplify]: iteration 1 : 62 enodes (cost 276 ) 0.648 * * [simplify]: iteration 2 : 100 enodes (cost 276 ) 0.650 * * [simplify]: iteration 3 : 148 enodes (cost 276 ) 0.653 * * [simplify]: iteration 4 : 341 enodes (cost 276 ) 0.659 * * [simplify]: iteration 5 : 975 enodes (cost 276 ) 0.685 * * [simplify]: iteration 6 : 3911 enodes (cost 274 ) 0.805 * * [simplify]: iteration 7 : 5001 enodes (cost 274 ) 0.807 * [simplify]: Simplified to: (expm1 (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (log1p (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (log (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (exp (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (pow (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 3) (fabs (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (pow (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 1/2) (pow (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 1/2) 1 (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 1/2 (pow (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 1/2) (pow (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 1/2) (expm1 (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (log1p (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (log (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (exp (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (* (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))))) (cbrt (sqrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (pow (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 3) (fabs (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (sqrt (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (pow (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 1/2) (pow (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 1/2) 1 (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 1/2 (pow (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 1/2) (pow (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) 1/2) (expm1 (atan2 1.0 (fma N (+ N 1.0) 1))) (log1p (atan2 1.0 (fma N (+ N 1.0) 1))) (log (atan2 1.0 (fma N (+ N 1.0) 1))) (exp (atan2 1.0 (fma N (+ N 1.0) 1))) (* (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (pow (atan2 1.0 (fma N (+ N 1.0) 1)) 3) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (expm1 (atan2 1.0 (fma N (+ N 1.0) 1))) (log1p (atan2 1.0 (fma N (+ N 1.0) 1))) (log (atan2 1.0 (fma N (+ N 1.0) 1))) (exp (atan2 1.0 (fma N (+ N 1.0) 1))) (* (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1)))) (cbrt (atan2 1.0 (fma N (+ N 1.0) 1))) (pow (atan2 1.0 (fma N (+ N 1.0) 1)) 3) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) (atan2 1.0 (fma N (+ N 1.0) 1)) 0.808 * * * [progress]: adding candidates to table 0.946 * [progress]: [Phase 3 of 3] Extracting. 0.946 * * [regime]: Finding splitpoints for: (# # # # # # #) 0.947 * * * [regime-changes]: Trying 1 branch expressions: (N) 0.948 * * * * [regimes]: Trying to branch on N from (# # # # # # #) 0.973 * * * [regime]: Found split indices: #