introduction to Logical Forms
Formal logic is the branch of mathematics that deals with the principles of valid reasoning and argumentation. It provides a systematic framework for analyzing statements and their relationships, allowing us to determine the truth or falsity of an argument based on its structure. In formal logic, we aren’t really concerned with the actual content of statements, but rather with its form and structure.
Basic Concepts
It is helpful to start with some basic concepts in formal logic. Of course, it is not possible to cover all aspects of formal logic in a single introduction, but we will touch on some of the fundamental ideas. It is also difficult to start from absolute zero, so we will take some definitions for granted.
Propositions and Variables
Let’s begin with the building blocks of an argument.
Variables
A variable is a placeholder typically represented by some symbol that can take on different values and are used when talking about something with an unknown value or to represent a general case rather than a specific instance.
Propositions
A proposition (sometimes called a Statement) is a sentence that is strictly either true or false. There can be no ambiguity: the truth value must be ascertained without any additional context. A sentence such as “Black is a color.” and are examples of a proposition. A statement such as is not a proposition, because its truth value depends on the value of and is therefore ambigious.
There are a number of common propostions that are used in formal logic:
- A Universal Propostion states that a certain property holds for all elements in a given set (which we define as a collection of objects). They tend to contain language such as “for all…”
- An Existential Propostion states that there is at least one element in a given set for which a certain property holds. They tend to contain language such as “there exists…”
- A Conditional Propostion states that if one statement (the antecedent) is true, then another statement (the consequent) is also true. We will discuss these more later in this section. COnditional Propositions are typically expressed in the form “If … then ..”
Logical Forms
In formal logic, an argument is not a verbal fight between two people, but rather a sequence of propositions (called premises) that aim to establish the truth of an assertion (the conclusion). Before we start analyzing arguments, we need to understand how to represent them in logical form.
As mentioned earlier, In formal logic, we are more concerned with the logical form rather than the specific content. The logical form of an argument is ascertained from its content. The form is essentially an abstract representation of the argument that focuses on the relationships between its premises, thus allowing us to evaluate the validity of an argument just from its form. To create this abstract representation, we often use symbols to represent the premises and utilize logical connectives.
A propositional variable is a symbol that represents a proposition, and are typically denoted with symbols like . We can chain together multiple propositional variables using logical connectives to form more complex propositions.
Logical Connectives
Notice how we used logical connectives to build more complex propositions from simpler ones. Some common logical connectives include:
- Negation (): Represents “not p”, means “not .”
- If represents “It is raining”, then represents “It is not raining”.
- Convention may vary across different disciplines (because we like making life difficult)
- Symbols like , or are also used to denote the negation of .
- If is true, then is false; if is false, then is true.
- Conjunction (): Represents ” and ”. means ” and .”
- If represents “It is raining” and represents “It is soggy”, then represents “It is raining and it is soggy.”
- but means the same thing as .
- is true only if both and are true; otherwise, it is false.
- Disjunction (): Represents ” or ”. means ” or .”
- If represents “It is raining” and represents “It is sunny”, then represents “It is raining or it is sunny.”
- Neither nor means the same thing as .
- We generally interpret “or” in the inclusive sense, meaning that is at least one of or is true, then is true. (both can be true as well).
- Implication (): Represents “If , then ”. means “If , then .”
- We call statements of this form conditional statements or implications, as the value of is conditional on the value of .
- If represents “It is raining” and represents “The ground is wet”, then represents “If it is raining, then the ground is wet.”
- We say implies .
- only if means the same thing as .
- is false only if is true and is false; otherwise, it is true.
- This may seem counterintuitive at first, but remember that if is false, then the implication is considered true regardless of the truth value of . Such statements are consided to be vacuously true. Thus, is only false when a true premise leads to a false conclusion.
We will discuss more logical connectives later on, but these are the most common ones used in propositional logic.
Using these logical connectives, we can construct complex arguments and ascertain their truth value. We can now analyze the logical structure of arguments and determine their validity based on the truth values of their components.
Tautologies and Contradictions
A tautology is a propositional statement that is always true, regardless of the truth values of its components. An example of a tautology is the statement , which states that either is true or is not true. This statement is always true because one of the two possibilities must hold.
A contradiction is a propositional statement that is always false, regardless of the truth values of its components. An example of a contradiction is the statement , which states that is both true and not true at the same time. This statement is always false because it is impossible for both conditions to hold simultaneously.
Some philosophers argue that mathematics is just a collection of tautologies. Of course, this is incorrect as mathematics is just a Government PsyOp. I jest, but this topic is quite interesting. Imre Lakatos, a mathematical philosopher, wrote a famous book about it. You can read more here .
Evaluating Propostional Statements
To evaluate the truth value of a logical form, we can use tools such as truth tables. We can systematically list all possible truth values for the propositions involved and determine the truth value of the overall statement based on the logical connectives used.
We can write the truth tables for , and as follows:
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | F |
| T | T | T |
| T | F | T |
| F | T | T |
| F | F | F |
| T | F |
| F | T |
| T | T | T |
| T | F | F |
| F | T | T |
| F | F | T |
These truth tables help us understand how the truth values of complex propositions are determined based on the truth values of their components. By using these tools, we can analyze and evaluate arguments in formal logic effectively.
We can chain together multiple propositions using these logical connectives to form more complex statements. For example, we can create a statement like:
Operations are evaluated based on their precedence. Negation has the highest precedence. Parentheses can be used to explicitly specify the order of operations. Statements such as are ambigious, so it is better to use parentheses to clarify the intended meaning, like so
The truth table for complex statements can be constructed by evaluating the truth values of their components step by step. Start from the innermost expressions and work your way outwards. The truth table for the above statement would look like this:
| T | T | T | T | F | F |
| T | T | F | T | T | T |
| T | F | T | F | F | T |
| T | F | F | F | T | T |
| F | T | T | F | F | T |
| F | T | F | F | T | T |
| F | F | T | F | F | T |
| F | F | F | F | T | T |
Two statements are logically equivalent if they have the same truth value in every possible scenario. Logical equivalences can be used to simplify complex statements or to prove the validity of arguments.
Try to create some some propositions statements and plug them into truth tables to see how they work! Ensure your statements are well-defined and unambiguous.
Logical Equivalences
Logical equivalences are statements that are always true and can be used to simplify complex logical expressions. Suppose that are propositional variables and are a tautology and contradiction respectively. We have the following logical equivalences:
Commutativity
Associativity
Distrubutivity
Identity Laws
Negation
Double Negation
Idempotent Laws
Universal Bound Laws
Absorption Laws
De Morgan’s Laws
De Morgan’s laws are essentailly a distrubution rule for negation over conjunctions and disjunctions. They state the following equivalences:
- The negation of a conjunction is equivalent to the disjunction of the negations:
- The negation of a disjunction is equivalent to the conjunction of the negations:
Proof of De Morgan’s Laws
We can prove De Morgan’s laws using truth tables. Let’s start with the first law:
| T | T | T | F | F | F | F |
| T | F | F | T | F | T | T |
| F | T | F | T | T | F | T |
| F | F | F | T | T | T | T |
Observe that the columns for and are identical, confirming the first of De Morgan’s Laws. Now, let’s prove the second law:
| T | T | T | F | F | F | F |
| T | F | T | F | F | T | F |
| F | T | T | F | T | F | F |
| F | F | F | T | T | T | T |
Observe that the columns for and are identical, confirming the second of De Morgan’s Laws.
More on Conditional Statements and Implication
Logical Equivalences of Conditional Statements
Conditional Statements, also known as implications, are a fundamental concept in formal logic. A conditional statement is typically expressed in the form “If , then ,” denoted as . Here, is called the antecedent (or premise), and is called the consequent (or conclusion). Arguments involving conditional statements are used to establish relationships between propositions and to derive conclusions based on given premises. Logical inferencing often relies on understanding and manipulating these conditional statements. We can express conditional statements using other logical connectives.
Recall, the truth table for implication () is given by
| T | T | T |
| T | F | F |
| F | T | T |
| F | F | T |
We have is logicallly equivalent to .
Addtionally, we have the contrapositive of a conditional statement. If we have , the contrapositive is the statement . The contrapositive is logically equivalent to the original conditional statement. This means that if is true, then is also true, and vice versa. Sometimes, the contrapositive might be easier to prove or work with than the original implication. This usage is a fundamental concept in logic and is often used in mathematical proofs and reasoning.
Proof of Logical Equivalence of Conditional Statements
To prove that is logically equivalent to , we can construct a truth table for both expressions and compare their truth values.
| T | T | T | F | T |
| T | F | F | F | F |
| F | T | T | T | T |
| F | F | T | T | T |
Observe that the columns for and are identical, confirming that is logically equivalent to .
To prove that is logically equivalent to its contrapositive , we can construct a truth table for both expressions and compare their truth values.
| T | T | T | F | F | T |
| T | F | F | T | F | F |
| F | T | T | F | T | T |
| F | F | T | T | T | T |
Observe that the columns for and are identical, confirming that is logically equivalent to its contrapositive .
Converses and Inverses
We can define the converse and inverse of a conditional statement as follows:
- The converse is the statement . The converse is not logically equivalent to the original conditional statement.
- The inverse is the statement . The inverse is also not logically equivalent to the original conditional statement
Conditions
only if q means “if not p then not q”. In logical form, this is expressed as .
A biconditional statement is a statement that combines two conditional statements: “if then ” and “if then ”. It is denoted as and is read as ” if and only if ”. A biconditional statement is true when both and have the same truth value (both true or both false) and false otherwise. In logical form, a biconditional statement can be expressed as the conjunction of two implications: .
Proof of Logical Equivalence of Biconditional Statements
To prove that is logically equivalent to , we can construct a truth table for both expressions and compare their truth values.
| T | T | T | T | T | T |
| T | F | F | F | T | F |
| F | T | F | T | F | F |
| F | F | T | T | T | T |
Observe that the columns for and are identical, confirming that is logically equivalent to .
Suppose that are propositional variables.
We say that is a sufficient condition for if we have .
We say that is a necessary condition for if we have . We can write this with the contrapositive as if not then not as .
The biconditional statement indicates that is both a necessary and sufficient condition for . In other words, is true if and only if is true.