6.928 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.017 * * * [progress]: [2/2] Setting up program. 0.018 * [progress]: [Phase 2 of 3] Improving. 0.019 * [simplify]: Simplifying using # : (* 2.0 (+ (* x x) (* x y))) 0.019 * [simplify]: Sending expressions to egg_math: (* h0 (+ (* h1 h1) (* h1 h2))) 0.021 * * [simplify]: iteration 0 : 19 enodes (cost 3 ) 0.023 * * [simplify]: iteration 1 : 41 enodes (cost 3 ) 0.024 * * [simplify]: iteration 2 : 72 enodes (cost 3 ) 0.026 * * [simplify]: iteration 3 : 81 enodes (cost 3 ) 0.027 * * [simplify]: iteration 4 : 81 enodes (cost 3 ) 0.028 * [simplify]: Simplified to: (* (fma x x (* x y)) 2.0) 0.033 * * [progress]: iteration 1 / 4 0.033 * * * [progress]: picking best candidate 0.035 * * * * [pick]: Picked # 0.035 * * * [progress]: localizing error 0.040 * * * [progress]: generating rewritten candidates 0.040 * * * * [progress]: [ 1 / 1 ] rewriting at (2 1) 0.041 * * * [progress]: generating series expansions 0.041 * * * * [progress]: [ 1 / 1 ] generating series at (2 1) 0.041 * [approximate]: Taking taylor expansion of (fma x x (* x y)) in (x y) around 0 0.041 * [taylor]: Taking taylor expansion of (fma x x (* x y)) in y 0.041 * [taylor]: Rewrote expression to (+ (* x x) (* x y)) 0.041 * [taylor]: Taking taylor expansion of (* x x) in y 0.041 * [taylor]: Taking taylor expansion of x in y 0.041 * [taylor]: Taking taylor expansion of x in y 0.041 * [taylor]: Taking taylor expansion of (* x y) in y 0.041 * [taylor]: Taking taylor expansion of x in y 0.041 * [taylor]: Taking taylor expansion of y in y 0.041 * [taylor]: Taking taylor expansion of (fma x x (* x y)) in x 0.041 * [taylor]: Rewrote expression to (+ (* x x) (* x y)) 0.041 * [taylor]: Taking taylor expansion of (* x x) in x 0.041 * [taylor]: Taking taylor expansion of x in x 0.041 * [taylor]: Taking taylor expansion of x in x 0.041 * [taylor]: Taking taylor expansion of (* x y) in x 0.041 * [taylor]: Taking taylor expansion of x in x 0.042 * [taylor]: Taking taylor expansion of y in x 0.042 * [taylor]: Taking taylor expansion of (fma x x (* x y)) in x 0.042 * [taylor]: Rewrote expression to (+ (* x x) (* x y)) 0.042 * [taylor]: Taking taylor expansion of (* x x) in x 0.042 * [taylor]: Taking taylor expansion of x in x 0.042 * [taylor]: Taking taylor expansion of x in x 0.042 * [taylor]: Taking taylor expansion of (* x y) in x 0.042 * [taylor]: Taking taylor expansion of x in x 0.042 * [taylor]: Taking taylor expansion of y in x 0.042 * [taylor]: Taking taylor expansion of 0 in y 0.043 * [taylor]: Taking taylor expansion of y in y 0.044 * [taylor]: Taking taylor expansion of 1 in y 0.046 * [taylor]: Taking taylor expansion of 0 in y 0.047 * [taylor]: Taking taylor expansion of 0 in y 0.048 * [approximate]: Taking taylor expansion of (fma (/ 1 x) (/ 1 x) (/ 1 (* x y))) in (x y) around 0 0.048 * [taylor]: Taking taylor expansion of (fma (/ 1 x) (/ 1 x) (/ 1 (* x y))) in y 0.048 * [taylor]: Rewrote expression to (+ (* (/ 1 x) (/ 1 x)) (/ 1 (* x y))) 0.048 * [taylor]: Taking taylor expansion of (* (/ 1 x) (/ 1 x)) in y 0.048 * [taylor]: Taking taylor expansion of (/ 1 x) in y 0.048 * [taylor]: Taking taylor expansion of x in y 0.048 * [taylor]: Taking taylor expansion of (/ 1 x) in y 0.048 * [taylor]: Taking taylor expansion of x in y 0.048 * [taylor]: Taking taylor expansion of (/ 1 (* x y)) in y 0.048 * [taylor]: Taking taylor expansion of (* x y) in y 0.048 * [taylor]: Taking taylor expansion of x in y 0.048 * [taylor]: Taking taylor expansion of y in y 0.048 * [taylor]: Taking taylor expansion of (fma (/ 1 x) (/ 1 x) (/ 1 (* x y))) in x 0.048 * [taylor]: Rewrote expression to (+ (* (/ 1 x) (/ 1 x)) (/ 1 (* x y))) 0.048 * [taylor]: Taking taylor expansion of (* (/ 1 x) (/ 1 x)) in x 0.048 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.048 * [taylor]: Taking taylor expansion of x in x 0.049 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.049 * [taylor]: Taking taylor expansion of x in x 0.049 * [taylor]: Taking taylor expansion of (/ 1 (* x y)) in x 0.049 * [taylor]: Taking taylor expansion of (* x y) in x 0.049 * [taylor]: Taking taylor expansion of x in x 0.049 * [taylor]: Taking taylor expansion of y in x 0.049 * [taylor]: Taking taylor expansion of (fma (/ 1 x) (/ 1 x) (/ 1 (* x y))) in x 0.049 * [taylor]: Rewrote expression to (+ (* (/ 1 x) (/ 1 x)) (/ 1 (* x y))) 0.049 * [taylor]: Taking taylor expansion of (* (/ 1 x) (/ 1 x)) in x 0.049 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.049 * [taylor]: Taking taylor expansion of x in x 0.050 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.050 * [taylor]: Taking taylor expansion of x in x 0.050 * [taylor]: Taking taylor expansion of (/ 1 (* x y)) in x 0.050 * [taylor]: Taking taylor expansion of (* x y) in x 0.050 * [taylor]: Taking taylor expansion of x in x 0.050 * [taylor]: Taking taylor expansion of y in x 0.051 * [taylor]: Taking taylor expansion of 1 in y 0.052 * [taylor]: Taking taylor expansion of (/ 1 y) in y 0.052 * [taylor]: Taking taylor expansion of y in y 0.054 * [taylor]: Taking taylor expansion of 0 in y 0.057 * [taylor]: Taking taylor expansion of 0 in y 0.060 * [taylor]: Taking taylor expansion of 0 in y 0.061 * [approximate]: Taking taylor expansion of (fma (/ -1 x) (/ -1 x) (/ 1 (* x y))) in (x y) around 0 0.061 * [taylor]: Taking taylor expansion of (fma (/ -1 x) (/ -1 x) (/ 1 (* x y))) in y 0.061 * [taylor]: Rewrote expression to (+ (* (/ -1 x) (/ -1 x)) (/ 1 (* x y))) 0.061 * [taylor]: Taking taylor expansion of (* (/ -1 x) (/ -1 x)) in y 0.061 * [taylor]: Taking taylor expansion of (/ -1 x) in y 0.061 * [taylor]: Taking taylor expansion of -1 in y 0.061 * [taylor]: Taking taylor expansion of x in y 0.061 * [taylor]: Taking taylor expansion of (/ -1 x) in y 0.061 * [taylor]: Taking taylor expansion of -1 in y 0.061 * [taylor]: Taking taylor expansion of x in y 0.061 * [taylor]: Taking taylor expansion of (/ 1 (* x y)) in y 0.061 * [taylor]: Taking taylor expansion of (* x y) in y 0.061 * [taylor]: Taking taylor expansion of x in y 0.061 * [taylor]: Taking taylor expansion of y in y 0.061 * [taylor]: Taking taylor expansion of (fma (/ -1 x) (/ -1 x) (/ 1 (* x y))) in x 0.061 * [taylor]: Rewrote expression to (+ (* (/ -1 x) (/ -1 x)) (/ 1 (* x y))) 0.061 * [taylor]: Taking taylor expansion of (* (/ -1 x) (/ -1 x)) in x 0.062 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.062 * [taylor]: Taking taylor expansion of -1 in x 0.062 * [taylor]: Taking taylor expansion of x in x 0.062 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.062 * [taylor]: Taking taylor expansion of -1 in x 0.062 * [taylor]: Taking taylor expansion of x in x 0.062 * [taylor]: Taking taylor expansion of (/ 1 (* x y)) 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 (fma (/ -1 x) (/ -1 x) (/ 1 (* x y))) in x 0.063 * [taylor]: Rewrote expression to (+ (* (/ -1 x) (/ -1 x)) (/ 1 (* x y))) 0.063 * [taylor]: Taking taylor expansion of (* (/ -1 x) (/ -1 x)) in x 0.063 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.063 * [taylor]: Taking taylor expansion of -1 in x 0.063 * [taylor]: Taking taylor expansion of x in x 0.063 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.063 * [taylor]: Taking taylor expansion of -1 in x 0.063 * [taylor]: Taking taylor expansion of x in x 0.063 * [taylor]: Taking taylor expansion of (/ 1 (* x y)) in x 0.063 * [taylor]: Taking taylor expansion of (* x y) in x 0.063 * [taylor]: Taking taylor expansion of x in x 0.063 * [taylor]: Taking taylor expansion of y in x 0.064 * [taylor]: Taking taylor expansion of 1 in y 0.065 * [taylor]: Taking taylor expansion of (/ 1 y) in y 0.065 * [taylor]: Taking taylor expansion of y in y 0.068 * [taylor]: Taking taylor expansion of 0 in y 0.071 * [taylor]: Taking taylor expansion of 0 in y 0.074 * [taylor]: Taking taylor expansion of 0 in y 0.075 * * * [progress]: simplifying candidates 0.075 * [simplify]: Simplifying using # : (expm1 (fma x x (* x y))) (log1p (fma x x (* x y))) (* x x) (log (fma x x (* x y))) (exp (fma x x (* x y))) (* (cbrt (fma x x (* x y))) (cbrt (fma x x (* x y)))) (cbrt (fma x x (* x y))) (* (* (fma x x (* x y)) (fma x x (* x y))) (fma x x (* x y))) (sqrt (fma x x (* x y))) (sqrt (fma x x (* x y))) (+ (pow x 2) (* x y)) (+ (pow x 2) (* x y)) (+ (pow x 2) (* x y)) 0.075 * [simplify]: Sending expressions to egg_math: (expm1 (fma h0 h0 (* h0 h1))) (log1p (fma h0 h0 (* h0 h1))) (* h0 h0) (log (fma h0 h0 (* h0 h1))) (exp (fma h0 h0 (* h0 h1))) (* (cbrt (fma h0 h0 (* h0 h1))) (cbrt (fma h0 h0 (* h0 h1)))) (cbrt (fma h0 h0 (* h0 h1))) (* (* (fma h0 h0 (* h0 h1)) (fma h0 h0 (* h0 h1))) (fma h0 h0 (* h0 h1))) (sqrt (fma h0 h0 (* h0 h1))) (sqrt (fma h0 h0 (* h0 h1))) (+ (pow h0 2) (* h0 h1)) (+ (pow h0 2) (* h0 h1)) (+ (pow h0 2) (* h0 h1)) 0.078 * * [simplify]: iteration 0 : 24 enodes (cost 43 ) 0.079 * * [simplify]: iteration 1 : 66 enodes (cost 38 ) 0.081 * * [simplify]: iteration 2 : 262 enodes (cost 38 ) 0.087 * * [simplify]: iteration 3 : 1042 enodes (cost 38 ) 0.122 * * [simplify]: iteration 4 : 5002 enodes (cost 38 ) 0.123 * [simplify]: Simplified to: (expm1 (fma x x (* x y))) (log1p (fma x x (* x y))) (pow x 2) (log (fma x x (* x y))) (exp (fma x x (* x y))) (* (cbrt (fma x x (* x y))) (cbrt (fma x x (* x y)))) (cbrt (fma x x (* x y))) (pow (fma x x (* x y)) 3) (sqrt (fma x x (* x y))) (sqrt (fma x x (* x y))) (fma x x (* x y)) (fma x x (* x y)) (fma x x (* x y)) 0.123 * * * [progress]: adding candidates to table 0.151 * [progress]: [Phase 3 of 3] Extracting. 0.152 * [simplify]: Simplifying using # : (* (fma x x (* x y)) 2.0) 0.152 * [simplify]: Sending expressions to egg_math: (* (fma h0 h0 (* h0 h1)) h2) 0.153 * * [simplify]: iteration 0 : 8 enodes (cost 3 ) 0.153 * * [simplify]: iteration 1 : 8 enodes (cost 3 ) 0.153 * [simplify]: Simplified to: (* (fma x x (* x y)) 2.0) 0.730 * [regime-testing]: End program error score: 0.010949488998714984 0.750 * [regime-testing]: Target error score: 0.00912614076759595