Course Test · University: upper level
Mathematical logic: independent answers
Each answer here was worked out by hand, without RatMath, before the RatMath code was written. Where the arithmetic is long, the working says how it was checked.
- 1.SatisfiabilityIs satisfiable?AnswerThe four clauses rule out each of the four assignments to : unsatisfiable.
- 2.EntailmentShow .AnswerIn any valuation with true, forces true, contradicting . So is false (modus tollens).
- 3.Conjunctive normal formPut in conjunctive normal form.Answer.
- 4.Counting modelsHow many of the 8 valuations of satisfy ?AnswerAll but the all-false one: 7.
- 5.Minimal DNFFind a minimal sum of products for .AnswerThe minterms form a 6-cycle on the cube; it is covered by three of its edges, e.g. (the other cover is ). Three terms of two literals.
- 6.Natural deductionGive a natural-deduction proof of .AnswerAssume ; assume ; assume ; then by E, contradiction with ; so by I; discharge twice with I.
- 7.Checking a proofCheck this proof of : 1. premise; 2. premise; 3. assumption; 4. E 1, 3; 5. E 4, 2; 6. I 3–5.AnswerEach line follows by the rule cited; the assumption at 3 is discharged at 6. It is a correct proof of .
- 8.ResolutionUse resolution to show .AnswerAdd . Resolve with on : . Resolve with : the empty clause.
- 9.Intuitionistic logicWhich of these are provable intuitionistically: ; ; Peirce's law ? Which classically?AnswerIntuitionistically only : assume ; then gives a contradiction, so , so , a contradiction. Excluded middle and Peirce's law are classical tautologies but not intuitionistic theorems.
- 10.First-order validityIs valid?AnswerYes, given that domains are non-empty: pick any element ; holds, so .
- 11.Swapping quantifiersShow , and that the converse fails.AnswerIf is related to every , then every has . Converse: on with every has some , but no works for all .
- 12.Prenex normal formPut in prenex form.Answer.
- 13.Skolem normal formSkolemize .AnswerReplace by a new function of the universally quantified : . Equisatisfiable, not equivalent.
- 14.Truth in a structureOn the domain let . Evaluate and .AnswerEach element has a successor in the cycle: the first is true. No element is related to all three: the second is false.
- 15.Finding a modelWhat is the smallest model of ?AnswerOne element cannot work (it would need ). Two do: . Smallest size 2.
- 16.Modal logic: KIs the distribution axiom valid in every Kripke model? Is ?AnswerThe first is valid on all frames (axiom K). fails at a world where is false but every world sees has (for example, sees nothing, so holds vacuously).
- 17.Modal systems T and S5Is valid in T (reflexive frames)? Is valid in S5?AnswerYes: every world sees itself. Yes: in an equivalence class every world sees the same worlds, so if some reachable world has , every world reaches it.
- 18.SyllogismsIs "All M are P; all S are M; therefore all S are P" valid? What is its traditional name?AnswerValid: mood AAA in the first figure, Barbara.
- 19.Counting valid syllogismsOf the 256 syllogistic forms, how many are valid in modern logic, and how many with Aristotle's existential import?Answer15 unconditionally valid; with existential import 9 more (the weakened and strengthened moods such as Darapti and Barbari): 24.
- 20.TautologiesIs a tautology?AnswerYes (hypothetical syllogism): if then , then .