Skip to content

Akira Nakashima and Switching Theory

Abstract

Akira Nakashima (中嶋章, 1908–1970) was a relay-circuit engineer at the Nippon Electric Company (NEC) in Tokyo who set out in 1934 to turn the design of telephone-exchange circuits from a craft into a theory. In 1935 he lectured on it to Japan’s telegraph and telephone engineers, and in a paper with his colleague Masao Hanzawa published in December 1936 he wrote series and parallel connections of relay contacts as sums and products and simplified circuits by algebra. Claude Shannon handed in his MIT master’s thesis on the same problem in August 1937, and in Moscow Victor Shestakov had written down similar results in January 1935 without publishing them until 1941. Nakashima’s work came first in print, but it grew out of electrical circuit theory rather than logic, and he recognised his algebra as Boole’s only later. Shannon’s version, the more abstract of the two, is the one the world adopted.

Relay Circuits at NEC

Nakashima was born on 5 January 1908 and studied electrical engineering at Tokyo Imperial University from 1926 to 1930. NEC, which had begun in 1899 as the Japanese agent of Western Electric, hired him straight from university. Its chief engineer, Yasujirō Niwa, was turning the technical department into a research organisation and put Nakashima into a group under Yasujirō Shimazu that designed special relay circuits: automatic telephone exchanges, and the remote-control and supervisory equipment that power companies used to run substations.

Relay circuits of the early 1930s were designed by experience. In 1941 Nakashima described the method: an engineer combined patterns he already knew, kept track of the timing of each relay and the type of each contact, and “exhaust[ed] our brains designing the circuits,” which he called “a really unscientific method.” In a memoir written shortly before his death he recalled the status problem behind it. Transmission engineers, with their filter theory and feedback amplifiers, were treated as intellectuals; the men who built telephone exchanges were treated as craftsmen, and he wanted a mathematical method that would change that.

He began by doing what a naturalist does. He took the circuits his predecessors had designed, broke them into parts that performed a recognisable function, and sorted the parts until regularities appeared. The recurring patterns he called jōseki, the word for standard opening sequences in Go and shōgi. From 1934 he published the results as a series in NEC’s company journal, Nichiden Geppō, under the title “Theory and Practice of Relay Circuit Engineering.”

From Impedance to Algebra

In 1935 the Institute of Telegraph and Telephone Engineers of Japan invited Nakashima to present his theory, and the three-hour lecture appeared in the institute’s journal in September 1935 as “The Theory of Relay Circuit Composition.” It contained twenty “theorems,” most of them rules distilled from existing circuits, and it treated a relay contact as a piece of transmission line whose impedance could take only two values, zero when closed and infinite when open. To prove the theorems he reached for the tools of transmission theory, including a sine-integral formula that switched between the two values over time. It was clumsy, and he said so. Among the theorems was a set of transformations he called the tetrahedron principle: replacing every contact by its opposite, exchanging series and parallel connections, or doing both. With hindsight these are the dualities of De Morgan’s laws.

Duality pushed him toward algebra. At the end of 1935 he reviewed a German paper on the reciprocity laws of linear networks, and in a paper accepted on 20 December 1935 he treated his circuit transformations as a group. Nakashima had moved to NEC’s transmission department in 1936, but he kept working on relays in the evenings, now with Masao Hanzawa (榛澤正夫), who had stayed in the exchange group. Their two-part paper “The Theory of Equivalent Transformation of Simple Partial Paths in the Relay Circuit,” submitted in October 1936 and printed in December 1936 and early 1937, wrote a series connection as A + B and a parallel connection as A · B. Because they were adding impedances, series came out as a sum. The paper stated the distributive law, A(B + C) = AB + AC, and laws of elimination that correspond to the idempotent, complement, and absorption laws, and it used them to reduce the number of relays in a circuit without changing what it did. Hanzawa later said the notation came straight from AC circuit theory, where series impedances add.

Leaving time aside, the algebra of that paper was already almost equivalent to Boolean algebra, with the impedance values zero and infinity in place of 0 and 1. In August 1937 Nakashima went a step further and separated the mathematics from the physics. Each two-terminal path now stood for the set of moments at which it was open, so that the rules of set theory could be applied to relay circuits as long as the translation back into impedance was kept explicit. At the end of that paper he remarked that some of his results agreed with the propositional calculus of mathematical logic, because impedance, like truth, took only two values. The NEC engineers came to the mathematics from the circuit side: by the reprint editors’ account Nakashima concluded in 1938 that the algebra was Boole’s, and the expansion theorem that he and Hanzawa published in 1940 named Boole and Ernst Schröder explicitly, while insisting that a logician’s proof could not simply be carried over to electrical networks.

Shannon and Shestakov

Claude Shannon, a 21-year-old student at MIT, came to the same problem through the relay control circuits of Vannevar Bush’s differential analyzer (see Claude Shannon and Information Theory). He submitted A Symbolic Analysis of Relay and Switching Circuits to MIT on 10 August 1937, sent a condensed version to the American Institute of Electrical Engineers on 1 March 1938, and saw it printed in December 1938. Shannon’s “hindrance” was 0 for a closed and 1 for an open circuit, series connection was addition, and parallel connection was multiplication: the same convention as Nakashima’s, on purely mathematical values instead of impedances. Shannon cited only the literature of logic and philosophy. His thesis also contained the expansion theorem that is now often named after him.

The third man was Victor Shestakov (Виктор Иванович Шестаков, 1907–1987), a graduate student in physics at Moscow State University. According to Russian biographers, he wrote up a method of building relay circuits from logical operations in a manuscript, “Algebra of Relay Circuits,” in January 1935. His supervisor judged the work unlikely to carry a dissertation; he defended it on 28 September 1938 and published parts only in 1941. In 1983, when a Moscow University newspaper claimed that Shannon had published a year after him, Shestakov wrote to correct the dates himself. The idea that logic could describe switching circuits was older than all three: the physicist Paul Ehrenfest had suggested it in 1910 in a Russian review of Louis Couturat’s Algebra of Logic, a review that, being in Russian, had little influence.

Nobody has shown that any of the three knew the others’ work at the start. Shestakov wrote in Russian. Shannon’s thesis predates the first English translation of the Nakashima–Hanzawa algebra paper, which appeared in Nippon Electrical Communication Engineering in February 1938. A story is told in Japan that Shannon once came to Nakashima at Bell Laboratories with a copy of his paper and questions about it; Nakashima’s own memoir puts their first meeting at a convention of the AIEE. NEC had sent him to the United States from late 1939 to 1940 to study carrier transmission, and at the AIEE winter convention of 1940 Hendrik Bode of Bell Labs introduced him to Shannon. They talked about switching theory. After his return Nakashima’s papers became noticeably more abstract.

The ideas did travel the other way. The Austrian engineer Hansi Piesch cited Nakashima and Hanzawa in 1939, Shannon cited their later English papers in “The Synthesis of Two-Terminal Switching Circuits” in the Bell System Technical Journal in 1949, and in 1953 Alonzo Church reviewed six of their papers in the Journal of Symbolic Logic.

Misconception: Claude Shannon alone invented switching algebra

Shannon’s 1937 thesis is the version that shaped digital design, but it was one of three independent discoveries. Nakashima and Hanzawa printed an algebra of series and parallel relay contacts, with the distributive and absorption laws, in December 1936, eight months before Shannon submitted his thesis, and Victor Shestakov had a manuscript on the subject in Moscow in January 1935 that stayed unpublished until 1941. The opposite claim, sometimes made in Japan, that Nakashima was simply “two years ahead” of Shannon, also overstates the case: his 1935 lecture was not yet an algebra, and he identified his system with Boolean algebra only later. The historian Toma Kawanishi concludes that the two men solved the same problem in different frameworks, Nakashima extending circuit theory and Shannon building a mathematical model. See Myths and Misconceptions.

Different Frameworks

The difference matters for why the world followed Shannon. Kawanishi, a historian of science at Kyoto, argues that Nakashima never accepted a mathematical truth as an engineering truth without support from circuit theory. His theory was built in three parts (transient phenomena, the passive network of contacts, and the active network of coils and power supplies), and he wanted it to describe how circuits changed over time, which is why it kept impedance and time as variables long after the algebra could have dropped them. Shannon threw the physics away. His algebra applied to anything that behaved like a switch, whether relay, vacuum tube, or later transistor. Even Shannon’s supervisor, Bush, belonged on Nakashima’s side of this divide, preferring grounded analog methods to abstraction.

The NEC work was not ignored at home. In 1940 the Institute of Electrical Communication Engineers gave Nakashima and Hanzawa its first Akiyama-Shida Prize. At the government’s Electrotechnical Laboratory, Kan’ichi Ōhashi built an operational calculus for relay networks on their papers, published in 1943, and Mochinori Gotō extended the algebra to circuits with time delays, which he called “logical mathematics.” In 1953 the computer pioneer Kenzō Jō wrote that it was “Nakashima and Shannon who pioneered the mathematics of the relay circuit.”

War and After

Nakashima’s research ended with the war. NEC moved him to radar and aviation radio, he managed to write on relay circuits in his spare time until 1941, and from 1942 he stopped and never went back. He stayed with NEC, rose to managing director, and became president of its subsidiary Ando Electric. He died on 29 October 1970, aged 62. His last word on the subject was a memoir, “Reminiscences of the Switching Network Theory,” published in the journal of the Institute of Electronics and Communication Engineers of Japan the same year.

The revival came from outside Japan. In 2008, for the centenary of his birth, Radomir Stanković and Jaakko Astola at the Tampere International Center for Signal Processing in Finland reprinted nine of Nakashima’s English papers, three of them with Hanzawa, with copies and commentary supplied by the Japanese computer historian Akihiko Yamada. Yamada, a former NEC engineer, proposed in 2012 that the field be called “Nakashima–Shannon switching theory.” In March 2020 the Institute of Electrical Engineers of Japan added “Akira Nakashima and Switching Theory” to its list of electrical milestones, Denki no Ishizue, with NEC as the recipient.

Switching algebra became the basis of logic design: research on simplifying logical expressions followed, and by the late 1980s logic design itself had been automated (see George Boole and Boolean Logic, which also covers Konrad Zuse’s own switching algebra of the same years). Japan’s first computers of the 1950s, among them the parametron machines built on Eiichi Goto’s majority-logic element, are described in Goto Eiichi and the Parametron.

📚 Sources