Logic (from Classical Greek λόγος (logos), originally meaning the word, or what is spoken, (but coming to mean thought or reason) is most often said to be the study of arguments, although the exact definition of logic is a matter of controversy amongst philosophers (see below). However the subject is grounded, the task of the logician is the same: to advance an account of valid and fallacious inference to allow one to distinguish good from bad arguments.
Traditionally, logic is studied as a branch of philosophy. Since the mid-1800s logic has been commonly studied in mathematics, and, even more recently, in computer science. As a science, logic investigates and classifies the structure of statements and arguments, and devises schemata by which these are codified. The scope of logic can therefore be very large, including reasoning about probability and causality. Also studied in logic are the structure of fallacious arguments and paradoxes.
- 1 Nature of logic
- 2 Topics in logic
- 3 Controversies in logic
- 4 Symbols used in logic
- 5 References
- 6 External links
Nature of logic
Due to its fundamental role in philosophy, the nature of logic has been the object of intense disputation, and it is not possible to give a clear delineation of the bounds of logic in terms acceptable to all rival viewpoints. Nonetheless, the study of logic has, despite this fundamental controversy, been very coherent and technically grounded. Here we characterise logic, first by introducing the fundamental ideas about form, then outlining in broad terms some of the most influential rival conceptions of the subject, giving a brief overview of its history and then give an account of its relationship to other science, and finally go on to provide an exposition of some essential concepts.
Informal, formal and symbolic logic
The crucial concept of form is central to discussions of the nature of logic, and it complicates matters that 'formal' in "formal logic" is commonly used in an ambiguous manner. We shall start by giving definitions that we shall adhere to in the rest of this article:
- Informal logic is the study of natural language arguments and fallacies
- An inference possesses a purely formal structure if it can be expressed as a particular application of a wholly abstract rule, that is a rule that is not about any particular thing or property. We will see later that on many definitions of logic, logical inference and inference with purely formal structure are the same thing. This does not render the notion of informal logic vacuous, since one may wish to investigate logic without committing to a particular formal analysis.
- Formal logic is the study of logical inference whose validity derives from its explicitly formal structure.
- Symbolic logic is the study of symbolic abstractions that capture the formal features of logical inference.
The ambiguity is that "formal logic" is very often used with the alternate meaning of symbolic logic as we have defined it, with informal logic meaning any logical investigation that does not involve symbolic abstraction; it is this sense of 'formal' that is parallel to the received usages coming from "formal languages" or "formal theory".
While on the above analysis, formal logic is old, dating back more than two millenia, symbolic logic is comparatively new, and arises with the application of insights from mathematical abstraction to problems in logic. Certain conventions have become prevalent in the symbolic analysis of logic: the logic is captured by a formal systems, comprising a formal language, which describes a set of formulas, a set of rules of derivation. The formulas will normally be intended to represent claims that we may be interested in, and likewise the rules of derivation represent inferences; such systems usually have an intended interpretation.
Within this formal system, the rules of derivation and potential axioms then specify a set of theorems, which are formulas that are derivable using the rules of derivation. The most essential property of a logical formal system is soundness, which is the property that under interpretation, all of the rules of derivation are valid inferences. The theorems of a sound formal system are then truths. A minimal condition which a sound system should satisfy is consistency, meaning that no theorem contradicts another. Also important is completeness, meaning that everything true is also provable. However, when the language of logic reaches a certain degree of expressiveness (say, second-order logic), completeness becomes impossible to achieve in principle.
In the case of formal logical systems, the theorems are often interpretable as expressing logical truths (tautologies), and in this way can such systems be said to capture at least a part of logical truth and inference.
Formal logic encompasses a wide variety of logical systems. Various systems of logic we will discuss later can be captured in this framework, such as term logic, predicate logic and modal logic, and formal systems are indispensable in all branches of mathematical logic.
Rival conceptions of logic
Logic arose (see below) from a concern with correctness of argumentation. The conception of logic as the study of argument is historically fundamental, and was how the founders of distinct traditions of logic, namely Aristotle, Mozi and Aksapada Gautama, conceived of logic. Modern logicians usually wish to ensure that logic studies just those arguments that arise from appropriately general forms of inference; so for example the Stanford Encyclopedia of Philosophy says of logic that it does not, however, cover good reasoning as a whole. That is the job of the theory of rationality. Rather it deals with inferences whose validity can be traced back to the formal features of the representations that are involved in that inference, be they linguistic, mental, or other representations (Hofweber 2004).
By contrast Immanuel Kant introduced an alternative idea as to what logic is. He argued that logic should be conceived as the science of judgement, an idea taken up in Gottlob Frege's logical and philosophical work, where thought (Gedanke) is substituted for the judgement (Urteil). On this conception, the valid inferences of logic follow from the structural features of judgements or thoughts.
A third view of logic arises from the idea that logic is more fundamental than reason, and so that logic is the science of states of affairs, in general. Barry Smith locates Franz Brentano as the source for this idea, an idea he claims reaches its fullest development in the work of Adolf Reinach (Smith 1989). This view of logic appears radically distinct from the first: on this conception logic has no essential connection with argument, and the study of fallacies and paradoxes no longer appears essential to the discipline.
Occasionally one encounters a fourth view as to what logic is about: it is a purely formal manipulation of symbols according to some prescribed rules. This conception can be criticized on the grounds that the manipulation of just any formal system is usually not regarded as logic. Such an account omits an explanation of what it is about certain formal systems that makes them systems of logic.
History of logic
- Main article: History of logic
While many cultures have employed intricate systems of reasoning, logic as an explicit analysis of the methods of reasoning received sustained development originally only in three places: China in the 5th century BCE, and India and Greece between the 2nd century BCE and the 1st century BCE.
The formally sophisticated treatment of modern logic apparently descends from the Greek tradition, although it is suggested that the pioneers of Boolean logic were likely aware of Indian logic (Ganeri 2001) but comes not wholly through Europe, but instead comes from the transmission of Aristotelian logic and commentary upon it by Islamic philosophers to Medieval logicians. The traditions outside Europe did not survive into the modern era: in China, the tradition of scholarly investigation into logic was repressed by the Qin dynasty following the legalist philosophy of Han Feizi, in the Islamic world the rise of the Asharite school suppressed original work on logic, and in India, though innovation in the scholastic school continued into the early 18th century, it did not survive long into the colonial period.
Relation to other sciences
Logic is related to rationality and the structure of concepts, and so has a degree of overlap with psychology. Logic is generally understood to describe reasoning in a prescriptive manner, that is, it describes how reasoning ought to take place, however, whereas psychology is descriptive, so the overlap is not so marked. Gottlob Frege, for example, was adamant about anti-psychologism: that logic should be understood in a manner independent of the idiosyncrasies of how particular people might reason.
Deductive and inductive reasoning
Originally, logic consisted only of deductive reasoning which concerns what follows universally from given premises. However, it is important to note that inductive reasoning—the study of deriving a reliable generalization from observations—has sometimes been included in the study of logic. Correspondingly, we must distinguish between deductive validity and inductive validity. An inference is deductively valid if and only if there is no possible situation in which all the premises are true and the conclusion false. The notion of deductive validity can be rigorously stated for systems of formal logic in terms of the well-understood notions of semantics. Inductive validity on the other hand requires us to define a reliable generalization of some set of observations. The task of providing this definition may be approached in various ways, some less formal than others; some of these definitions may use mathematical models of probability. For the most part our discussion of logic deals only with deductive logic.
Topics in logic
Throughout history, there has been interest in distinguishing good from bad arguments, and so logic has been studied in some more or less familiar form. Aristotelian logic has principally been concerned with teaching good argument, and is still taught with that end today, while in mathematical logic and analytical philosophy much greater emphasis is placed on logic as an object of study in its own right, and so logic is studied at a more abstract level.
Consideration of the different types of logic explains that logic is not studied in a vacuum. While logic often seems to provide its own motivations, the subject develops most healthily when the reason for our interest is made clear.
- Main article: Aristotelian logic
The Organon was Aristotle's body of work on logic, with the Prior Analytics constituting the first explicit work in formal logic, introducing the syllogistic. The parts of syllogistic, also known by the name term logic, were the analysis of the judgements into propositions consisting of two terms that are related by one of a fixed number of relations, and the expression of inferences by means of syllogisms that consisted of two propositions sharing a common term as premise, and a conclusion which was a proposition involving the two unrelated terms from the premises.
Aristotle's work was regarded in classical times and from medieval times in Europe and the Middle East as the very picture of a fully worked out system. It was not alone: the Stoics proposed a system of propositional logic that was studied by medieval logicians; nor was the perfection of Aristotle's system undisputed; for example the problem of multiple generality was recognised in medieval times. Nonetheless, problems with syllogistic were not seen as being in need of revolutionary solutions.
Today, Aristotle's system is mostly seen as of historical value (though there is some current interest in extending term logics), regarded as made obsolete by the advent of the predicate calculus.
- Main article: Predicate logic
Logic as it is studied today is a very different subject to that studied before, and the principal difference is the innovation of predicate logic. Whereas Aristotelian syllogistic specified the forms that the relevant parts of the involved judgements took, predicate logic allows sentences to be analysed into subject and argument in several different ways, thus allowing predicate logic to solve the problem of multiple generality that had perplexed medieval logicians. With predicate logic, for the first time, logicians were able to give an account of quantifiers general enough to express all arguments occurring in natural language.
The discovery of predicate logic is usually attributed to Gottlob Frege, who is also credited as one of the founders of analytical philosophy, but the formulation of predicate logic most often used today is the first-order logic presented in Principles of Theoretical Logic by David Hilbert and Wilhelm Ackermann in 1928. The analytical generality of the predicate logic allowed the formalisation of mathematics, and drove the investigation of set theory, allowed the development of Alfred Tarski's approach to model theory; it is no exaggeration to say that it is the foundation of modern mathematical logic.
- Main article: Modal logic
In language, modality deals with the phenomenon that subparts of a sentence may have their semantics modified by special verbs or modal particles. For example, "We go to the games" can be modified to give "We should go to the games", and "We can go to the games"" and perhaps "We will go to the games". More abstractly, we might say that modality affects the circumstances in which we take an assertion to be satisfied.
The logical study of modality dates back to Aristotle, who was concerned with the alethic modalities of necessity and possibility, which he observed to be dual in the sense of De Morgan duality. While the study of necessity and possibility remained important to philosophers, little logical innovation happened until the landmark investigations of Clarence Irving Lewis in 1918, who formulated a family of rival axiomatisations of the alethic modalities. His work unleashed a torrent of new work on the topic, expanding the kinds of modality treated to include deontic logic, epistemic logic. The seminal work of Arthur Prior applied the same formal language to treat temporal logic and paved the way for the marriage of the two subjects. Saul Kripke discovered contemporaneously with rivals his theory of frame semantics which revolutionised the formal technology available to modal logicians and gave a new graph-theoretic way of looking at modality that has driven many applications in computational linguistics and computer science, such as dynamic logic.
Deduction and reasoning
- Main article: Deductive reasoning
The motivation for the study of logic in ancient times was clear, as we have described: it is so that we may learn to distinguish good from bad arguments, and so become more effective in argument and oratory, and perhaps also, to become a better person.
This motivation is still alive, although it no longer takes centre stage in the picture of logic; typically dialectical logic will form the heart of a course in critical thinking, a compulsory course at many universities, especially those that follow the American model.
- Main article: Mathematical logic
Mathematical logic really refers to two distinct areas of research: the first is the application of the techniques of formal logic to mathematics and mathematical reasoning, and the second, in the other direction, the application of mathematical techniques to the representation and analysis of formal logic.
The boldest attempt to apply logic to mathematics was undoubtedly the logicism pioneered by philosopher-logicians such as Gottlob Frege and Bertrand Russell: the idea was that mathematical theories were logical tautologies, and the programme was to show this by means to a reduction of mathematics to logic. The various attempts to carry this out met with a series of failures, from the crippling of Frege's project in his Grundgesetze by Russell's paradox, to the defeat of Hilbert's Program by Gödel's incompleteness theorems.
Both the statement of Hilbert's Program and its refutation by Gödel depended upon their work establishing the second area of mathematical logic, the application of mathematics to logic in the form of proof theory. Despite the negative nature of the incompleteness theorems, Gödel's completeness theorem, a result in model theory and another application of mathematics to logic, can be understood as showing how close logicism came to being true: every rigorously defined mathematical theory can be exactly captured by a first-order logical theory; Frege's proof calculus is enough to describe the whole of mathematics, though not equivalent to it. Thus we see how complementary the two areas of mathematical logic have been.
If proof theory and model theory have been the foundation of mathematical logic, they have been but two of the four pillars of the subject. Set theory originated in the study of the infinite by Georg Cantor, and it has been the source of many of the most challenging and important issues in mathematical logic, from Cantor's theorem, through the status of the Axiom of Choice and the question of the independence of the continuum hypothesis, to the modern debate on large cardinal axioms.
Recursion theory captures the idea of computation in logical and arithmetic terms; its most classical achievements are the undecidability of the Entscheidungsproblem by Alan Turing, and his presentation of the Church-Turing thesis. Today recursion theory is mostly concerned with the more refined problem of complexity classes -- when is a problem efficiently solvable? -- and the classification of degrees of unsolvability.
- Main article: Philosophical logic
Philosophical logic deals with formal descriptions of natural language. Most philosophers assume that the bulk of "normal" proper reasoning can be captured by logic, if one can find the right method for translating ordinary language into that logic. Philosophical logic is essentially a continuation of the traditional discipline that was called "Logic" before it was supplanted by the invention of mathematical logic. Philosophical logic has a much greater concern with the connection between natural language and logic. As a result, philosophical logicians have contributed a great deal to the development of non-standard logics (e.g., free logics, tense logics) as well as various extensions of classical logic (e.g., modal logics), and non-standard semantics for such logics (e.g., Kripke's technique of supervaluations in the semantics of logic).
Logic and computation
- Main article: Logic in computer science
Logic is extensively applied in the fields of artificial intelligence, and computer science, and these fields provide a rich source of problems in formal logic. The ACM Computing Classification System in particular regards:
- Section F.3 on Logics and meanings of programs and F. 4 on Mathematical logic and formal languages as part of the theory of computer science;
- Boolean logic as fundamental to computer hardware: particularly, the system's section B.2 on Arithmetic and logic structures;
- Many fundamental logical formalisms are essential to section I.2 on artifical intelligence, for example modal logic and default logic in Knowledge representation formalisms and methods, and Horn clauses in logic programming.
In the 1950s and 1960s, researchers predicted that when human knowledge could be expressed using logic with mathematical notation, it would be possible to create a machine that reasons, or artificial intelligence. This turned out to be more difficult than expected because of the complexity of human reasoning. In logic programming, a program consists of a set of axioms and rules. Logic programming systems such as Prolog compute the consequences of the axioms and rules in order to answer a query.
In symbolic logic and mathematical logic, proofs by humans can be computer-assisted. Using automated theorem proving the machines can find and check proofs, as well as work with proofs too lengthy to be written out by hand.
In computer science, Boolean algebra is the basis of hardware design, as well as much software design.
There are also various systems for reasoning about computer programs. Hoare logic is one of the earliest of such systems. Other systems are CSP, CCS, pi-calculus for reasoning about concurrent processes or mobile processes. There is interest in the idea of finding a logical calculus that naturally captures computability; there are several efforts to provide computational logics for this purpose.
Controversies in logic
Just as we have seen there is disagreement over what logic is about, so there is disagreement about what logical truths there are.
Bivalence and the law of the excluded middle
- Main article: classical logic
The logics discussed above are all "bivalent" or "two-valued"; that is, they are most naturally understood as dividing propositions into the true and the false propositions. Systems which reject bivalence are known as non-classical logics.
In the early 20th century Jan Łukasiewicz investigated the extension of the traditional true/false values to include a third value, "possible", so inventing ternary logic, the first multi-valued logic.
Intuitionistic logic was proposed by L. E. J. Brouwer as the correct logic for reasoning about mathematics, based upon his rejection of the law of the excluded middle as part of his intuitionism. Brouwer rejected formalisation in mathematics, but his student Arend Heyting studied intuitionistic logic formally, as did Gerhard Gentzen. Intuitionistic logic has come to be of great interest to computer scientists, as it is a constructive logic, and is hence a logic of what computers can do.
Modal logic is not truth conditional, and so it has often been proposed as a non-classical logic. However modal logic is normally formalised with the principle of the excluded middle, and its relational semantics is bivalent, so this inclusion is disputable. However, modal logic can be used to encode non-classical logics, such as intuitionistic logic.
Logics such as fuzzy logic have since been devised with an infinite number of "degrees of truth", represented by a real number between 0 and 1. Bayesian probability can be interpreted as a system of logic where probability is the subjective truth value.
Implication: strict or material?
- Main article: paradox of entailment
It is easy to observe that the notion of implication formalised in classical logic does not comfortably translate into natural language by means of "if... then...", due to a number of problems called the paradoxes of material implication.
The first class of paradoxes are those that involve counterfactuals, such as "If the moon is made of green cheese, then 2+2=4", puzzling because natural language does not support the principle of explosion. Eliminating these classes of paradox led to David Lewis's formulation of strict implication, and to a more radically revisionist logics such as relevance logic and dialetheism.
The second class of paradox are those that involve redundant premises, falsely suggesting that we know the succedent because of the antecedent: thus "if that man gets elected, granny will die" is materially true if granny happens to be in the last stages of a terminal illness, regardless of the man's election prospects. Such sentences violate the Gricean maxim of relevance, and can be modeled by logics that reject the principle of monotonicity of entailment, such as relevance logic.
Tolerating the impossible
- Main article: paraconsistent logics
Closely related to questions arising from the paradoxes of implication comes the radical suggestion that logic ought to tolerate inconsistency. Again, relevance logic and dialetheism are the most important approaches here, though the concerns are different: the key issue that classical logic and some of its rivals, such as intuitionistic logic have is that they respect the principle of explosion, which means that the logic collapses if it is capable of deriving a contradiction. Graham Priest, the proponent of dialetheism, has argued for paraconsistency on the striking grounds that there are in fact, true contradictions (Priest 2004).
Is logic empirical?
- Main article: Is logic empirical?
What is the epistemological status of the laws of logic? What sort of arguments are appropriate for criticising purported principles of logic? In an influential paper entitled Is logic empirical? Hilary Putnam, building on a suggestion of W.V.O. Quine, argued that in general that the facts of propositional logic have a similar epistemological status as facts about the physical universe, for example as the laws of mechanics or of general relativity, and in particular that what physicists have learned about quantum mechanics provides a compelling case for abandoning certain familiar principles of classical logic: if we want to be realists about the physical phenomena described by quantum theory, then we should abandon the principle of distributivity, substituting for classical logic the quantum logic proposed by Garrett Birkhoff and John von Neumann.
Another paper by the same name by Sir Michael Dummett argues that Putnam's desire for realism mandates the law of distributivity: distributivity of logic is essential for the realist's understanding of how propositions are true of the world, in just the same way as he has argued the principle of bivalence is. In this way, the question Is logic empirical? can be seen to lead naturally into the fundamental controversy in metaphysics on realism versus anti-realism.
Symbols used in logic
See the table of logic symbols.
- G. Birkhoff and J. von Neumann, 1936. 'The Logic of Quantum Mechanics'. Annals of Mathematics, 37:823-843.
- D. Finkelstein, 1969. 'Matter, Space and Logic'. In R. S. Cohen and M. W. Wartofsky, (eds.), Proceedings of the Boston Colloquium for the Philosophy of Science, Boston Studies in the Philosophy of Science, vol 13. ISBN 90-277-0377-9.
- D. M. Gabbay and F. Guenthner (eds.) 2001-2005. Handbook of philosophical logic (2nd ed.). 13 volumes. Dordrecht, Kluwer.
- D. Hilbert and W. Ackermann, 1928. Grundzüge der theoretischen Logik (Principles of Theoretical Logic). Springer-Verlag, ISBN 0-8218-2024-9.
- W. Hodges, 2001. Logic. An introduction to elementary logic. Penguin Books.
- T. Hofweber, 2004. Logic and Ontology. In the Stanford Encyclopedia of Philosophy.
- R. I. G. Hughes (editor), 1993. A Philosophical Companion to First-Order Logic. Hackett Publishing Company, Inc.
- W. Kneale and M. Kneale, 1962/1988. The Development of Logic. Oxford University Press, ISBN 0-19-824773-7.
- G. Priest, 2004. Dialetheism. In the Stanford Encyclopedia of Philosophy.
- H. Putnam, 1969. Is Logic Empirical?. Boston Studies in the Philosophy of Science, vol V.
- B. Smith, 1989. Logic and the Sachverhalt, The Monist 72(1):52-69.
- An Introduction to Philosophical Logic, by Paul Newall, aimed at beginners
- Translation Tips, by Peter Suber, for translating from English into logical notationfiu-vro:Loogiga
af:Formele logika bg:Логика bn:যুক্তি ca:Lògica cs:Logika da:Logik de:Logik et:Loogika es:Lógica eo:Logiko eu:Logika fr:Logique he:לוגיקה ko:논리학 io:Logiko id:Logika ia:Logica it:Logica he:לוגיקה la:Logica lv:Loģika lt:Logika hu:Logika ms:Logik nl:Logica no:Logikk ja:論理学 pl:Logika pt:Lógica ro:Logică ru:Логика simple:Logic sk:Logika sl:Logika sr:Логика su:Logika fi:Logiikka sv:Logik th:ตรรกศาสตร์ tr:Mantık uk:Логіка zh:逻辑学