Planner (often seen in publications as "PLANNER" although it is not an acronym) is a
programming language
A programming language is a system of notation for writing computer programs. Most programming languages are text-based formal languages, but they may also be graphical. They are a kind of computer language.
The description of a programming l ...
designed by
Carl Hewitt at
MIT, and first published in 1969. First, subsets such as Micro-Planner and Pico-Planner were implemented, and then essentially the whole language was implemented as ''Popler'' by Julian Davies at the
University of Edinburgh
The University of Edinburgh ( sco, University o Edinburgh, gd, Oilthigh Dhùn Èideann; abbreviated as ''Edin.'' in post-nominals) is a public research university based in Edinburgh, Scotland. Granted a royal charter by King James VI in 15 ...
in the
POP-2
POP-2 (also referred to as POP2) is a programming language developed around 1970 from the earlier language POP-1 (developed by Robin Popplestone in 1968, originally named COWSEL) by Robin Popplestone and Rod Burstall at the University of Ed ...
programming language.
[Carl Hewitt Middle History of Logic Programming: Resolution, Planner, Prolog and the Japanese Fifth Generation Project ArXiv 2009. ] Derivations such as QA4, Conniver, QLISP and Ether (see
scientific community metaphor
In computer science, the scientific community metaphor is a metaphor used to aid understanding scientific communities. The first publications on the scientific community metaphor in 1981 and 1982 involved the development of a programming lan ...
) were important tools in
artificial intelligence
Artificial intelligence (AI) is intelligence—perceiving, synthesizing, and inferring information—demonstrated by machine
A machine is a physical system using Power (physics), power to apply Force, forces and control Motion, moveme ...
research in the 1970s, which influenced commercial developments such as
Knowledge Engineering Environment
Knowledge Engineering Environment (KEE) is a frame-based development tool for expert systems. It was developed and sold by IntelliCorp, and first released in 1983. It ran on Lisp machines, and was later ported to Lucid Common Lisp with the CLX ...
(KEE) and
Automated Reasoning Tool
Automation describes a wide range of technologies that reduce human intervention in processes, namely by predetermining decision criteria, subprocess relationships, and related actions, as well as embodying those predeterminations in machines ...
(ART).
Procedural approach versus logical approach
The two major paradigms for constructing semantic software systems were
procedural
Procedural may refer to:
* Procedural generation, a term used in computer graphics applications
*Procedural knowledge, the knowledge exercised in the performance of some task
* Procedural law, a legal concept
*Procedural memory, a cognitive scienc ...
and
logical
Logic is the study of correct reasoning. It includes both formal and informal logic. Formal logic is the science of deductively valid inferences or of logical truths. It is a formal science investigating how conclusions follow from premises ...
. The procedural paradigm was epitomized by
Lisp
A lisp is a speech impairment in which a person misarticulates sibilants (, , , , , , , ). These misarticulations often result in unclear speech.
Types
* A frontal lisp occurs when the tongue is placed anterior to the target. Interdental lispi ...
cCarthy ''et al.'' 1962which featured recursive procedures that operated on list structures.
The logical paradigm was epitomized by uniform proof procedure
resolution-based derivation (proof) finders obinson 1965 According to the logical paradigm it was “cheating” to incorporate procedural knowledge
reen 1969
A rhyne (Somerset), rhine/rhyne (Gloucestershire), or reen (South Wales) (all pronounced "reen"; from Old English ''ryne'' or Welsh ''rhewyn'' or ''rhewin'' "ditch") is a term used in parts of England and Wales for a drainage ditch, or can ...
Procedural embedding of knowledge
Planner was invented for the purposes of the procedural embedding of knowledge
ewitt 1971and was a rejection of the
resolution uniform proof procedure paradigm
obinson 1965 which
#''Converted everything to clausal form.'' Converting all information to
clausal form is problematic because it hides the underlying structure of the information.
#''Then used resolution to attempt to obtain a proof by contradiction by adding the clausal form of the negation of the theorem to be proved.'' Using only resolution as the rule of inference is problematical because it hides the underlying structure of proofs. Also, using proof by contradiction is problematical because the axiomatizations of all practical domains of knowledge are inconsistent in practice.
Planner was a kind of hybrid between the procedural and logical paradigms because it combined programmability with logical reasoning. Planner featured a procedural interpretation of logical sentences where an implication of the form can be procedurally interpreted in the following ways using pattern-directed invocation:
#
Forward chaining
Forward chaining (or forward reasoning) is one of the two main methods of reasoning when using an inference engine and can be described logically as repeated application of '' modus ponens''. Forward chaining is a popular implementation strategy ...
(antecedently):
#:
#:
#
Backward chaining
Backward chaining (or backward reasoning) is an inference method described colloquially as working backward from the goal. It is used in automated theorem provers, inference engines, proof assistants, and other artificial intelligence applicatio ...
(consequently)
#:
#:
In this respect, the development of Planner was influenced by
natural deductive logical system
A formal system is an abstract structure used for inferring theorems from axioms according to a set of rules. These rules, which are used for carrying out the inference of theorems from axioms, are the logical calculus of the formal system.
A for ...
s (especially the one by
Frederic Fitch
Frederic Brenton Fitch (September 9, 1908, Greenwich, Connecticut – September 18, 1987, New Haven, Connecticut) was an American logician, a Sterling Professor at Yale University.
Education and career
At Yale, Fitch earned his B.A in 1931 and h ...
952.
Micro-planner implementation
A subset called Micro-Planner was implemented by
Gerry Sussman
Gerald Jay Sussman (born February 8, 1947) is the Panasonic Professor of Electrical engineering, Electrical Engineering at the Massachusetts Institute of Technology (MIT). He received his Bachelor of Science, S.B. and Doctor of Philosophy, Ph.D. ...
,
Eugene Charniak and
Terry Winograd
Terry Allen Winograd (born February 24, 1946) is an American professor of computer science at Stanford University, and co-director of the Stanford Human–Computer Interaction Group. He is known within the philosophy of mind and artificial intel ...
ussman, Charniak, and Winograd 1971and was used in Winograd's natural-language understanding program
SHRDLU, Eugene Charniak's story understanding work, Thorne McCarty's work on legal reasoning, and some other projects. This generated a great deal of excitement in the field of AI. It also generated controversy because it proposed an alternative to the logic approach that had been one of the mainstay paradigms for AI.
At
SRI International
SRI International (SRI) is an American nonprofit organization, nonprofit scientific research, scientific research institute and organization headquartered in Menlo Park, California. The trustees of Stanford University established SRI in 1946 as ...
, Jeff Rulifson, Jan Derksen, and
Richard Waldinger developed
QA4 which built on the constructs in Planner and introduced a context mechanism to provide modularity for expressions in the database. Earl Sacerdoti and Rene Reboh developed QLISP, an extension of QA4 embedded in
INTERLISP
Interlisp (also seen with a variety of capitalizations) is a programming environment built around a version of the programming language Lisp. Interlisp development began in 1966 at Bolt, Beranek and Newman (renamed BBN Technologies) in Cambridge, ...
, providing Planner-like reasoning embedded in a procedural language and developed in its rich programming environment. QLISP was used by
Richard Waldinger and Karl Levitt for program verification, by Earl Sacerdoti for planning and execution monitoring, by
Jean-Claude Latombe for computer-aided design, by Richard Fikes for deductive retrieval, and by Steven Coles for an early expert system that guided use of an econometric model.
Computers were expensive. They had only a single slow processor and their memories were very small by comparison with today. So Planner adopted some efficiency expedients including the following:
*Backtracking
olomb and Baumert 1965was adopted to economize on the use of time and storage by working on and storing only one possibility at a time in exploring alternatives.
*A unique name assumption was adopted to save space and time by assuming that different names referred to different objects. For example, names like Peking (previous PRC capital name) and Beijing (current PRC capital transliteration) were assumed to refer to different objects.
*A
closed-world assumption The closed-world assumption (CWA), in a formal system of logic used for knowledge representation, is the presumption that a statement that is true is also known to be true. Therefore, conversely, what is not currently known to be true, is false. Th ...
could be implemented by conditionally testing whether an attempt to prove a goal exhaustively failed. Later this capability was given the misleading name "
negation as failure" because for a goal it was possible to say: "if attempting to achieve exhaustively fails then assert ."
The genesis of Prolog
Gerry Sussman
Gerald Jay Sussman (born February 8, 1947) is the Panasonic Professor of Electrical engineering, Electrical Engineering at the Massachusetts Institute of Technology (MIT). He received his Bachelor of Science, S.B. and Doctor of Philosophy, Ph.D. ...
,
Eugene Charniak,
Seymour Papert
Seymour Aubrey Papert (; 29 February 1928 – 31 July 2016) was a South African-born American mathematician, computer scientist, and educator, who spent most of his career teaching and researching at MIT. He was one of the pioneers of artifici ...
and
Terry Winograd
Terry Allen Winograd (born February 24, 1946) is an American professor of computer science at Stanford University, and co-director of the Stanford Human–Computer Interaction Group. He is known within the philosophy of mind and artificial intel ...
visited the University of
Edinburgh
Edinburgh ( ; gd, Dùn Èideann ) is the capital city of Scotland and one of its 32 Council areas of Scotland, council areas. Historically part of the county of Midlothian (interchangeably Edinburghshire before 1921), it is located in Lothian ...
in 1971, spreading the news about Micro-Planner and
SHRDLU and casting doubt on the resolution uniform proof procedure approach that had been the mainstay of the Edinburgh Logicists. At the University of Edinburgh, Bruce Anderson implemented a subset of Micro-Planner called PICO-PLANNER (Anderson 1972) and Julian Davies (1973) implemented essentially all of Planner.
According to Donald MacKenzie,
Pat Hayes recalled the impact of a visit from Papert to Edinburgh, which had become the "heart of
artificial intelligence
Artificial intelligence (AI) is intelligence—perceiving, synthesizing, and inferring information—demonstrated by machine
A machine is a physical system using Power (physics), power to apply Force, forces and control Motion, moveme ...
's Logicland," according to Papert's MIT colleague, Carl Hewitt. Papert eloquently voiced his critique of the resolution approach dominant at Edinburgh "…and at least one person upped sticks and left because of Papert."
acKenzie 2001 p 82.
The above developments generated tension among the Logicists at Edinburgh. These tensions were exacerbated when the UK Science Research Council commissioned Sir James Lighthill to write a report on the AI research situation in the UK. The
resulting report James Lighthill">Lighthill 1973; John McCarthy (computer scientist)">McCarthy McCarthy (also spelled MacCarthy or McCarty) may refer to:
* MacCarthy, a Gaelic Irish clan
* McCarthy, Alaska, United States
* McCarty, Missouri, United States
* McCarthy Road, a road in Alaska
* McCarthy (band), an indie pop band
* Château MacC ...
was favorably mentioned.
Pat Hayes visited Stanford where he learned about Planner. When he returned to Edinburgh, he tried to influence his friend Bob Kowalski to take Planner into account in their joint work on automated theorem proving. "Resolution theorem-proving was demoted from a hot topic to a relic of the misguided past.
doggedly stuck to his faith in the potential of resolution theorem proving. He carefully studied Planner.” according to Bruynooghe, Pereira, Siekmann, and van Emden
." But Planner was invented for the purposes of the procedural embedding of knowledge and was a rejection of the resolution uniform proof procedure paradigm. Colmerauer and Roussel recalled their reaction to learning about Planner in the following way:
"While attending an IJCAI convention in September ‘71 with Jean Trudel, we met
again and heard a lecture by Terry Winograd on natural language processing. The fact that he did not use a unified formalism left us puzzled. It was at this time that we learned of the existence of Carl Hewitt’s programming language, Planner
The lack of formalization of this language, our ignorance of Lisp and, above all, the fact that we were absolutely devoted to logic meant that this work had little influence on our later research."