5.801 * [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.032 * * [simplify]: iteration 2 : 10 enodes (cost 4 ) 0.032 * [simplify]: Simplified to: (- (atan (+ N 1.0)) (atan N)) 0.033 * * [progress]: iteration 1 / 4 0.033 * * * [progress]: picking best candidate 0.034 * * * * [pick]: Picked # 0.034 * * * [progress]: localizing error 0.040 * * * [progress]: generating rewritten candidates 0.040 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 0.044 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1) 0.046 * * * [progress]: generating series expansions 0.046 * * * * [progress]: [ 1 / 2 ] generating series at (2) 0.046 * [approximate]: Taking taylor expansion of (- (atan (+ N 1.0)) (atan N)) in (N) around 0 0.046 * [taylor]: Taking taylor expansion of (- (atan (+ N 1.0)) (atan N)) in N 0.046 * [taylor]: Taking taylor expansion of (atan (+ N 1.0)) in N 0.046 * [taylor]: Taking taylor expansion of (atan N) in N 0.046 * [taylor]: Taking taylor expansion of (- (atan (+ N 1.0)) (atan N)) in N 0.046 * [taylor]: Taking taylor expansion of (atan (+ N 1.0)) in N 0.046 * [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.050 * [taylor]: Taking taylor expansion of (atan (/ 1 N)) in N 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.050 * [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.063 * * [simplify]: iteration 0 : 129 enodes (cost 365 ) 0.066 * * [simplify]: iteration 1 : 345 enodes (cost 264 ) 0.074 * * [simplify]: iteration 2 : 1480 enodes (cost 254 ) 0.107 * * [simplify]: iteration 3 : 5001 enodes (cost 198 ) 0.109 * [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.109 * * * [progress]: adding candidates to table 0.170 * * [progress]: iteration 2 / 4 0.170 * * * [progress]: picking best candidate 0.173 * * * * [pick]: Picked # 0.173 * * * [progress]: localizing error 0.178 * * * [progress]: generating rewritten candidates 0.178 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.179 * * * [progress]: generating series expansions 0.179 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.179 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in (N) around 0 0.179 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.180 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.180 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in (N) around 0 0.180 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.180 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.180 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in (N) around 0 0.180 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.181 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.181 * * * [progress]: simplifying candidates 0.181 * [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.184 * * [simplify]: iteration 0 : 21 enodes (cost 57 ) 0.185 * * [simplify]: iteration 1 : 32 enodes (cost 50 ) 0.187 * * [simplify]: iteration 2 : 55 enodes (cost 50 ) 0.189 * * [simplify]: iteration 3 : 70 enodes (cost 50 ) 0.190 * * [simplify]: iteration 4 : 89 enodes (cost 50 ) 0.192 * * [simplify]: iteration 5 : 143 enodes (cost 50 ) 0.197 * * [simplify]: iteration 6 : 567 enodes (cost 50 ) 0.212 * * [simplify]: iteration 7 : 1779 enodes (cost 50 ) 0.277 * * [simplify]: iteration 8 : 5001 enodes (cost 50 ) 0.278 * [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.278 * * * [progress]: adding candidates to table 0.301 * * [progress]: iteration 3 / 4 0.301 * * * [progress]: picking best candidate 0.306 * * * * [pick]: Picked # 0.306 * * * [progress]: localizing error 0.314 * * * [progress]: generating rewritten candidates 0.314 * * * * [progress]: [ 1 / 4 ] rewriting at (2 2) 0.316 * * * * [progress]: [ 2 / 4 ] rewriting at (2 1) 0.317 * * * * [progress]: [ 3 / 4 ] rewriting at (2) 0.323 * * * * [progress]: [ 4 / 4 ] rewriting at (2 2 1) 0.326 * * * [progress]: generating series expansions 0.326 * * * * [progress]: [ 1 / 4 ] generating series at (2 2) 0.326 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in (N) around 0 0.326 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in N 0.326 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.326 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in N 0.326 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.330 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in (N) around 0 0.330 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in N 0.330 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.330 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in N 0.330 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.334 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in (N) around 0 0.334 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in N 0.334 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.334 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in N 0.334 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.337 * * * * [progress]: [ 2 / 4 ] generating series at (2 1) 0.338 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in (N) around 0 0.338 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in N 0.338 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.338 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in N 0.338 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.341 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in (N) around 0 0.341 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in N 0.341 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.341 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in N 0.341 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.345 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in (N) around 0 0.345 * [taylor]: Taking taylor expansion of (sqrt (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 * [taylor]: Taking taylor expansion of (sqrt (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.348 * * * * [progress]: [ 3 / 4 ] generating series at (2) 0.349 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in (N) around 0 0.349 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.349 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.349 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in (N) around 0 0.349 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.349 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.350 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in (N) around 0 0.350 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.350 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.350 * * * * [progress]: [ 4 / 4 ] generating series at (2 2 1) 0.350 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in (N) around 0 0.350 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.350 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.351 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in (N) around 0 0.351 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.351 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.351 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in (N) around 0 0.351 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.351 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.352 * * * [progress]: simplifying candidates 0.353 * [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.359 * * [simplify]: iteration 0 : 100 enodes (cost 554 ) 0.362 * * [simplify]: iteration 1 : 375 enodes (cost 496 ) 0.373 * * [simplify]: iteration 2 : 2244 enodes (cost 476 ) 0.456 * * [simplify]: iteration 3 : 5001 enodes (cost 461 ) 0.460 * [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.461 * * * [progress]: adding candidates to table 0.595 * * [progress]: iteration 4 / 4 0.595 * * * [progress]: picking best candidate 0.603 * * * * [pick]: Picked # 0.603 * * * [progress]: localizing error 0.617 * * * [progress]: generating rewritten candidates 0.618 * * * * [progress]: [ 1 / 4 ] rewriting at (2 2 1) 0.619 * * * * [progress]: [ 2 / 4 ] rewriting at (2 1 1 1) 0.621 * * * * [progress]: [ 3 / 4 ] rewriting at (2 2 1 1) 0.621 * * * * [progress]: [ 4 / 4 ] rewriting at (2 1 1 1 1) 0.623 * * * [progress]: generating series expansions 0.623 * * * * [progress]: [ 1 / 4 ] generating series at (2 2 1) 0.623 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in (N) around 0 0.623 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in N 0.623 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.623 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in N 0.623 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.627 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in (N) around 0 0.627 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in N 0.627 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.627 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in N 0.627 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.631 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in (N) around 0 0.631 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in N 0.631 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.631 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in N 0.631 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.634 * * * * [progress]: [ 2 / 4 ] generating series at (2 1 1 1) 0.634 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in (N) around 0 0.634 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in N 0.634 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.635 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma N (+ N 1.0) 1))) in N 0.635 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.638 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1))) in (N) around 0 0.638 * [taylor]: Taking taylor expansion of (sqrt (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.638 * [taylor]: Taking taylor expansion of (sqrt (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.642 * [approximate]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in (N) around 0 0.642 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in N 0.642 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.642 * [taylor]: Taking taylor expansion of (sqrt (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1))) in N 0.642 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.646 * * * * [progress]: [ 3 / 4 ] generating series at (2 2 1 1) 0.646 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in (N) around 0 0.646 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.646 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.646 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in (N) around 0 0.646 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.646 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.647 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in (N) around 0 0.647 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.647 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.647 * * * * [progress]: [ 4 / 4 ] generating series at (2 1 1 1 1) 0.647 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in (N) around 0 0.647 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.647 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma N (+ N 1.0) 1)) in N 0.648 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in (N) around 0 0.648 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.648 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ 1 N) (+ (/ 1 N) 1.0) 1)) in N 0.648 * [approximate]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in (N) around 0 0.648 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.648 * [taylor]: Taking taylor expansion of (atan2 1.0 (fma (/ -1 N) (- 1.0 (/ 1 N)) 1)) in N 0.649 * * * [progress]: simplifying candidates 0.649 * [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.653 * * [simplify]: iteration 0 : 37 enodes (cost 296 ) 0.655 * * [simplify]: iteration 1 : 62 enodes (cost 276 ) 0.657 * * [simplify]: iteration 2 : 100 enodes (cost 276 ) 0.659 * * [simplify]: iteration 3 : 148 enodes (cost 276 ) 0.662 * * [simplify]: iteration 4 : 341 enodes (cost 276 ) 0.668 * * [simplify]: iteration 5 : 975 enodes (cost 276 ) 0.696 * * [simplify]: iteration 6 : 3911 enodes (cost 274 ) 0.821 * * [simplify]: iteration 7 : 5001 enodes (cost 274 ) 0.824 * [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.824 * * * [progress]: adding candidates to table 0.964 * [progress]: [Phase 3 of 3] Extracting. 0.964 * * [regime]: Finding splitpoints for: (# # # # # # #) 0.966 * * * [regime-changes]: Trying 1 branch expressions: (N) 0.966 * * * * [regimes]: Trying to branch on N from (# # # # # # #) 0.993 * * * [regime]: Found split indices: #