8.677 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.018 * * * [progress]: [2/2] Setting up program. 0.021 * [progress]: [Phase 2 of 3] Improving. 0.021 * [simplify]: Simplifying using # : (log (sqrt (+ (* re re) (* im im)))) 0.023 * * [simplify]: iteration 0 : 8 enodes (cost 5 ) 0.024 * * [simplify]: iteration 1 : 8 enodes (cost 5 ) 0.024 * [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.040 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1 1) 0.044 * * * [progress]: generating series expansions 0.045 * * * * [progress]: [ 1 / 2 ] generating series at (2 1) 0.045 * [approximate]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in (re im) around 0 0.045 * [taylor]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in im 0.045 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in im 0.045 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.045 * [taylor]: Taking taylor expansion of re in im 0.045 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.045 * [taylor]: Taking taylor expansion of im in im 0.046 * [taylor]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in re 0.046 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 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.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 (sqrt (+ (pow re 2) (pow im 2))) in re 0.046 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 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.046 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.046 * [taylor]: Taking taylor expansion of im in re 0.047 * [taylor]: Taking taylor expansion of im in im 0.047 * [taylor]: Taking taylor expansion of 0 in im 0.048 * [taylor]: Taking taylor expansion of (/ 1/2 im) in im 0.048 * [taylor]: Taking taylor expansion of 1/2 in im 0.048 * [taylor]: Taking taylor expansion of im in im 0.050 * [taylor]: Taking taylor expansion of 0 in im 0.051 * [approximate]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in (re im) around 0 0.051 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in im 0.051 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.051 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.051 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.051 * [taylor]: Taking taylor expansion of im in im 0.052 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.052 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.052 * [taylor]: Taking taylor expansion of re in im 0.054 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.054 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.054 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.054 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.054 * [taylor]: Taking taylor expansion of im in re 0.054 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.054 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.054 * [taylor]: Taking taylor expansion of re in re 0.057 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.057 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.057 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.057 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.057 * [taylor]: Taking taylor expansion of im in re 0.057 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.057 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.057 * [taylor]: Taking taylor expansion of re in re 0.059 * [taylor]: Taking taylor expansion of 1 in im 0.059 * [taylor]: Taking taylor expansion of 0 in im 0.062 * [taylor]: Taking taylor expansion of (/ 1/2 (pow im 2)) in im 0.062 * [taylor]: Taking taylor expansion of 1/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.065 * [taylor]: Taking taylor expansion of 0 in im 0.066 * [approximate]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in (re im) around 0 0.066 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in im 0.066 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.066 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.066 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.066 * [taylor]: Taking taylor expansion of im in im 0.067 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.067 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.067 * [taylor]: Taking taylor expansion of re in im 0.069 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.069 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.069 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.069 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.069 * [taylor]: Taking taylor expansion of im in re 0.069 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.069 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.069 * [taylor]: Taking taylor expansion of re in re 0.072 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.072 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.072 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) 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 (/ 1 (pow re 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.074 * [taylor]: Taking taylor expansion of 1 in im 0.075 * [taylor]: Taking taylor expansion of 0 in im 0.077 * [taylor]: Taking taylor expansion of (/ 1/2 (pow im 2)) in im 0.077 * [taylor]: Taking taylor expansion of 1/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.080 * [taylor]: Taking taylor expansion of 0 in im 0.081 * * * * [progress]: [ 2 / 2 ] generating series at (2 1 1) 0.081 * [approximate]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in (re im) around 0 0.081 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in im 0.081 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.081 * [taylor]: Taking taylor expansion of re 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 (+ (pow re 2) (pow im 2)) in re 0.082 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.082 * [taylor]: Taking taylor expansion of re 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 (+ (pow re 2) (pow im 2)) in re 0.082 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.082 * [taylor]: Taking taylor expansion of re 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 (pow im 2) in im 0.082 * [taylor]: Taking taylor expansion of im in im 0.082 * [taylor]: Taking taylor expansion of 0 in im 0.083 * [taylor]: Taking taylor expansion of 1 in im 0.084 * [taylor]: Taking taylor expansion of 0 in im 0.086 * [taylor]: Taking taylor expansion of 0 in im 0.087 * [approximate]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in (re im) around 0 0.087 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.087 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.087 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.087 * [taylor]: Taking taylor expansion of im in im 0.087 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.087 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.087 * [taylor]: Taking taylor expansion of re in im 0.087 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.087 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.087 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.087 * [taylor]: Taking taylor expansion of im in re 0.088 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.088 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.088 * [taylor]: Taking taylor expansion of re in re 0.088 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.088 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.088 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.088 * [taylor]: Taking taylor expansion of im in re 0.088 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.088 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.088 * [taylor]: Taking taylor expansion of re in re 0.089 * [taylor]: Taking taylor expansion of 1 in im 0.090 * [taylor]: Taking taylor expansion of 0 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.093 * [taylor]: Taking taylor expansion of 0 in im 0.096 * [taylor]: Taking taylor expansion of 0 in im 0.097 * [approximate]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in (re im) around 0 0.097 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.098 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.098 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.098 * [taylor]: Taking taylor expansion of im in im 0.098 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.098 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.098 * [taylor]: Taking taylor expansion of re in im 0.098 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.098 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.098 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.098 * [taylor]: Taking taylor expansion of im in re 0.098 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.098 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.098 * [taylor]: Taking taylor expansion of re in re 0.099 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.099 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.099 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.099 * [taylor]: Taking taylor expansion of im in re 0.099 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.099 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.099 * [taylor]: Taking taylor expansion of re in re 0.100 * [taylor]: Taking taylor expansion of 1 in im 0.101 * [taylor]: Taking taylor expansion of 0 in im 0.102 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.102 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.102 * [taylor]: Taking taylor expansion of im in im 0.104 * [taylor]: Taking taylor expansion of 0 in im 0.107 * [taylor]: Taking taylor expansion of 0 in im 0.108 * * * [progress]: simplifying candidates 0.109 * [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.112 * * [simplify]: iteration 0 : 125 enodes (cost 177 ) 0.115 * * [simplify]: iteration 1 : 530 enodes (cost 163 ) 0.123 * * [simplify]: iteration 2 : 1540 enodes (cost 163 ) 0.156 * * [simplify]: iteration 3 : 5001 enodes (cost 162 ) 0.158 * [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.158 * * * [progress]: adding candidates to table 0.223 * * [progress]: iteration 2 / 4 0.223 * * * [progress]: picking best candidate 0.227 * * * * [pick]: Picked # 0.227 * * * [progress]: localizing error 0.230 * * * [progress]: generating rewritten candidates 0.230 * * * [progress]: generating series expansions 0.230 * * * [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 3 / 4 0.232 * * * [progress]: picking best candidate 0.235 * * * * [pick]: Picked # 0.235 * * * [progress]: localizing error 0.238 * * * [progress]: generating rewritten candidates 0.238 * * * [progress]: generating series expansions 0.238 * * * [progress]: simplifying candidates 0.239 * [simplify]: Simplifying using # : 0.241 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.241 * [simplify]: Simplified to: 0.241 * * * [progress]: adding candidates to table 0.244 * * [progress]: iteration 4 / 4 0.244 * * * [progress]: picking best candidate 0.246 * * * * [pick]: Picked # 0.246 * * * [progress]: localizing error 0.248 * * * [progress]: generating rewritten candidates 0.248 * * * [progress]: generating series expansions 0.248 * * * [progress]: simplifying candidates 0.248 * [simplify]: Simplifying using # : 0.250 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.251 * [simplify]: Simplified to: 0.251 * * * [progress]: adding candidates to table 0.251 * [progress]: [Phase 3 of 3] Extracting. 0.251 * * [regime]: Finding splitpoints for: (# # # #) 0.251 * * * [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.251 * * * * [regimes]: Trying to branch on (* im im) from (# # # #) 0.270 * * * * [regimes]: Trying to branch on (* im im) from (# # #) 0.289 * * * * [regimes]: Trying to branch on (* re re) from (# # # #) 0.308 * * * * [regimes]: Trying to branch on (* re re) from (# #) 0.322 * * * * [regimes]: Trying to branch on (+ (* re re) (* im im)) from (# # # #) 0.350 * * * * [regimes]: Trying to branch on (sqrt (+ (* re re) (* im im))) from (# # # #) 0.379 * * * * [regimes]: Trying to branch on (log (sqrt (+ (* re re) (* im im)))) from (# # # #) 0.412 * * * * [regimes]: Trying to branch on im from (# # # #) 0.460 * * * * [regimes]: Trying to branch on re from (# # # #) 0.502 * * * [regime]: Found split indices: #