Exercise algebra.manipulation.rational.simplify
Description
simplify a rational expression (with a variable in a divisor)
Firsts
Rule simplifyrationalexpression.enter Location [] Term "Just (TCon arith1.minus [TCon arith1.divide [TCon arith1.times [TNum 20,TVar \"b\"],TCon arith1.times [TCon arith1.times [TNum 15,TVar \"a\"],TVar \"b\"]],TCon arith1.divide [TCon arith1.times [TNum 6,TVar \"a\"],TCon arith1.times [TCon arith1.times [TNum 15,TVar \"a\"],TVar \"b\"]]])" Focus "Just (TCon arith1.minus [TCon arith1.divide [TCon arith1.times [TNum 20,TVar \"b\"],TCon arith1.times [TCon arith1.times [TNum 15,TVar \"a\"],TVar \"b\"]],TCon arith1.divide [TCon arith1.times [TNum 6,TVar \"a\"],TCon arith1.times [TCon arith1.times [TNum 15,TVar \"a\"],TVar \"b\"]]])" Environment