Propositional logic

cosmos 25th April 2018 at 11:55pm
Logic

a.k.a. propositional calculus

A Formal system that implements working with the logical notions of and (\wedge), or (\vee), not \sim, if ... then ... (\subset) (implication), and Deduction (from propositions to consequences, using rules of inference encapsulated within [...][...]). derived propostions are put within angle brackets << and >>.

See chapter VII of GEB

Well formed strings

Atoms (atomic symbols which stand for initial propositions): PP, QQ, RR, and any primed (') version.

Well-formed strings are defined recursively. If xx and yy are well-formed, then these are also well-formed:

  • x\sim x
  • <xy><x \wedge y> (joining rule)
  • <xy><x \vee y >
  • <xy> <x \subset y >

Rules of inference

  • Rule of separation. If <xy><x \wedge y > is a theorem, then both xx and yy are theorems.
  • Double-tilde rule: The string "\sim \sim" can be delted from any theorem. It can also be inserted into any theorem, provided that the resulting string is itself well-formed.

Deduction theorem

A special formal rule. Can put any series of well formed propositions within the square brackets ([[, ]]), as long as each proposition can be derived from the previous, using the rewrite rules above, except the first one, which is jut required to be a well-formed string (and it's like a fantasy axiom, what if).

The deduction theorem (aka fantasy rule) than says that <xy><x \subset y> is a theorem, where xx is the initial string, and yy is the final string in the derivation i.e. when yy can be derived when xx is assumed to be a theorem. Only strings that result from the fantasy rule (and strings that are derivable from them), are considered genuine theorems, I think. So this is a slightly different kind of Formal system, than those usually defined, right?

  • Carry-over rule: Inside a fantasy, any theorem from the "reality" one level higher can be brought in and used.

These implications/derivation rules are interesting from a formal system perspective. They are a a representation inside the system of a statement about the system.

  • Modus Ponens (aka rule of detachment): If xx and <xy><x \subset y > are both theorems, then yy is a theorem.
  • Contrapositive rule: <xy><x \subset y> and <yx><\sim y \subset \sim x> are interchangeable.
  • De Morgan's rule: <xy><\sim x \wedge \sim y> and <xy>\sim < x \vee y > are interchangeable.
  • Switcheroo ruleL <xy><x \vee y > and <xy> < \sim x \subset y > are interchangebale.

Decision rule

Method of truth tables