5.062 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.011 * * * [progress]: [2/2] Setting up program. 0.013 * [progress]: [Phase 2 of 3] Improving. 0.013 * [simplify]: Simplifying using # : (sqrt (+ (* re re) (* im im))) 0.016 * * [simplify]: iteration 0 : 7 enodes (cost 4 ) 0.017 * * [simplify]: iteration 1 : 7 enodes (cost 4 ) 0.017 * [simplify]: Simplified to: (sqrt (+ (* re re) (* im im))) 0.017 * * [progress]: iteration 1 / 4 0.017 * * * [progress]: picking best candidate 0.019 * * * * [pick]: Picked # 0.019 * * * [progress]: localizing error 0.024 * * * [progress]: generating rewritten candidates 0.024 * * * * [progress]: [ 1 / 2 ] rewriting at (2) 0.028 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1) 0.031 * * * [progress]: generating series expansions 0.031 * * * * [progress]: [ 1 / 2 ] generating series at (2) 0.031 * [approximate]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in (re im) around 0 0.031 * [taylor]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in im 0.031 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in im 0.031 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.031 * [taylor]: Taking taylor expansion of re in im 0.031 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.031 * [taylor]: Taking taylor expansion of im in im 0.032 * [taylor]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in re 0.032 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in re 0.032 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.032 * [taylor]: Taking taylor expansion of re in re 0.032 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.032 * [taylor]: Taking taylor expansion of im in re 0.032 * [taylor]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in re 0.033 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in re 0.033 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.033 * [taylor]: Taking taylor expansion of re in re 0.033 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.033 * [taylor]: Taking taylor expansion of im in re 0.033 * [taylor]: Taking taylor expansion of im in im 0.033 * [taylor]: Taking taylor expansion of 0 in im 0.035 * [taylor]: Taking taylor expansion of (/ 1/2 im) in im 0.035 * [taylor]: Taking taylor expansion of 1/2 in im 0.035 * [taylor]: Taking taylor expansion of im in im 0.037 * [taylor]: Taking taylor expansion of 0 in im 0.037 * [approximate]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in (re im) around 0 0.038 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in im 0.038 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.038 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.038 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.038 * [taylor]: Taking taylor expansion of im in im 0.038 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.038 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.038 * [taylor]: Taking taylor expansion of re in im 0.040 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.040 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.040 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.040 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.040 * [taylor]: Taking taylor expansion of im in re 0.041 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.041 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.041 * [taylor]: Taking taylor expansion of re in re 0.043 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.043 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.043 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.043 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.043 * [taylor]: Taking taylor expansion of im in re 0.043 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.043 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.043 * [taylor]: Taking taylor expansion of re in re 0.049 * [taylor]: Taking taylor expansion of 1 in im 0.050 * [taylor]: Taking taylor expansion of 0 in im 0.052 * [taylor]: Taking taylor expansion of (/ 1/2 (pow im 2)) in im 0.052 * [taylor]: Taking taylor expansion of 1/2 in im 0.052 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.052 * [taylor]: Taking taylor expansion of im in im 0.055 * [taylor]: Taking taylor expansion of 0 in im 0.057 * [approximate]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in (re im) around 0 0.057 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in im 0.057 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.057 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.057 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.057 * [taylor]: Taking taylor expansion of im in im 0.058 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.058 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.058 * [taylor]: Taking taylor expansion of re in im 0.060 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.060 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.060 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.060 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.060 * [taylor]: Taking taylor expansion of im in re 0.060 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.060 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.060 * [taylor]: Taking taylor expansion of re in re 0.063 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.063 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.063 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.063 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.063 * [taylor]: Taking taylor expansion of im in re 0.063 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.063 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.063 * [taylor]: Taking taylor expansion of re in re 0.066 * [taylor]: Taking taylor expansion of 1 in im 0.066 * [taylor]: Taking taylor expansion of 0 in im 0.068 * [taylor]: Taking taylor expansion of (/ 1/2 (pow im 2)) in im 0.068 * [taylor]: Taking taylor expansion of 1/2 in im 0.068 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.068 * [taylor]: Taking taylor expansion of im in im 0.072 * [taylor]: Taking taylor expansion of 0 in im 0.073 * * * * [progress]: [ 2 / 2 ] generating series at (2 1) 0.073 * [approximate]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in (re im) around 0 0.073 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in im 0.073 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.073 * [taylor]: Taking taylor expansion of re in im 0.073 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.073 * [taylor]: Taking taylor expansion of im in im 0.073 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in re 0.073 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.073 * [taylor]: Taking taylor expansion of re in re 0.073 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.073 * [taylor]: Taking taylor expansion of im in re 0.073 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in re 0.073 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.073 * [taylor]: Taking taylor expansion of re in re 0.074 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.074 * [taylor]: Taking taylor expansion of im in re 0.074 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.074 * [taylor]: Taking taylor expansion of im in im 0.074 * [taylor]: Taking taylor expansion of 0 in im 0.075 * [taylor]: Taking taylor expansion of 1 in im 0.076 * [taylor]: Taking taylor expansion of 0 in im 0.078 * [taylor]: Taking taylor expansion of 0 in im 0.079 * [approximate]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in (re im) around 0 0.079 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.079 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.079 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.079 * [taylor]: Taking taylor expansion of im in im 0.079 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.079 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.079 * [taylor]: Taking taylor expansion of re in im 0.080 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.080 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.080 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.080 * [taylor]: Taking taylor expansion of im in re 0.080 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.080 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.080 * [taylor]: Taking taylor expansion of re in re 0.080 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.080 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.080 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.080 * [taylor]: Taking taylor expansion of im in re 0.080 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.080 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.080 * [taylor]: Taking taylor expansion of re in re 0.081 * [taylor]: Taking taylor expansion of 1 in im 0.082 * [taylor]: Taking taylor expansion of 0 in im 0.084 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.084 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.084 * [taylor]: Taking taylor expansion of im in im 0.086 * [taylor]: Taking taylor expansion of 0 in im 0.088 * [taylor]: Taking taylor expansion of 0 in im 0.090 * [approximate]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in (re im) around 0 0.090 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.090 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.090 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.090 * [taylor]: Taking taylor expansion of im in im 0.091 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.091 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.091 * [taylor]: Taking taylor expansion of re in im 0.091 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.091 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.091 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.091 * [taylor]: Taking taylor expansion of im in re 0.091 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.091 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.091 * [taylor]: Taking taylor expansion of re in re 0.091 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.091 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.091 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.091 * [taylor]: Taking taylor expansion of im in re 0.092 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.092 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.092 * [taylor]: Taking taylor expansion of re in re 0.092 * [taylor]: Taking taylor expansion of 1 in im 0.094 * [taylor]: Taking taylor expansion of 0 in im 0.095 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.095 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.095 * [taylor]: Taking taylor expansion of im in im 0.097 * [taylor]: Taking taylor expansion of 0 in im 0.100 * [taylor]: Taking taylor expansion of 0 in im 0.101 * * * [progress]: simplifying candidates 0.102 * [simplify]: Simplifying using # : (log (sqrt (+ (* re re) (* im im)))) (exp (sqrt (+ (* re re) (* im im)))) (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im)))) (* (* (sqrt (+ (* re re) (* im im))) (sqrt (+ (* re re) (* im im)))) (sqrt (+ (* re re) (* im im)))) (sqrt (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im))))) (sqrt (cbrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt 1) (sqrt (+ (* re re) (* im im))) (sqrt (+ (pow (* re re) 3) (pow (* im im) 3))) (sqrt (+ (* (* re re) (* re re)) (- (* (* im im) (* im im)) (* (* re re) (* im im))))) (sqrt (- (* (* re re) (* re re)) (* (* im im) (* im im)))) (sqrt (- (* re re) (* im im))) (/ 1 2) (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))) (* (exp (* re re)) (exp (* im im))) (log (+ (* re re) (* im im))) (exp (+ (* re re) (* im im))) (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))) (cbrt (+ (* re re) (* im im))) (* (* (+ (* re re) (* im im)) (+ (* re re) (* im im))) (+ (* re re) (* im im))) (sqrt (+ (* re re) (* im im))) (sqrt (+ (* re re) (* im im))) (+ (pow (* re re) 3) (pow (* im im) 3)) (+ (* (* re re) (* re re)) (- (* (* im im) (* im im)) (* (* re re) (* im im)))) (- (* (* re re) (* re re)) (* (* im im) (* im im))) (- (* re re) (* im im)) im re (* -1 re) (+ (pow re 2) (pow im 2)) (+ (pow re 2) (pow im 2)) (+ (pow re 2) (pow im 2)) 0.105 * * [simplify]: iteration 0 : 125 enodes (cost 177 ) 0.108 * * [simplify]: iteration 1 : 530 enodes (cost 163 ) 0.116 * * [simplify]: iteration 2 : 1540 enodes (cost 163 ) 0.152 * * [simplify]: iteration 3 : 5001 enodes (cost 162 ) 0.153 * [simplify]: Simplified to: (log (sqrt (+ (* re re) (* im im)))) (exp (sqrt (+ (* re re) (* im im)))) (* (cbrt (sqrt (+ (* re re) (* im im)))) (cbrt (sqrt (+ (* re re) (* im im))))) (cbrt (sqrt (+ (* re re) (* im im)))) (pow (sqrt (+ (* re re) (* im im))) 3) (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))) 1 (sqrt (+ (* re re) (* im im))) (sqrt (+ (pow (* re re) 3) (pow (* im im) 3))) (sqrt (+ (* (* re re) (* re re)) (- (* (* im im) (* im im)) (* (* re re) (* im im))))) (sqrt (- (* (* re re) (* re re)) (* (* im im) (* im im)))) (sqrt (- (* re re) (* im im))) 1/2 (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))) (exp (+ (* re re) (* im im))) (log (+ (* re re) (* im im))) (exp (+ (* re re) (* im im))) (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))) (cbrt (+ (* re re) (* im im))) (pow (+ (* re re) (* im im)) 3) (sqrt (+ (* re re) (* im im))) (sqrt (+ (* re re) (* im im))) (+ (pow (* re re) 3) (pow (* im im) 3)) (- (pow im 4) (- (* (* re re) (* im im)) (pow re 4))) (+ (* (- (pow im 3)) im) (pow re 4)) (- (* re re) (* im im)) im re (* -1 re) (+ (* re re) (* im im)) (+ (* re re) (* im im)) (+ (* re re) (* im im)) 0.153 * * * [progress]: adding candidates to table 0.224 * * [progress]: iteration 2 / 4 0.224 * * * [progress]: picking best candidate 0.227 * * * * [pick]: Picked # 0.227 * * * [progress]: localizing error 0.228 * * * [progress]: generating rewritten candidates 0.228 * * * [progress]: generating series expansions 0.228 * * * [progress]: simplifying candidates 0.228 * [simplify]: Simplifying using # : 0.230 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.231 * [simplify]: Simplified to: 0.231 * * * [progress]: adding candidates to table 0.231 * * [progress]: iteration 3 / 4 0.231 * * * [progress]: picking best candidate 0.233 * * * * [pick]: Picked # 0.233 * * * [progress]: localizing error 0.235 * * * [progress]: generating rewritten candidates 0.235 * * * [progress]: generating series expansions 0.235 * * * [progress]: simplifying candidates 0.235 * [simplify]: Simplifying using # : 0.238 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.238 * [simplify]: Simplified to: 0.238 * * * [progress]: adding candidates to table 0.238 * * [progress]: iteration 4 / 4 0.238 * * * [progress]: picking best candidate 0.239 * * * * [pick]: Picked # 0.239 * * * [progress]: localizing error 0.240 * * * [progress]: generating rewritten candidates 0.240 * * * [progress]: generating series expansions 0.240 * * * [progress]: simplifying candidates 0.240 * [simplify]: Simplifying using # : 0.243 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.243 * [simplify]: Simplified to: 0.243 * * * [progress]: adding candidates to table 0.243 * [progress]: [Phase 3 of 3] Extracting. 0.243 * * [regime]: Finding splitpoints for: (# # # #) 0.243 * * * [regime-changes]: Trying 6 branch expressions: ((* im im) (* re re) (+ (* re re) (* im im)) (sqrt (+ (* re re) (* im im))) im re) 0.243 * * * * [regimes]: Trying to branch on (* im im) from (# # # #) 0.259 * * * * [regimes]: Trying to branch on (* im im) from (# # #) 0.276 * * * * [regimes]: Trying to branch on (* re re) from (# # # #) 0.291 * * * * [regimes]: Trying to branch on (* re re) from (# #) 0.305 * * * * [regimes]: Trying to branch on (+ (* re re) (* im im)) from (# # # #) 0.322 * * * * [regimes]: Trying to branch on (sqrt (+ (* re re) (* im im))) from (# # # #) 0.344 * * * * [regimes]: Trying to branch on im from (# # # #) 0.377 * * * * [regimes]: Trying to branch on re from (# # # #) 0.420 * * * [regime]: Found split indices: #