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