All Topics  
Tautology (logic)

 

   Email Print
   Bookmark   Link






 

Tautology (logic)



 
 
In propositional logic, a tautology (from the Greek
Greek language

Greek is an Indo-European languages native to the southern Balkan peninsula, the language of the Greek people. It forms an independent branch within Indo-European....
 word ta?t?????a) is a propositional formula
Propositional formula

In propositional logic, a propositional formula is a type of syntactic Formula which is well formed formula and has a truth value. If the values of all variables in a propositional formula are given, it determines a unique truth value....
 that is true under any possible valuation
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....
 (also called a truth assignment or an interpretation
Interpretation (logic)

In logic an interpretation gives meaning to an artificial or formal language or to a Sentence of such a language by assigning a denotation to each non-logical symbol in that language or in that sentence....
) of its propositional variables. For example, the propositional formula ("A or not-A") is a tautology, because the statement is true for any valuation of A. Examples can be more complex such as ("A and B; or not-A; or not-B").






Discussion
Ask a question about 'Tautology (logic)'
Start a new discussion about 'Tautology (logic)'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In propositional logic, a tautology (from the Greek
Greek language

Greek is an Indo-European languages native to the southern Balkan peninsula, the language of the Greek people. It forms an independent branch within Indo-European....
 word ta?t?????a) is a propositional formula
Propositional formula

In propositional logic, a propositional formula is a type of syntactic Formula which is well formed formula and has a truth value. If the values of all variables in a propositional formula are given, it determines a unique truth value....
 that is true under any possible valuation
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....
 (also called a truth assignment or an interpretation
Interpretation (logic)

In logic an interpretation gives meaning to an artificial or formal language or to a Sentence of such a language by assigning a denotation to each non-logical symbol in that language or in that sentence....
) of its propositional variables. For example, the propositional formula ("A or not-A") is a tautology, because the statement is true for any valuation of A. Examples can be more complex such as ("A and B; or not-A; or not-B"). The philosopher Ludwig Wittgenstein
Ludwig Wittgenstein

Ludwig Josef Johann Wittgenstein was an Austrian-United Kingdom philosopher who worked primarily in logic, the philosophy of mathematics, the philosophy of mind, and the philosophy of language....
 first applied the term to propositional logic in 1921.

A tautology's negation is a contradiction
Contradiction

In classical logic, a contradiction consists of a logical incompatibility between two or more propositions. It occurs when the propositions, taken together, yield two logical consequences which form the logical inversions of each other....
, a propositional formula that is false regardless of the truth values of its propositional variables. Such propositions are called unsatisfiable. Conversely, a contradiction's negation is a tautology. A formula that is neither a tautology nor a contradiction is said to be logically contingent. Such a formula can be made either true or false based on the values assigned to its propositional variables.

A key property of tautologies is that an effective method
Effective method

An effective method for a class of problems is a method for which each step in the method may be described as a mechanical operation and which, if followed rigor, and as far as may be necessary, is bound to:...
 exists for testing whether a given formula is always satisfied (or, equivalently, whether its complement is unsatisfiable). One such method uses truth table
Truth table

A truth table is a mathematical table used in logic?specifically in connection with Boolean algebra , boolean functions, and propositional calculus?to compute the functional values of logical expression s on each of their functional arguments, that is, on each combination of values taken by their logical variables....
s. The decision problem
Decision problem

In computability theory and computational complexity theory, a decision problem is a question in some formal system with a yes-or-no answer, depending on the values of some input parameters....
 of determining whether a formula is satisfiable is the Boolean satisfiability problem
Boolean satisfiability problem

Satisfiability is the problem of determining if the variables of a givenBoolean logic formula can be assigned in such a way as to make the formula...
, an important example of an NP-complete
NP-complete

In computational complexity theory, the complexity class NP-complete is a class of problems having two properties:* Any given solution to the problem can be verified quickly ; the set of problems with this property is called NP ....
 problem in computational complexity theory
Computational complexity theory

Computational complexity theory, as a branch of the theory of computation in computer science, investigates the problems related to the Computational resource required for the execution of algorithms , and the inherent difficulty in providing efficient algorithms for specific computational problems....
.

The notation is used to indicate that S is a tautology. The symbol is sometimes used to denote an arbitrary tautology, with the dual symbol (falsum) representing an arbitrary contradiction.

History

The word tautology was used by the ancient Greeks to describe a statement that was true merely by virtue of saying the same thing twice, a pejorative meaning that is still used for rhetorical tautologies
Tautology (rhetoric)

In rhetoric, a tautology is an unnecessary or unessential repetition of meaning, using different and dissimilar words that effectively say the same thing twice by repeating the meaning ....
. Between 1800 and 1940, the word gained new meaning in logic, and is currently used in mathematical logic to denote a certain type of proposition formula, without the pejorative connotations it originally possessed.

In 1800, Immanuel Kant
Immanuel Kant

Immanuel Kant was an 18th-century German Philosophy from the Kingdom of Prussia city of K?nigsberg . He is regarded as one of the most influential thinkers of modern Europe and of the late Age of Enlightenment....
 wrote in his book Logic:
"The identity of concepts in analytical judgments can be either explicit (explicita) or non-explicit (implicita). In the former case analytic propositions are tautological."
Here analytic proposition refers to an analytic truth, a statement in natural language that is true solely because of the terms involved.

In 1884, Gottlob Frege
Gottlob Frege

Friedrich Ludwig Gottlob Frege was a Germany mathematics who became a logician and philosophy. He helped found both modern mathematical logic and analytic philosophy....
 proposed in his Grundlagen that a truth is analytic exactly if it can be derived using logic. But he maintained a distinction between analytic truths (those true based only on the meanings of their terms) and tautologies (statements devoid of content).

In 1921, in his Tractatus Logico-Philosophicus
Tractatus Logico-Philosophicus

Tractatus Logico-Philosophicus is the only book-length philosophical work published by the Austrian philosopher Ludwig Wittgenstein during his lifetime....
, Ludwig Wittgenstein
Ludwig Wittgenstein

Ludwig Josef Johann Wittgenstein was an Austrian-United Kingdom philosopher who worked primarily in logic, the philosophy of mathematics, the philosophy of mind, and the philosophy of language....
 proposed that statements that can be deduced by logical deduction are tautological (empty of meaning) as well as being analytic truths. Henri Poincaré
Henri Poincaré

Jules Henri Poincar? was a French mathematician and theoretical physicist, and a philosophy of science. Poincar? is often described as a polymath, and in mathematics as The Last Universalist, since he excelled in all fields of the discipline as it existed during his lifetime....
 had made similar remarks in Science and Hypothesis in 1905. Although Bertrand Russell
Bertrand Russell

Bertrand Arthur William Russell, 3rd Earl Russell, Order of Merit , Fellow of the Royal Society , was a British people philosopher, mathematical logic, mathematician, historian, advocate for social reform, and pacifism....
 at first argued against these remarks by Wittgenstein and Poincaré, claiming that mathematical truths were not only non-tautologous but were synthetic, he later spoke in favor of them in 1918:
"Everything that is a proposition of logic has got to be in some sense or the other like a tautology. It has got to be something that has some peculiar quality, which I do not know how to define, that belongs to logical propositions but not to others."
Here logical proposition refers to a proposition that is provable using the laws of logic.

During the 1930s, the formalization of the semantics of propositional logic in terms of truth assignments was developed. The term tautology began to be applied to those propositional formulas that are true regardless of the truth or falsity of their propositional variables. Some early books on logic (such as Symbolic Logic by Lewis and Langford, 1932) used the term for any proposition (in any formal logic) that is universally valid. It is common in presentations after this (such as Kleene 1967 and Enderton 2002) to use tautology to refer to a logically valid propositional formula, but to maintain a distinction between tautology and logically valid in the context of first-order logic (see below).

Background


Propositional logic begins with propositional variables, atomic units that represent concrete propositions. A formula consists of propositional variables connected by logical connectives in a meaningful way, so that the truth of the overall formula can be uniquely deduced from the truth or falsity of each variable. A valuation is a function that assigns each propositional variable either T (for truth) or F (for falsity). So, for example, using the propositional variables A and B, the binary connectives and representing disjunction and conjunction
Conjunction

Conjunction can refer to:*Conjunction , an astronomical phenomenon*Astrological aspect, an aspect in horoscopic astrology*Grammatical conjunction, a part of speech...
, respectively, and the unary connective representing negation
Negation

In logic and mathematics, negation or not is an operation on logical values, for example, the logical value of a proposition, that sends true to false and false to true....
, the following formula can be obtained: . A valuation here must assign to each of A and B either T or F. But no matter how this assignment is made, the overall formula will come out true. For if the first disjunct is not satisfied by a particular valuation, then one of A and B is assigned F, which will cause the corresponding later disjunct to be T.

Definition and examples

A formula of propositional logic is a tautology if the formula itself is always true regardless of which valuation is used for the propositional variables.

There are infinitely many tautologies. Examples include:
  • ("P or not-P"), the law of the excluded middle. This formula has only one propositional variable, P. Any valuation for this formula must, by definition, assign one of the truth values true or false, and assign the other truth value.
  • ("if A implies B then not-B implies not-A", and visa versa), which expresses the law of contraposition
    Contraposition

    In traditional logic, contraposition is a form of immediate inference in which from a given proposition another is inferred having for its subject the contradictory of the original predicate , and in some cases involving a change of quality ....
    .


Verifying tautologies

The problem of determining whether a formula is a tautology is fundamental in propositional logic. The definition suggests one method: proceed by cases and verify that every possible valuation does satisfy the formula. An algorithmic method of verifying that every valuation causes this sentence to be true is to make a truth table
Truth table

A truth table is a mathematical table used in logic?specifically in connection with Boolean algebra , boolean functions, and propositional calculus?to compute the functional values of logical expression s on each of their functional arguments, that is, on each combination of values taken by their logical variables....
 that includes every possible valuation.

For example, consider the formula There are 8 possible valuations for the propositional variables A, B, C, represented by the first three columns of the following table. The remaining columns show the truth of subformulas of the formula above, culminating in a column showing the truth value of the original formula under each valuation.
ABC     
TTTTTTTT
TTFTFFFT
TFTFTTTT
TFFFTTTT
FTTFTTTT
FTFFTFTT
FFTFTTTT
FFFFTTTT
Because each row of the final column shows T, the sentence in question is verified to be a tautology.

It is also possible to define a deductive system
Deductive system

A deductive system consists of the axioms and rules of inference that can be used to formal proof the theorems of the system.Such a deductive system is intended to preserve deduction qualities in the formula s that are expressed in the system....
 (proof system) for propositional logic, as a simpler variant of the deductive systems employed for first-order logic
First-order logic

First-order logic is a formal deductive system used in mathematics, philosophy, linguistics, and computer science. It goes by many names, including: first-order predicate calculus , the lower predicate calculus, the language of first-order logic or predicate logic....
 (see Kleene 1957, Sec 1.9 for one such system). A proof of a tautology in an appropriate deduction system may be much shorter than a complete truth table (a formula with n propositional variables requires a truth table with 2nlines, which quickly becomes infeasible as n increases). Proof systems are also required for the study of intuitionistic propositional logic, in which the method of truth tables cannot be employed because the law of the excluded middle is not assumed.

Tautological implication


A formula R is said to tautologically imply a formula S if every valuation that causes R to be true also causes S to be true. This situation is denoted . It is equivalent to the formula being a tautology (Kleene 1967 p. 27).

For example, let S be . Then S is not a tautology, because any valuation that makes A false will make S false. But any valuation that makes A true will make S true, because is a tautology. Let R be the formula . Then , because any valuation satisfying R makes A true and thus makes S true.

It follows from the definition that if a formula R is a contradiction then R tautologically implies every formula, because there is no truth valuation that causes R to be true and so the definition of tautological implication is trivially satisfied. Similarly, if S is a tautology then S is tautologically implied by every formula.

Substitution


There is a general procedure, the substitution rule, that allows additional tautologies to be constructed from a given tautology (Kleene 1967 sec. 3). Suppose that S is a tautology and for each propositional variable A in S a fixed sentence SA is chosen. Then the sentence obtained by replacing each variable A in S with the corresponding sentence SA is also a tautology.

For example, let S be , a tautology. Let SA be and let SB be . It follows from the substitution rule that the sentence is a tautology.

Efficient verification and the Boolean satisfiability problem


The problem of constructing practical algorithms to determine whether sentences with large numbers of propositional variables are tautologies is an area of contemporary research in the area of automated theorem proving
Automated theorem proving

Automated theorem proving or automated deduction, currently the most well-developed subfield of automated reasoning , is the mathematical proof of mathematical theorems by a computer program....
.

The method of truth tables illustrated above is provably correct – the truth table for a tautology will end in a column with only T, while the truth table for a sentence that is not a tautology will contain a row whose final column is F, and the valuation corresponding to that row is a valuation that does not satisfy the sentence being tested. This method for verifying tautologies is an effective procedure, which means that given unlimited computational resources it can always be used to mechanistically determine whether a sentence is a tautology. This means, in particular, the set of tautologies over a fixed finite or countable alphabet is a decidable set.

As an efficient procedure, however, truth tables are constrained by the fact that the number of valuations that must be checked increases as 2k, where k is the number of variables in the formula. This exponential growth in the computation length renders the truth table method useless for formulas with thousands of propositional variables, as contemporary computing hardware cannot execute the algorithm in a feasible time period.

The problem of determining whether there is any valuation that makes a formula true is the Boolean satisfiability problem
Boolean satisfiability problem

Satisfiability is the problem of determining if the variables of a givenBoolean logic formula can be assigned in such a way as to make the formula...
; the problem of checking tautologies is equivalent to this problem, because verifying that a sentence S is a tautology is equivalent to verifying that there is no valuation satisfying . It is known that the Boolean satisfiability problem is NP complete, and widely believed that there is no polynomial-time algorithm that can perform it. Current research focuses on finding algorithms that perform well on special classes of formulas, or terminate quickly on average even though some inputs may cause them to take much longer.

Tautologies versus validities in first-order logic


The fundamental definition of a tautology is in the context of propositional logic. The definition can be extended, however, to sentences in first-order logic
First-order logic

First-order logic is a formal deductive system used in mathematics, philosophy, linguistics, and computer science. It goes by many names, including: first-order predicate calculus , the lower predicate calculus, the language of first-order logic or predicate logic....
 (see Enderton (2002, p. 114) and Kleene (1967 secs. 17–18)). These sentences may contain quantifiers, unlike sentences of propositional logic. In the context of first-order logic, a distinction is maintained between logical validities, sentences that are true in every model, and tautologies, which are a proper subset of the first-order logical validities. In the context of propositional logic, these two terms coincide.

A tautology in first-order logic is a sentence that can be obtained by taking a tautology of propositional logic and uniformly replacing each propositional variable by a first-order formula (one formula per propositional variable). For example, because is a tautology of propositional logic, is a tautology in first order logic. Similarly, in a first-order language with a unary relation symbols R,S,T, the following sentence is a tautology: It is obtained by replacing A with , B with , and C with in the propositional tautology considered above.

Not all logical validities are tautologies in first-order logic. For example, the sentence is true in any first-order interpretation, but it corresponds to the propositional sentence which is not a tautology of propositional logic.

Tautology and its application in Logic Synthesis

In Logic Synthesis
Logic synthesis

Logic synthesis is a process by which an abstract form of desired circuit behavior is turned into a design implementation in terms of logic gates....
 tautology plays an important role especially for Logic Optimization
Logic optimization

Logic optimization a part of logic synthesis, is the process of finding an equivalent representation of the specified logic circuit under one or more specified constraints....
. Though the problem is intractable, whether or not a function is a tautology can be efficiently answered using the Recursive Paradigm. Any binary-valued function F is a tautology if and only if its cofactors with respect to any variable and its complement are both tautologies. Hence it can be easily concluded whether or not a function F is reducible to a tautology by recursive Shannon expansion
Shannon expansion

In mathematics, Shannon's expansion or the Shannon decomposition is a method by which a Boolean function can be represented by the sum of two sub-functions of the original....
 and the application of the above theorem.

See also


Normal forms

  • Algebraic normal form
    Algebraic normal form

    In Boolean logic, the algebraic normal form is a method of standardizing and normalizing logical formulas. As a normal form, it can be used in automated theorem proving , but is more commonly used in the design of cryptography random number generators, specifically linear feedback shift registers ....
  • Conjunctive normal form
    Conjunctive normal form

    In boolean logic, a formula is in conjunctive normal form if it is a logical conjunction of clause , where a clause is a logical disjunction of literal s....
  • Disjunctive normal form
    Disjunctive normal form

    In boolean logic, a disjunctive normal form is a standardization of a logical formula which is a disjunction of conjunctive clause . As a normal form, it is useful in automated theorem proving....
  • Logic optimization
    Logic optimization

    Logic optimization a part of logic synthesis, is the process of finding an equivalent representation of the specified logic circuit under one or more specified constraints....


Related logical topics

  • Boolean algebra (logic)
  • Boolean domain
    Boolean domain

    In mathematics and abstract algebra, a Boolean domain is a Set consisting of exactly two elements whose interpretations include false and true....
  • Boolean function
    Boolean function

    In mathematics, a Boolean function is a function of the form f : Bk ? B, where B =  is a Boolean domain and k is a nonnegative integer called the arity of the function....
  • First-order logic
    First-order logic

    First-order logic is a formal deductive system used in mathematics, philosophy, linguistics, and computer science. It goes by many names, including: first-order predicate calculus , the lower predicate calculus, the language of first-order logic or predicate logic....
  • Logical consequence
    Logical consequence

    Logical consequence is a fundamental concept in logic. It is the Relation that holds between a Set of Sentence and a sentence when the former Entailment the latter....
  • Logical graph
    Logical graph

    A logical graph is a special type of diagramatic structure in any one of several systems of graphical syntax that Charles Sanders Peirce developed for logic....
  • Propositional logic
  • Table of logic symbols
    Table of logic symbols

    In logic, a set of symbols is commonly used to express logical representation. As logicians are familiar with these symbols, they are not explained each time they are used....
  • Truth table
    Truth table

    A truth table is a mathematical table used in logic?specifically in connection with Boolean algebra , boolean functions, and propositional calculus?to compute the functional values of logical expression s on each of their functional arguments, that is, on each combination of values taken by their logical variables....
  • Vacuous truth
    Vacuous truth

    A vacuous truth is a truth that is devoid of content because it asserts something about all members of a class that is empty or because it says "If A then B" when in fact A is false....


External links