6.681 * [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.018 * [simplify]: Simplifying: (log (sqrt (+ (* re re) (* im im)))) 0.018 * [simplify]: Sending expressions to egg_math: (log (sqrt (+ (* h1 h1) (* h0 h0)))) 0.020 * * [simplify]: iteration 0 : 8 enodes (cost 5 ) 0.021 * * [simplify]: iteration 1 : 8 enodes (cost 5 ) 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 / 1 ] rewriting at (2 1) 0.039 * * * [progress]: generating series expansions 0.039 * * * * [progress]: [ 1 / 1 ] generating series at (2 1) 0.039 * [backup-simplify]: Simplify (sqrt (+ (* re re) (* im im))) into (sqrt (+ (pow re 2) (pow im 2))) 0.039 * [approximate]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in (re im) around 0 0.039 * [taylor]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in im 0.039 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in im 0.039 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.039 * [taylor]: Taking taylor expansion of re in im 0.039 * [backup-simplify]: Simplify re into re 0.039 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.039 * [taylor]: Taking taylor expansion of im in im 0.039 * [backup-simplify]: Simplify 0 into 0 0.039 * [backup-simplify]: Simplify 1 into 1 0.039 * [backup-simplify]: Simplify (* re re) into (pow re 2) 0.039 * [backup-simplify]: Simplify (+ (pow re 2) 0) into (pow re 2) 0.039 * [backup-simplify]: Simplify (sqrt (pow re 2)) into re 0.039 * [backup-simplify]: Simplify (+ (* re 0) (* 0 re)) into 0 0.040 * [backup-simplify]: Simplify (+ 0 0) into 0 0.040 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt (pow re 2)))) into 0 0.040 * [taylor]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in re 0.040 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in re 0.040 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.040 * [taylor]: Taking taylor expansion of re in re 0.040 * [backup-simplify]: Simplify 0 into 0 0.040 * [backup-simplify]: Simplify 1 into 1 0.040 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.040 * [taylor]: Taking taylor expansion of im in re 0.040 * [backup-simplify]: Simplify im into im 0.040 * [backup-simplify]: Simplify (* im im) into (pow im 2) 0.040 * [backup-simplify]: Simplify (+ 0 (pow im 2)) into (pow im 2) 0.040 * [backup-simplify]: Simplify (sqrt (pow im 2)) into im 0.040 * [backup-simplify]: Simplify (+ (* im 0) (* 0 im)) into 0 0.041 * [backup-simplify]: Simplify (+ 0 0) into 0 0.041 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt (pow im 2)))) into 0 0.041 * [taylor]: Taking taylor expansion of (sqrt (+ (pow re 2) (pow im 2))) in re 0.041 * [taylor]: Taking taylor expansion of (+ (pow re 2) (pow im 2)) in re 0.041 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.041 * [taylor]: Taking taylor expansion of re in re 0.041 * [backup-simplify]: Simplify 0 into 0 0.041 * [backup-simplify]: Simplify 1 into 1 0.041 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.041 * [taylor]: Taking taylor expansion of im in re 0.041 * [backup-simplify]: Simplify im into im 0.041 * [backup-simplify]: Simplify (* im im) into (pow im 2) 0.041 * [backup-simplify]: Simplify (+ 0 (pow im 2)) into (pow im 2) 0.041 * [backup-simplify]: Simplify (sqrt (pow im 2)) into im 0.041 * [backup-simplify]: Simplify (+ (* im 0) (* 0 im)) into 0 0.041 * [backup-simplify]: Simplify (+ 0 0) into 0 0.041 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt (pow im 2)))) into 0 0.042 * [taylor]: Taking taylor expansion of im in im 0.042 * [backup-simplify]: Simplify 0 into 0 0.042 * [backup-simplify]: Simplify 1 into 1 0.042 * [backup-simplify]: Simplify 0 into 0 0.042 * [taylor]: Taking taylor expansion of 0 in im 0.042 * [backup-simplify]: Simplify 0 into 0 0.042 * [backup-simplify]: Simplify 0 into 0 0.042 * [backup-simplify]: Simplify 1 into 1 0.042 * [backup-simplify]: Simplify (* 1 1) into 1 0.042 * [backup-simplify]: Simplify (+ (* im 0) (+ (* 0 0) (* 0 im))) into 0 0.043 * [backup-simplify]: Simplify (+ 1 0) into 1 0.043 * [backup-simplify]: Simplify (/ (- 1 (pow 0 2) (+)) (* 2 im)) into (/ 1/2 im) 0.043 * [taylor]: Taking taylor expansion of (/ 1/2 im) in im 0.043 * [taylor]: Taking taylor expansion of 1/2 in im 0.043 * [backup-simplify]: Simplify 1/2 into 1/2 0.043 * [taylor]: Taking taylor expansion of im in im 0.043 * [backup-simplify]: Simplify 0 into 0 0.043 * [backup-simplify]: Simplify 1 into 1 0.043 * [backup-simplify]: Simplify (/ 1/2 1) into 1/2 0.044 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1/2 (/ 0 1)))) into 0 0.044 * [backup-simplify]: Simplify 0 into 0 0.044 * [backup-simplify]: Simplify 0 into 0 0.044 * [backup-simplify]: Simplify 0 into 0 0.044 * [backup-simplify]: Simplify (+ (* 1 0) (* 0 1)) into 0 0.045 * [backup-simplify]: Simplify (+ (* im 0) (+ (* 0 0) (+ (* 0 0) (* 0 im)))) into 0 0.045 * [backup-simplify]: Simplify (+ 0 0) into 0 0.045 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* 0 (/ 1/2 im))))) (* 2 im)) into 0 0.045 * [taylor]: Taking taylor expansion of 0 in im 0.045 * [backup-simplify]: Simplify 0 into 0 0.045 * [backup-simplify]: Simplify 0 into 0 0.046 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1/2 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.046 * [backup-simplify]: Simplify 0 into 0 0.046 * [backup-simplify]: Simplify 0 into 0 0.046 * [backup-simplify]: Simplify (* 1 (* im 1)) into im 0.046 * [backup-simplify]: Simplify (sqrt (+ (* (/ 1 re) (/ 1 re)) (* (/ 1 im) (/ 1 im)))) into (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) 0.046 * [approximate]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in (re im) around 0 0.046 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in im 0.046 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.046 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.046 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.046 * [taylor]: Taking taylor expansion of im in im 0.046 * [backup-simplify]: Simplify 0 into 0 0.046 * [backup-simplify]: Simplify 1 into 1 0.046 * [backup-simplify]: Simplify (* 1 1) into 1 0.047 * [backup-simplify]: Simplify (/ 1 1) into 1 0.047 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.047 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.047 * [taylor]: Taking taylor expansion of re in im 0.047 * [backup-simplify]: Simplify re into re 0.047 * [backup-simplify]: Simplify (* re re) into (pow re 2) 0.047 * [backup-simplify]: Simplify (/ 1 (pow re 2)) into (/ 1 (pow re 2)) 0.047 * [backup-simplify]: Simplify (+ 1 0) into 1 0.047 * [backup-simplify]: Simplify (sqrt 1) into 1 0.048 * [backup-simplify]: Simplify (+ (* 1 0) (* 0 1)) into 0 0.048 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.048 * [backup-simplify]: Simplify (+ 0 0) into 0 0.049 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt 1))) into 0 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 * [backup-simplify]: Simplify im into im 0.049 * [backup-simplify]: Simplify (* im im) into (pow im 2) 0.049 * [backup-simplify]: Simplify (/ 1 (pow im 2)) into (/ 1 (pow im 2)) 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.049 * [backup-simplify]: Simplify 0 into 0 0.049 * [backup-simplify]: Simplify 1 into 1 0.049 * [backup-simplify]: Simplify (* 1 1) into 1 0.050 * [backup-simplify]: Simplify (/ 1 1) into 1 0.050 * [backup-simplify]: Simplify (+ 0 1) into 1 0.050 * [backup-simplify]: Simplify (sqrt 1) into 1 0.050 * [backup-simplify]: Simplify (+ (* 1 0) (* 0 1)) into 0 0.051 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.051 * [backup-simplify]: Simplify (+ 0 0) into 0 0.051 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt 1))) into 0 0.052 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in re 0.052 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in re 0.052 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in re 0.052 * [taylor]: Taking taylor expansion of (pow im 2) in re 0.052 * [taylor]: Taking taylor expansion of im in re 0.052 * [backup-simplify]: Simplify im into im 0.052 * [backup-simplify]: Simplify (* im im) into (pow im 2) 0.052 * [backup-simplify]: Simplify (/ 1 (pow im 2)) into (/ 1 (pow im 2)) 0.052 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.052 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.052 * [taylor]: Taking taylor expansion of re in re 0.052 * [backup-simplify]: Simplify 0 into 0 0.052 * [backup-simplify]: Simplify 1 into 1 0.052 * [backup-simplify]: Simplify (* 1 1) into 1 0.052 * [backup-simplify]: Simplify (/ 1 1) into 1 0.053 * [backup-simplify]: Simplify (+ 0 1) into 1 0.053 * [backup-simplify]: Simplify (sqrt 1) into 1 0.053 * [backup-simplify]: Simplify (+ (* 1 0) (* 0 1)) into 0 0.054 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.054 * [backup-simplify]: Simplify (+ 0 0) into 0 0.054 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt 1))) into 0 0.054 * [taylor]: Taking taylor expansion of 1 in im 0.054 * [backup-simplify]: Simplify 1 into 1 0.054 * [taylor]: Taking taylor expansion of 0 in im 0.054 * [backup-simplify]: Simplify 0 into 0 0.054 * [backup-simplify]: Simplify 1 into 1 0.055 * [backup-simplify]: Simplify (+ (* 1 0) (+ (* 0 0) (* 0 1))) into 0 0.055 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.055 * [backup-simplify]: Simplify (+ (/ 1 (pow im 2)) 0) into (/ 1 (pow im 2)) 0.056 * [backup-simplify]: Simplify (/ (- (/ 1 (pow im 2)) (pow 0 2) (+)) (* 2 1)) into (/ 1/2 (pow im 2)) 0.056 * [taylor]: Taking taylor expansion of (/ 1/2 (pow im 2)) in im 0.056 * [taylor]: Taking taylor expansion of 1/2 in im 0.056 * [backup-simplify]: Simplify 1/2 into 1/2 0.056 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.056 * [taylor]: Taking taylor expansion of im in im 0.056 * [backup-simplify]: Simplify 0 into 0 0.056 * [backup-simplify]: Simplify 1 into 1 0.057 * [backup-simplify]: Simplify (* 1 1) into 1 0.057 * [backup-simplify]: Simplify (/ 1/2 1) into 1/2 0.057 * [backup-simplify]: Simplify (+ (* 1 0) (* 0 1)) into 0 0.058 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1/2 (/ 0 1)))) into 0 0.058 * [backup-simplify]: Simplify 0 into 0 0.058 * [backup-simplify]: Simplify 0 into 0 0.058 * [backup-simplify]: Simplify 0 into 0 0.058 * [backup-simplify]: Simplify (+ (* im 0) (* 0 im)) into 0 0.058 * [backup-simplify]: Simplify (- (+ (* (/ 1 (pow im 2)) (/ 0 (pow im 2))))) into 0 0.059 * [backup-simplify]: Simplify (+ (* 1 0) (+ (* 0 0) (+ (* 0 0) (* 0 1)))) into 0 0.059 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.059 * [backup-simplify]: Simplify (+ 0 0) into 0 0.060 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* 0 (/ 1/2 (pow im 2)))))) (* 2 1)) into 0 0.060 * [taylor]: Taking taylor expansion of 0 in im 0.060 * [backup-simplify]: Simplify 0 into 0 0.060 * [backup-simplify]: Simplify (+ (* 1 0) (+ (* 0 0) (* 0 1))) into 0 0.061 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1/2 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.061 * [backup-simplify]: Simplify 0 into 0 0.061 * [backup-simplify]: Simplify 0 into 0 0.061 * [backup-simplify]: Simplify 0 into 0 0.061 * [backup-simplify]: Simplify (* 1 (* 1 (/ 1 (/ 1 re)))) into re 0.061 * [backup-simplify]: Simplify (sqrt (+ (* (/ 1 (- re)) (/ 1 (- re))) (* (/ 1 (- im)) (/ 1 (- im))))) into (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) 0.061 * [approximate]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in (re im) around 0 0.061 * [taylor]: Taking taylor expansion of (sqrt (+ (/ 1 (pow im 2)) (/ 1 (pow re 2)))) in im 0.061 * [taylor]: Taking taylor expansion of (+ (/ 1 (pow im 2)) (/ 1 (pow re 2))) in im 0.061 * [taylor]: Taking taylor expansion of (/ 1 (pow im 2)) in im 0.061 * [taylor]: Taking taylor expansion of (pow im 2) in im 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.062 * [backup-simplify]: Simplify (* 1 1) into 1 0.062 * [backup-simplify]: Simplify (/ 1 1) into 1 0.062 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in im 0.062 * [taylor]: Taking taylor expansion of (pow re 2) in im 0.062 * [taylor]: Taking taylor expansion of re in im 0.062 * [backup-simplify]: Simplify re into re 0.062 * [backup-simplify]: Simplify (* re re) into (pow re 2) 0.062 * [backup-simplify]: Simplify (/ 1 (pow re 2)) into (/ 1 (pow re 2)) 0.062 * [backup-simplify]: Simplify (+ 1 0) into 1 0.063 * [backup-simplify]: Simplify (sqrt 1) into 1 0.063 * [backup-simplify]: Simplify (+ (* 1 0) (* 0 1)) into 0 0.063 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.064 * [backup-simplify]: Simplify (+ 0 0) into 0 0.064 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt 1))) into 0 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 * [backup-simplify]: Simplify im into im 0.064 * [backup-simplify]: Simplify (* im im) into (pow im 2) 0.064 * [backup-simplify]: Simplify (/ 1 (pow im 2)) into (/ 1 (pow im 2)) 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.064 * [backup-simplify]: Simplify 0 into 0 0.065 * [backup-simplify]: Simplify 1 into 1 0.065 * [backup-simplify]: Simplify (* 1 1) into 1 0.065 * [backup-simplify]: Simplify (/ 1 1) into 1 0.065 * [backup-simplify]: Simplify (+ 0 1) into 1 0.065 * [backup-simplify]: Simplify (sqrt 1) into 1 0.066 * [backup-simplify]: Simplify (+ (* 1 0) (* 0 1)) into 0 0.066 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.066 * [backup-simplify]: Simplify (+ 0 0) into 0 0.067 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt 1))) into 0 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.067 * [taylor]: Taking taylor expansion of im in re 0.067 * [backup-simplify]: Simplify im into im 0.067 * [backup-simplify]: Simplify (* im im) into (pow im 2) 0.067 * [backup-simplify]: Simplify (/ 1 (pow im 2)) into (/ 1 (pow im 2)) 0.067 * [taylor]: Taking taylor expansion of (/ 1 (pow re 2)) in re 0.067 * [taylor]: Taking taylor expansion of (pow re 2) in re 0.067 * [taylor]: Taking taylor expansion of re in re 0.067 * [backup-simplify]: Simplify 0 into 0 0.067 * [backup-simplify]: Simplify 1 into 1 0.067 * [backup-simplify]: Simplify (* 1 1) into 1 0.068 * [backup-simplify]: Simplify (/ 1 1) into 1 0.068 * [backup-simplify]: Simplify (+ 0 1) into 1 0.068 * [backup-simplify]: Simplify (sqrt 1) into 1 0.069 * [backup-simplify]: Simplify (+ (* 1 0) (* 0 1)) into 0 0.069 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.069 * [backup-simplify]: Simplify (+ 0 0) into 0 0.070 * [backup-simplify]: Simplify (/ 0 (* 2 (sqrt 1))) into 0 0.070 * [taylor]: Taking taylor expansion of 1 in im 0.070 * [backup-simplify]: Simplify 1 into 1 0.070 * [taylor]: Taking taylor expansion of 0 in im 0.070 * [backup-simplify]: Simplify 0 into 0 0.070 * [backup-simplify]: Simplify 1 into 1 0.070 * [backup-simplify]: Simplify (+ (* 1 0) (+ (* 0 0) (* 0 1))) into 0 0.071 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.071 * [backup-simplify]: Simplify (+ (/ 1 (pow im 2)) 0) into (/ 1 (pow im 2)) 0.072 * [backup-simplify]: Simplify (/ (- (/ 1 (pow im 2)) (pow 0 2) (+)) (* 2 1)) into (/ 1/2 (pow im 2)) 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 * [backup-simplify]: Simplify 1/2 into 1/2 0.072 * [taylor]: Taking taylor expansion of (pow im 2) in im 0.072 * [taylor]: Taking taylor expansion of im in im 0.072 * [backup-simplify]: Simplify 0 into 0 0.072 * [backup-simplify]: Simplify 1 into 1 0.072 * [backup-simplify]: Simplify (* 1 1) into 1 0.072 * [backup-simplify]: Simplify (/ 1/2 1) into 1/2 0.073 * [backup-simplify]: Simplify (+ (* 1 0) (* 0 1)) into 0 0.073 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1/2 (/ 0 1)))) into 0 0.073 * [backup-simplify]: Simplify 0 into 0 0.073 * [backup-simplify]: Simplify 0 into 0 0.073 * [backup-simplify]: Simplify 0 into 0 0.073 * [backup-simplify]: Simplify (+ (* im 0) (* 0 im)) into 0 0.074 * [backup-simplify]: Simplify (- (+ (* (/ 1 (pow im 2)) (/ 0 (pow im 2))))) into 0 0.074 * [backup-simplify]: Simplify (+ (* 1 0) (+ (* 0 0) (+ (* 0 0) (* 0 1)))) into 0 0.075 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.075 * [backup-simplify]: Simplify (+ 0 0) into 0 0.075 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* 0 (/ 1/2 (pow im 2)))))) (* 2 1)) into 0 0.075 * [taylor]: Taking taylor expansion of 0 in im 0.075 * [backup-simplify]: Simplify 0 into 0 0.076 * [backup-simplify]: Simplify (+ (* 1 0) (+ (* 0 0) (* 0 1))) into 0 0.076 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1/2 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.076 * [backup-simplify]: Simplify 0 into 0 0.076 * [backup-simplify]: Simplify 0 into 0 0.076 * [backup-simplify]: Simplify 0 into 0 0.076 * [backup-simplify]: Simplify (* 1 (* 1 (/ 1 (/ 1 (- re))))) into (* -1 re) 0.077 * * * [progress]: simplifying candidates 0.077 * [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)))) im re (* -1 re) 0.077 * [simplify]: Sending expressions to egg_math: (log (sqrt (+ (* h1 h1) (* h0 h0)))) (exp (sqrt (+ (* h1 h1) (* h0 h0)))) (* (cbrt (sqrt (+ (* h1 h1) (* h0 h0)))) (cbrt (sqrt (+ (* h1 h1) (* h0 h0))))) (cbrt (sqrt (+ (* h1 h1) (* h0 h0)))) (* (* (sqrt (+ (* h1 h1) (* h0 h0))) (sqrt (+ (* h1 h1) (* h0 h0)))) (sqrt (+ (* h1 h1) (* h0 h0)))) (sqrt (* (cbrt (+ (* h1 h1) (* h0 h0))) (cbrt (+ (* h1 h1) (* h0 h0))))) (sqrt (cbrt (+ (* h1 h1) (* h0 h0)))) (sqrt (sqrt (+ (* h1 h1) (* h0 h0)))) (sqrt (sqrt (+ (* h1 h1) (* h0 h0)))) (sqrt 1) (sqrt (+ (* h1 h1) (* h0 h0))) (sqrt (+ (pow (* h1 h1) 3) (pow (* h0 h0) 3))) (sqrt (+ (* (* h1 h1) (* h1 h1)) (- (* (* h0 h0) (* h0 h0)) (* (* h1 h1) (* h0 h0))))) (sqrt (- (* (* h1 h1) (* h1 h1)) (* (* h0 h0) (* h0 h0)))) (sqrt (- (* h1 h1) (* h0 h0))) (/ 1 2) (sqrt (sqrt (+ (* h1 h1) (* h0 h0)))) (sqrt (sqrt (+ (* h1 h1) (* h0 h0)))) h0 h1 (* -1 h1) 0.080 * * [simplify]: iteration 0 : 89 enodes (cost 100 ) 0.082 * * [simplify]: iteration 1 : 215 enodes (cost 97 ) 0.086 * * [simplify]: iteration 2 : 503 enodes (cost 97 ) 0.096 * * [simplify]: iteration 3 : 1265 enodes (cost 97 ) 0.123 * * [simplify]: iteration 4 : 4227 enodes (cost 97 ) 0.212 * * [simplify]: iteration 5 : 5002 enodes (cost 97 ) 0.213 * * * [progress]: adding candidates to table 0.260 * * [progress]: iteration 2 / 4 0.260 * * * [progress]: picking best candidate 0.264 * * * * [pick]: Picked # 0.264 * * * [progress]: localizing error 0.267 * * * [progress]: generating rewritten candidates 0.267 * * * [progress]: generating series expansions 0.267 * * * [progress]: simplifying candidates 0.267 * [simplify]: Simplifying: 0.267 * [simplify]: Sending expressions to egg_math: 0.269 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.269 * * * [progress]: adding candidates to table 0.269 * * [progress]: iteration 3 / 4 0.269 * * * [progress]: picking best candidate 0.271 * * * * [pick]: Picked # 0.271 * * * [progress]: localizing error 0.275 * * * [progress]: generating rewritten candidates 0.275 * * * [progress]: generating series expansions 0.275 * * * [progress]: simplifying candidates 0.275 * [simplify]: Simplifying: 0.275 * [simplify]: Sending expressions to egg_math: 0.277 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.277 * * * [progress]: adding candidates to table 0.277 * * [progress]: iteration 4 / 4 0.277 * * * [progress]: picking best candidate 0.278 * * * * [pick]: Picked # 0.278 * * * [progress]: localizing error 0.283 * * * [progress]: generating rewritten candidates 0.283 * * * [progress]: generating series expansions 0.283 * * * [progress]: simplifying candidates 0.284 * [simplify]: Simplifying: 0.284 * [simplify]: Sending expressions to egg_math: 0.285 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.285 * * * [progress]: adding candidates to table 0.286 * [progress]: [Phase 3 of 3] Extracting. 0.286 * * [regime]: Finding splitpoints for: (# # # #) 0.286 * * * [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.286 * * * * [regimes]: Trying to branch on (* im im) from (# # # #) 0.306 * * * * [regimes]: Trying to branch on (* im im) from (# # #) 0.326 * * * * [regimes]: Trying to branch on (* re re) from (# # # #) 0.343 * * * * [regimes]: Trying to branch on (* re re) from (# #) 0.358 * * * * [regimes]: Trying to branch on (+ (* re re) (* im im)) from (# # # #) 0.380 * * * * [regimes]: Trying to branch on (sqrt (+ (* re re) (* im im))) from (# # # #) 0.406 * * * * [regimes]: Trying to branch on (log (sqrt (+ (* re re) (* im im)))) from (# # # #) 0.435 * * * * [regimes]: Trying to branch on im from (# # # #) 0.469 * * * * [regimes]: Trying to branch on re from (# # # #) 0.503 * * * [regime]: Found split indices: #