Toy theorem prover