Jump to content

Logic Theorist: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
typo
 
(45 intermediate revisions by 30 users not shown)
Line 1: Line 1:
{{short description|1956 computer program written by Allen Newell, Herbert A. Simon and Cliff Shaw}}
{{Tone|date=July 2018}}
'''Logic Theorist''' is a computer program written in 1956 by [[Allen Newell]], [[Herbert A. Simon]], and [[Cliff Shaw]].<ref name="mccCrevRussNorv">

{{Harvnb|McCorduck|2004|pp=123–125}}, {{Harvnb|Crevier|1993|pp=44–46}} and {{Harvnb|Russell|Norvig|2021|p=17}}</ref> It was the first program deliberately engineered to perform [[automated reasoning]], and has been described as "the first [[artificial intelligence]] program".<ref name="mccCrevRussNorv" />{{efn|Logic theorist is usually considered the first true AI program, although [[Arthur Samuel (computer scientist)|Arthur Samuel]]'s checkers program was released earlier. [[Christopher Strachey]] also wrote a checkers program in 1951.{{sfn|Crevier|1993|p=44}}}} Logic Theorist proved 38 of the first 52 theorems in chapter two of [[Alfred North Whitehead|Whitehead]] and [[Bertrand Russell]]'s ''[[Principia Mathematica]]'', and found new and shorter proofs for some of them.{{sfn|McCorduck|2004|p=167}}
'''Logic Theorist ''' is a computer program written in 1956 by [[Allen Newell]], [[Herbert A. Simon]] and [[Cliff Shaw]]<ref>
{{Harvnb|McCorduck|2004|pp=123–125}}, {{Harvnb|Crevier|1993|pp=44–46}} and {{Harvnb|Russell|Norvig|2003|p=17}}</ref>. It was the first program deliberately engineered to perform [[automated reasoning]] and is called "the first [[artificial intelligence]] program".{{efn|Logic theorist is usually considered the first true AI program, although [[Arthur Samuel]]'s checkers program is earlier. [[Christopher Strachey]] also wrote a checkers program in 1951.{{sfn|Crevier|1993|p=44}}}} It would eventually prove 38 of the first 52 theorems in [[Alfred North Whitehead|Whitehead]] and [[Bertrand Russell|Russell]]'s ''[[Principia Mathematica]]'', and find new and more elegant proofs for some.{{sfn|McCorduck|2004|p=167}}


== History ==
== History ==
In 1955, when Newell and Simon began to work on the Logic Theorist, the field of [[artificial intelligence]] did not yet exist. Even the term itself ("artificial intelligence") would not be coined until the following summer.{{efn|The term "artificial intelligence" was coined by [[John McCarthy (computer scientist)|John McCarthy]] in the proposal for the 1956 [[Dartmouth workshop|Dartmouth Conference]]. The conference is "generally recognized as the official birthdate of the new science", according to [[Daniel Crevier]].{{sfn|Crevier|1993|pp=49–50}}}}
In 1955, when Newell and Simon began to work on the Logic Theorist, the field of [[artificial intelligence]] did not yet exist. Even the term itself ("artificial intelligence") would not be coined until the following summer.{{efn|The term "artificial intelligence" was coined by [[John McCarthy (computer scientist)|John McCarthy]] in the proposal for the 1956 [[Dartmouth workshop|Dartmouth Conference]]. The conference is "generally recognized as the official birthdate of the new science", according to [[Daniel Crevier]].{{sfn|Crevier|1993|pp=49–50}}}}


Simon was a [[political scientist]] who had already produced classic work in the study of how [[bureaucracy|bureaucracies]] function as well as developed his theory of [[bounded rationality]] (for which he would later win a [[Nobel Prize]]). The study of business organizations requires, like [[artificial intelligence]], an insight into the nature of human problem solving and [[decision theory|decision making]]. Simon remembers consulting at [[RAND]] in the early 1950s and seeing a printer typing out a map, using ordinary letters and punctuation as symbols. He realized that a machine that could manipulate symbols could just as well simulate decision making and possibly even the process of human thought.{{sfn|Crevier|1993|pp=41–44}}{{sfn|McCorduck|2004|p=148}}
Simon was a [[political scientist]] who had already produced classic work in the study of how [[bureaucracy|bureaucracies]] function as well as developing his theory of [[bounded rationality]] (for which he would later win a Nobel Prize). The study of business organizations requires, like artificial intelligence, an insight into the nature of human problem solving and [[decision theory|decision making]]. Simon remembers consulting at [[RAND Corporation]] in the early 1950s and seeing a printer typing out a map, using ordinary letters and punctuation as symbols. He realized that a machine that could manipulate symbols could just as well simulate decision making and possibly even the process of human thought.{{sfn|Crevier|1993|pp=41–44}}{{sfn|McCorduck|2004|p=148}}

The program that printed the map had been written by Newell, a [[RAND Corporation]] scientist studying [[logistics]] and [[organization theory]]. For Newell, the decisive moment was in 1954 when [[Oliver Selfridge]] came to [[RAND]] to describe his work on [[pattern matching]]. Watching the presentation, Newell suddenly understood how the interaction of simple, programmable units could accomplish complex behavior, including the intelligent behavior of human beings. "It all happened in one afternoon," he would later say.{{sfn|Crevier|1993|p=44}}{{sfn|McCorduck|2004|pp=157–158}} It was a rare moment of scientific epiphany.


The program that printed the map had been written by Newell, a RAND scientist studying logistics and [[organization theory]]. For Newell, the decisive moment was in 1954 when [[Oliver Selfridge]] came to RAND to describe his work on [[pattern matching]]. Watching the presentation, Newell suddenly understood how the interaction of simple, programmable units could accomplish complex behavior, including the intelligent behavior of human beings. "It all happened in one afternoon," he would later say.{{sfn|Crevier|1993|p=44}}{{sfn|McCorduck|2004|pp=157–158}} It was a rare moment of scientific epiphany.
{{anchor|Paths and levels}}
<blockquote>"I had such a sense of clarity that this was a new path, and one I was going to go down. I haven't had that sensation very many times. I'm pretty skeptical, and so I don't normally go off on a toot, but I did on that one. Completely absorbed in it—without existing with the two or three levels consciousness so that you're working, and aware that you're working, and aware of the consequences and implications, the normal mode of thought. No. Completely absorbed for ten to twelve hours."{{sfn|McCorduck|2004|pp=158–159}}</blockquote>
<blockquote>"I had such a sense of clarity that this was a new path, and one I was going to go down. I haven't had that sensation very many times. I'm pretty skeptical, and so I don't normally go off on a toot, but I did on that one. Completely absorbed in it—without existing with the two or three levels consciousness so that you're working, and aware that you're working, and aware of the consequences and implications, the normal mode of thought. No. Completely absorbed for ten to twelve hours."{{sfn|McCorduck|2004|pp=158–159}}</blockquote>


Newell and Simon began to talk about the possibility of teaching machines to think. Their first project was a program that could prove mathematical theorems like the ones used in [[Bertrand Russell]] and [[Alfred North Whitehead]]'s ''[[Principia Mathematica]]''. They enlisted the help of computer programmer [[Cliff Shaw]], also from [[RAND]], to develop the program. (Newell says "Cliff was the genuine computer scientist of the three"{{sfn|McCorduck|2004|p=169}}).
Newell and Simon began to talk about the possibility of teaching machines to think. Their first project was a program that could prove mathematical theorems like the ones used in [[Bertrand Russell]] and [[Alfred North Whitehead]]'s ''[[Principia Mathematica]]''. They enlisted the help of computer programmer [[Cliff Shaw]], also from RAND, to develop the program. (Newell says "Cliff was the genuine computer scientist of the three".{{sfn|McCorduck|2004|p=169}})


The first version was hand-simulated: they wrote the program onto 3x5 cards and, as Simon recalled:<blockquote>In January 1956, we assembled my wife and three children together with some graduate students. To each member of the group, we gave one of the cards, so that each one became, in effect, a component of the computer program ... Here was nature imitating art imitating nature.{{sfn|Crevier|1993|p=45}}</blockquote>
The first version was hand-simulated: they wrote the program onto 3x5 cards and, as Simon recalled:<blockquote>In January 1956, we assembled my wife and three children together with some graduate students. To each member of the group, we gave one of the cards, so that each one became, in effect, a component of the computer program ... Here was nature imitating art imitating nature.{{sfn|Crevier|1993|p=45}}</blockquote>
They succeeded in showing that the program could successfully prove theorems as well as a talented mathematician. Eventually Shaw was able to run the program on the computer at [[RAND]]'s Santa Monica facility.
They succeeded in showing that the program could successfully prove theorems as well as a talented mathematician. Eventually Shaw was able to run the program on the computer at RAND's Santa Monica facility.


In the summer of 1956, [[John McCarthy (computer scientist)|John McCarthy]], [[Marvin Minsky]], [[Claude Shannon]] and [[Nathaniel Rochester (computer scientist)|Nathan Rochester]] organized a conference on the subject of what they called "[[artificial intelligence]]" (a term coined by McCarthy for the occasion). Newell and Simon proudly presented the group with the Logic Theorist and were somewhat surprised when the program received a lukewarm reception. [[Pamela McCorduck]] writes "the evidence is that nobody save Newell and Simon themselves sensed the long-range significance of what they were doing."{{sfn|McCorduck|2004|p=124}} Simon confides that "we were probably fairly arrogant about it all"{{sfn|Crevier|1993|p=48}} and adds:
In the summer of 1956, [[John McCarthy (computer scientist)|John McCarthy]], [[Marvin Minsky]], [[Claude Shannon]] and [[Nathaniel Rochester (computer scientist)|Nathan Rochester]] organized a conference on the subject of what they called "artificial intelligence" (a term coined by McCarthy for the occasion). Newell and Simon proudly presented the group with the Logic Theorist. It was met with a lukewarm reception. [[Pamela McCorduck]] writes "the evidence is that nobody save Newell and Simon themselves sensed the long-range significance of what they were doing."{{sfn|McCorduck|2004|p=124}} Simon confides that "we were probably fairly arrogant about it all"{{sfn|Crevier|1993|p=48}} and adds:
<blockquote>They didn't want to hear from us, and we sure didn't want to hear from them: we had something to ''show'' them! ... In a way it was ironic because we already had done the first example of what they were after; and second, they didn't pay much attention to it.{{sfn|Crevier|1993|p=49}}</blockquote>
<blockquote>They didn't want to hear from us, and we sure didn't want to hear from them: we had something to ''show'' them! ... In a way it was ironic because we already had done the first example of what they were after; and second, they didn't pay much attention to it.{{sfn|Crevier|1993|p=49}}</blockquote>


Logic Theorist soon proved 38 of the first 52 theorems in chapter 2 of the ''[[Principia Mathematica]]''. The proof of theorem 2.85 was actually more elegant than the proof produced laboriously by hand by Russell and Whitehead. Simon was able to show the new proof to Russell himself who "responded with delight".{{sfn|McCorduck|2004|p=167}} They attempted to publish the new proof in ''[[The Journal of Symbolic Logic]]'' but it was rejected on the grounds that a new proof of an elementary mathematical theorem was not notable, apparently overlooking the fact that one of the authors was a computer program.{{sfn|Crevier|1993|p=146}}{{sfn|McCorduck|2004|p=167}}
Logic Theorist soon proved 38 of the first 52 theorems in chapter 2 of the ''[[Principia Mathematica]]''. The proof of theorem 2.85 was actually more elegant than the proof produced laboriously by hand by Russell and Whitehead. Simon was able to show the new proof to Russell himself who "responded with delight".{{sfn|McCorduck|2004|p=167}} They attempted to publish the new proof in ''[[The Journal of Symbolic Logic]]'', but it was rejected on the grounds that a new proof of an elementary mathematical theorem was not notable, apparently overlooking the fact that one of the authors was a computer program.{{sfn|Crevier|1993|p=146}}{{sfn|McCorduck|2004|p=167}}


Newell and Simon formed a lasting partnership, founding one of the first AI laboratories at [[Carnegie Tech]] and developing a series of influential [[artificial intelligence]] programs and ideas, including [[General Problem Solver|GPS]], [[Soar (cognitive architecture)|Soar]], and their [[unified theory of cognition]].
Newell and Simon formed a lasting partnership, founding one of the first AI laboratories at the [[Carnegie Institute of Technology]] and developing a series of influential artificial intelligence programs and ideas, including the [[General Problem Solver]], [[Soar (cognitive architecture)|Soar]], and their [[unified theory of cognition]].


== Architecture ==
== Logic Theorist's influence on AI ==
This is a brief presentation, based on.<ref>{{Cite journal |last=Gugerty |first=Leo |date=October 2006 |title=Newell and Simon's Logic Theorist: Historical Background and Impact on Cognitive Modeling |url=http://journals.sagepub.com/doi/10.1177/154193120605000904 |journal=Proceedings of the Human Factors and Ergonomics Society Annual Meeting |language=en |volume=50 |issue=9 |pages=880–884 |doi=10.1177/154193120605000904 |issn=2169-5067}}</ref>


The logical theorist is a program that performs logical ''processes'' on logical ''expressions''.

=== Expressions ===

* An expression is made of ''elements''.
* There are two kinds of memories: ''working'' and ''storage''.
* Each working memory contains a single element. The logical theorist usually uses 1 to 3 working memories.
* Each storage memory is a list representing a full expression or a set of elements. In particular, it contains all the axioms and proven logical theorems.
* An expression is an [[abstract syntax tree]], each node being an element with up to 11 attributes.

For example, the logical expression <math>\neg P \to (Q \wedge \neg P)</math> is represented as a tree with a root element representing <math>\to</math>. Among the attributes of the root element are pointers to the two elements representing the subexpressions <math>\neg P</math> and <math>Q \wedge \neg P</math>.

=== Processes ===
There are four kinds of processes, from the lowest to the highest level.

* instruction: These are similar to assembly code. They may either perform a primitive operation on an expression in working memory, or perform a conditional jump to another instruction. An example is "put the right sub-element of working-memory 1 to working-memory 2"
* elementary process: These are similar to subroutines. A sequence of instructions that can be called.
* method: A sequence of elementary processes. There are just 4 methods:
** [[substitution (logic)|substitution]]: given an expression, it attempts to transform it to a proven theorem or axiom by substitutions of variables and logical connectives.
** detachment: given expression <math>B</math>, it attempts to find a proven theorem or axiom of form <math>A \to B'</math>, where <math>B'</math> yields <math>B</math> after substitution, then attempts to prove <math>A</math> by substitution.
** chaining forward: given expression <math>A\to C</math>, it attempts to find for a proven theorem or axiom of form <math>A\to B</math>, then attempt to prove <math>B \to C</math> by substitution.
** chaining backward: given expression <math>A\to C</math>, it attempts to find for a proven theorem or axiom of form <math>B \to C</math>, then attempt to prove <math>A\to B</math> by substitution.
* executive control method: This method applies each of the 4 methods in sequence to each theorem to be proved.

== Logic Theorist's influence on AI ==
Logic Theorist introduced several concepts that would be central to AI research:
Logic Theorist introduced several concepts that would be central to AI research:


;Reasoning as search : Logic Theorist explored a [[search tree]]: the root was the initial [[hypothesis]], each branch was a deduction based on the rules of logic. Somewhere in the tree was the goal: the [[proposition]] the program intended to prove. The pathway along the branches that led to the goal was a [[proof (logic)|proof]]&nbsp;– a series of statements, each deduced using the rules of logic, that led from the hypothesis to the proposition to be proved.
;Reasoning as search : Logic Theorist explored a [[search tree]]: the root was the initial [[hypothesis]], each branch was a deduction based on the rules of logic. Somewhere in the tree was the goal: the [[proposition]] the program intended to prove. The pathway along the branches that led to the goal was a [[proof (logic)|proof]]&nbsp;– a series of statements, each deduced using the rules of logic, that led from the hypothesis to the proposition to be proved.
;Heuristics : Newell and Simon realized that the [[search tree]] would grow [[exponential growth|exponentially]] and that they needed to "trim" some branches, using "rules of thumb" to determine which pathways were unlikely to lead to a solution. They called these ''ad hoc'' rules "[[heuristics]]", using a term introduced by [[George Pólya]] in his classic book on [[mathematical proof]], ''[[How to Solve It]]''. (Newell had taken courses from Pólya at [[Stanford]]).{{sfn|Crevier|1993|p=43}} Heuristics would become an important area of research in [[artificial intelligence]] and remains an important method to overcome the [[Intractability (complexity)|intractable]] [[combinatorial explosion]] of exponentially growing searches.
;Heuristics : Newell and Simon realized that the [[search tree]] would grow [[exponential growth|exponentially]] and that they needed to "trim" some branches, using "[[rules of thumb]]" to determine which pathways were unlikely to lead to a solution. They called these ''ad hoc'' rules "[[heuristics]]", using a term introduced by [[George Pólya]] in his classic book on [[mathematical proof]], ''[[How to Solve It]]''. (Newell had taken courses from Pólya at [[Stanford]]).{{sfn|Crevier|1993|p=43}} Heuristics would become an important area of research in [[artificial intelligence]] and remains an important method to overcome the [[Intractability (complexity)|intractable]] [[combinatorial explosion]] of exponentially growing searches.
;List processing : To implement Logic Theorist on a computer, the three researchers developed a programming language, [[Information Processing Language|IPL]], which used the same form of symbolic list processing that would later form the basis of McCarthy's [[Lisp (programming language)|Lisp]] programming language, an important language still used by AI researchers.{{sfn|Crevier|1993|pp=46–48}}{{sfn|McCorduck|2004|pp=167–168}}
;List processing : To implement Logic Theorist on a computer, the three researchers developed a programming language, [[Information Processing Language|IPL]], which used the same form of symbolic list processing that would later form the basis of McCarthy's [[Lisp (programming language)|Lisp]] programming language, an important language still used by AI researchers.{{sfn|Crevier|1993|pp=46–48}}{{sfn|McCorduck|2004|pp=167–168}}


== Philosophical implications ==
== Philosophical implications ==

[[Pamela McCorduck]] writes that the Logic Theorist was "proof positive that a machine could perform tasks heretofore considered intelligent, creative and uniquely human".{{sfn|McCorduck|2004|p=167}} And, as such, it represents a milestone in the development of [[artificial intelligence]] and our understanding of intelligence in general.
[[Pamela McCorduck]] writes that the Logic Theorist was "proof positive that a machine could perform tasks heretofore considered intelligent, creative and uniquely human".{{sfn|McCorduck|2004|p=167}} And, as such, it represents a milestone in the development of [[artificial intelligence]] and our understanding of intelligence in general.


[[Herbert A. Simon|Simon]] famously told a graduate class in January 1956, "Over Christmas, Al Newell and I invented a thinking machine,"{{sfn|McCorduck|2004|p=138}}<ref>[http://shelf1.library.cmu.edu/IMLS/MindModels/problemsolving.html CMU Libraries: Problem Solving Research]
[[Herbert A. Simon|Simon]] told a graduate class in January 1956, "Over Christmas, Al Newell and I invented a thinking machine,"<ref>Quoted in {{harvtxt|McCorduck|2004|p=138}}</ref><ref>{{Cite web|url=http://shelf1.library.cmu.edu/IMLS/MindModels/problemsolving.html|title=Libraries/UnivArchives: Mind Models Exhibit/Problem Solving Research|website=shelf1.library.cmu.edu}}</ref>
</ref>
and would write:
and would write:
<blockquote><nowiki>[We]</nowiki> invented a computer program capable of thinking non-numerically, and thereby solved the venerable [[mind-body problem]], explaining how a system composed of matter can have the properties of mind.{{sfn|Crevier|1993|p=46}}</blockquote>
<blockquote><nowiki>[We]</nowiki> invented a computer program capable of thinking non-numerically, and thereby solved the venerable [[mind-body problem]], explaining how a system composed of matter can have the properties of mind.<ref>Quoted in {{harvnb|Crevier|1993|p=46}}</ref></blockquote>
This statement, that machines can have minds just as people do, would be later named "[[Chinese room#Strong AI|Strong AI]]" by philosopher [[John Searle]]. It remains a serious subject of debate up to the present day.
This statement, that machines can have minds just as people do, would be later named "[[Chinese room#Strong AI|Strong AI]]" by philosopher [[John Searle]]. It remains a serious subject of debate up to the present day.


[[Pamela McCorduck]] also sees in the Logic Theorist the debut of a new theory of the mind, the [[information processing]] model (sometimes called [[computationalism]]). She writes that "this view would come to be central to their later work, and in their opinion, as central to understanding mind in the twentieth century as Darwin's principle of natural selection had been to understanding biology in the nineteenth century."{{sfn|McCorduck|2004|p=127}} Newell and Simon would later formalize this proposal as the [[physical symbol systems hypothesis]].
[[Pamela McCorduck]] also sees in the Logic Theorist the debut of a new theory of the mind, the [[information processing (psychology)|information processing]] model (sometimes called [[computationalism]] or [[cognitive revolution|cognitivism]]). She writes that "this view would come to be central to their later work, and in their opinion, as central to understanding mind in the 20th century as [[Natural selection|Darwin's principle of natural selection]] had been to understanding biology in the [[19 century|nineteenth century]]."{{sfn|McCorduck|2004|p=127}} Newell and Simon would later formalize this proposal as the [[physical symbol systems hypothesis]].


== Notes ==
== Notes ==
{{notes}}
{{notelist}}


== Citations ==
== Citations ==
Line 54: Line 77:
* {{Crevier 1993}}, pp.&nbsp;44–46.
* {{Crevier 1993}}, pp.&nbsp;44–46.
* {{McCorduck 2004}}, pp.&nbsp;161–170.
* {{McCorduck 2004}}, pp.&nbsp;161–170.
* {{Cite book
* {{Russell Norvig 2003}}, p.&nbsp;17.
| first1 = Stuart J. | last1 = Russell | author1-link = Stuart J. Russell
| first2 = Peter. | last2 = Norvig | author2-link = Peter Norvig
| title=[[Artificial Intelligence: A Modern Approach]]
| year = 2021
| edition = 4th
| isbn = 9780134610993
| lccn = 20190474
| publisher = Pearson | location = Hoboken}}


== External links ==
== External links ==
* [http://shelf1.library.cmu.edu/IMLS/MindModels/logictheorymachine.pdf Newell and Simon's RAND Corporation report on the Logic Theorist]
* [http://shelf1.library.cmu.edu/IMLS/MindModels/logictheorymachine.pdf Newell and Simon's RAND Corporation report on the Logic Theorist]
* [https://commons.wikimedia.org/wiki/File:Newell_Simon_The_Logic_Theory_Machine_Jul56.pdf Full length version of Newell and Simon's RAND Corporation report on the Logic Theorist]
* [https://archive.org/details/bitsavers_randiplP86ineJul56_3534001 Full length version of Newell and Simon's RAND Corporation report on the Logic Theorist]
* [http://shelf1.library.cmu.edu/IMLS/MindModels/humanandmachine.html CMU Libraries: Human and Machine Minds]
* [http://shelf1.library.cmu.edu/IMLS/MindModels/humanandmachine.html CMU Libraries: Human and Machine Minds]
* [https://github.com/theoremprover-museum/logic-theorist Source code as PDF on Github]
* [https://github.com/theoremprover-museum/logic-theorist Source code as PDF on Github]

Latest revision as of 18:13, 4 August 2024

Logic Theorist is a computer program written in 1956 by Allen Newell, Herbert A. Simon, and Cliff Shaw.[1] It was the first program deliberately engineered to perform automated reasoning, and has been described as "the first artificial intelligence program".[1][a] Logic Theorist proved 38 of the first 52 theorems in chapter two of Whitehead and Bertrand Russell's Principia Mathematica, and found new and shorter proofs for some of them.[3]

History

[edit]

In 1955, when Newell and Simon began to work on the Logic Theorist, the field of artificial intelligence did not yet exist. Even the term itself ("artificial intelligence") would not be coined until the following summer.[b]

Simon was a political scientist who had already produced classic work in the study of how bureaucracies function as well as developing his theory of bounded rationality (for which he would later win a Nobel Prize). The study of business organizations requires, like artificial intelligence, an insight into the nature of human problem solving and decision making. Simon remembers consulting at RAND Corporation in the early 1950s and seeing a printer typing out a map, using ordinary letters and punctuation as symbols. He realized that a machine that could manipulate symbols could just as well simulate decision making and possibly even the process of human thought.[5][6]

The program that printed the map had been written by Newell, a RAND scientist studying logistics and organization theory. For Newell, the decisive moment was in 1954 when Oliver Selfridge came to RAND to describe his work on pattern matching. Watching the presentation, Newell suddenly understood how the interaction of simple, programmable units could accomplish complex behavior, including the intelligent behavior of human beings. "It all happened in one afternoon," he would later say.[2][7] It was a rare moment of scientific epiphany.

"I had such a sense of clarity that this was a new path, and one I was going to go down. I haven't had that sensation very many times. I'm pretty skeptical, and so I don't normally go off on a toot, but I did on that one. Completely absorbed in it—without existing with the two or three levels consciousness so that you're working, and aware that you're working, and aware of the consequences and implications, the normal mode of thought. No. Completely absorbed for ten to twelve hours."[8]

Newell and Simon began to talk about the possibility of teaching machines to think. Their first project was a program that could prove mathematical theorems like the ones used in Bertrand Russell and Alfred North Whitehead's Principia Mathematica. They enlisted the help of computer programmer Cliff Shaw, also from RAND, to develop the program. (Newell says "Cliff was the genuine computer scientist of the three".[9])

The first version was hand-simulated: they wrote the program onto 3x5 cards and, as Simon recalled:

In January 1956, we assembled my wife and three children together with some graduate students. To each member of the group, we gave one of the cards, so that each one became, in effect, a component of the computer program ... Here was nature imitating art imitating nature.[10]

They succeeded in showing that the program could successfully prove theorems as well as a talented mathematician. Eventually Shaw was able to run the program on the computer at RAND's Santa Monica facility.

In the summer of 1956, John McCarthy, Marvin Minsky, Claude Shannon and Nathan Rochester organized a conference on the subject of what they called "artificial intelligence" (a term coined by McCarthy for the occasion). Newell and Simon proudly presented the group with the Logic Theorist. It was met with a lukewarm reception. Pamela McCorduck writes "the evidence is that nobody save Newell and Simon themselves sensed the long-range significance of what they were doing."[11] Simon confides that "we were probably fairly arrogant about it all"[12] and adds:

They didn't want to hear from us, and we sure didn't want to hear from them: we had something to show them! ... In a way it was ironic because we already had done the first example of what they were after; and second, they didn't pay much attention to it.[13]

Logic Theorist soon proved 38 of the first 52 theorems in chapter 2 of the Principia Mathematica. The proof of theorem 2.85 was actually more elegant than the proof produced laboriously by hand by Russell and Whitehead. Simon was able to show the new proof to Russell himself who "responded with delight".[3] They attempted to publish the new proof in The Journal of Symbolic Logic, but it was rejected on the grounds that a new proof of an elementary mathematical theorem was not notable, apparently overlooking the fact that one of the authors was a computer program.[14][3]

Newell and Simon formed a lasting partnership, founding one of the first AI laboratories at the Carnegie Institute of Technology and developing a series of influential artificial intelligence programs and ideas, including the General Problem Solver, Soar, and their unified theory of cognition.

Architecture

[edit]

This is a brief presentation, based on.[15]

The logical theorist is a program that performs logical processes on logical expressions.

Expressions

[edit]
  • An expression is made of elements.
  • There are two kinds of memories: working and storage.
  • Each working memory contains a single element. The logical theorist usually uses 1 to 3 working memories.
  • Each storage memory is a list representing a full expression or a set of elements. In particular, it contains all the axioms and proven logical theorems.
  • An expression is an abstract syntax tree, each node being an element with up to 11 attributes.

For example, the logical expression is represented as a tree with a root element representing . Among the attributes of the root element are pointers to the two elements representing the subexpressions and .

Processes

[edit]

There are four kinds of processes, from the lowest to the highest level.

  • instruction: These are similar to assembly code. They may either perform a primitive operation on an expression in working memory, or perform a conditional jump to another instruction. An example is "put the right sub-element of working-memory 1 to working-memory 2"
  • elementary process: These are similar to subroutines. A sequence of instructions that can be called.
  • method: A sequence of elementary processes. There are just 4 methods:
    • substitution: given an expression, it attempts to transform it to a proven theorem or axiom by substitutions of variables and logical connectives.
    • detachment: given expression , it attempts to find a proven theorem or axiom of form , where yields after substitution, then attempts to prove by substitution.
    • chaining forward: given expression , it attempts to find for a proven theorem or axiom of form , then attempt to prove by substitution.
    • chaining backward: given expression , it attempts to find for a proven theorem or axiom of form , then attempt to prove by substitution.
  • executive control method: This method applies each of the 4 methods in sequence to each theorem to be proved.

Logic Theorist's influence on AI

[edit]

Logic Theorist introduced several concepts that would be central to AI research:

Reasoning as search
Logic Theorist explored a search tree: the root was the initial hypothesis, each branch was a deduction based on the rules of logic. Somewhere in the tree was the goal: the proposition the program intended to prove. The pathway along the branches that led to the goal was a proof – a series of statements, each deduced using the rules of logic, that led from the hypothesis to the proposition to be proved.
Heuristics
Newell and Simon realized that the search tree would grow exponentially and that they needed to "trim" some branches, using "rules of thumb" to determine which pathways were unlikely to lead to a solution. They called these ad hoc rules "heuristics", using a term introduced by George Pólya in his classic book on mathematical proof, How to Solve It. (Newell had taken courses from Pólya at Stanford).[16] Heuristics would become an important area of research in artificial intelligence and remains an important method to overcome the intractable combinatorial explosion of exponentially growing searches.
List processing
To implement Logic Theorist on a computer, the three researchers developed a programming language, IPL, which used the same form of symbolic list processing that would later form the basis of McCarthy's Lisp programming language, an important language still used by AI researchers.[17][18]

Philosophical implications

[edit]

Pamela McCorduck writes that the Logic Theorist was "proof positive that a machine could perform tasks heretofore considered intelligent, creative and uniquely human".[3] And, as such, it represents a milestone in the development of artificial intelligence and our understanding of intelligence in general.

Simon told a graduate class in January 1956, "Over Christmas, Al Newell and I invented a thinking machine,"[19][20] and would write:

[We] invented a computer program capable of thinking non-numerically, and thereby solved the venerable mind-body problem, explaining how a system composed of matter can have the properties of mind.[21]

This statement, that machines can have minds just as people do, would be later named "Strong AI" by philosopher John Searle. It remains a serious subject of debate up to the present day.

Pamela McCorduck also sees in the Logic Theorist the debut of a new theory of the mind, the information processing model (sometimes called computationalism or cognitivism). She writes that "this view would come to be central to their later work, and in their opinion, as central to understanding mind in the 20th century as Darwin's principle of natural selection had been to understanding biology in the nineteenth century."[22] Newell and Simon would later formalize this proposal as the physical symbol systems hypothesis.

Notes

[edit]
  1. ^ Logic theorist is usually considered the first true AI program, although Arthur Samuel's checkers program was released earlier. Christopher Strachey also wrote a checkers program in 1951.[2]
  2. ^ The term "artificial intelligence" was coined by John McCarthy in the proposal for the 1956 Dartmouth Conference. The conference is "generally recognized as the official birthdate of the new science", according to Daniel Crevier.[4]

Citations

[edit]
  1. ^ a b McCorduck 2004, pp. 123–125, Crevier 1993, pp. 44–46 and Russell & Norvig 2021, p. 17
  2. ^ a b Crevier 1993, p. 44.
  3. ^ a b c d McCorduck 2004, p. 167.
  4. ^ Crevier 1993, pp. 49–50.
  5. ^ Crevier 1993, pp. 41–44.
  6. ^ McCorduck 2004, p. 148.
  7. ^ McCorduck 2004, pp. 157–158.
  8. ^ McCorduck 2004, pp. 158–159.
  9. ^ McCorduck 2004, p. 169.
  10. ^ Crevier 1993, p. 45.
  11. ^ McCorduck 2004, p. 124.
  12. ^ Crevier 1993, p. 48.
  13. ^ Crevier 1993, p. 49.
  14. ^ Crevier 1993, p. 146.
  15. ^ Gugerty, Leo (October 2006). "Newell and Simon's Logic Theorist: Historical Background and Impact on Cognitive Modeling". Proceedings of the Human Factors and Ergonomics Society Annual Meeting. 50 (9): 880–884. doi:10.1177/154193120605000904. ISSN 2169-5067.
  16. ^ Crevier 1993, p. 43.
  17. ^ Crevier 1993, pp. 46–48.
  18. ^ McCorduck 2004, pp. 167–168.
  19. ^ Quoted in McCorduck (2004, p. 138)
  20. ^ "Libraries/UnivArchives: Mind Models Exhibit/Problem Solving Research". shelf1.library.cmu.edu.
  21. ^ Quoted in Crevier 1993, p. 46
  22. ^ McCorduck 2004, p. 127.

References

[edit]
[edit]