6.232 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.015 * * * [progress]: [2/2] Setting up program. 0.017 * [progress]: [Phase 2 of 3] Improving. 0.017 * [simplify]: Simplifying using # : (log (sqrt (+ (* re re) (* im im)))) 0.020 * * [simplify]: iteration 0 : 8 enodes (cost 5 ) 0.021 * * [simplify]: iteration 1 : 8 enodes (cost 5 ) 0.021 * [simplify]: Simplified to: (log (sqrt (+ (* re re) (* im im)))) 0.021 * * [progress]: iteration 1 / 4 0.021 * * * [progress]: picking best candidate 0.023 * * * * [pick]: Picked # 0.023 * * * [progress]: localizing error 0.031 * * * [progress]: generating rewritten candidates 0.031 * * * * [progress]: [ 1 / 2 ] rewriting at (2 1) 0.034 * * * * [progress]: [ 2 / 2 ] rewriting at (2 1 1) 0.038 * * * [progress]: generating series expansions 0.038 * * * * [progress]: [ 1 / 2 ] generating series at (2 1) 0.038 * [approximate]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in (re im) around 0 0.038 * [taylor]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in im 0.038 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 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.038 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.038 * [taylor]: Taking taylor expansion of im in im 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 (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.040 * [taylor]: Taking taylor expansion of im in im 0.040 * [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.044 * [taylor]: Taking taylor expansion of 0 in im 0.044 * [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.045 * [taylor]: Taking taylor expansion of (/ 1 (pow re 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.047 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.047 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.047 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.047 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.047 * [taylor]: Taking taylor expansion of im in re 0.047 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.047 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.047 * [taylor]: Taking taylor expansion of re in re 0.050 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.050 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.050 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.050 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.050 * [taylor]: Taking taylor expansion of im in re 0.050 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.050 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.050 * [taylor]: Taking taylor expansion of re in re 0.052 * [taylor]: Taking taylor expansion of 1 in im 0.052 * [taylor]: Taking taylor expansion of 0 in im 0.054 * [taylor]: Taking taylor expansion of (/ 1/2 (pow im 2)) in im 0.054 * [taylor]: Taking taylor expansion of 1/2 in im 0.054 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.054 * [taylor]: Taking taylor expansion of im in im 0.057 * [taylor]: Taking taylor expansion of 0 in im 0.059 * [approximate]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in (re im) around 0 0.059 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in im 0.059 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.059 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.059 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.059 * [taylor]: Taking taylor expansion of im in im 0.059 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.059 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.059 * [taylor]: Taking taylor expansion of re in im 0.061 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.061 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.061 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.061 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.061 * [taylor]: Taking taylor expansion of im in re 0.062 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.062 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.062 * [taylor]: Taking taylor expansion of re in re 0.064 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.064 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.064 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.064 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.064 * [taylor]: Taking taylor expansion of im in re 0.064 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.064 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.064 * [taylor]: Taking taylor expansion of re in re 0.067 * [taylor]: Taking taylor expansion of 1 in im 0.067 * [taylor]: Taking taylor expansion of 0 in im 0.069 * [taylor]: Taking taylor expansion of (/ 1/2 (pow im 2)) in im 0.069 * [taylor]: Taking taylor expansion of 1/2 in im 0.069 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.069 * [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 1) 0.073 * [approximate]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in (re im) around 0 0.074 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in im 0.074 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.074 * [taylor]: Taking taylor expansion of re in im 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 (+ (pow re 2) (pow im 2)) in re 0.074 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.074 * [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 re 2) (pow im 2)) in re 0.074 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.074 * [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.079 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.079 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.079 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.079 * [taylor]: Taking taylor expansion of im in re 0.079 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.079 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.079 * [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.086 * [taylor]: Taking taylor expansion of 0 in im 0.088 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.088 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.088 * [taylor]: Taking taylor expansion of im in im 0.090 * [taylor]: Taking taylor expansion of 0 in im 0.092 * [taylor]: Taking taylor expansion of 0 in im 0.094 * [approximate]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in (re im) around 0 0.094 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.094 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.094 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.094 * [taylor]: Taking taylor expansion of im in im 0.094 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.094 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.094 * [taylor]: Taking taylor expansion of re in im 0.094 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.095 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.095 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.095 * [taylor]: Taking taylor expansion of im in re 0.095 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.095 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.095 * [taylor]: Taking taylor expansion of re in re 0.095 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.095 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.095 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.095 * [taylor]: Taking taylor expansion of im in re 0.095 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.095 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.095 * [taylor]: Taking taylor expansion of re in re 0.096 * [taylor]: Taking taylor expansion of 1 in im 0.097 * [taylor]: Taking taylor expansion of 0 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.100 * [taylor]: Taking taylor expansion of 0 in im 0.103 * [taylor]: Taking taylor expansion of 0 in im 0.104 * * * [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.108 * * [simplify]: iteration 0 : 125 enodes (cost 178 ) 0.111 * * [simplify]: iteration 1 : 530 enodes (cost 163 ) 0.118 * * [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.154 * * * [progress]: adding candidates to table 0.228 * * [progress]: iteration 2 / 4 0.228 * * * [progress]: picking best candidate 0.232 * * * * [pick]: Picked # 0.232 * * * [progress]: localizing error 0.234 * * * [progress]: generating rewritten candidates 0.234 * * * [progress]: generating series expansions 0.234 * * * [progress]: simplifying candidates 0.234 * [simplify]: Simplifying using # : 0.236 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.236 * [simplify]: Simplified to: 0.236 * * * [progress]: adding candidates to table 0.236 * * [progress]: iteration 3 / 4 0.236 * * * [progress]: picking best candidate 0.242 * * * * [pick]: Picked # 0.242 * * * [progress]: localizing error 0.246 * * * [progress]: generating rewritten candidates 0.246 * * * [progress]: generating series expansions 0.246 * * * [progress]: simplifying candidates 0.246 * [simplify]: Simplifying using # : 0.248 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.248 * [simplify]: Simplified to: 0.248 * * * [progress]: adding candidates to table 0.248 * * [progress]: iteration 4 / 4 0.248 * * * [progress]: picking best candidate 0.250 * * * * [pick]: Picked # 0.250 * * * [progress]: localizing error 0.252 * * * [progress]: generating rewritten candidates 0.252 * * * [progress]: generating series expansions 0.252 * * * [progress]: simplifying candidates 0.252 * [simplify]: Simplifying using # : 0.254 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.254 * [simplify]: Simplified to: 0.254 * * * [progress]: adding candidates to table 0.254 * [progress]: [Phase 3 of 3] Extracting. 0.254 * * [regime]: Finding splitpoints for: (# # # #) 0.255 * * * [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.255 * * * * [regimes]: Trying to branch on (* im im) from (# # # #) 0.272 * * * * [regimes]: Trying to branch on (* im im) from (# # #) 0.290 * * * * [regimes]: Trying to branch on (* re re) from (# # # #) 0.312 * * * * [regimes]: Trying to branch on (* re re) from (# #) 0.330 * * * * [regimes]: Trying to branch on (+ (* re re) (* im im)) from (# # # #) 0.355 * * * * [regimes]: Trying to branch on (sqrt (+ (* re re) (* im im))) from (# # # #) 0.381 * * * * [regimes]: Trying to branch on (log (sqrt (+ (* re re) (* im im)))) from (# # # #) 0.412 * * * * [regimes]: Trying to branch on im from (# # # #) 0.450 * * * * [regimes]: Trying to branch on re from (# # # #) 0.501 * * * [regime]: Found split indices: #