6.655 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.014 * * * [progress]: [2/2] Setting up program. 0.016 * [progress]: [Phase 2 of 3] Improving. 0.016 * [simplify]: Simplifying using # : (log (sqrt (+ (* re re) (* im im)))) 0.018 * * [simplify]: iteration 0 : 8 enodes (cost 5 ) 0.020 * * [simplify]: iteration 1 : 8 enodes (cost 5 ) 0.020 * [simplify]: Simplified to: (log (sqrt (+ (* re re) (* im im)))) 0.020 * * [progress]: iteration 1 / 4 0.020 * * * [progress]: picking best candidate 0.022 * * * * [pick]: Picked # 0.022 * * * [progress]: localizing error 0.029 * * * [progress]: generating rewritten candidates 0.029 * * * * [progress]: [ 1 / 2 ] rewriting at (2 1) 0.033 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1 1) 0.037 * * * [progress]: generating series expansions 0.037 * * * * [progress]: [ 1 / 2 ] generating series at (2 1) 0.037 * [approximate]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in (re im) around 0 0.037 * [taylor]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in im 0.037 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in im 0.037 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.037 * [taylor]: Taking taylor expansion of re in im 0.037 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.037 * [taylor]: Taking taylor expansion of im in im 0.038 * [taylor]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in re 0.038 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in re 0.038 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.038 * [taylor]: Taking taylor expansion of re in re 0.038 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.038 * [taylor]: Taking taylor expansion of im in re 0.039 * [taylor]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in re 0.039 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in re 0.039 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.039 * [taylor]: Taking taylor expansion of re in re 0.039 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.039 * [taylor]: Taking taylor expansion of im in re 0.039 * [taylor]: Taking taylor expansion of im in im 0.039 * [taylor]: Taking taylor expansion of 0 in im 0.041 * [taylor]: Taking taylor expansion of (/ 1/2 im) in im 0.041 * [taylor]: Taking taylor expansion of 1/2 in im 0.041 * [taylor]: Taking taylor expansion of im in im 0.043 * [taylor]: Taking taylor expansion of 0 in im 0.043 * [approximate]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in (re im) around 0 0.044 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in im 0.044 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.044 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.044 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.044 * [taylor]: Taking taylor expansion of im in im 0.044 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.044 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.044 * [taylor]: Taking taylor expansion of re in im 0.046 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.046 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.046 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.046 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.046 * [taylor]: Taking taylor expansion of im in re 0.046 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.046 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.046 * [taylor]: Taking taylor expansion of re in re 0.049 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.049 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.049 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.049 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.049 * [taylor]: Taking taylor expansion of im in re 0.049 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.049 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.049 * [taylor]: Taking taylor expansion of re in re 0.051 * [taylor]: Taking taylor expansion of 1 in im 0.051 * [taylor]: Taking taylor expansion of 0 in im 0.053 * [taylor]: Taking taylor expansion of (/ 1/2 (pow im 2)) in im 0.053 * [taylor]: Taking taylor expansion of 1/2 in im 0.053 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.053 * [taylor]: Taking taylor expansion of im in im 0.056 * [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.062 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.062 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.062 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.062 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.062 * [taylor]: Taking taylor expansion of im in re 0.062 * [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.065 * [taylor]: Taking taylor expansion of 1 in im 0.065 * [taylor]: Taking taylor expansion of 0 in im 0.067 * [taylor]: Taking taylor expansion of (/ 1/2 (pow im 2)) in im 0.067 * [taylor]: Taking taylor expansion of 1/2 in im 0.067 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.067 * [taylor]: Taking taylor expansion of im in im 0.070 * [taylor]: Taking taylor expansion of 0 in im 0.071 * * * * [progress]: [ 2 / 2 ] generating series at (2 1 1) 0.071 * [approximate]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in (re im) around 0 0.071 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in im 0.072 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.072 * [taylor]: Taking taylor expansion of re in im 0.072 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.072 * [taylor]: Taking taylor expansion of im in im 0.072 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in re 0.072 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.072 * [taylor]: Taking taylor expansion of re in re 0.072 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.072 * [taylor]: Taking taylor expansion of im in re 0.072 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in re 0.072 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.072 * [taylor]: Taking taylor expansion of re in re 0.072 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.072 * [taylor]: Taking taylor expansion of im in re 0.072 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.072 * [taylor]: Taking taylor expansion of im in im 0.072 * [taylor]: Taking taylor expansion of 0 in im 0.073 * [taylor]: Taking taylor expansion of 1 in im 0.074 * [taylor]: Taking taylor expansion of 0 in im 0.076 * [taylor]: Taking taylor expansion of 0 in im 0.077 * [approximate]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in (re im) around 0 0.077 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.077 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.077 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.077 * [taylor]: Taking taylor expansion of im in im 0.077 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.077 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.077 * [taylor]: Taking taylor expansion of re in im 0.077 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.077 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.077 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.077 * [taylor]: Taking taylor expansion of im in re 0.077 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.078 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.078 * [taylor]: Taking taylor expansion of re in re 0.078 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.078 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.078 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.078 * [taylor]: Taking taylor expansion of im in re 0.078 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.078 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.078 * [taylor]: Taking taylor expansion of re in re 0.079 * [taylor]: Taking taylor expansion of 1 in im 0.080 * [taylor]: Taking taylor expansion of 0 in im 0.081 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.081 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.081 * [taylor]: Taking taylor expansion of im in im 0.083 * [taylor]: Taking taylor expansion of 0 in im 0.089 * [taylor]: Taking taylor expansion of 0 in im 0.091 * [approximate]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in (re im) around 0 0.091 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.091 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.091 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.091 * [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.092 * [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 (pow im 2)) (/ 1 (pow re 2))) in re 0.092 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.092 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.092 * [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.093 * [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.150 * * [simplify]: iteration 3 : 5001 enodes (cost 162 ) 0.151 * [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.151 * * * [progress]: adding candidates to table 0.214 * * [progress]: iteration 2 / 4 0.214 * * * [progress]: picking best candidate 0.218 * * * * [pick]: Picked # 0.218 * * * [progress]: localizing error 0.222 * * * [progress]: generating rewritten candidates 0.222 * * * [progress]: generating series expansions 0.222 * * * [progress]: simplifying candidates 0.222 * [simplify]: Simplifying using # : 0.224 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.224 * [simplify]: Simplified to: 0.224 * * * [progress]: adding candidates to table 0.224 * * [progress]: iteration 3 / 4 0.224 * * * [progress]: picking best candidate 0.227 * * * * [pick]: Picked # 0.227 * * * [progress]: localizing error 0.229 * * * [progress]: generating rewritten candidates 0.229 * * * [progress]: generating series expansions 0.229 * * * [progress]: simplifying candidates 0.230 * [simplify]: Simplifying using # : 0.232 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.232 * [simplify]: Simplified to: 0.232 * * * [progress]: adding candidates to table 0.232 * * [progress]: iteration 4 / 4 0.232 * * * [progress]: picking best candidate 0.233 * * * * [pick]: Picked # 0.234 * * * [progress]: localizing error 0.236 * * * [progress]: generating rewritten candidates 0.236 * * * [progress]: generating series expansions 0.236 * * * [progress]: simplifying candidates 0.236 * [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]: [Phase 3 of 3] Extracting. 0.238 * * [regime]: Finding splitpoints for: (# # # #) 0.238 * * * [regime-changes]: Trying 7 branch expressions: ((* im im) (* re re) (+ (* re re) (* im im)) (sqrt (+ (* re re) (* im im))) (log (sqrt (+ (* re re) (* im im)))) im re) 0.239 * * * * [regimes]: Trying to branch on (* im im) from (# # # #) 0.255 * * * * [regimes]: Trying to branch on (* im im) from (# # #) 0.273 * * * * [regimes]: Trying to branch on (* re re) from (# # # #) 0.289 * * * * [regimes]: Trying to branch on (* re re) from (# #) 0.305 * * * * [regimes]: Trying to branch on (+ (* re re) (* im im)) from (# # # #) 0.328 * * * * [regimes]: Trying to branch on (sqrt (+ (* re re) (* im im))) from (# # # #) 0.354 * * * * [regimes]: Trying to branch on (log (sqrt (+ (* re re) (* im im)))) from (# # # #) 0.384 * * * * [regimes]: Trying to branch on im from (# # # #) 0.413 * * * * [regimes]: Trying to branch on re from (# # # #) 0.438 * * * [regime]: Found split indices: #