21.253 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.001 * * * * [points]: Sampling 256 additional inputs, on iter 0 have 0 / 256 0.003 * * * * [points]: Computing exacts on every 16 of 256 points to ramp up precision 0.006 * * * * [points]: Setting MPFR precision to 64 0.007 * * * * [points]: Setting MPFR precision to 320 0.008 * * * * [points]: Computing exacts on every 8 of 256 points to ramp up precision 0.010 * * * * [points]: Setting MPFR precision to 64 0.011 * * * * [points]: Setting MPFR precision to 320 0.012 * * * * [points]: Computing exacts on every 4 of 256 points to ramp up precision 0.014 * * * * [points]: Setting MPFR precision to 64 0.016 * * * * [points]: Setting MPFR precision to 320 0.017 * * * * [points]: Computing exacts on every 2 of 256 points to ramp up precision 0.020 * * * * [points]: Setting MPFR precision to 64 0.022 * * * * [points]: Setting MPFR precision to 320 0.025 * * * * [points]: Computing exacts for 256 points 0.028 * * * * [points]: Setting MPFR precision to 64 0.035 * * * * [points]: Setting MPFR precision to 320 0.045 * * * * [points]: Filtering points with unrepresentable outputs 0.045 * * * * [points]: Sampling 142 additional inputs, on iter 1 have 114 / 256 0.047 * * * * [points]: Computing exacts on every 8 of 142 points to ramp up precision 0.049 * * * * [points]: Setting MPFR precision to 64 0.049 * * * * [points]: Setting MPFR precision to 320 0.050 * * * * [points]: Computing exacts on every 4 of 142 points to ramp up precision 0.052 * * * * [points]: Setting MPFR precision to 64 0.053 * * * * [points]: Setting MPFR precision to 320 0.054 * * * * [points]: Computing exacts on every 2 of 142 points to ramp up precision 0.056 * * * * [points]: Setting MPFR precision to 64 0.058 * * * * [points]: Setting MPFR precision to 320 0.060 * * * * [points]: Computing exacts for 142 points 0.062 * * * * [points]: Setting MPFR precision to 64 0.067 * * * * [points]: Setting MPFR precision to 320 0.072 * * * * [points]: Filtering points with unrepresentable outputs 0.072 * * * * [points]: Sampling 64 additional inputs, on iter 2 have 192 / 256 0.073 * * * * [points]: Computing exacts on every 4 of 64 points to ramp up precision 0.075 * * * * [points]: Setting MPFR precision to 64 0.075 * * * * [points]: Setting MPFR precision to 320 0.076 * * * * [points]: Computing exacts on every 2 of 64 points to ramp up precision 0.078 * * * * [points]: Setting MPFR precision to 64 0.079 * * * * [points]: Setting MPFR precision to 320 0.079 * * * * [points]: Computing exacts for 64 points 0.082 * * * * [points]: Setting MPFR precision to 64 0.084 * * * * [points]: Setting MPFR precision to 320 0.086 * * * * [points]: Filtering points with unrepresentable outputs 0.086 * * * * [points]: Sampling 34 additional inputs, on iter 3 have 222 / 256 0.086 * * * * [points]: Computing exacts on every 2 of 34 points to ramp up precision 0.089 * * * * [points]: Setting MPFR precision to 64 0.089 * * * * [points]: Setting MPFR precision to 320 0.089 * * * * [points]: Computing exacts for 34 points 0.091 * * * * [points]: Setting MPFR precision to 64 0.092 * * * * [points]: Setting MPFR precision to 320 0.100 * * * * [points]: Filtering points with unrepresentable outputs 0.100 * * * * [points]: Sampling 20 additional inputs, on iter 4 have 236 / 256 0.100 * * * * [points]: Computing exacts for 20 points 0.102 * * * * [points]: Setting MPFR precision to 64 0.103 * * * * [points]: Setting MPFR precision to 320 0.104 * * * * [points]: Filtering points with unrepresentable outputs 0.104 * * * * [points]: Sampling 6 additional inputs, on iter 5 have 250 / 256 0.104 * * * * [points]: Computing exacts for 6 points 0.106 * * * * [points]: Setting MPFR precision to 64 0.107 * * * * [points]: Setting MPFR precision to 320 0.107 * * * * [points]: Filtering points with unrepresentable outputs 0.107 * * * * [points]: Sampling 4 additional inputs, on iter 6 have 252 / 256 0.107 * * * * [points]: Computing exacts for 4 points 0.109 * * * * [points]: Setting MPFR precision to 64 0.109 * * * * [points]: Setting MPFR precision to 320 0.110 * * * * [points]: Filtering points with unrepresentable outputs 0.110 * * * * [points]: Sampling 4 additional inputs, on iter 7 have 255 / 256 0.110 * * * * [points]: Computing exacts for 4 points 0.112 * * * * [points]: Setting MPFR precision to 64 0.112 * * * * [points]: Setting MPFR precision to 320 0.112 * * * * [points]: Filtering points with unrepresentable outputs 0.112 * * * * [points]: Sampled 258 points with exact outputs 0.112 * * * [progress]: [2/2] Setting up program. 0.115 * [progress]: [Phase 2 of 3] Improving. 0.116 * [simplify]: Simplifying using # : (re (complex (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)) (* (/ (- (exp x) (exp (- x))) 2.0) (sin y)))) 0.118 * * [simplify]: iteration 0 : 30 enodes (cost 7 ) 0.119 * * [simplify]: iteration 1 : 47 enodes (cost 7 ) 0.121 * * [simplify]: iteration 2 : 84 enodes (cost 7 ) 0.123 * * [simplify]: iteration 3 : 131 enodes (cost 7 ) 0.125 * * [simplify]: iteration 4 : 223 enodes (cost 7 ) 0.128 * * [simplify]: iteration 5 : 466 enodes (cost 7 ) 0.134 * * [simplify]: iteration 6 : 1123 enodes (cost 7 ) 0.146 * * [simplify]: iteration 7 : 2244 enodes (cost 7 ) 0.175 * * [simplify]: iteration 8 : 5002 enodes (cost 7 ) 0.176 * [simplify]: Simplified to: (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)) 0.179 * * [progress]: iteration 1 / 4 0.179 * * * [progress]: picking best candidate 0.181 * * * * [pick]: Picked # 0.181 * * * [progress]: localizing error 0.192 * * * [progress]: generating rewritten candidates 0.192 * * * * [progress]: [ 1 / 1 ] rewriting at (2 1 1) 0.197 * * * [progress]: generating series expansions 0.197 * * * * [progress]: [ 1 / 1 ] generating series at (2 1 1) 0.197 * [approximate]: Taking taylor expansion of (+ (exp x) (exp (- x))) in (x) around 0 0.198 * [taylor]: Taking taylor expansion of (+ (exp x) (exp (- x))) in x 0.198 * [taylor]: Taking taylor expansion of (exp x) in x 0.198 * [taylor]: Taking taylor expansion of x in x 0.198 * [taylor]: Taking taylor expansion of (exp (- x)) in x 0.198 * [taylor]: Taking taylor expansion of (- x) in x 0.198 * [taylor]: Taking taylor expansion of x in x 0.198 * [taylor]: Taking taylor expansion of (+ (exp x) (exp (- x))) in x 0.198 * [taylor]: Taking taylor expansion of (exp x) in x 0.198 * [taylor]: Taking taylor expansion of x in x 0.198 * [taylor]: Taking taylor expansion of (exp (- x)) in x 0.198 * [taylor]: Taking taylor expansion of (- x) in x 0.198 * [taylor]: Taking taylor expansion of x in x 0.213 * [approximate]: Taking taylor expansion of (+ (exp (/ 1 x)) (exp (- (/ 1 x)))) in (x) around 0 0.214 * [taylor]: Taking taylor expansion of (+ (exp (/ 1 x)) (exp (- (/ 1 x)))) in x 0.214 * [taylor]: Taking taylor expansion of (exp (/ 1 x)) in x 0.214 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.214 * [taylor]: Taking taylor expansion of x in x 0.214 * [taylor]: Taking taylor expansion of (exp (- (/ 1 x))) in x 0.214 * [taylor]: Taking taylor expansion of (- (/ 1 x)) in x 0.214 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.214 * [taylor]: Taking taylor expansion of x in x 0.215 * [taylor]: Taking taylor expansion of (+ (exp (/ 1 x)) (exp (- (/ 1 x)))) in x 0.215 * [taylor]: Taking taylor expansion of (exp (/ 1 x)) in x 0.215 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.215 * [taylor]: Taking taylor expansion of x in x 0.215 * [taylor]: Taking taylor expansion of (exp (- (/ 1 x))) in x 0.215 * [taylor]: Taking taylor expansion of (- (/ 1 x)) in x 0.215 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.215 * [taylor]: Taking taylor expansion of x in x 0.217 * [approximate]: Taking taylor expansion of (+ (exp (/ 1 x)) (exp (/ -1 x))) in (x) around 0 0.217 * [taylor]: Taking taylor expansion of (+ (exp (/ 1 x)) (exp (/ -1 x))) in x 0.217 * [taylor]: Taking taylor expansion of (exp (/ 1 x)) in x 0.217 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.217 * [taylor]: Taking taylor expansion of x in x 0.218 * [taylor]: Taking taylor expansion of (exp (/ -1 x)) in x 0.218 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.218 * [taylor]: Taking taylor expansion of -1 in x 0.218 * [taylor]: Taking taylor expansion of x in x 0.218 * [taylor]: Taking taylor expansion of (+ (exp (/ 1 x)) (exp (/ -1 x))) in x 0.218 * [taylor]: Taking taylor expansion of (exp (/ 1 x)) in x 0.218 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.218 * [taylor]: Taking taylor expansion of x in x 0.219 * [taylor]: Taking taylor expansion of (exp (/ -1 x)) in x 0.219 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.219 * [taylor]: Taking taylor expansion of -1 in x 0.219 * [taylor]: Taking taylor expansion of x in x 0.221 * * * [progress]: simplifying candidates 0.221 * [simplify]: Simplifying using # : (expm1 (+ (exp x) (exp (- x)))) (log1p (+ (exp x) (exp (- x)))) (* (exp (exp x)) (exp (exp (- x)))) (log (+ (exp x) (exp (- x)))) (exp (+ (exp x) (exp (- x)))) (* (cbrt (+ (exp x) (exp (- x)))) (cbrt (+ (exp x) (exp (- x))))) (cbrt (+ (exp x) (exp (- x)))) (* (* (+ (exp x) (exp (- x))) (+ (exp x) (exp (- x)))) (+ (exp x) (exp (- x)))) (sqrt (+ (exp x) (exp (- x)))) (sqrt (+ (exp x) (exp (- x)))) (+ (pow (exp x) 3) (pow (exp (- x)) 3)) (+ (* (exp x) (exp x)) (- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))) (- (* (exp x) (exp x)) (* (exp (- x)) (exp (- x)))) (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))) (+ (pow x 2) (+ (* 1/12 (pow x 4)) 2)) (+ (exp x) (exp (- x))) (+ (exp (* -1 x)) (exp x)) 0.224 * * [simplify]: iteration 0 : 106 enodes (cost 110 ) 0.227 * * [simplify]: iteration 1 : 358 enodes (cost 97 ) 0.233 * * [simplify]: iteration 2 : 1325 enodes (cost 95 ) 0.273 * * [simplify]: iteration 3 : 5001 enodes (cost 94 ) 0.274 * [simplify]: Simplified to: (expm1 (+ (exp x) (exp (- x)))) (log1p (+ (exp x) (exp (- x)))) (exp (+ (exp x) (exp (- x)))) (log (+ (exp x) (exp (- x)))) (exp (+ (exp x) (exp (- x)))) (* (cbrt (+ (exp x) (exp (- x)))) (cbrt (+ (exp x) (exp (- x))))) (cbrt (+ (exp x) (exp (- x)))) (pow (+ (exp (* -1 x)) (exp x)) 3) (sqrt (+ (exp x) (exp (- x)))) (sqrt (+ (exp x) (exp (- x)))) (+ (pow (exp x) 3) (pow (exp (- x)) 3)) (fma (exp x) (exp x) (expm1 (* x -2))) (fma (- (exp (- x))) (exp (* -1 x)) (exp (+ x x))) (- (exp x) (exp (- x))) (+ (exp (* -1 x)) (exp x)) (fma x x (fma 1/12 (pow x 4) 2)) (+ (exp (* -1 x)) (exp x)) (+ (exp (* -1 x)) (exp x)) 0.274 * * * [progress]: adding candidates to table 0.326 * * [progress]: iteration 2 / 4 0.326 * * * [progress]: picking best candidate 0.328 * * * * [pick]: Picked # 0.328 * * * [progress]: localizing error 0.340 * * * [progress]: generating rewritten candidates 0.340 * * * [progress]: generating series expansions 0.340 * * * [progress]: simplifying candidates 0.341 * [simplify]: Simplifying using # : 0.343 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.343 * [simplify]: Simplified to: 0.343 * * * [progress]: adding candidates to table 0.343 * [progress]: [Phase 3 of 3] Extracting. 0.343 * * [regime]: Finding splitpoints for: (# #) 0.343 * * * [regime-changes]: Trying 2 branch expressions: (y x) 0.343 * * * * [regimes]: Trying to branch on y from (# #) 0.359 * * * * [regimes]: Trying to branch on x from (# #) 0.371 * * * [regime]: Found split indices: #