7.066 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.018 * * * [progress]: [2/2] Setting up program. 0.020 * [progress]: [Phase 2 of 3] Improving. 0.020 * [simplify]: Simplifying using # : (* 2.0 (- (* x x) (* x y))) 0.020 * [simplify]: Sending expressions to egg_math: (* h0 (- (* h1 h1) (* h1 h2))) 0.023 * * [simplify]: iteration 0 : 13 enodes (cost 3 ) 0.024 * * [simplify]: iteration 1 : 32 enodes (cost 3 ) 0.025 * * [simplify]: iteration 2 : 66 enodes (cost 3 ) 0.027 * * [simplify]: iteration 3 : 92 enodes (cost 3 ) 0.029 * * [simplify]: iteration 4 : 100 enodes (cost 3 ) 0.031 * * [simplify]: iteration 5 : 100 enodes (cost 3 ) 0.031 * [simplify]: Simplified to: (* (* x (- x y)) 2.0) 0.033 * * [progress]: iteration 1 / 4 0.033 * * * [progress]: picking best candidate 0.036 * * * * [pick]: Picked # 0.036 * * * [progress]: localizing error 0.040 * * * [progress]: generating rewritten candidates 0.040 * * * * [progress]: [ 1 / 1 ] rewriting at (2 1) 0.062 * * * [progress]: generating series expansions 0.062 * * * * [progress]: [ 1 / 1 ] generating series at (2 1) 0.062 * [approximate]: Taking taylor expansion of (* x (- x y)) in (x y) around 0 0.062 * [taylor]: Taking taylor expansion of (* x (- x y)) in y 0.062 * [taylor]: Taking taylor expansion of x in y 0.062 * [taylor]: Taking taylor expansion of (- x y) in y 0.062 * [taylor]: Taking taylor expansion of x in y 0.062 * [taylor]: Taking taylor expansion of y in y 0.062 * [taylor]: Taking taylor expansion of (* x (- x y)) in x 0.062 * [taylor]: Taking taylor expansion of x in x 0.062 * [taylor]: Taking taylor expansion of (- x y) in x 0.062 * [taylor]: Taking taylor expansion of x in x 0.062 * [taylor]: Taking taylor expansion of y in x 0.062 * [taylor]: Taking taylor expansion of (* x (- x y)) in x 0.062 * [taylor]: Taking taylor expansion of x in x 0.062 * [taylor]: Taking taylor expansion of (- x y) in x 0.062 * [taylor]: Taking taylor expansion of x in x 0.062 * [taylor]: Taking taylor expansion of y in x 0.062 * [taylor]: Taking taylor expansion of 0 in y 0.063 * [taylor]: Taking taylor expansion of (- y) in y 0.063 * [taylor]: Taking taylor expansion of y in y 0.064 * [taylor]: Taking taylor expansion of 1 in y 0.066 * [taylor]: Taking taylor expansion of 0 in y 0.068 * [taylor]: Taking taylor expansion of 0 in y 0.068 * [approximate]: Taking taylor expansion of (/ (- (/ 1 x) (/ 1 y)) x) in (x y) around 0 0.068 * [taylor]: Taking taylor expansion of (/ (- (/ 1 x) (/ 1 y)) x) in y 0.068 * [taylor]: Taking taylor expansion of (- (/ 1 x) (/ 1 y)) in y 0.068 * [taylor]: Taking taylor expansion of (/ 1 x) in y 0.068 * [taylor]: Taking taylor expansion of x in y 0.068 * [taylor]: Taking taylor expansion of (/ 1 y) in y 0.068 * [taylor]: Taking taylor expansion of y in y 0.068 * [taylor]: Taking taylor expansion of x in y 0.069 * [taylor]: Taking taylor expansion of (/ (- (/ 1 x) (/ 1 y)) x) in x 0.069 * [taylor]: Taking taylor expansion of (- (/ 1 x) (/ 1 y)) in x 0.069 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.069 * [taylor]: Taking taylor expansion of x in x 0.069 * [taylor]: Taking taylor expansion of (/ 1 y) in x 0.069 * [taylor]: Taking taylor expansion of y in x 0.069 * [taylor]: Taking taylor expansion of x in x 0.070 * [taylor]: Taking taylor expansion of (/ (- (/ 1 x) (/ 1 y)) x) in x 0.070 * [taylor]: Taking taylor expansion of (- (/ 1 x) (/ 1 y)) in x 0.070 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.070 * [taylor]: Taking taylor expansion of x in x 0.070 * [taylor]: Taking taylor expansion of (/ 1 y) in x 0.070 * [taylor]: Taking taylor expansion of y in x 0.070 * [taylor]: Taking taylor expansion of x in x 0.070 * [taylor]: Taking taylor expansion of 1 in y 0.071 * [taylor]: Taking taylor expansion of (- (/ 1 y)) in y 0.071 * [taylor]: Taking taylor expansion of (/ 1 y) in y 0.071 * [taylor]: Taking taylor expansion of y in y 0.074 * [taylor]: Taking taylor expansion of 0 in y 0.076 * [taylor]: Taking taylor expansion of 0 in y 0.079 * [taylor]: Taking taylor expansion of 0 in y 0.080 * [approximate]: Taking taylor expansion of (* -1 (/ (- (/ 1 y) (/ 1 x)) x)) in (x y) around 0 0.080 * [taylor]: Taking taylor expansion of (* -1 (/ (- (/ 1 y) (/ 1 x)) x)) in y 0.080 * [taylor]: Taking taylor expansion of -1 in y 0.080 * [taylor]: Taking taylor expansion of (/ (- (/ 1 y) (/ 1 x)) x) in y 0.080 * [taylor]: Taking taylor expansion of (- (/ 1 y) (/ 1 x)) in y 0.080 * [taylor]: Taking taylor expansion of (/ 1 y) in y 0.080 * [taylor]: Taking taylor expansion of y in y 0.080 * [taylor]: Taking taylor expansion of (/ 1 x) in y 0.080 * [taylor]: Taking taylor expansion of x in y 0.080 * [taylor]: Taking taylor expansion of x in y 0.080 * [taylor]: Taking taylor expansion of (* -1 (/ (- (/ 1 y) (/ 1 x)) x)) in x 0.080 * [taylor]: Taking taylor expansion of -1 in x 0.080 * [taylor]: Taking taylor expansion of (/ (- (/ 1 y) (/ 1 x)) x) in x 0.080 * [taylor]: Taking taylor expansion of (- (/ 1 y) (/ 1 x)) in x 0.080 * [taylor]: Taking taylor expansion of (/ 1 y) in x 0.080 * [taylor]: Taking taylor expansion of y in x 0.080 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.080 * [taylor]: Taking taylor expansion of x in x 0.081 * [taylor]: Taking taylor expansion of x in x 0.081 * [taylor]: Taking taylor expansion of (* -1 (/ (- (/ 1 y) (/ 1 x)) x)) in x 0.081 * [taylor]: Taking taylor expansion of -1 in x 0.081 * [taylor]: Taking taylor expansion of (/ (- (/ 1 y) (/ 1 x)) x) in x 0.081 * [taylor]: Taking taylor expansion of (- (/ 1 y) (/ 1 x)) in x 0.081 * [taylor]: Taking taylor expansion of (/ 1 y) in x 0.081 * [taylor]: Taking taylor expansion of y in x 0.081 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.082 * [taylor]: Taking taylor expansion of x in x 0.082 * [taylor]: Taking taylor expansion of x in x 0.083 * [taylor]: Taking taylor expansion of 1 in y 0.084 * [taylor]: Taking taylor expansion of (- (/ 1 y)) in y 0.084 * [taylor]: Taking taylor expansion of (/ 1 y) in y 0.084 * [taylor]: Taking taylor expansion of y in y 0.087 * [taylor]: Taking taylor expansion of 0 in y 0.090 * [taylor]: Taking taylor expansion of 0 in y 0.094 * [taylor]: Taking taylor expansion of 0 in y 0.095 * * * [progress]: simplifying candidates 0.098 * [simplify]: Simplifying using # : (* x (- x y)) (+ (log x) (log (- x y))) (log (* x (- x y))) (exp (* x (- x y))) (* (* (* x x) x) (* (* (- x y) (- x y)) (- x y))) (* (cbrt (* x (- x y))) (cbrt (* x (- x y)))) (cbrt (* x (- x y))) (* (* (* x (- x y)) (* x (- x y))) (* x (- x y))) (sqrt (* x (- x y))) (sqrt (* x (- x y))) (* (sqrt x) (sqrt (- x y))) (* (sqrt x) (sqrt (- x y))) (* x x) (* x (- y)) (* x x) (* x (- y)) (* x x) (* (- y) x) (* x x) (* (- y) x) (* x (* (cbrt (- x y)) (cbrt (- x y)))) (* x (sqrt (- x y))) (* x 1) (* x (+ (sqrt x) (sqrt y))) (* x 1) (* (cbrt x) (- x y)) (* (sqrt x) (- x y)) (* x (- x y)) (* x (- (pow x 3) (pow y 3))) (* x (- (* x x) (* y y))) (- (pow x 2) (* x y)) (- (pow x 2) (* x y)) (- (pow x 2) (* x y)) 0.098 * [simplify]: Sending expressions to egg_math: (* h0 (- h0 h1)) (+ (log h0) (log (- h0 h1))) (log (* h0 (- h0 h1))) (exp (* h0 (- h0 h1))) (* (* (* h0 h0) h0) (* (* (- h0 h1) (- h0 h1)) (- h0 h1))) (* (cbrt (* h0 (- h0 h1))) (cbrt (* h0 (- h0 h1)))) (cbrt (* h0 (- h0 h1))) (* (* (* h0 (- h0 h1)) (* h0 (- h0 h1))) (* h0 (- h0 h1))) (sqrt (* h0 (- h0 h1))) (sqrt (* h0 (- h0 h1))) (* (sqrt h0) (sqrt (- h0 h1))) (* (sqrt h0) (sqrt (- h0 h1))) (* h0 h0) (* h0 (- h1)) (* h0 h0) (* h0 (- h1)) (* h0 h0) (* (- h1) h0) (* h0 h0) (* (- h1) h0) (* h0 (* (cbrt (- h0 h1)) (cbrt (- h0 h1)))) (* h0 (sqrt (- h0 h1))) (* h0 1) (* h0 (+ (sqrt h0) (sqrt h1))) (* h0 1) (* (cbrt h0) (- h0 h1)) (* (sqrt h0) (- h0 h1)) (* h0 (- h0 h1)) (* h0 (- (pow h0 3) (pow h1 3))) (* h0 (- (* h0 h0) (* h1 h1))) (- (pow h0 2) (* h0 h1)) (- (pow h0 2) (* h0 h1)) (- (pow h0 2) (* h0 h1)) 0.101 * * [simplify]: iteration 0 : 111 enodes (cost 100 ) 0.104 * * [simplify]: iteration 1 : 459 enodes (cost 88 ) 0.115 * * [simplify]: iteration 2 : 2260 enodes (cost 88 ) 0.161 * * [simplify]: iteration 3 : 5001 enodes (cost 88 ) 0.162 * [simplify]: Simplified to: (* x (- x y)) (log (* x (- x y))) (log (* x (- x y))) (exp (* x (- x y))) (pow (* x (- x y)) 3) (* (cbrt (* x (- x y))) (cbrt (* x (- x y)))) (cbrt (* x (- x y))) (pow (* x (- x y)) 3) (sqrt (* x (- x y))) (sqrt (* x (- x y))) (* (sqrt (- x y)) (pow x 1/2)) (* (sqrt (- x y)) (pow x 1/2)) (pow x 2) (* x (- y)) (pow x 2) (* x (- y)) (pow x 2) (* x (- y)) (pow x 2) (* x (- y)) (* x (* (cbrt (- x y)) (cbrt (- x y)))) (* x (sqrt (- x y))) x (* x (+ (sqrt x) (sqrt y))) x (* (cbrt x) (- x y)) (* (sqrt x) (- x y)) (* x (- x y)) (* x (- (pow x 3) (pow y 3))) (* x (- (* x x) (* y y))) (* x (- x y)) (* x (- x y)) (* x (- x y)) 0.162 * * * [progress]: adding candidates to table 0.201 * * [progress]: iteration 2 / 4 0.201 * * * [progress]: picking best candidate 0.202 * * * * [pick]: Picked # 0.202 * * * [progress]: localizing error 0.207 * * * [progress]: generating rewritten candidates 0.208 * * * * [progress]: [ 1 / 1 ] rewriting at (2 2) 0.218 * * * [progress]: generating series expansions 0.218 * * * * [progress]: [ 1 / 1 ] generating series at (2 2) 0.219 * [approximate]: Taking taylor expansion of (- (pow x 2) (* x y)) in (x y) around 0 0.219 * [taylor]: Taking taylor expansion of (- (pow x 2) (* x y)) in y 0.219 * [taylor]: Taking taylor expansion of (pow x 2) in y 0.219 * [taylor]: Taking taylor expansion of x in y 0.219 * [taylor]: Taking taylor expansion of (* x y) in y 0.219 * [taylor]: Taking taylor expansion of x in y 0.219 * [taylor]: Taking taylor expansion of y in y 0.219 * [taylor]: Taking taylor expansion of (- (pow x 2) (* x y)) in x 0.219 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.219 * [taylor]: Taking taylor expansion of x in x 0.219 * [taylor]: Taking taylor expansion of (* x y) in x 0.219 * [taylor]: Taking taylor expansion of x in x 0.219 * [taylor]: Taking taylor expansion of y in x 0.219 * [taylor]: Taking taylor expansion of (- (pow x 2) (* x y)) in x 0.219 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.219 * [taylor]: Taking taylor expansion of x in x 0.219 * [taylor]: Taking taylor expansion of (* x y) in x 0.219 * [taylor]: Taking taylor expansion of x in x 0.219 * [taylor]: Taking taylor expansion of y in x 0.220 * [taylor]: Taking taylor expansion of 0 in y 0.220 * [taylor]: Taking taylor expansion of (- y) in y 0.220 * [taylor]: Taking taylor expansion of y in y 0.221 * [taylor]: Taking taylor expansion of 1 in y 0.223 * [taylor]: Taking taylor expansion of 0 in y 0.225 * [taylor]: Taking taylor expansion of 0 in y 0.225 * [approximate]: Taking taylor expansion of (- (/ 1 (pow x 2)) (/ 1 (* x y))) in (x y) around 0 0.225 * [taylor]: Taking taylor expansion of (- (/ 1 (pow x 2)) (/ 1 (* x y))) in y 0.225 * [taylor]: Taking taylor expansion of (/ 1 (pow x 2)) in y 0.225 * [taylor]: Taking taylor expansion of (pow x 2) in y 0.225 * [taylor]: Taking taylor expansion of x in y 0.225 * [taylor]: Taking taylor expansion of (/ 1 (* x y)) in y 0.225 * [taylor]: Taking taylor expansion of (* x y) in y 0.225 * [taylor]: Taking taylor expansion of x in y 0.225 * [taylor]: Taking taylor expansion of y in y 0.226 * [taylor]: Taking taylor expansion of (- (/ 1 (pow x 2)) (/ 1 (* x y))) in x 0.226 * [taylor]: Taking taylor expansion of (/ 1 (pow x 2)) in x 0.226 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.226 * [taylor]: Taking taylor expansion of x in x 0.226 * [taylor]: Taking taylor expansion of (/ 1 (* x y)) in x 0.226 * [taylor]: Taking taylor expansion of (* x y) in x 0.226 * [taylor]: Taking taylor expansion of x in x 0.226 * [taylor]: Taking taylor expansion of y in x 0.226 * [taylor]: Taking taylor expansion of (- (/ 1 (pow x 2)) (/ 1 (* x y))) in x 0.226 * [taylor]: Taking taylor expansion of (/ 1 (pow x 2)) in x 0.226 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.227 * [taylor]: Taking taylor expansion of x in x 0.227 * [taylor]: Taking taylor expansion of (/ 1 (* x y)) in x 0.227 * [taylor]: Taking taylor expansion of (* x y) in x 0.227 * [taylor]: Taking taylor expansion of x in x 0.227 * [taylor]: Taking taylor expansion of y in x 0.228 * [taylor]: Taking taylor expansion of 1 in y 0.228 * [taylor]: Taking taylor expansion of (- (/ 1 y)) in y 0.228 * [taylor]: Taking taylor expansion of (/ 1 y) in y 0.228 * [taylor]: Taking taylor expansion of y in y 0.231 * [taylor]: Taking taylor expansion of 0 in y 0.233 * [taylor]: Taking taylor expansion of 0 in y 0.236 * [taylor]: Taking taylor expansion of 0 in y 0.237 * [approximate]: Taking taylor expansion of (- (/ 1 (pow x 2)) (/ 1 (* x y))) in (x y) around 0 0.237 * [taylor]: Taking taylor expansion of (- (/ 1 (pow x 2)) (/ 1 (* x y))) in y 0.237 * [taylor]: Taking taylor expansion of (/ 1 (pow x 2)) in y 0.237 * [taylor]: Taking taylor expansion of (pow x 2) in y 0.237 * [taylor]: Taking taylor expansion of x in y 0.237 * [taylor]: Taking taylor expansion of (/ 1 (* x y)) in y 0.237 * [taylor]: Taking taylor expansion of (* x y) in y 0.237 * [taylor]: Taking taylor expansion of x in y 0.237 * [taylor]: Taking taylor expansion of y in y 0.237 * [taylor]: Taking taylor expansion of (- (/ 1 (pow x 2)) (/ 1 (* x y))) in x 0.237 * [taylor]: Taking taylor expansion of (/ 1 (pow x 2)) in x 0.237 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.237 * [taylor]: Taking taylor expansion of x in x 0.238 * [taylor]: Taking taylor expansion of (/ 1 (* x y)) in x 0.238 * [taylor]: Taking taylor expansion of (* x y) in x 0.238 * [taylor]: Taking taylor expansion of x in x 0.238 * [taylor]: Taking taylor expansion of y in x 0.238 * [taylor]: Taking taylor expansion of (- (/ 1 (pow x 2)) (/ 1 (* x y))) in x 0.238 * [taylor]: Taking taylor expansion of (/ 1 (pow x 2)) in x 0.238 * [taylor]: Taking taylor expansion of (pow x 2) in x 0.238 * [taylor]: Taking taylor expansion of x in x 0.239 * [taylor]: Taking taylor expansion of (/ 1 (* x y)) in x 0.239 * [taylor]: Taking taylor expansion of (* x y) in x 0.239 * [taylor]: Taking taylor expansion of x in x 0.239 * [taylor]: Taking taylor expansion of y in x 0.239 * [taylor]: Taking taylor expansion of 1 in y 0.240 * [taylor]: Taking taylor expansion of (- (/ 1 y)) in y 0.240 * [taylor]: Taking taylor expansion of (/ 1 y) in y 0.240 * [taylor]: Taking taylor expansion of y in y 0.242 * [taylor]: Taking taylor expansion of 0 in y 0.245 * [taylor]: Taking taylor expansion of 0 in y 0.248 * [taylor]: Taking taylor expansion of 0 in y 0.248 * * * [progress]: simplifying candidates 0.249 * [simplify]: Simplifying using # : (/ (exp (* x x)) (exp (* x y))) (log (- (* x x) (* x y))) (exp (- (* x x) (* x y))) (* (cbrt (- (* x x) (* x y))) (cbrt (- (* x x) (* x y)))) (cbrt (- (* x x) (* x y))) (* (* (- (* x x) (* x y)) (- (* x x) (* x y))) (- (* x x) (* x y))) (sqrt (- (* x x) (* x y))) (sqrt (- (* x x) (* x y))) (- (pow (* x x) 3) (pow (* x y) 3)) (+ (* (* x x) (* x x)) (+ (* (* x y) (* x y)) (* (* x x) (* x y)))) (- (* x y)) (- (* (* x x) (* x x)) (* (* x y) (* x y))) (+ (* x x) (* x y)) (- x y) (- (* x y)) (- (pow x 2) (* x y)) (- (pow x 2) (* x y)) (- (pow x 2) (* x y)) 0.249 * [simplify]: Sending expressions to egg_math: (/ (exp (* h0 h0)) (exp (* h0 h1))) (log (- (* h0 h0) (* h0 h1))) (exp (- (* h0 h0) (* h0 h1))) (* (cbrt (- (* h0 h0) (* h0 h1))) (cbrt (- (* h0 h0) (* h0 h1)))) (cbrt (- (* h0 h0) (* h0 h1))) (* (* (- (* h0 h0) (* h0 h1)) (- (* h0 h0) (* h0 h1))) (- (* h0 h0) (* h0 h1))) (sqrt (- (* h0 h0) (* h0 h1))) (sqrt (- (* h0 h0) (* h0 h1))) (- (pow (* h0 h0) 3) (pow (* h0 h1) 3)) (+ (* (* h0 h0) (* h0 h0)) (+ (* (* h0 h1) (* h0 h1)) (* (* h0 h0) (* h0 h1)))) (- (* h0 h1)) (- (* (* h0 h0) (* h0 h0)) (* (* h0 h1) (* h0 h1))) (+ (* h0 h0) (* h0 h1)) (- h0 h1) (- (* h0 h1)) (- (pow h0 2) (* h0 h1)) (- (pow h0 2) (* h0 h1)) (- (pow h0 2) (* h0 h1)) 0.252 * * [simplify]: iteration 0 : 88 enodes (cost 77 ) 0.254 * * [simplify]: iteration 1 : 336 enodes (cost 65 ) 0.261 * * [simplify]: iteration 2 : 1368 enodes (cost 63 ) 0.293 * * [simplify]: iteration 3 : 5001 enodes (cost 63 ) 0.294 * [simplify]: Simplified to: (pow (exp x) (- x y)) (log (- (* x x) (* x y))) (pow (exp x) (- x y)) (* (cbrt (- (* x x) (* x y))) (cbrt (- (* x x) (* x y)))) (cbrt (- (* x x) (* x y))) (pow (* x (- x y)) 3) (sqrt (- (* x x) (* x y))) (sqrt (- (* x x) (* x y))) (- (pow (* x x) 3) (pow (* x y) 3)) (* x (+ (pow x 3) (* y (* x (+ x y))))) (- (* x y)) (* (pow x 2) (- (pow x 2) (* y y))) (* x (+ x y)) (- x y) (- (* x y)) (* x (- x y)) (* x (- x y)) (* x (- x y)) 0.294 * * * [progress]: adding candidates to table 0.320 * [progress]: [Phase 3 of 3] Extracting. 0.320 * * [regime]: Finding splitpoints for: (# #) 0.320 * * * [regime-changes]: Trying 4 branch expressions: ((- (* x x) (* x y)) (* 2.0 (- (* x x) (* x y))) y x) 0.320 * * * * [regimes]: Trying to branch on (- (* x x) (* x y)) from (# #) 0.333 * * * * [regimes]: Trying to branch on (* 2.0 (- (* x x) (* x y))) from (# #) 0.344 * * * * [regimes]: Trying to branch on y from (# #) 0.355 * * * * [regimes]: Trying to branch on x from (# #) 0.367 * * * [regime]: Found split indices: #