Taking a goal and proofing it by applying inference rules on KB.