0.046 * [progress]: [Phase 1 of 3] Setting up. 0.002 * * * [progress]: [1/2] Preparing points 0.019 * * * [progress]: [2/2] Setting up program. 0.022 * [progress]: [Phase 2 of 3] Improving. 0.022 * * * * [progress]: [ 1 / 1 ] simplifiying candidate # 0.023 * [simplify]: Simplifying: (sqrt (+ (* re re) (* im im))) 0.023 * * [simplify]: iteration 1: (6 enodes) 0.024 * * [simplify]: iteration 2: (19 enodes) 0.027 * * [simplify]: Extracting #0: cost 1 inf + 0 0.027 * * [simplify]: Extracting #1: cost 3 inf + 0 0.027 * * [simplify]: Extracting #2: cost 6 inf + 0 0.027 * * [simplify]: Extracting #3: cost 10 inf + 0 0.027 * * [simplify]: Extracting #4: cost 6 inf + 84 0.027 * * [simplify]: Extracting #5: cost 0 inf + 734 0.027 * [simplify]: Simplified to: (sqrt (+ (* re re) (* im im))) 0.030 * * [progress]: iteration 1 / 4 0.030 * * * [progress]: picking best candidate 0.032 * * * * [pick]: Picked # 0.032 * * * [progress]: localizing error 0.042 * * * [progress]: generating rewritten candidates 0.042 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.048 * * * [progress]: generating series expansions 0.048 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.049 * [backup-simplify]: Simplify (sqrt (+ (* re re) (* im im))) into (sqrt (+ (pow im 2) (pow re 2))) 0.049 * [approximate]: Taking taylor expansion of (sqrt (+ (pow im 2) (pow re 2))) in (re im) around 0 0.049 * [taylor]: Taking taylor expansion of (sqrt (+ (pow im 2) (pow re 2))) in im 0.049 * [taylor]: Taking taylor expansion of (+ (pow im 2) (pow re 2)) in im 0.049 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.049 * [taylor]: Taking taylor expansion of im in im 0.049 * [backup-simplify]: Simplify 0 into 0 0.049 * [backup-simplify]: Simplify 1 into 1 0.049 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.049 * [taylor]: Taking taylor expansion of re in im 0.049 * [backup-simplify]: Simplify re into re 0.059 * [backup-simplify]: Simplify (* re re) into (pow re 2) 0.059 * [backup-simplify]: Simplify (+ 0 (pow re 2)) into (pow re 2) 0.059 * [backup-simplify]: Simplify (sqrt (pow re 2)) into re 0.059 * [backup-simplify]: Simplify (+ (* re 0) (* 0 re)) into 0 0.059 * [backup-simplify]: Simplify (+ 0 0) into 0 0.059 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt (pow re 2)))) into 0 0.059 * [taylor]: Taking taylor expansion of (sqrt (+ (pow im 2) (pow re 2))) in re 0.059 * [taylor]: Taking taylor expansion of (+ (pow im 2) (pow re 2)) in re 0.059 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.059 * [taylor]: Taking taylor expansion of im in re 0.059 * [backup-simplify]: Simplify im into im 0.059 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.059 * [taylor]: Taking taylor expansion of re in re 0.059 * [backup-simplify]: Simplify 0 into 0 0.059 * [backup-simplify]: Simplify 1 into 1 0.060 * [backup-simplify]: Simplify (* im im) into (pow im 2) 0.060 * [backup-simplify]: Simplify (+ (pow im 2) 0) into (pow im 2) 0.060 * [backup-simplify]: Simplify (sqrt (pow im 2)) into im 0.060 * [backup-simplify]: Simplify (+ (* im 0) (* 0 im)) into 0 0.060 * [backup-simplify]: Simplify (+ 0 0) into 0 0.061 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt (pow im 2)))) into 0 0.061 * [taylor]: Taking taylor expansion of (sqrt (+ (pow im 2) (pow re 2))) in re 0.061 * [taylor]: Taking taylor expansion of (+ (pow im 2) (pow re 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.061 * [backup-simplify]: Simplify im into im 0.061 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.061 * [taylor]: Taking taylor expansion of re in re 0.061 * [backup-simplify]: Simplify 0 into 0 0.061 * [backup-simplify]: Simplify 1 into 1 0.061 * [backup-simplify]: Simplify (* im im) into (pow im 2) 0.061 * [backup-simplify]: Simplify (+ (pow im 2) 0) into (pow im 2) 0.061 * [backup-simplify]: Simplify (sqrt (pow im 2)) into im 0.061 * [backup-simplify]: Simplify (+ (* im 0) (* 0 im)) into 0 0.061 * [backup-simplify]: Simplify (+ 0 0) into 0 0.061 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt (pow im 2)))) into 0 0.061 * [taylor]: Taking taylor expansion of im in im 0.061 * [backup-simplify]: Simplify 0 into 0 0.061 * [backup-simplify]: Simplify 1 into 1 0.061 * [backup-simplify]: Simplify 0 into 0 0.061 * [taylor]: Taking taylor expansion of 0 in im 0.061 * [backup-simplify]: Simplify 0 into 0 0.061 * [backup-simplify]: Simplify 0 into 0 0.061 * [backup-simplify]: Simplify 1 into 1 0.062 * [backup-simplify]: Simplify (+ (* im 0) (+ (* 0 0) (* 0 im))) into 0 0.062 * [backup-simplify]: Simplify (* 1 1) into 1 0.062 * [backup-simplify]: Simplify (+ 0 1) into 1 0.063 * [backup-simplify]: Simplify (/ (- 1 (pow 0 2) (+)) (* 2 im)) into (/ 1/2 im) 0.063 * [taylor]: Taking taylor expansion of (/ 1/2 im) in im 0.063 * [taylor]: Taking taylor expansion of 1/2 in im 0.063 * [backup-simplify]: Simplify 1/2 into 1/2 0.063 * [taylor]: Taking taylor expansion of im in im 0.063 * [backup-simplify]: Simplify 0 into 0 0.063 * [backup-simplify]: Simplify 1 into 1 0.063 * [backup-simplify]: Simplify (/ 1/2 1) into 1/2 0.064 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1/2 (/ 0 1)))) into 0 0.064 * [backup-simplify]: Simplify 0 into 0 0.064 * [backup-simplify]: Simplify 0 into 0 0.064 * [backup-simplify]: Simplify 0 into 0 0.065 * [backup-simplify]: Simplify (+ (* im 0) (+ (* 0 0) (+ (* 0 0) (* 0 im)))) into 0 0.066 * [backup-simplify]: Simplify (+ (* 1 0) (* 0 1)) into 0 0.066 * [backup-simplify]: Simplify (+ 0 0) into 0 0.066 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* 0 (/ 1/2 im))))) (* 2 im)) into 0 0.066 * [taylor]: Taking taylor expansion of 0 in im 0.066 * [backup-simplify]: Simplify 0 into 0 0.066 * [backup-simplify]: Simplify 0 into 0 0.067 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1/2 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.067 * [backup-simplify]: Simplify 0 into 0 0.068 * [backup-simplify]: Simplify 0 into 0 0.068 * [backup-simplify]: Simplify (* 1 (* im 1)) into im 0.068 * [backup-simplify]: Simplify (sqrt (+ (* (/ 1 re) (/ 1 re)) (* (/ 1 im) (/ 1 im)))) into (sqrt (+ (/ 1 (pow re 2)) (/ 1 (pow im 2)))) 0.068 * [approximate]: Taking taylor expansion of (sqrt (+ (/ 1 (pow re 2)) (/ 1 (pow im 2)))) in (re im) around 0 0.068 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow re 2)) (/ 1 (pow im 2)))) in im 0.068 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow re 2)) (/ 1 (pow im 2))) in im 0.068 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.068 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.068 * [taylor]: Taking taylor expansion of re in im 0.068 * [backup-simplify]: Simplify re into re 0.068 * [backup-simplify]: Simplify (* re re) into (pow re 2) 0.069 * [backup-simplify]: Simplify (/ 1 (pow re 2)) into (/ 1 (pow re 2)) 0.069 * [taylor]: Taking taylor expansion of (/ 1 (pow im 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.069 * [backup-simplify]: Simplify 0 into 0 0.069 * [backup-simplify]: Simplify 1 into 1 0.069 * [backup-simplify]: Simplify (* 1 1) into 1 0.070 * [backup-simplify]: Simplify (/ 1 1) into 1 0.070 * [backup-simplify]: Simplify (+ 0 1) into 1 0.071 * [backup-simplify]: Simplify (sqrt 1) into 1 0.072 * [backup-simplify]: Simplify (+ (* 1 0) (* 0 1)) into 0 0.073 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.073 * [backup-simplify]: Simplify (+ 0 0) into 0 0.074 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt 1))) into 0 0.074 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow re 2)) (/ 1 (pow im 2)))) in re 0.074 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow re 2)) (/ 1 (pow im 2))) in re 0.074 * [taylor]: Taking taylor expansion of (/ 1 (pow re 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 * [backup-simplify]: Simplify 0 into 0 0.074 * [backup-simplify]: Simplify 1 into 1 0.074 * [backup-simplify]: Simplify (* 1 1) into 1 0.075 * [backup-simplify]: Simplify (/ 1 1) into 1 0.075 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.075 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.075 * [taylor]: Taking taylor expansion of im in re 0.075 * [backup-simplify]: Simplify im into im 0.075 * [backup-simplify]: Simplify (* im im) into (pow im 2) 0.075 * [backup-simplify]: Simplify (/ 1 (pow im 2)) into (/ 1 (pow im 2)) 0.076 * [backup-simplify]: Simplify (+ 1 0) into 1 0.076 * [backup-simplify]: Simplify (sqrt 1) into 1 0.077 * [backup-simplify]: Simplify (+ (* 1 0) (* 0 1)) into 0 0.078 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.078 * [backup-simplify]: Simplify (+ 0 0) into 0 0.079 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt 1))) into 0 0.079 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow re 2)) (/ 1 (pow im 2)))) in re 0.079 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow re 2)) (/ 1 (pow im 2))) 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.079 * [backup-simplify]: Simplify 0 into 0 0.079 * [backup-simplify]: Simplify 1 into 1 0.079 * [backup-simplify]: Simplify (* 1 1) into 1 0.080 * [backup-simplify]: Simplify (/ 1 1) into 1 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 * [backup-simplify]: Simplify im into im 0.080 * [backup-simplify]: Simplify (* im im) into (pow im 2) 0.080 * [backup-simplify]: Simplify (/ 1 (pow im 2)) into (/ 1 (pow im 2)) 0.080 * [backup-simplify]: Simplify (+ 1 0) into 1 0.081 * [backup-simplify]: Simplify (sqrt 1) into 1 0.081 * [backup-simplify]: Simplify (+ (* 1 0) (* 0 1)) into 0 0.082 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.083 * [backup-simplify]: Simplify (+ 0 0) into 0 0.083 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt 1))) into 0 0.083 * [taylor]: Taking taylor expansion of 1 in im 0.084 * [backup-simplify]: Simplify 1 into 1 0.084 * [taylor]: Taking taylor expansion of 0 in im 0.084 * [backup-simplify]: Simplify 0 into 0 0.084 * [backup-simplify]: Simplify 1 into 1 0.084 * [backup-simplify]: Simplify (+ (* 1 0) (+ (* 0 0) (* 0 1))) into 0 0.085 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.086 * [backup-simplify]: Simplify (+ 0 (/ 1 (pow im 2))) into (/ 1 (pow im 2)) 0.088 * [backup-simplify]: Simplify (/ (- (/ 1 (pow im 2)) (pow 0 2) (+)) (* 2 1)) into (/ 1/2 (pow im 2)) 0.088 * [taylor]: Taking taylor expansion of (/ 1/2 (pow im 2)) in im 0.088 * [taylor]: Taking taylor expansion of 1/2 in im 0.088 * [backup-simplify]: Simplify 1/2 into 1/2 0.088 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.088 * [taylor]: Taking taylor expansion of im in im 0.088 * [backup-simplify]: Simplify 0 into 0 0.088 * [backup-simplify]: Simplify 1 into 1 0.088 * [backup-simplify]: Simplify (* 1 1) into 1 0.089 * [backup-simplify]: Simplify (/ 1/2 1) into 1/2 0.089 * [backup-simplify]: Simplify (+ (* 1 0) (* 0 1)) into 0 0.090 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1/2 (/ 0 1)))) into 0 0.091 * [backup-simplify]: Simplify 0 into 0 0.091 * [backup-simplify]: Simplify 0 into 0 0.091 * [backup-simplify]: Simplify 0 into 0 0.092 * [backup-simplify]: Simplify (+ (* 1 0) (+ (* 0 0) (+ (* 0 0) (* 0 1)))) into 0 0.092 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.092 * [backup-simplify]: Simplify (+ (* im 0) (* 0 im)) into 0 0.092 * [backup-simplify]: Simplify (- (+ (* (/ 1 (pow im 2)) (/ 0 (pow im 2))))) into 0 0.093 * [backup-simplify]: Simplify (+ 0 0) into 0 0.093 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* 0 (/ 1/2 (pow im 2)))))) (* 2 1)) into 0 0.093 * [taylor]: Taking taylor expansion of 0 in im 0.093 * [backup-simplify]: Simplify 0 into 0 0.093 * [backup-simplify]: Simplify (+ (* 1 0) (+ (* 0 0) (* 0 1))) into 0 0.094 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1/2 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.094 * [backup-simplify]: Simplify 0 into 0 0.094 * [backup-simplify]: Simplify 0 into 0 0.094 * [backup-simplify]: Simplify 0 into 0 0.094 * [backup-simplify]: Simplify (* 1 (* 1 (/ 1 (/ 1 re)))) into re 0.094 * [backup-simplify]: Simplify (sqrt (+ (* (/ 1 (- re)) (/ 1 (- re))) (* (/ 1 (- im)) (/ 1 (- im))))) into (sqrt (+ (/ 1 (pow re 2)) (/ 1 (pow im 2)))) 0.094 * [approximate]: Taking taylor expansion of (sqrt (+ (/ 1 (pow re 2)) (/ 1 (pow im 2)))) in (re im) around 0 0.094 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow re 2)) (/ 1 (pow im 2)))) in im 0.094 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow re 2)) (/ 1 (pow im 2))) 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.095 * [backup-simplify]: Simplify re into re 0.095 * [backup-simplify]: Simplify (* re re) into (pow re 2) 0.095 * [backup-simplify]: Simplify (/ 1 (pow re 2)) into (/ 1 (pow re 2)) 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.095 * [backup-simplify]: Simplify 0 into 0 0.095 * [backup-simplify]: Simplify 1 into 1 0.095 * [backup-simplify]: Simplify (* 1 1) into 1 0.095 * [backup-simplify]: Simplify (/ 1 1) into 1 0.095 * [backup-simplify]: Simplify (+ 0 1) into 1 0.096 * [backup-simplify]: Simplify (sqrt 1) into 1 0.096 * [backup-simplify]: Simplify (+ (* 1 0) (* 0 1)) into 0 0.096 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.097 * [backup-simplify]: Simplify (+ 0 0) into 0 0.097 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt 1))) into 0 0.097 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow re 2)) (/ 1 (pow im 2)))) in re 0.097 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow re 2)) (/ 1 (pow im 2))) in re 0.097 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.097 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.097 * [taylor]: Taking taylor expansion of re in re 0.097 * [backup-simplify]: Simplify 0 into 0 0.097 * [backup-simplify]: Simplify 1 into 1 0.097 * [backup-simplify]: Simplify (* 1 1) into 1 0.098 * [backup-simplify]: Simplify (/ 1 1) into 1 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 * [backup-simplify]: Simplify im into im 0.098 * [backup-simplify]: Simplify (* im im) into (pow im 2) 0.098 * [backup-simplify]: Simplify (/ 1 (pow im 2)) into (/ 1 (pow im 2)) 0.098 * [backup-simplify]: Simplify (+ 1 0) into 1 0.098 * [backup-simplify]: Simplify (sqrt 1) into 1 0.099 * [backup-simplify]: Simplify (+ (* 1 0) (* 0 1)) into 0 0.099 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.099 * [backup-simplify]: Simplify (+ 0 0) into 0 0.100 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt 1))) into 0 0.100 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow re 2)) (/ 1 (pow im 2)))) in re 0.100 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow re 2)) (/ 1 (pow im 2))) in re 0.100 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.100 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.100 * [taylor]: Taking taylor expansion of re in re 0.100 * [backup-simplify]: Simplify 0 into 0 0.100 * [backup-simplify]: Simplify 1 into 1 0.100 * [backup-simplify]: Simplify (* 1 1) into 1 0.100 * [backup-simplify]: Simplify (/ 1 1) into 1 0.101 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.101 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.101 * [taylor]: Taking taylor expansion of im in re 0.101 * [backup-simplify]: Simplify im into im 0.101 * [backup-simplify]: Simplify (* im im) into (pow im 2) 0.101 * [backup-simplify]: Simplify (/ 1 (pow im 2)) into (/ 1 (pow im 2)) 0.101 * [backup-simplify]: Simplify (+ 1 0) into 1 0.101 * [backup-simplify]: Simplify (sqrt 1) into 1 0.102 * [backup-simplify]: Simplify (+ (* 1 0) (* 0 1)) into 0 0.102 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.102 * [backup-simplify]: Simplify (+ 0 0) into 0 0.103 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt 1))) into 0 0.103 * [taylor]: Taking taylor expansion of 1 in im 0.103 * [backup-simplify]: Simplify 1 into 1 0.103 * [taylor]: Taking taylor expansion of 0 in im 0.103 * [backup-simplify]: Simplify 0 into 0 0.103 * [backup-simplify]: Simplify 1 into 1 0.103 * [backup-simplify]: Simplify (+ (* 1 0) (+ (* 0 0) (* 0 1))) into 0 0.104 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.104 * [backup-simplify]: Simplify (+ 0 (/ 1 (pow im 2))) into (/ 1 (pow im 2)) 0.105 * [backup-simplify]: Simplify (/ (- (/ 1 (pow im 2)) (pow 0 2) (+)) (* 2 1)) into (/ 1/2 (pow im 2)) 0.105 * [taylor]: Taking taylor expansion of (/ 1/2 (pow im 2)) in im 0.105 * [taylor]: Taking taylor expansion of 1/2 in im 0.105 * [backup-simplify]: Simplify 1/2 into 1/2 0.105 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.105 * [taylor]: Taking taylor expansion of im in im 0.105 * [backup-simplify]: Simplify 0 into 0 0.105 * [backup-simplify]: Simplify 1 into 1 0.105 * [backup-simplify]: Simplify (* 1 1) into 1 0.105 * [backup-simplify]: Simplify (/ 1/2 1) into 1/2 0.106 * [backup-simplify]: Simplify (+ (* 1 0) (* 0 1)) into 0 0.106 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1/2 (/ 0 1)))) into 0 0.106 * [backup-simplify]: Simplify 0 into 0 0.106 * [backup-simplify]: Simplify 0 into 0 0.106 * [backup-simplify]: Simplify 0 into 0 0.107 * [backup-simplify]: Simplify (+ (* 1 0) (+ (* 0 0) (+ (* 0 0) (* 0 1)))) into 0 0.107 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.108 * [backup-simplify]: Simplify (+ (* im 0) (* 0 im)) into 0 0.108 * [backup-simplify]: Simplify (- (+ (* (/ 1 (pow im 2)) (/ 0 (pow im 2))))) into 0 0.108 * [backup-simplify]: Simplify (+ 0 0) into 0 0.108 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* 0 (/ 1/2 (pow im 2)))))) (* 2 1)) into 0 0.108 * [taylor]: Taking taylor expansion of 0 in im 0.108 * [backup-simplify]: Simplify 0 into 0 0.109 * [backup-simplify]: Simplify (+ (* 1 0) (+ (* 0 0) (* 0 1))) into 0 0.109 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1/2 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.109 * [backup-simplify]: Simplify 0 into 0 0.109 * [backup-simplify]: Simplify 0 into 0 0.110 * [backup-simplify]: Simplify 0 into 0 0.110 * [backup-simplify]: Simplify (* 1 (* 1 (/ 1 (/ 1 (- re))))) into (* -1 re) 0.110 * * * [progress]: simplifying candidates 0.110 * * * * [progress]: [ 1 / 19 ] simplifiying candidate # 0.110 * * * * [progress]: [ 2 / 19 ] simplifiying candidate # 0.110 * * * * [progress]: [ 3 / 19 ] simplifiying candidate # 0.110 * * * * [progress]: [ 4 / 19 ] simplifiying candidate # 0.110 * * * * [progress]: [ 5 / 19 ] simplifiying candidate # 0.110 * * * * [progress]: [ 6 / 19 ] simplifiying candidate # 0.110 * * * * [progress]: [ 7 / 19 ] simplifiying candidate # 0.110 * * * * [progress]: [ 8 / 19 ] simplifiying candidate # 0.110 * * * * [progress]: [ 9 / 19 ] simplifiying candidate # 0.110 * * * * [progress]: [ 10 / 19 ] simplifiying candidate # 0.110 * * * * [progress]: [ 11 / 19 ] simplifiying candidate # 0.110 * * * * [progress]: [ 12 / 19 ] simplifiying candidate # 0.110 * * * * [progress]: [ 13 / 19 ] simplifiying candidate # 0.110 * * * * [progress]: [ 14 / 19 ] simplifiying candidate # 0.110 * * * * [progress]: [ 15 / 19 ] simplifiying candidate # 0.110 * * * * [progress]: [ 16 / 19 ] simplifiying candidate #real (real->posit16 (sqrt (+ (* re re) (* im im))))))> 0.110 * * * * [progress]: [ 17 / 19 ] simplifiying candidate # 0.110 * * * * [progress]: [ 18 / 19 ] simplifiying candidate # 0.110 * * * * [progress]: [ 19 / 19 ] simplifiying candidate # 0.111 * [simplify]: Simplifying: (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)))) (real->posit16 (sqrt (+ (* re re) (* im im)))) im re (* -1 re) 0.111 * * [simplify]: iteration 1: (39 enodes) 0.121 * * [simplify]: iteration 2: (165 enodes) 0.151 * * [simplify]: iteration 3: (301 enodes) 0.225 * * [simplify]: iteration 4: (608 enodes) 0.427 * * [simplify]: iteration 5: (1292 enodes) 1.106 * * [simplify]: Extracting #0: cost 19 inf + 0 1.106 * * [simplify]: Extracting #1: cost 40 inf + 4 1.107 * * [simplify]: Extracting #2: cost 194 inf + 88 1.109 * * [simplify]: Extracting #3: cost 553 inf + 3932 1.122 * * [simplify]: Extracting #4: cost 445 inf + 57129 1.151 * * [simplify]: Extracting #5: cost 108 inf + 131155 1.185 * * [simplify]: Extracting #6: cost 19 inf + 168243 1.243 * * [simplify]: Extracting #7: cost 2 inf + 177831 1.305 * * [simplify]: Extracting #8: cost 0 inf + 179350 1.339 * [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)))) (* (sqrt (+ (* re re) (* im im))) (+ (* re re) (* im im))) (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 (+ (* (* re re) (* (* re re) (* re re))) (* (* im im) (* (* im im) (* im im))))) (sqrt (+ (* (* im im) (- (* im im) (* re re))) (* (* re re) (* re re)))) (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)))) (real->posit16 (sqrt (+ (* re re) (* im im)))) im re (- re) 1.340 * * * [progress]: adding candidates to table 1.498 * * [progress]: iteration 2 / 4 1.498 * * * [progress]: picking best candidate 1.507 * * * * [pick]: Picked # 1.507 * * * [progress]: localizing error 1.512 * * * [progress]: generating rewritten candidates 1.513 * * * [progress]: generating series expansions 1.513 * * * [progress]: simplifying candidates 1.513 * [simplify]: Simplifying: 1.513 * * [simplify]: iteration 1: (0 enodes) 1.513 * * [simplify]: Extracting #0: cost 0 inf + 0 1.513 * [simplify]: Simplified to: 1.513 * * * [progress]: adding candidates to table 1.514 * * [progress]: iteration 3 / 4 1.514 * * * [progress]: picking best candidate 1.517 * * * * [pick]: Picked # 1.517 * * * [progress]: localizing error 1.518 * * * [progress]: generating rewritten candidates 1.518 * * * [progress]: generating series expansions 1.518 * * * [progress]: simplifying candidates 1.518 * [simplify]: Simplifying: 1.518 * * [simplify]: iteration 1: (0 enodes) 1.518 * * [simplify]: Extracting #0: cost 0 inf + 0 1.518 * [simplify]: Simplified to: 1.518 * * * [progress]: adding candidates to table 1.519 * * [progress]: iteration 4 / 4 1.519 * * * [progress]: picking best candidate 1.520 * * * * [pick]: Picked # 1.520 * * * [progress]: localizing error 1.521 * * * [progress]: generating rewritten candidates 1.521 * * * [progress]: generating series expansions 1.521 * * * [progress]: simplifying candidates 1.521 * [simplify]: Simplifying: 1.521 * * [simplify]: iteration 1: (0 enodes) 1.521 * * [simplify]: Extracting #0: cost 0 inf + 0 1.521 * [simplify]: Simplified to: 1.521 * * * [progress]: adding candidates to table 1.522 * [progress]: [Phase 3 of 3] Extracting. 1.522 * * [regime]: Finding splitpoints for: (# # # #) 1.522 * * * [regime-changes]: Trying 6 branch expressions: (im (* im im) re (* re re) (+ (* re re) (* im im)) (sqrt (+ (* re re) (* im im)))) 1.522 * * * * [regimes]: Trying to branch on im from (# # # #) 1.574 * * * * [regimes]: Trying to branch on (* im im) from (# # # #) 1.600 * * * * [regimes]: Trying to branch on (* im im) from (# # #) 1.633 * * * * [regimes]: Trying to branch on re from (# # # #) 1.708 * * * * [regimes]: Trying to branch on (* re re) from (# # # #) 1.740 * * * * [regimes]: Trying to branch on (* re re) from (# #) 1.773 * * * * [regimes]: Trying to branch on (+ (* re re) (* im im)) from (# # # #) 1.807 * * * * [regimes]: Trying to branch on (sqrt (+ (* re re) (* im im))) from (# # # #) 1.880 * * * [regime]: Found split indices: #