world, etc.,—unless such deduction has the independent sanction of good sense.
15
Logical Machines
November 1887 | The American Journal of Psychology |
In the “Voyage to Laputa” there is a description of a machine for evolving science automatically. “By this contrivance, the most ignorant person, at a reasonable charge, and with little bodily labor, might write books in philosophy, poetry, politics, laws, mathematics, and theology, without the least assistance from genius or study.” The intention is to ridicule the Organon of Aristotle and the Organon of Bacon, by showing the absurdity of supposing that any “instrument” can do the work of the mind. Yet the logical machines of Jevons and Marquand are mills into which the premises are fed and which turn out the conclusions by the revolution of a crank. The numerous mathematical engines that have been found practically useful, from Webb’s adder up to Babbage’s analytical engine (which was designed though never constructed), are also machines that perform reasoning of no simple kind. Precisely how much of the business of thinking a machine could possibly be made to perform, and what part of it must be left for the living mind, is a question not without conceivable practical importance; the study of it can at any rate not fail to throw needed light on the nature of the reasoning process. Though the instruments of Jevons and of Marquand were designed chiefly to illustrate more elementary points, their utility lies mainly, as it seems to me, in the evidence they afford concerning this problem.
The machine of Jevons receives the premises in the form of logical equations, or identities. Only a limited number of different letters can enter into these equations—indeed, any attempt to extend the machine beyond four letters would complicate it intolerably. The machine has a keyboard, with two keys for the affirmative and the negative form of each letter to be used for the first side of the equation, and two others for the second side of the equation, making four times as many keys as letters. There is also a key for the sign of logical addition or aggregation for each side of the equation, a key for the sign of equality, and two full stop keys, the function of which need not here be explained.1 The keys are touched successively, in the order in which the letters and signs occur in the equation. It is a curious anomaly, by the way, that an equation such as A = B, which in the system of the transitive copula would appear as two propositions, as All A is B and All B is A, must not be entered as a single equation. But although the premises outwardly appear to be put into the machine in equations, the conclusion presents no such appearance, but is given in the form adopted by Mr. Mitchell in his remarkable paper on the algebra of logic. That is to say, the conclusion appears as a description of the universe of possible objects. In fact, all that is exhibited at the end is a list of all the possible products of the four letters. For example, if we enter the two premises All D is C, or D = CD, and All C is B, or C = BC, we get the conclusion in the following shape, where letters in the same vertical column are supposed to be logically multiplied, while the different columns are added or aggregated:
The capital letters are affirmatives, the small letters negatives. It will be found that every column containing D contains B, so that we have the conclusion that All D is B, but to make this out by the study of the columns exhibited seems to be much more difficult than to draw the syllogistic conclusion without the aid of the machine.
Mr. Marquand’s machine is a vastly more clear-headed contrivance than that of Jevons. The nature of the problem has been grasped in a more masterly manner, and the directest possible means are chosen for the solution of it. In the machines actually constructed only four letters have been used, though there would have been no inconvenience in embracing six. Instead of using the cumbrous equations of Jevons, Mr. Marquand uses Professor Mitchell’s method throughout.2 There are virtually no keys except the eight for the letters and their negatives, for two keys used in the process of erasing, etc., should not count. Any number of keys may be put down together, in which case the corresponding letters are added, or they may be put down successively, in which case the corresponding combinations are multiplied. There is a sort of diagram face, showing the combinations or logical products as in Jevons’s machine, but with the very important difference that the two dimensions of the plane are taken advantage of to arrange the combinations in such a way that the substance of the result is instantly seen. To work a simple syllogism, two pressures of the keys only are necessary, two keys being pressed each time. A cord has also to be pulled each time so as to actualize the statement which the pressure of the keys only formulates. This is good logic: philosophers are too apt to forget this cord to be pulled, this element of brute force in existence, and thus to regard the solvet ambulando as illogical. To work the syllogism with Mr. Jevons’s machine requires ten successive movements, owing to the relatively clumsy manner in which the problem has been conceived.
One peculiarity of both these machines is that while they perform the inference from (A + B)C to AC + BC, they will not perform the converse inference from AC + BC to (A + B)C. This is curious, because the inference they refuse to perform seems to be merely syllogistic, while the one they do perform, and in fact continually insist on performing, whether it is wanted or not, is dilemmatic, and therefore essentially more complicated. But in point of fact neither of the machines really gives the conclusion of a pair of syllogistic premises; it merely presents a list of all the possible species in the universe, and leaves us to pick out the syllogistic conclusions for ourselves. Thus, with Marquand’s machine, we enter the premise All A is B in the form a + B, and the premise All B is C in the form b + C; but instead of finding the conclusion in the form a + C, it appears as—
As we only want a description of A, we multiply by that letter, and so reduce the conclusion to ABCD + ABCd, but there is no elimination of the B nor of the D. We do not even get the full conclusion in the form ab + BC, although it is one of the advantages of Marquand’s machine that it does give the conclusion, not only in the form just cited, but also, simultaneously, as
The secret of all reasoning machines is after all very simple. It is that whatever relation among the objects reasoned about is destined to be the hinge of a ratiocination, that same general relation must be capable of being introduced between certain parts of the machine. For example, if we want to make a machine which shall be capable of reasoning in the syllogism
we have only to have a connection which can be introduced at will, such that when one event A occurs in the machine, another event B must also occur. This connection being introduced between A and B, and also between B and C, it is necessarily virtually introduced between A and C. This is the same principle which lies at the foundation of every logical algebra; only in the algebra, instead of depending directly on the laws of nature, we establish conventional rules for the relations used. When we perform a reasoning in our unaided minds we do substantially the same thing, that is to say, we construct an image in our fancy under certain general conditions, and observe the result. In this point of view, too, every machine is a reasoning machine, in so much as there are certain relations between its parts, which relations involve other relations that were not expressly intended. A piece of apparatus for performing a physical or chemical experiment is also a reasoning machine, with this difference, that it does not depend on the laws of the human mind, but on the objective reason embodied in the laws of nature. Accordingly, it is no figure of speech to say that the alembics and cucurbits of the chemist are instruments of thought, or logical machines.
Every reasoning machine, that is to say, every machine, has two inherent impotencies. In the first place, it is destitute of all originality,