ABcd,

whence it is apparent that A must be B, the ordinary conclusion of the argument.

In my “Substitution of Similars” (pp. 56–59) I have described the working upon the Abacus of two other logical problems, which it would be tedious to repeat in this place.

The Logical Machine.

Although the Logical Abacus considerably reduced the labour of using the Indirect Method, it was not free from the possibility of error. I thought moreover that it would afford a conspicuous proof of the generality and power of the method if I could reduce it to a purely mechanical form. Logicians had long been accustomed to speak of Logic as an Organon or Instrument, and even Lord Bacon, while he rejected the old syllogistic logic, had insisted, in the second aphorism of his “New Instrument,” that the mind required some kind of systematic aid. In the kindred science of mathematics mechanical assistance of one kind or another had long been employed. Orreries, globes, mechanical clocks, and such like instruments, are really aids to calculation and are of considerable antiquity. The Arithmetical Abacus is still in common use in Russia and China. The calculating machine of Pascal is more than two centuries old, having been constructed in 1642–45. M. Thomas of Colmar manufactures an arithmetical machine on Pascal’s principles which is employed by engineers and others who need frequently to multiply or divide. To Babbage and Scheutz is due the merit of embodying the Calculus of Differences in a machine, which thus became capable of calculating the most complicated tables of figures. It seemed strange that in the more intricate science of quantity mechanism should be applicable, whereas in the simple science of qualitative reasoning, the syllogism was only called an instrument by a figure of speech. It is true that Swift satirically described the Professors of Laputa as in possession of a thinking machine, and in 1851 Mr. Alfred Smee actually proposed the construction of a Relational machine and a Differential machine, the first of which would be a mechanical dictionary and the second a mode of comparing ideas; but with these exceptions I have not yet met with so much as a suggestion of a reasoning machine. It may be added that Mr. Smee’s designs, though highly ingenious, appear to be impracticable, and in any case they do not attempt the performance of logical inference.‍[80]

The Logical Abacus soon suggested the notion of a Logical Machine, which, after two unsuccessful attempts, I succeeded in constructing in a comparatively simple and effective form. The details of the Logical Machine have been fully described by the aid of plates in the Philosophical Transactions,‍[81] and it would be needless to repeat the account of the somewhat intricate movements of the machine in this place.

The general appearance of the machine is shown in a plate facing the title-page of this volume. It somewhat resembles a very small upright piano or organ, and has a keyboard containing twenty-one keys. These keys are of two kinds, sixteen of them representing the terms or letters A, a, B, b, C, c, D, d, which have so often been employed in our logical notation. When letters occur on the left-hand side of a proposition, formerly called the subject, each is represented by a key on the left-hand half of the keyboard; but when they occur on the right-hand side, or as it used to be called the predicate of the proposition, the letter-keys on the right-hand side of the keyboard are the proper representatives. The five other keys may be called operation keys, to distinguish them from the letter or term keys. They stand for the stops, copula, and disjunctive conjunctions of a proposition. The middle key of all is the copula, to be pressed when the verb is or the sign = is met. The key to the extreme right-hand is called the Full Stop, because it should be pressed when a proposition is completed, in fact in the proper place of the full stop. The key to the extreme left-hand is used to terminate an argument or to restore the machine to its initial condition; it is called the Finis key. The last keys but one on the right and left complete the whole series, and represent the conjunction or in its unexclusive meaning, or the sign ꖌ which I have employed, according as it occurs in the right or left hand side of the proposition. The whole keyboard is arranged as shown on the next page—

Finis. Left-hand side of Proposition.Cupola.Right-hand side of Proposition.Fullstop.

Or
dDcCbBaAAaBbCcDd
Or

To work the machine it is only requisite to press the keys in succession as indicated by the letters and signs of a symbolical proposition. All the premises of an argument are supposed to be reduced to the simple notation which has been employed in the previous pages. Taking then such a simple proposition as

A = AB,