Exercise algebra.manipulation.rational.simplify
Description
simplify a rational expression (with a variable in a divisor)
Firsts
Rule writeasdivision.exit Location [] Term "Just (TCon arith1.divide [TCon arith1.plus [TCon arith1.times [TCon arith1.minus [TVar \"x\",TNum 4],TCon arith1.plus [TVar \"x\",TNum 3]],TCon arith1.times [TCon arith1.minus [TVar \"x\",TNum 1],TCon arith1.plus [TVar \"x\",TNum 2]]],TCon arith1.times [TCon arith1.minus [TVar \"x\",TNum 1],TCon arith1.minus [TVar \"x\",TNum 4]]])" Focus "Just (TCon arith1.divide [TCon arith1.plus [TCon arith1.times [TCon arith1.minus [TVar \"x\",TNum 4],TCon arith1.plus [TVar \"x\",TNum 3]],TCon arith1.times [TCon arith1.minus [TVar \"x\",TNum 1],TCon arith1.plus [TVar \"x\",TNum 2]]],TCon arith1.times [TCon arith1.minus [TVar \"x\",TNum 1],TCon arith1.minus [TVar \"x\",TNum 4]]])" Environment