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