9.222 * [progress]: [Phase 1 of 3] Setting up. 0.001 * * * [progress]: [1/2] Preparing points 0.014 * * * [progress]: [2/2] Setting up program. 0.017 * [progress]: [Phase 2 of 3] Improving. 0.017 * [simplify]: Simplifying using # : (+ (+ (+ (+ (+ x y) y) x) z) x) 0.017 * [simplify]: Sending expressions to egg_math: (+ (+ (+ (+ (+ h0 h1) h1) h0) h2) h0) 0.020 * * [simplify]: iteration 0 : 20 enodes (cost 5 ) 0.022 * * [simplify]: iteration 1 : 64 enodes (cost 4 ) 0.024 * * [simplify]: iteration 2 : 208 enodes (cost 3 ) 0.027 * * [simplify]: iteration 3 : 354 enodes (cost 3 ) 0.031 * * [simplify]: iteration 4 : 386 enodes (cost 2 ) 0.036 * * [simplify]: iteration 5 : 398 enodes (cost 2 ) 0.040 * * [simplify]: iteration 6 : 472 enodes (cost 2 ) 0.045 * * [simplify]: iteration 7 : 677 enodes (cost 2 ) 0.051 * * [simplify]: iteration 8 : 818 enodes (cost 2 ) 0.057 * * [simplify]: iteration 9 : 1001 enodes (cost 2 ) 0.066 * * [simplify]: iteration 10 : 1299 enodes (cost 2 ) 0.076 * * [simplify]: iteration 11 : 1708 enodes (cost 2 ) 0.113 * * [simplify]: iteration 12 : 4517 enodes (cost 2 ) 0.361 * * [simplify]: iteration 13 : 5001 enodes (cost 2 ) 0.363 * [simplify]: Simplified to: (fma 3 x (fma 2 y z)) 0.367 * * [progress]: iteration 1 / 4 0.367 * * * [progress]: picking best candidate 0.369 * * * * [pick]: Picked # 0.369 * * * [progress]: localizing error 0.375 * * * [progress]: generating rewritten candidates 0.375 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.376 * * * [progress]: generating series expansions 0.376 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.376 * [approximate]: Taking taylor expansion of (fma 3 x (fma 2 y z)) in (x y z) around 0 0.376 * [taylor]: Taking taylor expansion of (fma 3 x (fma 2 y z)) in z 0.376 * [taylor]: Rewrote expression to (+ (* 3 x) (fma 2 y z)) 0.377 * [taylor]: Taking taylor expansion of (* 3 x) in z 0.377 * [taylor]: Taking taylor expansion of 3 in z 0.377 * [taylor]: Taking taylor expansion of x in z 0.377 * [taylor]: Taking taylor expansion of (fma 2 y z) in z 0.377 * [taylor]: Rewrote expression to (+ (* 2 y) z) 0.377 * [taylor]: Taking taylor expansion of (* 2 y) in z 0.377 * [taylor]: Taking taylor expansion of 2 in z 0.377 * [taylor]: Taking taylor expansion of y in z 0.377 * [taylor]: Taking taylor expansion of z in z 0.377 * [taylor]: Taking taylor expansion of (fma 3 x (fma 2 y z)) in y 0.377 * [taylor]: Rewrote expression to (+ (* 3 x) (fma 2 y z)) 0.377 * [taylor]: Taking taylor expansion of (* 3 x) in y 0.377 * [taylor]: Taking taylor expansion of 3 in y 0.377 * [taylor]: Taking taylor expansion of x in y 0.377 * [taylor]: Taking taylor expansion of (fma 2 y z) in y 0.377 * [taylor]: Rewrote expression to (+ (* 2 y) z) 0.377 * [taylor]: Taking taylor expansion of (* 2 y) in y 0.377 * [taylor]: Taking taylor expansion of 2 in y 0.377 * [taylor]: Taking taylor expansion of y in y 0.377 * [taylor]: Taking taylor expansion of z in y 0.377 * [taylor]: Taking taylor expansion of (fma 3 x (fma 2 y z)) in x 0.377 * [taylor]: Rewrote expression to (+ (* 3 x) (fma 2 y z)) 0.377 * [taylor]: Taking taylor expansion of (* 3 x) in x 0.377 * [taylor]: Taking taylor expansion of 3 in x 0.377 * [taylor]: Taking taylor expansion of x in x 0.377 * [taylor]: Taking taylor expansion of (fma 2 y z) in x 0.377 * [taylor]: Rewrote expression to (+ (* 2 y) z) 0.377 * [taylor]: Taking taylor expansion of (* 2 y) in x 0.377 * [taylor]: Taking taylor expansion of 2 in x 0.377 * [taylor]: Taking taylor expansion of y in x 0.377 * [taylor]: Taking taylor expansion of z in x 0.377 * [taylor]: Taking taylor expansion of (fma 3 x (fma 2 y z)) in x 0.377 * [taylor]: Rewrote expression to (+ (* 3 x) (fma 2 y z)) 0.377 * [taylor]: Taking taylor expansion of (* 3 x) in x 0.377 * [taylor]: Taking taylor expansion of 3 in x 0.377 * [taylor]: Taking taylor expansion of x in x 0.377 * [taylor]: Taking taylor expansion of (fma 2 y z) in x 0.378 * [taylor]: Rewrote expression to (+ (* 2 y) z) 0.378 * [taylor]: Taking taylor expansion of (* 2 y) in x 0.378 * [taylor]: Taking taylor expansion of 2 in x 0.378 * [taylor]: Taking taylor expansion of y in x 0.378 * [taylor]: Taking taylor expansion of z in x 0.378 * [taylor]: Taking taylor expansion of (+ z (* 2 y)) in y 0.378 * [taylor]: Taking taylor expansion of z in y 0.378 * [taylor]: Taking taylor expansion of (* 2 y) in y 0.378 * [taylor]: Taking taylor expansion of 2 in y 0.378 * [taylor]: Taking taylor expansion of y in y 0.379 * [taylor]: Taking taylor expansion of z in z 0.380 * [taylor]: Taking taylor expansion of 3 in y 0.380 * [taylor]: Taking taylor expansion of 3 in z 0.381 * [taylor]: Taking taylor expansion of 2 in z 0.381 * [approximate]: Taking taylor expansion of (fma 3 (/ 1 x) (fma 2 (/ 1 y) (/ 1 z))) in (x y z) around 0 0.381 * [taylor]: Taking taylor expansion of (fma 3 (/ 1 x) (fma 2 (/ 1 y) (/ 1 z))) in z 0.381 * [taylor]: Rewrote expression to (+ (* 3 (/ 1 x)) (fma 2 (/ 1 y) (/ 1 z))) 0.381 * [taylor]: Taking taylor expansion of (* 3 (/ 1 x)) in z 0.381 * [taylor]: Taking taylor expansion of 3 in z 0.382 * [taylor]: Taking taylor expansion of (/ 1 x) in z 0.382 * [taylor]: Taking taylor expansion of x in z 0.382 * [taylor]: Taking taylor expansion of (fma 2 (/ 1 y) (/ 1 z)) in z 0.382 * [taylor]: Rewrote expression to (+ (* 2 (/ 1 y)) (/ 1 z)) 0.382 * [taylor]: Taking taylor expansion of (* 2 (/ 1 y)) in z 0.382 * [taylor]: Taking taylor expansion of 2 in z 0.382 * [taylor]: Taking taylor expansion of (/ 1 y) in z 0.382 * [taylor]: Taking taylor expansion of y in z 0.382 * [taylor]: Taking taylor expansion of (/ 1 z) in z 0.382 * [taylor]: Taking taylor expansion of z in z 0.382 * [taylor]: Taking taylor expansion of (fma 3 (/ 1 x) (fma 2 (/ 1 y) (/ 1 z))) in y 0.382 * [taylor]: Rewrote expression to (+ (* 3 (/ 1 x)) (fma 2 (/ 1 y) (/ 1 z))) 0.382 * [taylor]: Taking taylor expansion of (* 3 (/ 1 x)) in y 0.382 * [taylor]: Taking taylor expansion of 3 in y 0.382 * [taylor]: Taking taylor expansion of (/ 1 x) in y 0.382 * [taylor]: Taking taylor expansion of x in y 0.382 * [taylor]: Taking taylor expansion of (fma 2 (/ 1 y) (/ 1 z)) in y 0.382 * [taylor]: Rewrote expression to (+ (* 2 (/ 1 y)) (/ 1 z)) 0.382 * [taylor]: Taking taylor expansion of (* 2 (/ 1 y)) in y 0.382 * [taylor]: Taking taylor expansion of 2 in y 0.382 * [taylor]: Taking taylor expansion of (/ 1 y) in y 0.382 * [taylor]: Taking taylor expansion of y in y 0.383 * [taylor]: Taking taylor expansion of (/ 1 z) in y 0.383 * [taylor]: Taking taylor expansion of z in y 0.383 * [taylor]: Taking taylor expansion of (fma 3 (/ 1 x) (fma 2 (/ 1 y) (/ 1 z))) in x 0.383 * [taylor]: Rewrote expression to (+ (* 3 (/ 1 x)) (fma 2 (/ 1 y) (/ 1 z))) 0.383 * [taylor]: Taking taylor expansion of (* 3 (/ 1 x)) in x 0.383 * [taylor]: Taking taylor expansion of 3 in x 0.383 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.383 * [taylor]: Taking taylor expansion of x in x 0.383 * [taylor]: Taking taylor expansion of (fma 2 (/ 1 y) (/ 1 z)) in x 0.383 * [taylor]: Rewrote expression to (+ (* 2 (/ 1 y)) (/ 1 z)) 0.383 * [taylor]: Taking taylor expansion of (* 2 (/ 1 y)) in x 0.383 * [taylor]: Taking taylor expansion of 2 in x 0.383 * [taylor]: Taking taylor expansion of (/ 1 y) in x 0.383 * [taylor]: Taking taylor expansion of y in x 0.384 * [taylor]: Taking taylor expansion of (/ 1 z) in x 0.384 * [taylor]: Taking taylor expansion of z in x 0.384 * [taylor]: Taking taylor expansion of (fma 3 (/ 1 x) (fma 2 (/ 1 y) (/ 1 z))) in x 0.384 * [taylor]: Rewrote expression to (+ (* 3 (/ 1 x)) (fma 2 (/ 1 y) (/ 1 z))) 0.384 * [taylor]: Taking taylor expansion of (* 3 (/ 1 x)) in x 0.384 * [taylor]: Taking taylor expansion of 3 in x 0.384 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.384 * [taylor]: Taking taylor expansion of x in x 0.384 * [taylor]: Taking taylor expansion of (fma 2 (/ 1 y) (/ 1 z)) in x 0.384 * [taylor]: Rewrote expression to (+ (* 2 (/ 1 y)) (/ 1 z)) 0.384 * [taylor]: Taking taylor expansion of (* 2 (/ 1 y)) in x 0.384 * [taylor]: Taking taylor expansion of 2 in x 0.384 * [taylor]: Taking taylor expansion of (/ 1 y) in x 0.384 * [taylor]: Taking taylor expansion of y in x 0.384 * [taylor]: Taking taylor expansion of (/ 1 z) in x 0.384 * [taylor]: Taking taylor expansion of z in x 0.385 * [taylor]: Taking taylor expansion of 3 in y 0.386 * [taylor]: Taking taylor expansion of (+ (/ 1 z) (* 2 (/ 1 y))) in y 0.386 * [taylor]: Taking taylor expansion of (/ 1 z) in y 0.386 * [taylor]: Taking taylor expansion of z in y 0.386 * [taylor]: Taking taylor expansion of (* 2 (/ 1 y)) in y 0.386 * [taylor]: Taking taylor expansion of 2 in y 0.386 * [taylor]: Taking taylor expansion of (/ 1 y) in y 0.386 * [taylor]: Taking taylor expansion of y in y 0.387 * [taylor]: Taking taylor expansion of 2 in z 0.387 * [taylor]: Taking taylor expansion of 3 in z 0.389 * [taylor]: Taking taylor expansion of 0 in y 0.394 * [taylor]: Taking taylor expansion of (/ 1 z) in z 0.394 * [taylor]: Taking taylor expansion of z in z 0.394 * [taylor]: Taking taylor expansion of 0 in z 0.395 * [approximate]: Taking taylor expansion of (fma 3 (/ -1 x) (fma 2 (/ -1 y) (/ -1 z))) in (x y z) around 0 0.395 * [taylor]: Taking taylor expansion of (fma 3 (/ -1 x) (fma 2 (/ -1 y) (/ -1 z))) in z 0.395 * [taylor]: Rewrote expression to (+ (* 3 (/ -1 x)) (fma 2 (/ -1 y) (/ -1 z))) 0.395 * [taylor]: Taking taylor expansion of (* 3 (/ -1 x)) in z 0.395 * [taylor]: Taking taylor expansion of 3 in z 0.395 * [taylor]: Taking taylor expansion of (/ -1 x) in z 0.395 * [taylor]: Taking taylor expansion of -1 in z 0.395 * [taylor]: Taking taylor expansion of x in z 0.395 * [taylor]: Taking taylor expansion of (fma 2 (/ -1 y) (/ -1 z)) in z 0.395 * [taylor]: Rewrote expression to (+ (* 2 (/ -1 y)) (/ -1 z)) 0.395 * [taylor]: Taking taylor expansion of (* 2 (/ -1 y)) in z 0.395 * [taylor]: Taking taylor expansion of 2 in z 0.395 * [taylor]: Taking taylor expansion of (/ -1 y) in z 0.395 * [taylor]: Taking taylor expansion of -1 in z 0.395 * [taylor]: Taking taylor expansion of y in z 0.395 * [taylor]: Taking taylor expansion of (/ -1 z) in z 0.395 * [taylor]: Taking taylor expansion of -1 in z 0.396 * [taylor]: Taking taylor expansion of z in z 0.396 * [taylor]: Taking taylor expansion of (fma 3 (/ -1 x) (fma 2 (/ -1 y) (/ -1 z))) in y 0.396 * [taylor]: Rewrote expression to (+ (* 3 (/ -1 x)) (fma 2 (/ -1 y) (/ -1 z))) 0.396 * [taylor]: Taking taylor expansion of (* 3 (/ -1 x)) in y 0.396 * [taylor]: Taking taylor expansion of 3 in y 0.396 * [taylor]: Taking taylor expansion of (/ -1 x) in y 0.396 * [taylor]: Taking taylor expansion of -1 in y 0.396 * [taylor]: Taking taylor expansion of x in y 0.396 * [taylor]: Taking taylor expansion of (fma 2 (/ -1 y) (/ -1 z)) in y 0.396 * [taylor]: Rewrote expression to (+ (* 2 (/ -1 y)) (/ -1 z)) 0.396 * [taylor]: Taking taylor expansion of (* 2 (/ -1 y)) in y 0.396 * [taylor]: Taking taylor expansion of 2 in y 0.396 * [taylor]: Taking taylor expansion of (/ -1 y) in y 0.396 * [taylor]: Taking taylor expansion of -1 in y 0.396 * [taylor]: Taking taylor expansion of y in y 0.397 * [taylor]: Taking taylor expansion of (/ -1 z) in y 0.397 * [taylor]: Taking taylor expansion of -1 in y 0.397 * [taylor]: Taking taylor expansion of z in y 0.397 * [taylor]: Taking taylor expansion of (fma 3 (/ -1 x) (fma 2 (/ -1 y) (/ -1 z))) in x 0.397 * [taylor]: Rewrote expression to (+ (* 3 (/ -1 x)) (fma 2 (/ -1 y) (/ -1 z))) 0.397 * [taylor]: Taking taylor expansion of (* 3 (/ -1 x)) in x 0.397 * [taylor]: Taking taylor expansion of 3 in x 0.397 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.397 * [taylor]: Taking taylor expansion of -1 in x 0.397 * [taylor]: Taking taylor expansion of x in x 0.397 * [taylor]: Taking taylor expansion of (fma 2 (/ -1 y) (/ -1 z)) in x 0.397 * [taylor]: Rewrote expression to (+ (* 2 (/ -1 y)) (/ -1 z)) 0.397 * [taylor]: Taking taylor expansion of (* 2 (/ -1 y)) in x 0.397 * [taylor]: Taking taylor expansion of 2 in x 0.397 * [taylor]: Taking taylor expansion of (/ -1 y) in x 0.397 * [taylor]: Taking taylor expansion of -1 in x 0.398 * [taylor]: Taking taylor expansion of y in x 0.398 * [taylor]: Taking taylor expansion of (/ -1 z) in x 0.398 * [taylor]: Taking taylor expansion of -1 in x 0.398 * [taylor]: Taking taylor expansion of z in x 0.398 * [taylor]: Taking taylor expansion of (fma 3 (/ -1 x) (fma 2 (/ -1 y) (/ -1 z))) in x 0.398 * [taylor]: Rewrote expression to (+ (* 3 (/ -1 x)) (fma 2 (/ -1 y) (/ -1 z))) 0.398 * [taylor]: Taking taylor expansion of (* 3 (/ -1 x)) in x 0.398 * [taylor]: Taking taylor expansion of 3 in x 0.398 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.398 * [taylor]: Taking taylor expansion of -1 in x 0.398 * [taylor]: Taking taylor expansion of x in x 0.398 * [taylor]: Taking taylor expansion of (fma 2 (/ -1 y) (/ -1 z)) in x 0.398 * [taylor]: Rewrote expression to (+ (* 2 (/ -1 y)) (/ -1 z)) 0.398 * [taylor]: Taking taylor expansion of (* 2 (/ -1 y)) in x 0.398 * [taylor]: Taking taylor expansion of 2 in x 0.398 * [taylor]: Taking taylor expansion of (/ -1 y) in x 0.398 * [taylor]: Taking taylor expansion of -1 in x 0.398 * [taylor]: Taking taylor expansion of y in x 0.398 * [taylor]: Taking taylor expansion of (/ -1 z) in x 0.398 * [taylor]: Taking taylor expansion of -1 in x 0.398 * [taylor]: Taking taylor expansion of z in x 0.399 * [taylor]: Taking taylor expansion of -3 in y 0.400 * [taylor]: Taking taylor expansion of (- (+ (* 2 (/ 1 y)) (/ 1 z))) in y 0.400 * [taylor]: Taking taylor expansion of (+ (* 2 (/ 1 y)) (/ 1 z)) in y 0.400 * [taylor]: Taking taylor expansion of (* 2 (/ 1 y)) in y 0.400 * [taylor]: Taking taylor expansion of 2 in y 0.400 * [taylor]: Taking taylor expansion of (/ 1 y) in y 0.400 * [taylor]: Taking taylor expansion of y in y 0.401 * [taylor]: Taking taylor expansion of (/ 1 z) in y 0.401 * [taylor]: Taking taylor expansion of z in y 0.401 * [taylor]: Taking taylor expansion of -2 in z 0.402 * [taylor]: Taking taylor expansion of -3 in z 0.404 * [taylor]: Taking taylor expansion of 0 in y 0.405 * [taylor]: Taking taylor expansion of (- (/ 1 z)) in z 0.405 * [taylor]: Taking taylor expansion of (/ 1 z) in z 0.405 * [taylor]: Taking taylor expansion of z in z 0.405 * [taylor]: Taking taylor expansion of 0 in z 0.406 * * * [progress]: simplifying candidates 0.406 * [simplify]: Simplifying using # : (expm1 (fma 3 x (fma 2 y z))) (log1p (fma 3 x (fma 2 y z))) (* 3 x) (log (fma 3 x (fma 2 y z))) (exp (fma 3 x (fma 2 y z))) (* (cbrt (fma 3 x (fma 2 y z))) (cbrt (fma 3 x (fma 2 y z)))) (cbrt (fma 3 x (fma 2 y z))) (* (* (fma 3 x (fma 2 y z)) (fma 3 x (fma 2 y z))) (fma 3 x (fma 2 y z))) (sqrt (fma 3 x (fma 2 y z))) (sqrt (fma 3 x (fma 2 y z))) (+ (* 3 x) (+ z (* 2 y))) (+ (* 3 x) (+ z (* 2 y))) (+ (* 3 x) (+ z (* 2 y))) 0.406 * [simplify]: Sending expressions to egg_math: (expm1 (fma 3 h0 (fma 2 h1 h2))) (log1p (fma 3 h0 (fma 2 h1 h2))) (* 3 h0) (log (fma 3 h0 (fma 2 h1 h2))) (exp (fma 3 h0 (fma 2 h1 h2))) (* (cbrt (fma 3 h0 (fma 2 h1 h2))) (cbrt (fma 3 h0 (fma 2 h1 h2)))) (cbrt (fma 3 h0 (fma 2 h1 h2))) (* (* (fma 3 h0 (fma 2 h1 h2)) (fma 3 h0 (fma 2 h1 h2))) (fma 3 h0 (fma 2 h1 h2))) (sqrt (fma 3 h0 (fma 2 h1 h2))) (sqrt (fma 3 h0 (fma 2 h1 h2))) (+ (* 3 h0) (+ h2 (* 2 h1))) (+ (* 3 h0) (+ h2 (* 2 h1))) (+ (* 3 h0) (+ h2 (* 2 h1))) 0.409 * * [simplify]: iteration 0 : 29 enodes (cost 43 ) 0.412 * * [simplify]: iteration 1 : 82 enodes (cost 38 ) 0.414 * * [simplify]: iteration 2 : 425 enodes (cost 38 ) 0.425 * * [simplify]: iteration 3 : 2859 enodes (cost 38 ) 0.484 * * [simplify]: iteration 4 : 5001 enodes (cost 38 ) 0.485 * [simplify]: Simplified to: (expm1 (fma 3 x (fma 2 y z))) (log1p (fma 3 x (fma 2 y z))) (* 3 x) (log (fma 3 x (fma 2 y z))) (exp (fma 3 x (fma 2 y z))) (* (cbrt (fma 3 x (fma 2 y z))) (cbrt (fma 3 x (fma 2 y z)))) (cbrt (fma 3 x (fma 2 y z))) (pow (fma 3 x (fma 2 y z)) 3) (sqrt (fma 3 x (fma 2 y z))) (sqrt (fma 3 x (fma 2 y z))) (fma 3 x (fma 2 y z)) (fma 3 x (fma 2 y z)) (fma 3 x (fma 2 y z)) 0.485 * * * [progress]: adding candidates to table 0.515 * [progress]: [Phase 3 of 3] Extracting. 0.518 * [simplify]: Simplifying using # : (fma 3 x (fma 2 y z)) 0.518 * [simplify]: Sending expressions to egg_math: (fma 3 h0 (fma 2 h1 h2)) 0.518 * * [simplify]: iteration 0 : 7 enodes (cost 2 ) 0.518 * [simplify]: Simplified to: (fma 3 x (fma 2 y z)) 1.029 * [regime-testing]: End program error score: 0.0011251406425803225