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.times [TNum 2,TVar \"x\"],TNum 4])" Focus "Just (TCon relation1.eq [TCon arith1.times [TNum 2,TVar \"x\"],TNum 4])" Environment term=2 Rule algebra.equations.linear.balance.smart-div Location [] Term "Just (TCon relation1.eq [TCon arith1.plus [TNum 1,TVar \"x\"],TNum 3])" Focus "Just (TCon relation1.eq [TCon arith1.plus [TNum 1,TVar \"x\"],TNum 3])" Environment factor=2