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 [TNum 6,TCon arith1.times [TCon arith1.times [TNum 2,TCon arith1.power [TVar \"x\",TNum 2]],TVar \"y\"]],TCon arith1.divide [TCon arith1.times [TNum 5,TVar \"x\"],TCon arith1.times [TCon arith1.times [TNum 2,TCon arith1.power [TVar \"x\",TNum 2]],TVar \"y\"]]])" Focus "Just (TCon arith1.minus [TCon arith1.divide [TNum 6,TCon arith1.times [TCon arith1.times [TNum 2,TCon arith1.power [TVar \"x\",TNum 2]],TVar \"y\"]],TCon arith1.divide [TCon arith1.times [TNum 5,TVar \"x\"],TCon arith1.times [TCon arith1.times [TNum 2,TCon arith1.power [TVar \"x\",TNum 2]],TVar \"y\"]]])" Environment