Teaching pure LP with prolog and a fair search rule. | Synapse