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.plus [TCon arith1.power [TVar \"x\",TNum 3],TCon arith1.times [TNum 3,TCon arith1.power [TVar \"x\",TNum 2]]],TCon arith1.times [TNum 2,TVar \"x\"]],TCon arith1.plus [TCon arith1.plus [TCon arith1.power [TVar \"x\",TNum 2],TCon arith1.times [TNum 4,TVar \"x\"]],TNum 4]])" Focus "Just (TCon arith1.plus [TCon arith1.power [TVar \"x\",TNum 3],TCon arith1.times [TNum 3,TCon arith1.power [TVar \"x\",TNum 2]]])" Environment