Exercise algebra.manipulation.rational.simplify
Description
simplify a rational expression (with a variable in a divisor)
Firsts
Rule simplifyrationalexpression.enter Location [1,0] Term "Just (TCon arith1.divide [TCon arith1.plus [TCon arith1.unary_minus [TCon arith1.power [TVar \"p\",TNum 2]],TCon arith1.times [TNum 5,TVar \"p\"]],TCon arith1.plus [TCon arith1.minus [TCon arith1.power [TVar \"p\",TNum 2],TCon arith1.times [TNum 10,TVar \"p\"]],TNum 25]])" Focus "Just (TCon arith1.minus [TCon arith1.power [TVar \"p\",TNum 2],TCon arith1.times [TNum 10,TVar \"p\"]])" Environment