Where did mathematicians learn how to do truth tables?

Well, Aristotle qualifies as quite "humanities oriented" according to the modern way of classifying subject areas, but up until recently plenty of usage history can get traced back to him. Actually, there still exists some usage history traceable back to him.

That said, you might want to see this page, which indicates that perhaps no real inventor existed. Shosky tried to argue that Russell did so. Anellis, though, if his evidence is correct clearly enough indicates that C. S. Peirce had them before that. So, unless historians have missed something in Frege, Peirce gets the prize here:

... the discovery by Zellweger of Peirce’s manuscript of 1902 does permit us to unequivocally declare with certitude that the earliest, the first recorded, verifiable, cogent, attributable and complete truth-table device in modern logic attaches to Peirce, rather than to Wittgenstein’s 1912 jottings and Eliot’s notes on Russell’s 1914 Harvard lectures

One might also ask here, "who first used numbers for truth-values in the context of truth tables?" I'm not so sure here, but I would think Łukasiewicz did that first, though when he wrote a truth table he wrote them horizontally instead of vertically. ${}$


In addition to the Stanford encyclopedia of Philosophy's attribution to Wittgenstein, Wikipedia's discussion of Wittgenstein's masterpiece Tractatus Logico-Philosophicus also credits Wittgenstein as the inventor of truth tables.

"Wittgenstein is to be credited with the invention of truth tables (4.31) and truth conditions (4.431) which now constitute the standard semantic analysis of first-order sentential logic.[7] The philosophical significance of such a method for Wittgenstein was that it alleviated a confusion, namely the idea that logical inferences are justified by rules. If an argument form is valid, the conjunction of the premises will be logically equivalent to the conclusion and this can be clearly seen in a truth table; it is displayed. The concept of tautology is thus central to Wittgenstein's Tractarian account of logical consequence, which is strictly deductive.

5.13 When the truth of one proposition follows from the truth of others, we can see this from the structure of the propositions.

5.131 If the truth of one proposition follows from the truth of others, this finds expression in relations in which the forms of the propositions stand to one another: nor is it necessary for us to set up these relations between them, by combining them with one another in a single proposition; on the contrary, the relations are internal, and their existence is an immediate result of the existence of the propositions.

5.132 If p follows from q, I can make an inference from q to p, deduce p from q. The nature of the inference can be gathered only from the two propositions. They themselves are the only possible justification of the inference. "Laws of inference", which are supposed to justify inferences, as in the works of Frege and Russell, have no sense, and would be superfluous."

The book (Tractatus) itself is worth the read!


Update: In The Development of Logic (1962), Kneale and Kneale argue that Boole, Frege, Peirce, Jevons, and Venn all contributed to the essentials popularized by Post and Wittgenstein in 1920 (420 and 531).

In making their argument, Kneale and Kneale cite Peirce's paper "On the Algebra of Logic: A Contribution to the Philosophy of Notations" (American Journal of Mathematics 7 [1885], 180-202):

[T]o find whether a formula is necessarily true substitute f and v for the letters and see whether it can be supposed false by any such assignment of values (CP 3.387).


@ Doug Spoonwood: I am unable to date exactly the first use of the truth-tables among (professional) mathematicians, although Charles S. Peirce and Gottlob Frege could make up good approximations (implicit refs. to a famous paper published by Peirce in 1885 and to Frege's "Begriffsschrift" 1879). In particular, Peirce was aware [cca 1900-1902] of the truth-functional behaviour of ALL [two-valued] propositional connectives (including NAND and NOR, usually attributed to Henry M. Sheffer 1913), although he did not publish details, during his lifetime: his findings remained in MSS. On this, the SEP-reference given previously is rather misleading: Ludwig Wittgenstein comes later into the picture (some time during the early twenties or slightly before).

We know, however, for sure that truth-tables were popular already about 21 centuries before Frege and Peirce, among philosophers, more precisely they were found by Chrysippus of Sol[o]i, circa 279-206 BC, the founder of Stoic logic. Even Chrysippus was based on previous findings due to a 5th century BC philosopher, Euclides of Megara, a former pupil of Socrates, and the founder of the Megarian school (or, more likely, of one of his "Megarian" followers). For details, see e.g. the SEP-entry on the "Dialectical school", due to Susanne Bobzien, her SEP-entry on "Ancient logic", and, possibly, the Wikipedia entries on the Megarian school and the like.

As an aside, on should note that, unlike Aristotle and other members of Plato's Academy, Chrysippus and his followers were not particularly fond of mathematics (in the sense of the time).

I will hopefully publish, one of these days, a longer note on the (most plausible) "mathematical" method of construction behind the so-called "Stoic logic" (the "logic of Chrysippus"), including the truth-table stuff (as they could have figured it out, 22 centuries ago) [follow up academia.edu for would-be pre-prints].


@ Mitch, as of today, 20150323 [the answer is too long to fit the comment space] :

> [ Mitch: ] Are you saying there is evidence that some Greek philosophers had the concept of truth functions (functions whose inputs and outputs are something like true and false) and graphical representation of truth tables (a tabular representation)? I don't doubt the first, but I do the latter. Also, the question I have is about the intellectual provenance of the truth-table display in modern mathematics, not the multiple possibly non-influencing reinventions across the world. <

The first half of your question can be answered in the affirmative: Chrysippus and some later Stoics “had the concept of truth functions”, for all practical purposes, so to speak. In his / their terms, of course: they knew how to manipulate truth-functions in order to explain “semantically” complex propositions (the Stoic axiomata) in terms of simples, i.e. atomic propositions. (You don’t expect a second century BC philosopher to be conversant with our modern — set theoretical — concept, not even with the “old-fashioned” pre-Cantorian way of thinking of functions in traditional mathematics — functions as rules, say. Besides, as I said already, the Stoics were less interested in the mathematics of their times.) So, as regards the “intellectual provenance” (of the concept), the honors should go to Chrysippus, no doubt.

However, the second half of the question (concerning the actual representation of the truth-value assignments) cannot be answered properly, mainly because we have insufficient (textual or other kind of historical) evidence at hand, in order to say something definite about. Even the young Russell was a bit confused much later, around the turn of the xix-th century, about the concept of a “propositional function”, and Wittgenstein was not significantly more brilliant in this mater either…

Now, putting things in modern terms, it is likely the Stoics used something equivalent to our truth-tables (an ad hoc concrete representation, after all) only in order to justify semantically, so to speak, their proof-theoretic ruminations. Although nice to play with — a piece of kindergaten mathematics, after all —, the truth-functional explanation of the logical connectives was not central to their logical doctrines: the Stoics used to think about the binary connectives (connector = syndesmos in Greek) in terms of “polar oppositions” (or conflict = “maché”, in Greek; more or less: contradictions).

Examples: the pair of complex propositions reading (A AND B, A NAND B) in our jargon— both attested, btw, in the remnant Stoic fragments — makes up a “polar pair” (of opposites), and similarly for the “polar pairs” including IF (the material conditional) and its converse, reading approximatively SINCE. Actually the polar opposites of IF [IF A THEN B] and SINCE [A SINCE B] resp., are also attested in surviving Stoic fragments: the former would read “A mallon he B” [“A more than B”], in Chrysippus’ Greek — semantically = A AND (NOT B) —, while the polar opposite of SINCE [A SINCE B = IF B THEN A] would read “A etton he B” [“A less than B”], semantically = (NOT A) AND B. (The truth-functional interpretation of “mallon…” / “etton…” has been also confirmed, recently, by Prof. Bobzien, a major expert in Stoics doctrines, btw.) Lastly, the polar pair (A NOR B, A OR B) is also historically attested in late Stoic texts. So, we have “expressive completeness”, in fact (the biconditional IFF and the exclusive disjunction, XOR, can be explained in terms of the above. This can be also found in Stoic texts!) Whence, we know what is *(C) — the polar opposite of C — for any C. Moreover, “double negation” is granted for each form of (complex) C.

To anticipate the longer (technical) note promised earlier: Once the polar trick is well understood, it is relatively clear how to construct inconsistent sequences of propositions (elenchoi, or refutations in Greek) of the form A_1, …, A_n ||- Falsum, in the spirit of the Stoics, such that a valid entailment (syllogismos), A_1, …, A_n ||- C, can be accounted for in terms of … ||- Falsum by:

A_1, …, A_n ||- C iff A_1, …, A_n, *(C) ||- Falsum,

where Falsum is an arbitrary false proposition and *(C) is the polar opposite of C.

On this plan — granted the fact that we can analyse systematically complex *(C)’s into their “polar” components —, it is relatively easy to obtain something very similar to a Gentzen “natural deduction” system resp. a resolution / tableaux-like system (à la Hintikka, Beth, Smullyan and so on) for classical (i.e. Chrysippean) logic!

Well, I won’t go so far to claim that Chrysippus proved the completeness of his logic ( = classical logic ), relative to a would-be account of the classical connectives in terms of truth-tables, 22 centuries ago, but he was pretty close to it, anyway!