Exercise algebra.manipulation.rational.simplify
Description
simplify a rational expression (with a variable in a divisor)
Firsts
Rule simplifyrationalexpression.enter Location [0] Term "Just (TCon arith1.divide [TCon arith1.times [TVar \"a\",TCon arith1.plus [TCon arith1.plus [TCon arith1.power [TVar \"a\",TNum 2],TCon arith1.times [TNum 7,TVar \"a\"]],TNum 12]],TCon arith1.plus [TCon arith1.plus [TCon arith1.power [TVar \"a\",TNum 2],TCon arith1.times [TNum 6,TVar \"a\"]],TNum 9]])" Focus "Just (TCon arith1.times [TVar \"a\",TCon arith1.plus [TCon arith1.plus [TCon arith1.power [TVar \"a\",TNum 2],TCon arith1.times [TNum 7,TVar \"a\"]],TNum 12]])" Environment