7.279 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.019 * * * [progress]: [2/2] Setting up program. 0.021 * [progress]: [Phase 2 of 3] Improving. 0.022 * [simplify]: Simplifying using # : (log (sqrt (+ (* re re) (* im im)))) 0.024 * * [simplify]: iteration 0 : 8 enodes (cost 5 ) 0.025 * * [simplify]: iteration 1 : 8 enodes (cost 5 ) 0.025 * [simplify]: Simplified to: (log (sqrt (+ (* re re) (* im im)))) 0.025 * * [progress]: iteration 1 / 4 0.025 * * * [progress]: picking best candidate 0.027 * * * * [pick]: Picked # 0.027 * * * [progress]: localizing error 0.034 * * * [progress]: generating rewritten candidates 0.034 * * * * [progress]: [ 1 / 2 ] rewriting at (2 1) 0.038 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1 1) 0.042 * * * [progress]: generating series expansions 0.042 * * * * [progress]: [ 1 / 2 ] generating series at (2 1) 0.042 * [approximate]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in (re im) around 0 0.042 * [taylor]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in im 0.042 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in im 0.042 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.042 * [taylor]: Taking taylor expansion of re in im 0.042 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.042 * [taylor]: Taking taylor expansion of im in im 0.043 * [taylor]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in re 0.043 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 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.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 (sqrt (+ (pow re 2) (pow im 2))) in re 0.043 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 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.043 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.043 * [taylor]: Taking taylor expansion of im in re 0.044 * [taylor]: Taking taylor expansion of im in im 0.044 * [taylor]: Taking taylor expansion of 0 in im 0.045 * [taylor]: Taking taylor expansion of (/ 1/2 im) in im 0.045 * [taylor]: Taking taylor expansion of 1/2 in im 0.045 * [taylor]: Taking taylor expansion of im in im 0.047 * [taylor]: Taking taylor expansion of 0 in im 0.048 * [approximate]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in (re im) around 0 0.048 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in im 0.048 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.048 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.048 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.048 * [taylor]: Taking taylor expansion of im in im 0.049 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.049 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.049 * [taylor]: Taking taylor expansion of re in im 0.051 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.051 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.051 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.051 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.051 * [taylor]: Taking taylor expansion of im in re 0.051 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.051 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.051 * [taylor]: Taking taylor expansion of re in re 0.053 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.053 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.053 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.053 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.053 * [taylor]: Taking taylor expansion of im in re 0.053 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.053 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.053 * [taylor]: Taking taylor expansion of re in re 0.056 * [taylor]: Taking taylor expansion of 1 in im 0.056 * [taylor]: Taking taylor expansion of 0 in im 0.058 * [taylor]: Taking taylor expansion of (/ 1/2 (pow im 2)) in im 0.058 * [taylor]: Taking taylor expansion of 1/2 in im 0.058 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.058 * [taylor]: Taking taylor expansion of im in im 0.061 * [taylor]: Taking taylor expansion of 0 in im 0.062 * [approximate]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in (re im) around 0 0.062 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in im 0.062 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.062 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.062 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.062 * [taylor]: Taking taylor expansion of im in im 0.063 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.063 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.063 * [taylor]: Taking taylor expansion of re in im 0.065 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.065 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.065 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.065 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.065 * [taylor]: Taking taylor expansion of im in re 0.065 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.065 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.065 * [taylor]: Taking taylor expansion of re in re 0.067 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.067 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.067 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.067 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.068 * [taylor]: Taking taylor expansion of im in re 0.068 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.068 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.068 * [taylor]: Taking taylor expansion of re in re 0.070 * [taylor]: Taking taylor expansion of 1 in im 0.070 * [taylor]: Taking taylor expansion of 0 in im 0.072 * [taylor]: Taking taylor expansion of (/ 1/2 (pow im 2)) in im 0.072 * [taylor]: Taking taylor expansion of 1/2 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.075 * [taylor]: Taking taylor expansion of 0 in im 0.076 * * * * [progress]: [ 2 / 2 ] generating series at (2 1 1) 0.076 * [approximate]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in (re im) around 0 0.076 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in im 0.076 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.076 * [taylor]: Taking taylor expansion of re in im 0.076 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.076 * [taylor]: Taking taylor expansion of im in im 0.076 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in re 0.076 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.077 * [taylor]: Taking taylor expansion of re 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 (+ (pow re 2) (pow im 2)) in re 0.077 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.077 * [taylor]: Taking taylor expansion of re 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 (pow im 2) in im 0.077 * [taylor]: Taking taylor expansion of im in im 0.077 * [taylor]: Taking taylor expansion of 0 in im 0.078 * [taylor]: Taking taylor expansion of 1 in im 0.079 * [taylor]: Taking taylor expansion of 0 in im 0.081 * [taylor]: Taking taylor expansion of 0 in im 0.082 * [approximate]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in (re im) around 0 0.082 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.082 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.082 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.082 * [taylor]: Taking taylor expansion of im in im 0.082 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.082 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.082 * [taylor]: Taking taylor expansion of re in im 0.082 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.082 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.082 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.082 * [taylor]: Taking taylor expansion of im in re 0.082 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.082 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.083 * [taylor]: Taking taylor expansion of re in re 0.083 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.083 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.083 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.083 * [taylor]: Taking taylor expansion of im in re 0.083 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.083 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.083 * [taylor]: Taking taylor expansion of re in re 0.084 * [taylor]: Taking taylor expansion of 1 in im 0.085 * [taylor]: Taking taylor expansion of 0 in im 0.086 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.086 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.086 * [taylor]: Taking taylor expansion of im in im 0.088 * [taylor]: Taking taylor expansion of 0 in im 0.091 * [taylor]: Taking taylor expansion of 0 in im 0.092 * [approximate]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in (re im) around 0 0.092 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.092 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.092 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.092 * [taylor]: Taking taylor expansion of im in im 0.093 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.093 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.093 * [taylor]: Taking taylor expansion of re in im 0.093 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.093 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.093 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.093 * [taylor]: Taking taylor expansion of im in re 0.093 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.093 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.093 * [taylor]: Taking taylor expansion of re in re 0.093 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.093 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.094 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.094 * [taylor]: Taking taylor expansion of im in re 0.094 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.094 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.094 * [taylor]: Taking taylor expansion of re in re 0.094 * [taylor]: Taking taylor expansion of 1 in im 0.095 * [taylor]: Taking taylor expansion of 0 in im 0.096 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.097 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.097 * [taylor]: Taking taylor expansion of im in im 0.101 * [taylor]: Taking taylor expansion of 0 in im 0.104 * [taylor]: Taking taylor expansion of 0 in im 0.105 * * * [progress]: simplifying candidates 0.105 * [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.109 * * [simplify]: iteration 0 : 125 enodes (cost 177 ) 0.112 * * [simplify]: iteration 1 : 530 enodes (cost 163 ) 0.119 * * [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.212 * * [progress]: iteration 2 / 4 0.212 * * * [progress]: picking best candidate 0.215 * * * * [pick]: Picked # 0.216 * * * [progress]: localizing error 0.218 * * * [progress]: generating rewritten candidates 0.218 * * * [progress]: generating series expansions 0.218 * * * [progress]: simplifying candidates 0.218 * [simplify]: Simplifying using # : 0.220 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.220 * [simplify]: Simplified to: 0.220 * * * [progress]: adding candidates to table 0.220 * * [progress]: iteration 3 / 4 0.220 * * * [progress]: picking best candidate 0.223 * * * * [pick]: Picked # 0.223 * * * [progress]: localizing error 0.226 * * * [progress]: generating rewritten candidates 0.226 * * * [progress]: generating series expansions 0.226 * * * [progress]: simplifying candidates 0.226 * [simplify]: Simplifying using # : 0.228 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.228 * [simplify]: Simplified to: 0.228 * * * [progress]: adding candidates to table 0.229 * * [progress]: iteration 4 / 4 0.229 * * * [progress]: picking best candidate 0.230 * * * * [pick]: Picked # 0.230 * * * [progress]: localizing error 0.232 * * * [progress]: generating rewritten candidates 0.232 * * * [progress]: generating series expansions 0.232 * * * [progress]: simplifying candidates 0.232 * [simplify]: Simplifying using # : 0.234 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.234 * [simplify]: Simplified to: 0.234 * * * [progress]: adding candidates to table 0.234 * [progress]: [Phase 3 of 3] Extracting. 0.234 * * [regime]: Finding splitpoints for: (# # # #) 0.235 * * * [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.235 * * * * [regimes]: Trying to branch on (* im im) from (# # # #) 0.254 * * * * [regimes]: Trying to branch on (* im im) from (# # #) 0.273 * * * * [regimes]: Trying to branch on (* re re) from (# # # #) 0.292 * * * * [regimes]: Trying to branch on (* re re) from (# #) 0.302 * * * * [regimes]: Trying to branch on (+ (* re re) (* im im)) from (# # # #) 0.325 * * * * [regimes]: Trying to branch on (sqrt (+ (* re re) (* im im))) from (# # # #) 0.349 * * * * [regimes]: Trying to branch on (log (sqrt (+ (* re re) (* im im)))) from (# # # #) 0.378 * * * * [regimes]: Trying to branch on im from (# # # #) 0.420 * * * * [regimes]: Trying to branch on re from (# # # #) 0.454 * * * [regime]: Found split indices: #