ϵ">]>
Literature.
[1] J. Komara. Specification and Verification of Programs. Downloadable lecture notes available through the web page of the course.
[2] J. Komara and P. J. Voda. Metamathematics of Computer Programming. 2001.
[CL] Remark. The module Mlogicp in the file mlogicp.cl contains the syntax of propositional tableau rules.
[CL] Remark. The module Mlogicpx in the file mlogicpx.cl contains the syntax of tableau rules for propositional tableaux with axioms. The module Mlogicd in the file mlogicd.cl contains the syntax of derived tableau rules.
Remark. The following logical problems are from the cases solved by the famous inspector G. Lestrade of Scotland Yard.
Exercise. Investigation by Inspector Lestrade brought up the following facts:
(1) The robbery was done by at least by , , or .
(2) always works with a companion.
(3) is not guilty.
Problem: Is guilty?
Formalization.
The constants , a represent the suspects.
The predicate holds if is guilty.
The axioms A1, A2 a A3 arithmetize the facts (1), (2) a (3). Our goal is to prove that the claim is a tautological consequence of these axioms.
Exercise. What are the consequences of the following facts?
(1) If is guilty and is not then is guilty.
(2) never works alone.
(3) never works with .
(4) Except , , or nobody else is involved in the case.
Decide the guiltiness of each person involved, i.e. prove whether G(x) or for every .
Exercise. The merchant McGregor was robbed. There were three suspects , , and . The following facts were unearthed:
(1) All suspects and nobody else was that day in McGregor's store.
(2) If is guilty then he worked with a companion.
(3) is guilty if and only if is guilty.
Decide the guiltiness of each person involved.