* [misc]progress: [Phase 1 of 3] Setting up. * * * [misc]progress: [1/2] Preparing points * * * [misc]progress: [2/2] Setting up program. * [enter]simplify: Simplifying (+ (+ (* d1 10) (* d1 d2)) (* d1 20)) * * [misc]simplify: iters left: 6 (9 enodes) * * [misc]simplify: iters left: 5 (18 enodes) * * [misc]simplify: iters left: 4 (36 enodes) * * [misc]simplify: iters left: 3 (57 enodes) * * [misc]simplify: iters left: 2 (71 enodes) * * [misc]simplify: iters left: 1 (84 enodes) * [exit]simplify: Simplified to (fma d1 (+ 20 10) (* d1 d2)) * [misc]progress: [Phase 2 of 3] Improving. * * [misc]progress: iteration 1 / 2 * * * [misc]progress: picking best candidate * * * * [misc]pick: Picked # * * * [misc]progress: localizing error * * * [misc]progress: generating series expansions * * * * [misc]progress: [ 1 / 1 ] generating series at (2) * [misc]approximate: Taking taylor expansion of (fma d1 (+ 20 10) (* d1 d2)) in (d1 d2) around 0 * [misc]taylor: Taking taylor expansion of (fma d1 (+ 20 10) (* d1 d2)) in d2 * [misc]backup-simplify: Simplify (fma d1 (+ 20 10) (* d1 d2)) into (fma d1 30 (* d1 d2)) * [misc]taylor: Taking taylor expansion of (fma d1 (+ 20 10) (* d1 d2)) in d1 * [misc]backup-simplify: Simplify (fma d1 (+ 20 10) (* d1 d2)) into (fma d1 30 (* d1 d2)) * [misc]taylor: Taking taylor expansion of (fma d1 (+ 20 10) (* d1 d2)) in d1 * [misc]backup-simplify: Simplify (fma d1 (+ 20 10) (* d1 d2)) into (fma d1 30 (* d1 d2)) * [misc]taylor: Taking taylor expansion of (fma d1 30 (* d1 d2)) in d2 * [misc]backup-simplify: Simplify (fma d1 30 (* d1 d2)) into (fma d1 30 (* d1 d2)) * [misc]backup-simplify: Simplify (fma d1 30 (* d1 d2)) into (fma d1 30 (* d1 d2)) * [misc]taylor: Taking taylor expansion of 0 in d2 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify 0 into 0 * [misc]taylor: Taking taylor expansion of 0 in d2 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify 0 into 0 * [misc]taylor: Taking taylor expansion of 0 in d2 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify (fma d1 30 (* d1 d2)) into (fma d1 30 (* d1 d2)) * [misc]approximate: Taking taylor expansion of (fma (/ 1 d1) (+ 20 10) (* (/ 1 d1) (/ 1 d2))) in (d1 d2) around 0 * [misc]taylor: Taking taylor expansion of (fma (/ 1 d1) (+ 20 10) (* (/ 1 d1) (/ 1 d2))) in d2 * [misc]backup-simplify: Simplify (fma (/ 1 d1) (+ 20 10) (* (/ 1 d1) (/ 1 d2))) into (fma (/ 1 d1) 30 (/ 1 (* d1 d2))) * [misc]taylor: Taking taylor expansion of (fma (/ 1 d1) (+ 20 10) (* (/ 1 d1) (/ 1 d2))) in d1 * [misc]backup-simplify: Simplify (fma (/ 1 d1) (+ 20 10) (* (/ 1 d1) (/ 1 d2))) into (fma (/ 1 d1) 30 (/ 1 (* d1 d2))) * [misc]taylor: Taking taylor expansion of (fma (/ 1 d1) (+ 20 10) (* (/ 1 d1) (/ 1 d2))) in d1 * [misc]backup-simplify: Simplify (fma (/ 1 d1) (+ 20 10) (* (/ 1 d1) (/ 1 d2))) into (fma (/ 1 d1) 30 (/ 1 (* d1 d2))) * [misc]taylor: Taking taylor expansion of (fma (/ 1 d1) 30 (/ 1 (* d1 d2))) in d2 * [misc]backup-simplify: Simplify (fma (/ 1 d1) 30 (/ 1 (* d1 d2))) into (fma (/ 1 d1) 30 (/ 1 (* d1 d2))) * [misc]backup-simplify: Simplify (fma (/ 1 d1) 30 (/ 1 (* d1 d2))) into (fma (/ 1 d1) 30 (/ 1 (* d1 d2))) * [misc]taylor: Taking taylor expansion of 0 in d2 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify 0 into 0 * [misc]taylor: Taking taylor expansion of 0 in d2 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify 0 into 0 * [misc]taylor: Taking taylor expansion of 0 in d2 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify (fma (/ 1 d1) 30 (/ 1 (* d1 d2))) into (fma (/ 1 d1) 30 (/ 1 (* d1 d2))) * [misc]approximate: Taking taylor expansion of (fma (/ 1 (- d1)) (+ 20 10) (* (/ 1 (- d1)) (/ 1 (- d2)))) in (d1 d2) around 0 * [misc]taylor: Taking taylor expansion of (fma (/ 1 (- d1)) (+ 20 10) (* (/ 1 (- d1)) (/ 1 (- d2)))) in d2 * [misc]backup-simplify: Simplify (fma (/ 1 (- d1)) (+ 20 10) (* (/ 1 (- d1)) (/ 1 (- d2)))) into (fma (/ -1 d1) 30 (/ 1 (* d1 d2))) * [misc]taylor: Taking taylor expansion of (fma (/ 1 (- d1)) (+ 20 10) (* (/ 1 (- d1)) (/ 1 (- d2)))) in d1 * [misc]backup-simplify: Simplify (fma (/ 1 (- d1)) (+ 20 10) (* (/ 1 (- d1)) (/ 1 (- d2)))) into (fma (/ -1 d1) 30 (/ 1 (* d1 d2))) * [misc]taylor: Taking taylor expansion of (fma (/ 1 (- d1)) (+ 20 10) (* (/ 1 (- d1)) (/ 1 (- d2)))) in d1 * [misc]backup-simplify: Simplify (fma (/ 1 (- d1)) (+ 20 10) (* (/ 1 (- d1)) (/ 1 (- d2)))) into (fma (/ -1 d1) 30 (/ 1 (* d1 d2))) * [misc]taylor: Taking taylor expansion of (fma (/ -1 d1) 30 (/ 1 (* d1 d2))) in d2 * [misc]backup-simplify: Simplify (fma (/ -1 d1) 30 (/ 1 (* d1 d2))) into (fma (/ -1 d1) 30 (/ 1 (* d1 d2))) * [misc]backup-simplify: Simplify (fma (/ -1 d1) 30 (/ 1 (* d1 d2))) into (fma (/ -1 d1) 30 (/ 1 (* d1 d2))) * [misc]taylor: Taking taylor expansion of 0 in d2 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify 0 into 0 * [misc]taylor: Taking taylor expansion of 0 in d2 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify 0 into 0 * [misc]taylor: Taking taylor expansion of 0 in d2 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify 0 into 0 * [misc]backup-simplify: Simplify (fma (/ -1 d1) 30 (/ 1 (* d1 d2))) into (fma (/ -1 d1) 30 (/ 1 (* d1 d2))) * * * [misc]progress: generating rewritten candidates * * * * [misc]progress: [ 1 / 1 ] rewriting at (2) * * * [misc]progress: simplifying candidates * * * * [misc]progress: [ 1 / 13 ] simplifiying candidate # * [enter]simplify: Simplifying (fma d1 30 (* d1 d2)) * * [misc]simplify: iters left: 3 (5 enodes) * * [misc]simplify: iters left: 2 (6 enodes) * [exit]simplify: Simplified to (fma d1 30 (* d2 d1)) * * * * [misc]progress: [ 2 / 13 ] simplifiying candidate # * [enter]simplify: Simplifying (fma (/ 1 d1) 30 (/ 1 (* d1 d2))) * * [misc]simplify: iters left: 5 (8 enodes) * * [misc]simplify: iters left: 4 (12 enodes) * [exit]simplify: Simplified to (fma (/ 1 d1) 30 (/ 1 (* d1 d2))) * * * * [misc]progress: [ 3 / 13 ] simplifiying candidate # * [enter]simplify: Simplifying (fma (/ -1 d1) 30 (/ 1 (* d1 d2))) * * [misc]simplify: iters left: 5 (9 enodes) * * [misc]simplify: iters left: 4 (14 enodes) * [exit]simplify: Simplified to (fma (/ -1 d1) 30 (/ (/ 1 d1) d2)) * * * * [misc]progress: [ 4 / 13 ] simplifiying candidate # * [enter]simplify: Simplifying (expm1 (fma d1 (+ 20 10) (* d1 d2))) * * [misc]simplify: iters left: 4 (8 enodes) * * [misc]simplify: iters left: 3 (10 enodes) * [exit]simplify: Simplified to (expm1 (fma d1 (+ 10 20) (* d1 d2))) * [exit]simplify: Simplified to (expm1 (fma d1 (+ 10 20) (* d1 d2))) * * * * [misc]progress: [ 5 / 13 ] simplifiying candidate # * [enter]simplify: Simplifying (log1p (fma d1 (+ 20 10) (* d1 d2))) * * [misc]simplify: iters left: 4 (8 enodes) * * [misc]simplify: iters left: 3 (10 enodes) * [exit]simplify: Simplified to (log1p (fma d1 (+ 10 20) (* d1 d2))) * [exit]simplify: Simplified to (log1p (fma d1 (+ 10 20) (* d1 d2))) * * * * [misc]progress: [ 6 / 13 ] simplifiying candidate # * [enter]simplify: Simplifying (* d1 (+ 20 10)) * * [misc]simplify: iters left: 4 (5 enodes) * * [misc]simplify: iters left: 3 (13 enodes) * * [misc]simplify: iters left: 2 (17 enodes) * * [misc]simplify: iters left: 1 (19 enodes) * [exit]simplify: Simplified to (* d1 (+ 10 20)) * [exit]simplify: Simplified to (* d1 (+ 10 20)) * * * * [misc]progress: [ 7 / 13 ] simplifiying candidate # * * * * [misc]progress: [ 8 / 13 ] simplifiying candidate # * [enter]simplify: Simplifying (log (fma d1 (+ 20 10) (* d1 d2))) * * [misc]simplify: iters left: 4 (8 enodes) * * [misc]simplify: iters left: 3 (10 enodes) * [exit]simplify: Simplified to (log (fma d1 (+ 10 20) (* d1 d2))) * [exit]simplify: Simplified to (log (fma d1 (+ 10 20) (* d1 d2))) * * * * [misc]progress: [ 9 / 13 ] simplifiying candidate # * [enter]simplify: Simplifying (exp (fma d1 (+ 20 10) (* d1 d2))) * * [misc]simplify: iters left: 4 (8 enodes) * * [misc]simplify: iters left: 3 (10 enodes) * [exit]simplify: Simplified to (exp (fma d1 (+ 10 20) (* d1 d2))) * [exit]simplify: Simplified to (exp (fma d1 (+ 10 20) (* d1 d2))) * * * * [misc]progress: [ 10 / 13 ] simplifiying candidate # * [enter]simplify: Simplifying (cbrt (fma d1 (+ 20 10) (* d1 d2))) * * [misc]simplify: iters left: 4 (8 enodes) * * [misc]simplify: iters left: 3 (10 enodes) * [exit]simplify: Simplified to (cbrt (fma d1 (+ 10 20) (* d1 d2))) * [exit]simplify: Simplified to (cbrt (fma d1 (+ 10 20) (* d1 d2))) * * * * [misc]progress: [ 11 / 13 ] simplifiying candidate # * [enter]simplify: Simplifying (cube (fma d1 (+ 20 10) (* d1 d2))) * * [misc]simplify: iters left: 4 (8 enodes) * * [misc]simplify: iters left: 3 (12 enodes) * * [misc]simplify: iters left: 2 (14 enodes) * [exit]simplify: Simplified to (cube (fma d1 (+ 10 20) (* d1 d2))) * [exit]simplify: Simplified to (cube (fma d1 (+ 10 20) (* d1 d2))) * * * * [misc]progress: [ 12 / 13 ] simplifiying candidate # * [enter]simplify: Simplifying (sqrt (fma d1 (+ 20 10) (* d1 d2))) * * [misc]simplify: iters left: 4 (8 enodes) * * [misc]simplify: iters left: 3 (10 enodes) * [exit]simplify: Simplified to (sqrt (fma d1 (+ 10 20) (* d1 d2))) * [exit]simplify: Simplified to (sqrt (fma d1 (+ 10 20) (* d1 d2))) * * * * [misc]progress: [ 13 / 13 ] simplifiying candidate # * * * [misc]progress: adding candidates to table * [misc]progress: [Phase 3 of 3] Extracting. * * [misc]regime-changes: Finding splitpoints for: (#) * [misc]regimes: Found splitpoints: (#s(sp 0 (+ (+ (* d1 10) (* d1 d2)) (* d1 20)) +inf.0)) , with alts (#) * [enter]simplify: Simplifying (+ 20 10) * * [misc]simplify: iters left: 2 (3 enodes) * * [misc]simplify: iters left: 1 (4 enodes) * [exit]simplify: Simplified to (+ 20 10) * [exit]simplify: Simplified to (+ 20 10) * [enter]simplify: Simplifying (* d1 d2) * * [misc]simplify: iters left: 2 (3 enodes) * * [misc]simplify: iters left: 1 (4 enodes) * [exit]simplify: Simplified to (* d2 d1) * [exit]simplify: Simplified to (* d2 d1)