Exercise algebra.equations.linear.balance
Description
Solve a linear equation using only balance rules.
Firsts
Rule algebra.equations.linear.balance.con-right-minus Location [] Term "Just (TCon relation1.eq [TCon arith1.unary_minus [TCon arith1.times [TNum 32,TVar \"x\"]],TCon arith1.unary_minus [TNum 80]])" Focus "Just (TCon relation1.eq [TCon arith1.unary_minus [TCon arith1.times [TNum 32,TVar \"x\"]],TCon arith1.unary_minus [TNum 80]])" Environment term=10 Rule algebra.equations.linear.balance.smart-div Location [] Term "Just (TCon relation1.eq [TCon arith1.plus [TCon arith1.unary_minus [TCon arith1.times [TNum 16,TVar \"x\"]],TNum 5],TCon arith1.unary_minus [TNum 35]])" Focus "Just (TCon relation1.eq [TCon arith1.plus [TCon arith1.unary_minus [TCon arith1.times [TNum 16,TVar \"x\"]],TNum 5],TCon arith1.unary_minus [TNum 35]])" Environment factor=2