0.859 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.051 * * * [progress]: [2/2] Setting up program. 0.053 * [progress]: [Phase 2 of 3] Improving. 0.053 * [simplify]: Simplifying using # : (/ (- 1.0 (cos x)) (* x x)) 0.054 * * [simplify]: iteration 0 : 6 enodes (cost 8 ) 0.055 * * [simplify]: iteration 1 : 13 enodes (cost 8 ) 0.056 * * [simplify]: iteration 2 : 21 enodes (cost 8 ) 0.068 * * [simplify]: iteration 3 : 26 enodes (cost 8 ) 0.071 * * [simplify]: iteration 4 : 29 enodes (cost 8 ) 0.074 * * [simplify]: iteration done : 29 enodes (cost 8 ) 0.074 * [simplify]: Simplified to: (/ (- 1.0 (cos x)) (* x x)) 0.074 * * [progress]: iteration 1 / 4 0.074 * * * [progress]: picking best candidate 0.075 * * * * [pick]: Picked # 0.076 * * * [progress]: localizing error 0.082 * * * [progress]: generating rewritten candidates 0.082 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 0.091 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1) 0.096 * * * [progress]: generating series expansions 0.096 * * * * [progress]: [ 1 / 2 ] generating series at (2) 0.097 * [approximate]: Taking taylor expansion of (/ (- 1.0 (cos x)) (pow x 2)) in (x) around 0 0.097 * [taylor]: Taking taylor expansion of (/ (- 1.0 (cos x)) (pow x 2)) in x 0.097 * [taylor]: Taking taylor expansion of (- 1.0 (cos x)) in x 0.097 * [taylor]: Taking taylor expansion of 1.0 in x 0.097 * [taylor]: Taking taylor expansion of (cos x) in x 0.097 * [taylor]: Taking taylor expansion of x in x 0.097 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.097 * [taylor]: Taking taylor expansion of x in x 0.100 * [taylor]: Taking taylor expansion of (/ (- 1.0 (cos x)) (pow x 2)) in x 0.100 * [taylor]: Taking taylor expansion of (- 1.0 (cos x)) in x 0.100 * [taylor]: Taking taylor expansion of 1.0 in x 0.100 * [taylor]: Taking taylor expansion of (cos x) in x 0.100 * [taylor]: Taking taylor expansion of x in x 0.100 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.100 * [taylor]: Taking taylor expansion of x in x 0.114 * [approximate]: Taking taylor expansion of (* (pow x 2) (- 1.0 (cos (/ 1 x)))) in (x) around 0 0.114 * [taylor]: Taking taylor expansion of (* (pow x 2) (- 1.0 (cos (/ 1 x)))) in x 0.114 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.114 * [taylor]: Taking taylor expansion of x in x 0.114 * [taylor]: Taking taylor expansion of (- 1.0 (cos (/ 1 x))) in x 0.114 * [taylor]: Taking taylor expansion of 1.0 in x 0.114 * [taylor]: Taking taylor expansion of (cos (/ 1 x)) in x 0.114 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.114 * [taylor]: Taking taylor expansion of x in x 0.115 * [taylor]: Taking taylor expansion of (* (pow x 2) (- 1.0 (cos (/ 1 x)))) in x 0.115 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.115 * [taylor]: Taking taylor expansion of x in x 0.115 * [taylor]: Taking taylor expansion of (- 1.0 (cos (/ 1 x))) in x 0.115 * [taylor]: Taking taylor expansion of 1.0 in x 0.115 * [taylor]: Taking taylor expansion of (cos (/ 1 x)) in x 0.115 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.115 * [taylor]: Taking taylor expansion of x in x 0.127 * [approximate]: Taking taylor expansion of (* (- 1.0 (cos (/ -1 x))) (pow x 2)) in (x) around 0 0.127 * [taylor]: Taking taylor expansion of (* (- 1.0 (cos (/ -1 x))) (pow x 2)) in x 0.127 * [taylor]: Taking taylor expansion of (- 1.0 (cos (/ -1 x))) in x 0.127 * [taylor]: Taking taylor expansion of 1.0 in x 0.127 * [taylor]: Taking taylor expansion of (cos (/ -1 x)) in x 0.127 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.127 * [taylor]: Taking taylor expansion of -1 in x 0.127 * [taylor]: Taking taylor expansion of x in x 0.128 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.128 * [taylor]: Taking taylor expansion of x in x 0.128 * [taylor]: Taking taylor expansion of (* (- 1.0 (cos (/ -1 x))) (pow x 2)) in x 0.128 * [taylor]: Taking taylor expansion of (- 1.0 (cos (/ -1 x))) in x 0.128 * [taylor]: Taking taylor expansion of 1.0 in x 0.128 * [taylor]: Taking taylor expansion of (cos (/ -1 x)) in x 0.128 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.128 * [taylor]: Taking taylor expansion of -1 in x 0.128 * [taylor]: Taking taylor expansion of x in x 0.128 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.128 * [taylor]: Taking taylor expansion of x in x 0.138 * * * * [progress]: [ 2 / 2 ] generating series at (2 1) 0.138 * [approximate]: Taking taylor expansion of (- 1.0 (cos x)) in (x) around 0 0.138 * [taylor]: Taking taylor expansion of (- 1.0 (cos x)) in x 0.138 * [taylor]: Taking taylor expansion of 1.0 in x 0.138 * [taylor]: Taking taylor expansion of (cos x) in x 0.138 * [taylor]: Taking taylor expansion of x in x 0.138 * [taylor]: Taking taylor expansion of (- 1.0 (cos x)) in x 0.138 * [taylor]: Taking taylor expansion of 1.0 in x 0.138 * [taylor]: Taking taylor expansion of (cos x) in x 0.138 * [taylor]: Taking taylor expansion of x in x 0.151 * [approximate]: Taking taylor expansion of (- 1.0 (cos (/ 1 x))) in (x) around 0 0.151 * [taylor]: Taking taylor expansion of (- 1.0 (cos (/ 1 x))) in x 0.151 * [taylor]: Taking taylor expansion of 1.0 in x 0.151 * [taylor]: Taking taylor expansion of (cos (/ 1 x)) in x 0.151 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.151 * [taylor]: Taking taylor expansion of x in x 0.152 * [taylor]: Taking taylor expansion of (- 1.0 (cos (/ 1 x))) in x 0.152 * [taylor]: Taking taylor expansion of 1.0 in x 0.152 * [taylor]: Taking taylor expansion of (cos (/ 1 x)) in x 0.152 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.152 * [taylor]: Taking taylor expansion of x in x 0.155 * [approximate]: Taking taylor expansion of (- 1.0 (cos (/ -1 x))) in (x) around 0 0.155 * [taylor]: Taking taylor expansion of (- 1.0 (cos (/ -1 x))) in x 0.155 * [taylor]: Taking taylor expansion of 1.0 in x 0.155 * [taylor]: Taking taylor expansion of (cos (/ -1 x)) in x 0.155 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.155 * [taylor]: Taking taylor expansion of -1 in x 0.155 * [taylor]: Taking taylor expansion of x in x 0.155 * [taylor]: Taking taylor expansion of (- 1.0 (cos (/ -1 x))) in x 0.155 * [taylor]: Taking taylor expansion of 1.0 in x 0.155 * [taylor]: Taking taylor expansion of (cos (/ -1 x)) in x 0.155 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.155 * [taylor]: Taking taylor expansion of -1 in x 0.155 * [taylor]: Taking taylor expansion of x in x 0.159 * * * [progress]: simplifying candidates 0.160 * [simplify]: Simplifying using # : (expm1 (/ (- 1.0 (cos x)) (* x x))) (log1p (/ (- 1.0 (cos x)) (* x x))) (- (log (- 1.0 (cos x))) (+ (log x) (log x))) (- (log (- 1.0 (cos x))) (log (* x x))) (log (/ (- 1.0 (cos x)) (* x x))) (exp (/ (- 1.0 (cos x)) (* x x))) (/ (* (* (- 1.0 (cos x)) (- 1.0 (cos x))) (- 1.0 (cos x))) (* (* (* x x) x) (* (* x x) x))) (/ (* (* (- 1.0 (cos x)) (- 1.0 (cos x))) (- 1.0 (cos x))) (* (* (* x x) (* x x)) (* x x))) (* (cbrt (/ (- 1.0 (cos x)) (* x x))) (cbrt (/ (- 1.0 (cos x)) (* x x)))) (cbrt (/ (- 1.0 (cos x)) (* x x))) (* (* (/ (- 1.0 (cos x)) (* x x)) (/ (- 1.0 (cos x)) (* x x))) (/ (- 1.0 (cos x)) (* x x))) (sqrt (/ (- 1.0 (cos x)) (* x x))) (sqrt (/ (- 1.0 (cos x)) (* x x))) (- (- 1.0 (cos x))) (- (* x x)) (/ 1.0 (* x x)) (/ (cos x) (* x x)) (/ (* (cbrt (- 1.0 (cos x))) (cbrt (- 1.0 (cos x)))) x) (/ (cbrt (- 1.0 (cos x))) x) (/ (sqrt (- 1.0 (cos x))) x) (/ (sqrt (- 1.0 (cos x))) x) (/ 1 x) (/ (- 1.0 (cos x)) x) (/ (+ (sqrt 1.0) (sqrt (cos x))) x) (/ (- (sqrt 1.0) (sqrt (cos x))) x) (/ 1 x) (/ (- 1.0 (cos x)) x) (/ 1 (* x x)) (/ (* x x) (- 1.0 (cos x))) (/ (- 1.0 (cos x)) x) (/ (* x x) (cbrt (- 1.0 (cos x)))) (/ (* x x) (sqrt (- 1.0 (cos x)))) (/ (* x x) (- 1.0 (cos x))) (/ (* x x) (- (sqrt 1.0) (sqrt (cos x)))) (/ (* x x) (- 1.0 (cos x))) (* (* x x) (+ (* 1.0 1.0) (+ (* (cos x) (cos x)) (* 1.0 (cos x))))) (* (* x x) (+ 1.0 (cos x))) (fma (* (cbrt 1.0) (cbrt 1.0)) (cbrt 1.0) (- (* (cbrt (cos x)) (* (cbrt (cos x)) (cbrt (cos x)))))) (fma (- (cbrt (cos x))) (* (cbrt (cos x)) (cbrt (cos x))) (* (cbrt (cos x)) (* (cbrt (cos x)) (cbrt (cos x))))) (fma (* (cbrt 1.0) (cbrt 1.0)) (cbrt 1.0) (- (* (sqrt (cos x)) (sqrt (cos x))))) (fma (- (sqrt (cos x))) (sqrt (cos x)) (* (sqrt (cos x)) (sqrt (cos x)))) (fma (* (cbrt 1.0) (cbrt 1.0)) (cbrt 1.0) (- (* (cos x) 1))) (fma (- (cos x)) 1 (* (cos x) 1)) (fma (sqrt 1.0) (sqrt 1.0) (- (* (cbrt (cos x)) (* (cbrt (cos x)) (cbrt (cos x)))))) (fma (- (cbrt (cos x))) (* (cbrt (cos x)) (cbrt (cos x))) (* (cbrt (cos x)) (* (cbrt (cos x)) (cbrt (cos x))))) (fma (sqrt 1.0) (sqrt 1.0) (- (* (sqrt (cos x)) (sqrt (cos x))))) (fma (- (sqrt (cos x))) (sqrt (cos x)) (* (sqrt (cos x)) (sqrt (cos x)))) (fma (sqrt 1.0) (sqrt 1.0) (- (* (cos x) 1))) (fma (- (cos x)) 1 (* (cos x) 1)) (fma 1 1.0 (- (* (cbrt (cos x)) (* (cbrt (cos x)) (cbrt (cos x)))))) (fma (- (cbrt (cos x))) (* (cbrt (cos x)) (cbrt (cos x))) (* (cbrt (cos x)) (* (cbrt (cos x)) (cbrt (cos x))))) (fma 1 1.0 (- (* (sqrt (cos x)) (sqrt (cos x))))) (fma (- (sqrt (cos x))) (sqrt (cos x)) (* (sqrt (cos x)) (sqrt (cos x)))) (fma 1 1.0 (- (* (cos x) 1))) (fma (- (cos x)) 1 (* (cos x) 1)) (expm1 (- 1.0 (cos x))) (log1p (- 1.0 (cos x))) (- (cos x)) (- (cos x)) (- (cos x)) (/ (exp 1.0) (exp (cos x))) (log (- 1.0 (cos x))) (exp (- 1.0 (cos x))) (* (cbrt (- 1.0 (cos x))) (cbrt (- 1.0 (cos x)))) (cbrt (- 1.0 (cos x))) (* (* (- 1.0 (cos x)) (- 1.0 (cos x))) (- 1.0 (cos x))) (sqrt (- 1.0 (cos x))) (sqrt (- 1.0 (cos x))) (- (pow 1.0 3) (pow (cos x) 3)) (+ (* 1.0 1.0) (+ (* (cos x) (cos x)) (* 1.0 (cos x)))) (- (cos x)) (- (* 1.0 1.0) (* (cos x) (cos x))) (+ 1.0 (cos x)) (+ (sqrt 1.0) (sqrt (cos x))) (- (sqrt 1.0) (sqrt (cos x))) (- 1.0 (cos x)) (- (cos x)) (- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2))) (/ (- 1.0 (cos x)) (pow x 2)) (/ (- 1.0 (cos x)) (pow x 2)) (- (+ (* 1/2 (pow x 2)) (* 1/720 (pow x 6))) (* 1/24 (pow x 4))) (- 1.0 (cos x)) (- 1.0 (cos x)) 0.163 * * [simplify]: iteration 0 : 116 enodes (cost 808 ) 0.181 * * [simplify]: iteration 1 : 285 enodes (cost 686 )