Implicational propositional calculus
   HOME

TheInfoList



OR:

In
mathematical logic Mathematical logic is the study of logic, formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory. Research in mathematical logic commonly addresses the mathematical properties of for ...
, the implicational propositional calculus is a version of classical
propositional calculus Propositional calculus is a branch of logic. It is also called propositional logic, statement logic, sentential calculus, sentential logic, or sometimes zeroth-order logic. It deals with propositions (which can be true or false) and relations b ...
which uses only one connective, called implication or conditional. In
formula In science, a formula is a concise way of expressing information symbolically, as in a mathematical formula or a ''chemical formula''. The informal use of the term ''formula'' in science refers to the general construct of a relationship betwee ...
s, this
binary operation In mathematics, a binary operation or dyadic operation is a rule for combining two elements (called operands) to produce another element. More formally, a binary operation is an operation of arity two. More specifically, an internal binary op ...
is indicated by "implies", "if ..., then ...", "→", "\rightarrow ", etc..


Functional (in)completeness

Implication alone is not
functionally complete In logic, a functionally complete set of logical connectives or Boolean operators is one which can be used to express all possible truth tables by combining members of the set into a Boolean expression.. ("Complete set of logical connectives").. (" ...
as a
logical operator In logic, a logical connective (also called a logical operator, sentential connective, or sentential operator) is a logical constant. They can be used to connect logical formulas. For instance in the syntax of propositional logic, the binary co ...
because one cannot form all other two-valued
truth function In logic, a truth function is a function that accepts truth values as input and produces a unique truth value as output. In other words: The input and output of a truth function are all truth values; a truth function will always output exactly o ...
s from it. For example, the two-place truth function that always returns '' false'' is not definable from → and arbitrary sentence variables: any formula constructed from → and propositional variables must receive the value ''true'' when all of its variables are evaluated to true. It follows that is not functionally complete. However, if one adds a nullary connective ⊥ for falsity, then one can define all other truth functions. Formulas over the resulting set of connectives are called f-implicational. If ''P'' and ''Q'' are propositions, then: *¬''P'' is
equivalent Equivalence or Equivalent may refer to: Arts and entertainment *Album-equivalent unit, a measurement unit in the music industry * Equivalence class (music) *'' Equivalent VIII'', or ''The Bricks'', a minimalist sculpture by Carl Andre *''Equiva ...
to ''P'' → ⊥ *''P'' ∧ ''Q'' is equivalent to (''P'' → (''Q'' → ⊥)) → ⊥ *''P'' ∨ ''Q'' is equivalent to (''P'' → ''Q'') → ''Q'' *''P'' ↔ ''Q'' is equivalent to ((''P'' → ''Q'') → ((''Q'' → ''P'') → ⊥)) → ⊥ Since the above operators are known to be functionally complete, it follows that any truth function can be expressed in terms of → and ⊥.


Axiom system

The following statements are considered tautologies (irreducible and intuitively true, by definition). *
Axiom schema In mathematical logic, an axiom schema (plural: axiom schemata or axiom schemas) generalizes the notion of axiom. Formal definition An axiom schema is a formula in the metalanguage of an axiomatic system, in which one or more schematic variables ap ...
1 is ''P'' → (''Q'' → ''P''). *Axiom schema 2 is (''P'' → (''Q'' → ''R'')) → ((''P'' → ''Q'') → (''P'' → ''R'')). *Axiom schema 3 (
Peirce's law In logic, Peirce's law is named after the philosopher and logician Charles Sanders Peirce. It was taken as an axiom in his first axiomatisation of propositional logic. It can be thought of as the law of excluded middle written in a form that i ...
) is ((''P'' → ''Q'') → ''P'') → ''P''. *The one non-nullary
rule of inference In the philosophy of logic, a rule of inference, inference rule or transformation rule is a logical form consisting of a function which takes premises, analyzes their syntax, and returns a conclusion (or conclusions). For example, the rule of in ...
(
modus ponens In propositional logic, ''modus ponens'' (; MP), also known as ''modus ponendo ponens'' (Latin for "method of putting by placing") or implication elimination or affirming the antecedent, is a deductive argument form and rule of inference. ...
) is: from ''P'' and ''P'' → ''Q'' infer ''Q''. Where in each case, ''P'', ''Q'', and ''R'' may be replaced by any formulas which contain only "→" as a connective. If Γ is a set of formulas and ''A'' a formula, then \Gamma\vdash A means that ''A'' is derivable using the axioms and rules above and formulas from Γ as additional hypotheses. Łukasiewicz (1948) found an axiom system for the implicational calculus, which replaces the schemas 1–3 above with a single schema *((''P'' → ''Q'') → ''R'') → ((''R'' → ''P'') → (''S'' → ''P'')). He also argued that there is no shorter axiom system.


Basic properties of derivation

Since all axioms and rules of the calculus are schemata, derivation is closed under substitution: :If \Gamma\vdash A, then \sigma(\Gamma)\vdash\sigma(A), where σ is any substitution (of formulas using only implication). The implicational propositional calculus also satisfies the
deduction theorem In mathematical logic, a deduction theorem is a metatheorem that justifies doing conditional proofs—to prove an implication ''A'' → ''B'', assume ''A'' as an hypothesis and then proceed to derive ''B''—in systems that do not have an ...
: :If \Gamma,A\vdash B, then \Gamma\vdash A\to B. As explained in the
deduction theorem In mathematical logic, a deduction theorem is a metatheorem that justifies doing conditional proofs—to prove an implication ''A'' → ''B'', assume ''A'' as an hypothesis and then proceed to derive ''B''—in systems that do not have an ...
article, this holds for any axiomatic extension of the system containing axiom schemas 1 and 2 above and modus ponens.


Completeness

The implicational propositional calculus is semantically complete with respect to the usual two-valued semantics of classical propositional logic. That is, if Γ is a set of implicational formulas, and ''A'' is an implicational formula
entailed In English common law, fee tail or entail is a form of trust established by deed or settlement which restricts the sale or inheritance of an estate in real property and prevents the property from being sold, devised by will, or otherwise alien ...
by Γ, then \Gamma\vdash A.


Proof

A proof of the completeness theorem is outlined below. First, using the
compactness theorem In mathematical logic, the compactness theorem states that a set of first-order sentences has a model if and only if every finite subset of it has a model. This theorem is an important tool in model theory, as it provides a useful (but generally no ...
and the deduction theorem, we may reduce the completeness theorem to its special case with empty Γ, i.e., we only need to show that every tautology is derivable in the system. The proof is similar to completeness of full propositional logic, but it also uses the following idea to overcome the functional incompleteness of implication. If ''A'' and ''F'' are formulas, then is equivalent to where ''A*'' is the result of replacing in ''A'' all, some, or none of the occurrences of ''F'' by falsity. Similarly, is equivalent to So under some conditions, one can use them as substitutes for saying ''A*'' is false or ''A*'' is true respectively. We first observe some basic facts about derivability: ::Indeed, we can derive ''A'' → (''B'' → ''C'') using Axiom 1, and then derive ''A'' → ''C'' by modus ponens (twice) from Ax. 2. ::This follows from () by the deduction theorem. ::If we further assume ''C'' → ''B'', we can derive using (), then we derive ''C'' by modus ponens. This shows A\to C,(A\to B)\to C,C\to B\vdash C, and the deduction theorem gives A\to C,(A\to B)\to C\vdash(C\to B)\to C. We apply Ax. 3 to obtain (). Let ''F'' be an arbitrary fixed formula. For any formula ''A'', we define and Consider only formulas in propositional variables ''p''1, ..., ''pn''. We claim that for every formula ''A'' in these variables and every
truth assignment An interpretation is an assignment of meaning to the symbols of a formal language. Many formal languages used in mathematics, logic, and theoretical computer science are defined in solely syntactic terms, and as such do not have any meaning until ...
''e'', We prove () by induction on ''A''. The base case ''A'' = ''pi'' is trivial. Let We distinguish three cases: #''e''(''C'') = 1. Then also ''e''(''A'') = 1. We have #::(C\to F)\to F\vdash((B\to C)\to F)\to F #:by applying () twice to the axiom Since we have derived by the induction hypothesis, we can infer #''e''(''B'') = 0. Then again ''e''(''A'') = 1. The deduction theorem applied to () gives #::B\to F\vdash((B\to C)\to F)\to F. #:Since we have derived by the induction hypothesis, we can infer #''e''(''B'') = 1 and ''e''(''C'') = 0. Then ''e''(''A'') = 0. We have #::\begin(B\to F)\to F,C\to F,B\to C&\vdash B\to F&&\text\\&\vdash F&&\text\end #:thus (B\to F)\to F,C\to F\vdash(B\to C)\to F by the deduction theorem. We have derived and by the induction hypothesis, hence we can infer This completes the proof of (). Now let ''F'' be a tautology in variables ''p''1, ..., ''pn''. We will prove by reverse induction on ''k'' = ''n'',...,0 that for every assignment ''e'', The base case ''k'' = ''n'' follows from a special case of () using : F^ = F^1 = ((F \to F) \to F) and the fact that ''F''→''F'' is a theorem by the deduction theorem. Assume that () holds for ''k'' + 1, we will show it for ''k''. By applying deduction theorem to the induction hypothesis, we obtain :\beginp_1^,\dots,p_k^&\vdash(p_\to F)\to F,\\ p_1^,\dots,p_k^&\vdash((p_\to F)\to F)\to F,\end by first setting ''e''(''p''''k''+1) = 0 and second setting ''e''(''p''''k''+1) = 1. From this we derive () using modus ponens. For ''k'' = 0 we obtain that the tautology ''F'' is provable without assumptions. This is what was to be proved. This proof is constructive. That is, given a tautology, one could actually follow the instructions and create a proof of it from the axioms. However, the length of such a proof increases exponentially with the number of propositional variables in the tautology, hence it is not a practical method for any but the very shortest tautologies.


The Bernays–Tarski axiom system

The Bernays–Tarski axiom system is often used. In particular, Łukasiewicz's paper derives the Bernays–Tarski axioms from Łukasiewicz's sole axiom as a means of showing its completeness.
It differs from the axiom schemas above by replacing axiom schema 2, (''P''→(''Q''→''R''))→((''P''→''Q'')→(''P''→''R'')), with * Axiom schema 2': (''P''→''Q'')→((''Q''→''R'')→(''P''→''R'')) which is called ''
hypothetical syllogism In classical logic, a hypothetical syllogism is a valid argument form, a syllogism with a conditional statement for one or both of its premises. An example in English: :If I do not wake up, then I cannot go to work. :If I cannot go to work, then ...
''. This makes derivation of the deduction meta-theorem a little more difficult, but it can still be done. We show that from ''P''→(''Q''→''R'') and ''P''→''Q'' one can derive ''P''→''R''. This fact can be used in lieu of axiom schema 2 to get the meta-theorem. # ''P''→(''Q''→''R'') given # ''P''→''Q'' given # (''P''→''Q'')→((''Q''→''R'')→(''P''→''R'')) ax 2' # (''Q''→''R'')→(''P''→''R'') mp 2,3 # (''P''→(''Q''→''R''))→(((''Q''→''R'')→(''P''→''R''))→(''P''→(''P''→''R''))) ax 2' # ((''Q''→''R'')→(''P''→''R''))→(''P''→(''P''→''R'')) mp 1,5 # ''P''→(''P''→''R'') mp 4,6 # (''P''→(''P''→''R''))→(((''P''→''R'')→''R'')→(''P''→''R'')) ax 2' # ((''P''→''R'')→''R'')→(''P''→''R'') mp 7,8 # (((''P''→''R'')→''R'')→(''P''→''R''))→(''P''→''R'') ax 3 # ''P''→''R'' mp 9,10 qed


Satisfiability and validity

Satisfiability in the implicational propositional calculus is trivial, because every formula is satisfiable: just set all variables to true. Falsifiability in the implicational propositional calculus is
NP-complete In computational complexity theory, a problem is NP-complete when: # it is a problem for which the correctness of each solution can be verified quickly (namely, in polynomial time) and a brute-force search algorithm can find a solution by tryi ...
, meaning that validity (tautology) is
co-NP-complete In Computational complexity theory, complexity theory, computational problems that are co-NP-complete are those that are the hardest problems in co-NP, in the sense that any problem in co-NP can be reformulated as a special case of any co-NP-comple ...
. In this case, a useful technique is to presume that the formula is not a tautology and attempt to find a valuation which makes it false. If one succeeds, then it is indeed not a tautology. If one fails, then it is a tautology. Example of a non-tautology: Suppose ''A''→''B'')→((''C''→''A'')→''E'')( 'F''→((''C''→''D'')→''E'') ''A''→''F'')→(''D''→''E'') is false. Then (''A''→''B'')→((''C''→''A'')→''E'') is true; ''F''→((''C''→''D'')→''E'') is true; ''A''→''F'' is true; ''D'' is true; and ''E'' is false. Since ''D'' is true, ''C''→''D'' is true. So the truth of ''F''→((''C''→''D'')→''E'') is equivalent to the truth of ''F''→''E''. Then since ''E'' is false and ''F''→''E'' is true, we get that ''F'' is false. Since ''A''→''F'' is true, ''A'' is false. Thus ''A''→''B'' is true and (''C''→''A'')→''E'' is true. ''C''→''A'' is false, so ''C'' is true. The value of ''B'' does not matter, so we can arbitrarily choose it to be true. Summing up, the valuation which sets ''B'', ''C'' and ''D'' to be true and ''A'', ''E'' and ''F'' to be false will make ''A''→''B'')→((''C''→''A'')→''E'')( 'F''→((''C''→''D'')→''E'') ''A''→''F'')→(''D''→''E'') false. So it is not a tautology. Example of a tautology: Suppose ((''A''→''B'')→''C'')→((''C''→''A'')→(''D''→''A'')) is false. Then (''A''→''B'')→''C'' is true; ''C''→''A'' is true; ''D'' is true; and ''A'' is false. Since ''A'' is false, ''A''→''B'' is true. So ''C'' is true. Thus ''A'' must be true, contradicting the fact that it is false. Thus there is no valuation which makes ((''A''→''B'')→''C'')→((''C''→''A'')→(''D''→''A'')) false. Consequently, it is a tautology.


Adding an axiom schema

What would happen if another axiom schema were added to those listed above? There are two cases: (1) it is a tautology; or (2) it is not a tautology. If it is a tautology, then the set of theorems remains the set of tautologies as before. However, in some cases it may be possible to find significantly shorter proofs for theorems. Nevertheless, the minimum length of proofs of theorems will remain unbounded, that is, for any natural number ''n'' there will still be theorems which cannot be proved in ''n'' or fewer steps. If the new axiom schema is not a tautology, then every formula becomes a theorem (which makes the concept of a theorem useless in this case). What is more, there is then an upper bound on the minimum length of a proof of every formula, because there is a common method for proving every formula. For example, suppose the new axiom schema were ((''B''→''C'')→''C'')→''B''. Then ((''A''→(''A''→''A''))→(''A''→''A''))→''A'' is an instance (one of the new axioms) and also not a tautology. But (''A''→(''A''→''A''))→(''A''→''A''))→''A''''A'' is a tautology and thus a theorem due to the old axioms (using the completeness result above). Applying modus ponens, we get that ''A'' is a theorem of the extended system. Then all one has to do to prove any formula is to replace ''A'' by the desired formula throughout the proof of ''A''. This proof will have the same number of steps as the proof of ''A''.


An alternative axiomatization

The axioms listed above primarily work through the deduction metatheorem to arrive at completeness. Here is another axiom system which aims directly at completeness without going through the deduction metatheorem. First we have axiom schemas which are designed to efficiently prove the subset of tautologies which contain only one propositional variable. * aa 1: ꞈ''A''→''A'' * aa 2: (''A''→''B'')→ꞈ(''A''→(''C''→''B'')) * aa 3: ''A''→((''B''→''C'')→ꞈ((''A''→''B'')→''C'')) * aa 4: ''A''→ꞈ(''B''→''A'') The proof of each such tautology would begin with two parts (hypothesis and conclusion) which are the same. Then insert additional hypotheses between them. Then insert additional tautological hypotheses (which are true even when the sole variable is false) into the original hypothesis. Then add more hypotheses outside (on the left). This procedure will quickly give every tautology containing only one variable. (The symbol "ꞈ" in each axiom schema indicates where the conclusion used in the completeness proof begins. It is merely a comment, not a part of the formula.) Consider any formula Φ which may contain ''A'', ''B'', ''C''1, ..., ''C''''n'' and ends with ''A'' as its final conclusion. Then we take * aa 5: Φ→(Φ+→ꞈΦ) as an axiom schema where Φ is the result of replacing ''B'' by ''A'' throughout Φ and Φ+ is the result of replacing ''B'' by (''A''→''A'') throughout Φ. This is a schema for axiom schemas since there are two level of substitution: in the first Φ is substituted (with variations); in the second, any of the variables (including both ''A'' and ''B'') may be replaced by arbitrary formulas of the implicational propositional calculus. This schema allows one to prove tautologies with more than one variable by considering the case when ''B'' is false Φ and the case when ''B'' is true Φ+. If the variable which is the final conclusion of a formula takes the value true, then the whole formula takes the value true regardless of the values of the other variables. Consequently if ''A'' is true, then Φ, Φ, Φ+ and Φ→(Φ+→Φ) are all true. So without loss of generality, we may assume that ''A'' is false. Notice that Φ is a tautology if and only if both Φ and Φ+ are tautologies. But while Φ has ''n''+2 distinct variables, Φ and Φ+ both have ''n''+1. So the question of whether a formula is a tautology has been reduced to the question of whether certain formulas with one variable each are all tautologies. Also notice that Φ→(Φ+→Φ) is a tautology regardless of whether Φ is, because if Φ is false then either Φ or Φ+ will be false depending on whether ''B'' is false or true. Examples: Deriving Peirce's law # (''P''→''P'')→''P'')→''P''( (''P''→(''P''→''P''))→''P'')→''P'' (''P''→''Q'')→''P'')→''P'' aa 5 # ''P''→''P'' aa 1 # (''P''→''P'')→((''P''→''P'')→(((''P''→''P'')→''P'')→''P'')) aa 3 # (''P''→''P'')→(((''P''→''P'')→''P'')→''P'') mp 2,3 # ((''P''→''P'')→''P'')→''P'' mp 2,4 # (''P''→(''P''→''P''))→''P'')→''P'' (''P''→''Q'')→''P'')→''P''mp 5,1 # ''P''→(''P''→''P'') aa 4 # (''P''→(''P''→''P''))→((''P''→''P'')→(((''P''→(''P''→''P''))→''P'')→''P'')) aa 3 # (''P''→''P'')→(((''P''→(''P''→''P''))→''P'')→''P'') mp 7,8 # ((''P''→(''P''→''P''))→''P'')→''P'' mp 2,9 # ((''P''→''Q'')→''P'')→''P'' mp 10,6 qed Deriving Łukasiewicz' sole axiom # (''P''→''Q'')→''P'')→((''P''→''P'')→(''S''→''P''))( (''P''→''Q'')→(''P''→''P''))→(((''P''→''P'')→''P'')→(''S''→''P'')) (''P''→''Q'')→''R'')→((''R''→''P'')→(''S''→''P'')) aa 5 # (''P''→''P'')→''P'')→((''P''→''P'')→(''S''→''P''))( (''P''→(''P''→''P''))→''P'')→((''P''→''P'')→(''S''→''P'')) (''P''→''Q'')→''P'')→((''P''→''P'')→(''S''→''P'')) aa 5 # ''P''→(''S''→''P'') aa 4 # (''P''→(''S''→''P''))→(''P''→((''P''→''P'')→(''S''→''P''))) aa 2 # ''P''→((''P''→''P'')→(''S''→''P'')) mp 3,4 # ''P''→''P'' aa 1 # (''P''→''P'')→((''P''→((''P''→''P'')→(''S''→''P'')))→ (''P''→''P'')→''P'')→((''P''→''P'')→(''S''→''P'')) aa 3 # (''P''→((''P''→''P'')→(''S''→''P'')))→ (''P''→''P'')→''P'')→((''P''→''P'')→(''S''→''P''))mp 6,7 # ((''P''→''P'')→''P'')→((''P''→''P'')→(''S''→''P'')) mp 5,8 # (''P''→(''P''→''P''))→''P'')→((''P''→''P'')→(''S''→''P'')) (''P''→''Q'')→''P'')→((''P''→''P'')→(''S''→''P''))mp 9,2 # ''P''→(''P''→''P'') aa 4 # (''P''→(''P''→''P''))→((''P''→((''P''→''P'')→(''S''→''P'')))→ (''P''→(''P''→''P''))→''P'')→((''P''→''P'')→(''S''→''P'')) aa 3 # (''P''→((''P''→''P'')→(''S''→''P'')))→ (''P''→(''P''→''P''))→''P'')→((''P''→''P'')→(''S''→''P''))mp 11,12 # ((''P''→(''P''→''P''))→''P'')→((''P''→''P'')→(''S''→''P'')) mp 5,13 # ((''P''→''Q'')→''P'')→((''P''→''P'')→(''S''→''P'')) mp 14,10 # (''P''→''Q'')→(''P''→''P''))→(((''P''→''P'')→''P'')→(''S''→''P'')) (''P''→''Q'')→''R'')→((''R''→''P'')→(''S''→''P''))mp 15,1 # (''P''→''P'')→((''P''→(''S''→''P''))→ (''P''→''P'')→''P'')→(''S''→''P'') aa 3 # (''P''→(''S''→''P''))→ (''P''→''P'')→''P'')→(''S''→''P'')mp 6,17 # ((''P''→''P'')→''P'')→(''S''→''P'') mp 3,18 # (((''P''→''P'')→''P'')→(''S''→''P''))→ (''P''→''Q'')→(''P''→''P''))→(((''P''→''P'')→''P'')→(''S''→''P''))aa 4 # ((''P''→''Q'')→(''P''→''P''))→(((''P''→''P'')→''P'')→(''S''→''P'')) mp 19,20 # ((''P''→''Q'')→''R'')→((''R''→''P'')→(''S''→''P'')) mp 21,16 qed Using a truth table to verify Łukasiewicz' sole axiom would require consideration of 16=24 cases since it contains 4 distinct variables. In this derivation, we were able to restrict consideration to merely 3 cases: ''R'' is false and ''Q'' is false, ''R'' is false and ''Q'' is true, and ''R'' is true. However because we are working within the formal system of logic (instead of outside it, informally), each case required much more effort.


See also

*
Deduction theorem In mathematical logic, a deduction theorem is a metatheorem that justifies doing conditional proofs—to prove an implication ''A'' → ''B'', assume ''A'' as an hypothesis and then proceed to derive ''B''—in systems that do not have an ...
* List of logic systems#Implicational propositional calculus *
Peirce's law In logic, Peirce's law is named after the philosopher and logician Charles Sanders Peirce. It was taken as an axiom in his first axiomatisation of propositional logic. It can be thought of as the law of excluded middle written in a form that i ...
*
Propositional calculus Propositional calculus is a branch of logic. It is also called propositional logic, statement logic, sentential calculus, sentential logic, or sometimes zeroth-order logic. It deals with propositions (which can be true or false) and relations b ...
*
Tautology (logic) In mathematical logic, a tautology (from el, ταυτολογία) is a formula or assertion that is true in every possible interpretation. An example is "x=y or x≠y". Similarly, "either the ball is green, or the ball is not green" is always ...
*
Truth table A truth table is a mathematical table used in logic—specifically in connection with Boolean algebra, boolean functions, and propositional calculus—which sets out the functional values of logical expressions on each of their functional argumen ...
*
Valuation (logic) In logic and model theory, a valuation can be: *In propositional logic, an assignment of truth values to propositional variables, with a corresponding assignment of truth values to all propositional formulas with those variables. *In first-ord ...


References

* Mendelson, Elliot (1997
''Introduction to Mathematical Logic'', 4th ed.
London: Chapman & Hall. * Łukasiewicz, Jan (1948
''The shortest axiom of the implicational calculus of propositions''
Proc. Royal Irish Academy, vol. 52, sec. A, no. 3, pp. 25–33. {{Reflist Systems of formal logic Propositional calculus Articles containing proofs Conditionals