19.291 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.016 * * * [progress]: [2/2] Setting up program. 0.018 * [progress]: [Phase 2 of 3] Improving. 0.018 * [simplify]: Simplifying using # : (+ (+ (+ (+ (+ x y) y) x) z) x) 0.019 * * [simplify]: iteration 0 : 8 enodes (cost 11 ) 0.021 * * [simplify]: iteration 1 : 20 enodes (cost 11 ) 0.023 * * [simplify]: iteration 2 : 58 enodes (cost 9 ) 0.032 * * [simplify]: iteration 3 : 142 enodes (cost 8 ) 0.055 * * [simplify]: iteration 4 : 220 enodes (cost 8 ) 0.092 * * [simplify]: iteration 5 : 247 enodes (cost 7 ) 0.130 * * [simplify]: iteration 6 : 259 enodes (cost 7 ) 0.173 * * [simplify]: iteration 7 : 367 enodes (cost 7 ) 0.247 * * [simplify]: iteration 8 : 430 enodes (cost 7 ) 0.365 * * [simplify]: iteration 9 : 535 enodes (cost 7 ) 0.506 * * [simplify]: iteration 10 : 670 enodes (cost 7 ) 0.714 * * [simplify]: iteration 11 : 840 enodes (cost 7 ) 1.054 * * [simplify]: iteration 12 : 1754 enodes (cost 7 ) 5.146 * * [simplify]: iteration done : 5000 enodes (cost 7 ) 5.147 * [simplify]: Simplified to: (fma 3 x (fma y 2 z)) 5.150 * * [progress]: iteration 1 / 4 5.150 * * * [progress]: picking best candidate 5.151 * * * * [pick]: Picked # 5.151 * * * [progress]: localizing error 5.157 * * * [progress]: generating rewritten candidates 5.157 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 5.157 * * * [progress]: generating series expansions 5.157 * * * * [progress]: [ 1 / 1 ] generating series at (2) 5.158 * [approximate]: Taking taylor expansion of (fma 3 x (fma y 2 z)) in (x y z) around 0 5.158 * [taylor]: Taking taylor expansion of (fma 3 x (fma y 2 z)) in z 5.158 * [taylor]: Rewrote expression to (+ (* 3 x) (fma y 2 z)) 5.158 * [taylor]: Taking taylor expansion of (* 3 x) in z 5.158 * [taylor]: Taking taylor expansion of 3 in z 5.158 * [taylor]: Taking taylor expansion of x in z 5.158 * [taylor]: Taking taylor expansion of (fma y 2 z) in z 5.158 * [taylor]: Rewrote expression to (+ (* y 2) z) 5.158 * [taylor]: Taking taylor expansion of (* y 2) in z 5.158 * [taylor]: Taking taylor expansion of y in z 5.158 * [taylor]: Taking taylor expansion of 2 in z 5.158 * [taylor]: Taking taylor expansion of z in z 5.158 * [taylor]: Taking taylor expansion of (fma 3 x (fma y 2 z)) in y 5.158 * [taylor]: Rewrote expression to (+ (* 3 x) (fma y 2 z)) 5.158 * [taylor]: Taking taylor expansion of (* 3 x) in y 5.158 * [taylor]: Taking taylor expansion of 3 in y 5.158 * [taylor]: Taking taylor expansion of x in y 5.158 * [taylor]: Taking taylor expansion of (fma y 2 z) in y 5.158 * [taylor]: Rewrote expression to (+ (* y 2) z) 5.158 * [taylor]: Taking taylor expansion of (* y 2) in y 5.158 * [taylor]: Taking taylor expansion of y in y 5.158 * [taylor]: Taking taylor expansion of 2 in y 5.158 * [taylor]: Taking taylor expansion of z in y 5.158 * [taylor]: Taking taylor expansion of (fma 3 x (fma y 2 z)) in x 5.158 * [taylor]: Rewrote expression to (+ (* 3 x) (fma y 2 z)) 5.158 * [taylor]: Taking taylor expansion of (* 3 x) in x 5.158 * [taylor]: Taking taylor expansion of 3 in x 5.158 * [taylor]: Taking taylor expansion of x in x 5.158 * [taylor]: Taking taylor expansion of (fma y 2 z) in x 5.159 * [taylor]: Rewrote expression to (+ (* y 2) z) 5.159 * [taylor]: Taking taylor expansion of (* y 2) in x 5.159 * [taylor]: Taking taylor expansion of y in x 5.159 * [taylor]: Taking taylor expansion of 2 in x 5.159 * [taylor]: Taking taylor expansion of z in x 5.159 * [taylor]: Taking taylor expansion of (fma 3 x (fma y 2 z)) in x 5.159 * [taylor]: Rewrote expression to (+ (* 3 x) (fma y 2 z)) 5.159 * [taylor]: Taking taylor expansion of (* 3 x) in x 5.159 * [taylor]: Taking taylor expansion of 3 in x 5.159 * [taylor]: Taking taylor expansion of x in x 5.159 * [taylor]: Taking taylor expansion of (fma y 2 z) in x 5.159 * [taylor]: Rewrote expression to (+ (* y 2) z) 5.159 * [taylor]: Taking taylor expansion of (* y 2) in x 5.159 * [taylor]: Taking taylor expansion of y in x 5.159 * [taylor]: Taking taylor expansion of 2 in x 5.159 * [taylor]: Taking taylor expansion of z in x 5.159 * [taylor]: Taking taylor expansion of (+ z (* 2 y)) in y 5.159 * [taylor]: Taking taylor expansion of z in y 5.160 * [taylor]: Taking taylor expansion of (* 2 y) in y 5.160 * [taylor]: Taking taylor expansion of 2 in y 5.160 * [taylor]: Taking taylor expansion of y in y 5.160 * [taylor]: Taking taylor expansion of z in z 5.161 * [taylor]: Taking taylor expansion of 3 in y 5.161 * [taylor]: Taking taylor expansion of 3 in z 5.162 * [taylor]: Taking taylor expansion of 2 in z 5.162 * [approximate]: Taking taylor expansion of (fma 3 (/ 1 x) (fma (/ 1 y) 2 (/ 1 z))) in (x y z) around 0 5.162 * [taylor]: Taking taylor expansion of (fma 3 (/ 1 x) (fma (/ 1 y) 2 (/ 1 z))) in z 5.162 * [taylor]: Rewrote expression to (+ (* 3 (/ 1 x)) (fma (/ 1 y) 2 (/ 1 z))) 5.162 * [taylor]: Taking taylor expansion of (* 3 (/ 1 x)) in z 5.162 * [taylor]: Taking taylor expansion of 3 in z 5.162 * [taylor]: Taking taylor expansion of (/ 1 x) in z 5.162 * [taylor]: Taking taylor expansion of x in z 5.162 * [taylor]: Taking taylor expansion of (fma (/ 1 y) 2 (/ 1 z)) in z 5.162 * [taylor]: Rewrote expression to (+ (* (/ 1 y) 2) (/ 1 z)) 5.163 * [taylor]: Taking taylor expansion of (* (/ 1 y) 2) in z 5.163 * [taylor]: Taking taylor expansion of (/ 1 y) in z 5.163 * [taylor]: Taking taylor expansion of y in z 5.163 * [taylor]: Taking taylor expansion of 2 in z 5.163 * [taylor]: Taking taylor expansion of (/ 1 z) in z 5.163 * [taylor]: Taking taylor expansion of z in z 5.163 * [taylor]: Taking taylor expansion of (fma 3 (/ 1 x) (fma (/ 1 y) 2 (/ 1 z))) in y 5.163 * [taylor]: Rewrote expression to (+ (* 3 (/ 1 x)) (fma (/ 1 y) 2 (/ 1 z))) 5.163 * [taylor]: Taking taylor expansion of (* 3 (/ 1 x)) in y 5.163 * [taylor]: Taking taylor expansion of 3 in y 5.163 * [taylor]: Taking taylor expansion of (/ 1 x) in y 5.163 * [taylor]: Taking taylor expansion of x in y 5.163 * [taylor]: Taking taylor expansion of (fma (/ 1 y) 2 (/ 1 z)) in y 5.163 * [taylor]: Rewrote expression to (+ (* (/ 1 y) 2) (/ 1 z)) 5.163 * [taylor]: Taking taylor expansion of (* (/ 1 y) 2) in y 5.163 * [taylor]: Taking taylor expansion of (/ 1 y) in y 5.163 * [taylor]: Taking taylor expansion of y in y 5.163 * [taylor]: Taking taylor expansion of 2 in y 5.164 * [taylor]: Taking taylor expansion of (/ 1 z) in y 5.164 * [taylor]: Taking taylor expansion of z in y 5.164 * [taylor]: Taking taylor expansion of (fma 3 (/ 1 x) (fma (/ 1 y) 2 (/ 1 z))) in x 5.164 * [taylor]: Rewrote expression to (+ (* 3 (/ 1 x)) (fma (/ 1 y) 2 (/ 1 z))) 5.164 * [taylor]: Taking taylor expansion of (* 3 (/ 1 x)) in x 5.164 * [taylor]: Taking taylor expansion of 3 in x 5.164 * [taylor]: Taking taylor expansion of (/ 1 x) in x 5.164 * [taylor]: Taking taylor expansion of x in x 5.164 * [taylor]: Taking taylor expansion of (fma (/ 1 y) 2 (/ 1 z)) in x 5.164 * [taylor]: Rewrote expression to (+ (* (/ 1 y) 2) (/ 1 z)) 5.164 * [taylor]: Taking taylor expansion of (* (/ 1 y) 2) in x 5.164 * [taylor]: Taking taylor expansion of (/ 1 y) in x 5.164 * [taylor]: Taking taylor expansion of y in x 5.164 * [taylor]: Taking taylor expansion of 2 in x 5.164 * [taylor]: Taking taylor expansion of (/ 1 z) in x 5.164 * [taylor]: Taking taylor expansion of z in x 5.164 * [taylor]: Taking taylor expansion of (fma 3 (/ 1 x) (fma (/ 1 y) 2 (/ 1 z))) in x 5.164 * [taylor]: Rewrote expression to (+ (* 3 (/ 1 x)) (fma (/ 1 y) 2 (/ 1 z))) 5.164 * [taylor]: Taking taylor expansion of (* 3 (/ 1 x)) in x 5.164 * [taylor]: Taking taylor expansion of 3 in x 5.164 * [taylor]: Taking taylor expansion of (/ 1 x) in x 5.164 * [taylor]: Taking taylor expansion of x in x 5.165 * [taylor]: Taking taylor expansion of (fma (/ 1 y) 2 (/ 1 z)) in x 5.165 * [taylor]: Rewrote expression to (+ (* (/ 1 y) 2) (/ 1 z)) 5.165 * [taylor]: Taking taylor expansion of (* (/ 1 y) 2) in x 5.165 * [taylor]: Taking taylor expansion of (/ 1 y) in x 5.165 * [taylor]: Taking taylor expansion of y in x 5.165 * [taylor]: Taking taylor expansion of 2 in x 5.165 * [taylor]: Taking taylor expansion of (/ 1 z) in x 5.165 * [taylor]: Taking taylor expansion of z in x 5.165 * [taylor]: Taking taylor expansion of 3 in y 5.166 * [taylor]: Taking taylor expansion of (+ (/ 1 z) (* 2 (/ 1 y))) in y 5.166 * [taylor]: Taking taylor expansion of (/ 1 z) in y 5.166 * [taylor]: Taking taylor expansion of z in y 5.167 * [taylor]: Taking taylor expansion of (* 2 (/ 1 y)) in y 5.167 * [taylor]: Taking taylor expansion of 2 in y 5.167 * [taylor]: Taking taylor expansion of (/ 1 y) in y 5.167 * [taylor]: Taking taylor expansion of y in y 5.167 * [taylor]: Taking taylor expansion of 2 in z 5.167 * [taylor]: Taking taylor expansion of 3 in z 5.169 * [taylor]: Taking taylor expansion of 0 in y 5.170 * [taylor]: Taking taylor expansion of (/ 1 z) in z 5.170 * [taylor]: Taking taylor expansion of z in z 5.170 * [taylor]: Taking taylor expansion of 0 in z 5.171 * [approximate]: Taking taylor expansion of (fma 3 (/ -1 x) (fma (/ -1 y) 2 (/ -1 z))) in (x y z) around 0 5.171 * [taylor]: Taking taylor expansion of (fma 3 (/ -1 x) (fma (/ -1 y) 2 (/ -1 z))) in z 5.171 * [taylor]: Rewrote expression to (+ (* 3 (/ -1 x)) (fma (/ -1 y) 2 (/ -1 z))) 5.171 * [taylor]: Taking taylor expansion of (* 3 (/ -1 x)) in z 5.171 * [taylor]: Taking taylor expansion of 3 in z 5.171 * [taylor]: Taking taylor expansion of (/ -1 x) in z 5.171 * [taylor]: Taking taylor expansion of -1 in z 5.171 * [taylor]: Taking taylor expansion of x in z 5.171 * [taylor]: Taking taylor expansion of (fma (/ -1 y) 2 (/ -1 z)) in z 5.171 * [taylor]: Rewrote expression to (+ (* (/ -1 y) 2) (/ -1 z)) 5.171 * [taylor]: Taking taylor expansion of (* (/ -1 y) 2) in z 5.171 * [taylor]: Taking taylor expansion of (/ -1 y) in z 5.171 * [taylor]: Taking taylor expansion of -1 in z 5.171 * [taylor]: Taking taylor expansion of y in z 5.171 * [taylor]: Taking taylor expansion of 2 in z 5.171 * [taylor]: Taking taylor expansion of (/ -1 z) in z 5.171 * [taylor]: Taking taylor expansion of -1 in z 5.171 * [taylor]: Taking taylor expansion of z in z 5.172 * [taylor]: Taking taylor expansion of (fma 3 (/ -1 x) (fma (/ -1 y) 2 (/ -1 z))) in y 5.172 * [taylor]: Rewrote expression to (+ (* 3 (/ -1 x)) (fma (/ -1 y) 2 (/ -1 z))) 5.172 * [taylor]: Taking taylor expansion of (* 3 (/ -1 x)) in y 5.172 * [taylor]: Taking taylor expansion of 3 in y 5.172 * [taylor]: Taking taylor expansion of (/ -1 x) in y 5.172 * [taylor]: Taking taylor expansion of -1 in y 5.172 * [taylor]: Taking taylor expansion of x in y 5.172 * [taylor]: Taking taylor expansion of (fma (/ -1 y) 2 (/ -1 z)) in y 5.172 * [taylor]: Rewrote expression to (+ (* (/ -1 y) 2) (/ -1 z)) 5.172 * [taylor]: Taking taylor expansion of (* (/ -1 y) 2) in y 5.172 * [taylor]: Taking taylor expansion of (/ -1 y) in y 5.172 * [taylor]: Taking taylor expansion of -1 in y 5.172 * [taylor]: Taking taylor expansion of y in y 5.172 * [taylor]: Taking taylor expansion of 2 in y 5.172 * [taylor]: Taking taylor expansion of (/ -1 z) in y 5.172 * [taylor]: Taking taylor expansion of -1 in y 5.172 * [taylor]: Taking taylor expansion of z in y 5.173 * [taylor]: Taking taylor expansion of (fma 3 (/ -1 x) (fma (/ -1 y) 2 (/ -1 z))) in x 5.173 * [taylor]: Rewrote expression to (+ (* 3 (/ -1 x)) (fma (/ -1 y) 2 (/ -1 z))) 5.173 * [taylor]: Taking taylor expansion of (* 3 (/ -1 x)) in x 5.173 * [taylor]: Taking taylor expansion of 3 in x 5.173 * [taylor]: Taking taylor expansion of (/ -1 x) in x 5.173 * [taylor]: Taking taylor expansion of -1 in x 5.173 * [taylor]: Taking taylor expansion of x in x 5.173 * [taylor]: Taking taylor expansion of (fma (/ -1 y) 2 (/ -1 z)) in x 5.173 * [taylor]: Rewrote expression to (+ (* (/ -1 y) 2) (/ -1 z)) 5.173 * [taylor]: Taking taylor expansion of (* (/ -1 y) 2) in x 5.173 * [taylor]: Taking taylor expansion of (/ -1 y) in x 5.173 * [taylor]: Taking taylor expansion of -1 in x 5.173 * [taylor]: Taking taylor expansion of y in x 5.173 * [taylor]: Taking taylor expansion of 2 in x 5.173 * [taylor]: Taking taylor expansion of (/ -1 z) in x 5.173 * [taylor]: Taking taylor expansion of -1 in x 5.173 * [taylor]: Taking taylor expansion of z in x 5.173 * [taylor]: Taking taylor expansion of (fma 3 (/ -1 x) (fma (/ -1 y) 2 (/ -1 z))) in x 5.173 * [taylor]: Rewrote expression to (+ (* 3 (/ -1 x)) (fma (/ -1 y) 2 (/ -1 z))) 5.173 * [taylor]: Taking taylor expansion of (* 3 (/ -1 x)) in x 5.173 * [taylor]: Taking taylor expansion of 3 in x 5.174 * [taylor]: Taking taylor expansion of (/ -1 x) in x 5.174 * [taylor]: Taking taylor expansion of -1 in x 5.174 * [taylor]: Taking taylor expansion of x in x 5.174 * [taylor]: Taking taylor expansion of (fma (/ -1 y) 2 (/ -1 z)) in x 5.174 * [taylor]: Rewrote expression to (+ (* (/ -1 y) 2) (/ -1 z)) 5.174 * [taylor]: Taking taylor expansion of (* (/ -1 y) 2) in x 5.174 * [taylor]: Taking taylor expansion of (/ -1 y) in x 5.174 * [taylor]: Taking taylor expansion of -1 in x 5.174 * [taylor]: Taking taylor expansion of y in x 5.174 * [taylor]: Taking taylor expansion of 2 in x 5.174 * [taylor]: Taking taylor expansion of (/ -1 z) in x 5.174 * [taylor]: Taking taylor expansion of -1 in x 5.174 * [taylor]: Taking taylor expansion of z in x 5.175 * [taylor]: Taking taylor expansion of -3 in y 5.176 * [taylor]: Taking taylor expansion of (- (+ (* 2 (/ 1 y)) (/ 1 z))) in y 5.176 * [taylor]: Taking taylor expansion of (+ (* 2 (/ 1 y)) (/ 1 z)) in y 5.176 * [taylor]: Taking taylor expansion of (* 2 (/ 1 y)) in y 5.176 * [taylor]: Taking taylor expansion of 2 in y 5.176 * [taylor]: Taking taylor expansion of (/ 1 y) in y 5.176 * [taylor]: Taking taylor expansion of y in y 5.176 * [taylor]: Taking taylor expansion of (/ 1 z) in y 5.176 * [taylor]: Taking taylor expansion of z in y 5.177 * [taylor]: Taking taylor expansion of -2 in z 5.177 * [taylor]: Taking taylor expansion of -3 in z 5.179 * [taylor]: Taking taylor expansion of 0 in y 5.180 * [taylor]: Taking taylor expansion of (- (/ 1 z)) in z 5.180 * [taylor]: Taking taylor expansion of (/ 1 z) in z 5.180 * [taylor]: Taking taylor expansion of z in z 5.181 * [taylor]: Taking taylor expansion of 0 in z 5.181 * * * [progress]: simplifying candidates 5.181 * [simplify]: Simplifying using # : (expm1 (fma 3 x (fma y 2 z))) (log1p (fma 3 x (fma y 2 z))) (* 3 x) (log (fma 3 x (fma y 2 z))) (exp (fma 3 x (fma y 2 z))) (* (cbrt (fma 3 x (fma y 2 z))) (cbrt (fma 3 x (fma y 2 z)))) (cbrt (fma 3 x (fma y 2 z))) (* (* (fma 3 x (fma y 2 z)) (fma 3 x (fma y 2 z))) (fma 3 x (fma y 2 z))) (sqrt (fma 3 x (fma y 2 z))) (sqrt (fma 3 x (fma y 2 z))) (+ (* 3 x) (+ z (* 2 y))) (+ (* 3 x) (+ z (* 2 y))) (+ (* 3 x) (+ z (* 2 y))) 5.182 * * [simplify]: iteration 0 : 20 enodes (cost 126 ) 5.185 * * [simplify]: iteration 1 : 28 enodes (cost 120 ) 5.189 * * [simplify]: iteration 2 : 77 enodes (cost 106 ) 5.208 * * [simplify]: iteration 3 : 329 enodes (cost 106 ) 5.315 * * [simplify]: iteration 4 : 1762 enodes (cost 106 ) 5.905 * * [simplify]: iteration done : 5000 enodes (cost 106 ) 5.906 * [simplify]: Simplified to: (expm1 (fma 3 x (fma y 2 z))) (log1p (fma 3 x (fma y 2 z))) (* 3 x) (log (fma 3 x (fma y 2 z))) (exp (fma 3 x (fma y 2 z))) (* (cbrt (fma 3 x (fma y 2 z))) (cbrt (fma 3 x (fma y 2 z)))) (cbrt (fma 3 x (fma y 2 z))) (pow (fma 3 x (fma y 2 z)) 3) (sqrt (fma 3 x (fma y 2 z))) (sqrt (fma 3 x (fma y 2 z))) (fma 3 x (fma y 2 z)) (fma 3 x (fma y 2 z)) (fma 3 x (fma y 2 z)) 5.906 * * * [progress]: adding candidates to table 5.932 * [progress]: [Phase 3 of 3] Extracting. 5.934 * [simplify]: Simplifying using # : (fma 3 x (fma y 2 z)) 5.935 * * [simplify]: iteration 0 : 7 enodes (cost 7 ) 5.935 * * [simplify]: iteration done : 7 enodes (cost 7 ) 5.935 * [simplify]: Simplified to: (fma 3 x (fma y 2 z)) 6.427 * [regime-testing]: End program error score: 0.0012501562695336917