Propositional Logic

Propositional logic is a foundational area of logic for studying the rules of mathematical reasoning. Learn logical operations, truth tables, logical equivalences, and rules of inference systematically, and build a foundation for university-level mathematics, including set theory and analysis.

Learning Content

Logical Formulas

We formally define the concept of a logical formula, the basic unit of propositional logic.

What Is Propositional Logic?

In propositional logic, we do not consider what individual propositions specifically refer to. Instead, we treat them simply as variables that take one of two values, true or false, and represent the inferences under consideration symbolically.

Definition of Formulas in Propositional Logic

In propositional logic, propositional variables and propositional constants are regarded as formulas by themselves. Expressions obtained by applying logical operators to them are also regarded as formulas. Furthermore, expressions obtained by applying logical operators to formulas are themselves formulas.

Interpretation of Logical Formulas

We explain how to determine the truth value of a logical formula.

Interpretation of Propositional Variables

Every propositional variable \(P\) and propositional constant \(T,F\) is a formula. A propositional variable \(P\) can take either \(0\) or \(1\) as its value, whereas the value of the propositional constant \(T\) is always \(1\), and the value of the propositional constant \(F\) is always \(0\).

Negation in Propositional Logic

Negation is a logical operation that takes a formula as input and returns a formula with the opposite truth value.

Conjunction in Propositional Logic

Conjunction \(\wedge\) is a logical operation that takes formulas \(A\) and \(B\) as inputs and returns the formula \(A\wedge B\), which has the value \(1\) if and only if both \(A\) and \(B\) have the value \(1\).

Disjunction in Propositional Logic

Disjunction \(\vee\) is a logical operation that takes formulas \(A\) and \(B\) as inputs and returns the formula \(A\vee B\), which has the value \(1\) if and only if at least one of \(A\) and \(B\) has the value \(1\).

Exclusive Disjunction in Propositional Logic

Exclusive disjunction is a logical operation that takes two formulas as inputs and returns a formula whose value is \(1\) if and only if exactly one of the two input formulas has the value \(1\).

Implication in Propositional Logic

Implication \(\rightarrow\) is a logical operation that takes formulas \(A\) and \(B\) as inputs and returns the formula \(A\rightarrow B\), which has the value \(1\) when both \(A\) and \(B\) have the value \(1\), and always has the value \(1\) whenever \(A\) has the value \(0\), regardless of the value of \(B\).

Biconditional in Propositional Logic

Biconditional is a logical operation that takes two formulas \(A\) and \(B\) as inputs and outputs a formula whose value is 1 if and only if \(A\) and \(B\) have the same value.

Interpretation of Formulas in Propositional Logic

Given a formula, we can identify all of its subformulas. Some of these subformulas are propositional variables. Once the values of the propositional variables are specified, the values of all the subformulas are determined according to the rules defined above, and hence the value of the original formula is also determined. In other words, the value of a formula is determined by the combination of values assigned to the propositional variables occurring in it.

Simplifying Truth Tables

When a formula to be interpreted in propositional logic is long, it may contain a large number of subformulas, causing the truth table to become quite large if constructed in the usual way. In such cases, space can be saved by constructing the truth table so that each symbol and logical operator occurring in the formula is placed in a separate column.

Tautologies

A logical formula that is true under every interpretation is called a tautology.

Logical Equivalence Transformations

Replacing a given logical formula with another logically equivalent formula is called an equivalence transformation.

Equivalent Transformations in Propositional Logic

Replacing a given formula with another formula that is logically equivalent to it is called an equivalent transformation.

Idempotent Laws in Propositional Logic

The disjunction and conjunction of a formula with itself are logically equivalent to the original formula. This property satisfied by conjunction and disjunction is called the idempotent laws.

Commutative Laws in Propositional Logic

The truth value of the conjunction or disjunction of two formulas does not change when the order of the formulas is reversed. This property satisfied by conjunction and disjunction is called the commutative laws.

Associative Laws in Propositional Logic

When taking the conjunction of three formulas without changing their relative order, the formulas ultimately obtained are logically equivalent regardless of the order in which the conjunctions are applied. The same holds for disjunction.

Distributive Laws in Propositional Logic

Conjunction and disjunction satisfy relationships known as the distributive laws. Specifically, the conjunction of a formula with a disjunction is logically equivalent to the disjunction of the corresponding conjunctions, while the disjunction of a formula with a conjunction is logically equivalent to the conjunction of the corresponding disjunctions.

Absorption Laws in Propositional Logic

Given a formula \(A\), take its conjunction \(A\wedge B\) with an arbitrary formula \(B\). If we then take the disjunction \(A\vee(A\wedge B)\), the term \(A\wedge B\) is absorbed, yielding a formula logically equivalent to \(A\). The analogous result also holds when the roles of conjunction and disjunction are interchanged.

De Morgan’s Laws in Propositional Logic

The negation of a conjunction is logically equivalent to the disjunction of the negations, while the negation of a disjunction is logically equivalent to the conjunction of the negations. These relationships are called De Morgan's laws. De Morgan's laws can also be generalized to any finite number of formulas.

Law of Contradiction in Propositional Logic

For any formula, one can construct a contradiction by conjoining the formula with its negation. The law of contradiction states that, under any interpretation, a formula cannot be both true and false at the same time.

Law of Excluded Middle in Propositional Logic

For any formula, one can construct a tautology known as the law of excluded middle. It states that, under any interpretation, a formula is either true or false. In some situations, the law of excluded middle may appear not to hold, but approaches such as fuzzy theory and predicate logic provide ways of addressing such cases.

Identity Laws in Propositional Logic

In logical operations, propositional constants have properties analogous to zero elements and identity elements.

Double Negation Law in Propositional Logic

Since the negation ¬A of a formula A is itself a formula, we can take its negation once again and consider ¬(¬A). This is written as ¬¬A and is called the double negation of A. A formula A and its double negation ¬¬A are logically equivalent.

Rewriting Logical Operations in Propositional Logic

Implication, equivalence, and exclusive disjunction can all be defined indirectly using negation, conjunction, and disjunction.

Law of Contraposition in Propositional Logic

For formulas \(A\) and \(B\), \(B\rightarrow A\) is called the converse of \(A\rightarrow B\), \(\lnot A\rightarrow \lnot B\) is called its inverse, and \(\lnot B\rightarrow \lnot A\) is called its contrapositive. An implication is logically equivalent to its contrapositive, while its converse is logically equivalent to its inverse.

Law of Uniform Substitution in Propositional Logic

If the formulas constituting a tautology are replaced uniformly by arbitrary formulas, the resulting formula is also guaranteed to be a tautology. This property is called the law of uniform substitution.

Principle of Duality in Propositional Logic

When two logically equivalent formulas are given, their duals are also logically equivalent. This property is called the principle of duality.

Inference

Inference is the process of deriving a conclusion about something unknown from what is already known as premises.

Rules of Inference in Propositional Logic

Drawing a conclusion about something unknown on the basis of what is already known is called inference. If the conclusion must be true whenever all the premises are true, the inference is said to be valid. A valid inference is called a rule of inference.

Implication Elimination (Modus Ponens) in Propositional Logic

Given arbitrary formulas \(A\) and \(B\), the rule of inference that derives the conclusion “\(B\)” from the two premises “If \(A\), then \(B\)” and “\(A\)” is called implication elimination, or modus ponens.

Implication Introduction in Propositional Logic

Given arbitrary formulas \(A\), \(B\), and \(C\), if an inference with premises \(A\) and \(B\) and conclusion \(C\) is valid, then the inference with premise \(A\) and conclusion \(B\rightarrow C\) is also valid. This rule of inference is called implication introduction.

Conjunction Elimination in Propositional Logic

Given arbitrary formulas \(A\) and \(B\), the rule of inference that derives the conclusion “\(A\)” (or the conclusion “\(B\)”) from the premise “\(A\) and \(B\)” is called conjunction elimination.

Conjunction Introduction in Propositional Logic

Given arbitrary formulas \(A\) and \(B\), the rule of inference that derives the conclusion “\(A\) and \(B\)” from the two premises “\(A\)” and “\(B\)” is called conjunction introduction.

Disjunction Elimination in Propositional Logic

Given arbitrary formulas \(A\), \(B\), and \(C\), the rule of inference that derives the conclusion “\(C\)” from the three premises “If \(A\), then \(C\),” “If \(B\), then \(C\),” and “\(A\) or \(B\)” is called disjunction elimination.

Disjunction Introduction in Propositional Logic

Given arbitrary formulas \(A\) and \(B\), the rule of inference that derives the conclusion “\(A\) or \(B\)” from the premise “\(A\)” (or from the premise “\(B\)”) is called disjunction introduction.

Double Negation Elimination in Propositional Logic

Given a formula \(A\), the rule of inference that derives the conclusion “\(A\)” from the premise “It is not the case that \(A\) is not true,” that is, from \(\neg\neg A\), is called double negation elimination.

Double Negation Introduction in Propositional Logic

Given an arbitrary formula \(A\), the rule of inference that derives the conclusion “It is not the case that \(A\) is false,” that is, \(\neg\neg A\), from the premise “\(A\) is true” is called double negation introduction.

Negation Elimination in Propositional Logic

If a formula \(A\) and its negation \(\neg A\) are both true, a contradiction can be derived. This rule of inference is called negation elimination.

Negation Introduction in Propositional Logic

If assuming a formula \(A\) leads to a contradiction, then \(\neg A\) must be true. This rule of inference is called negation introduction. Negation introduction provides the logical basis for proof by contradiction.

Negation Introduction (Modus Tollens) in Propositional Logic

For formulas \(A\) and \(B\), the rule of inference that derives the conclusion “\(A\) is false” from the premises “If \(A\), then \(B\)” and “\(B\) is false” is called modus tollens, or denying the consequent.

Disjunctive Syllogism in Propositional Logic

For formulas \(A\) and \(B\), the rule of inference that derives the conclusion “\(B\) is true” from the premises “\(A\) or \(B\)” and “\(A\) is false” is called disjunctive syllogism.

Constructive Dilemma in Propositional Logic

For formulas \(A\), \(B\), \(C\), and \(D\), the rule of inference that derives the conclusion “\(B\) or \(D\)” from the premises “If \(A\), then \(B\),” “If \(C\), then \(D\),” and “\(A\) or \(C\)” is called a constructive dilemma.

Destructive Dilemma in Propositional Logic

For formulas \(A\), \(B\), \(C\), and \(D\), the rule of inference that derives the conclusion “at least one of \(A\) is false or \(C\) is false” from the premises “If \(A\), then \(B\),” “If \(C\), then \(D\),” and “at least one of \(B\) is false or \(D\) is false” is called a destructive dilemma.

Principle of Explosion in Propositional Logic

Any formula can be derived from an arbitrary contradiction. This rule of inference is called the principle of explosion.

Proof

A proof is a procedure for establishing the validity of an inference by starting from premises and repeatedly applying rules of inference until the conclusion is derived.

Proof in Propositional Logic

A method for establishing the validity of an inference by starting from its premises, successively deriving conclusions using laws of logical equivalence and rules of inference, and ultimately deriving the conclusion of the original inference is called a proof or deduction.

Conditional Proof in Propositional Logic

When proving an inference, it is sometimes useful to temporarily assume that a formula other than the premises of the inference is true, and then apply rules of inference to that formula together with the premises. One of the most representative proof methods that makes use of such an assumption is conditional proof.

Proof by Contradiction in Propositional Logic

When the conclusion of an inference is represented by a formula \(B\), suppose that its negation \(\neg B\) is assumed to be true. If, by applying rules of inference to this assumption together with the premises of the inference, one can ultimately derive a contradiction, then by negation introduction \(\neg\neg B\), and hence \(B\), is true. It follows that the inference is valid. This method of proof is called proof by contradiction.

Proof by Contraposition in Propositional Logic

If, starting from the assumption that the conclusion of an inference is false, one can derive that at least one of the premises of the inference is false, then by the law of contraposition the original inference is shown to be valid. This method of proof is called proof by contraposition.

Method of Elimination in Propositional Logic

Suppose an inference is given whose conclusion is expressed as \(B\vee C\) using formulas \(B\) and \(C\). If, starting from the premises of the inference together with the assumption that \(\neg B\) is true, one can show that \(C\) is true, then the original inference has been shown to be valid. This method is called the method of elimination.

Proof by Cases and Exhaustive Proof

When a given inference is complex, it is often useful to divide it into several simpler inferences and then prove the validity of each of them. This method of proof is called proof by cases.

Review Test

A review test on propositional logic.

Learning Guide

Latest Discussions

Related Fields

Set Theory

Set theory is the common language of modern mathematics. Focusing on sets, functions, relations, cardinality, and order relations, this course systematically explains the fundamental concepts needed to understand a wide range of mathematical fields. It provides a foundation for further study in areas such as real analysis, linear algebra, and topology.

Predicate Logic

Whereas the basic units of propositional logic are propositional variables, the basic units of predicate logic are concepts called propositional functions. This makes it possible to express a broader range of statements and also introduces operations known as quantification.

Table of Contents

ログイン

アカウントにログインして、学習ノートやブックマーク、投稿記事などを管理できます。