General Problem Solver: Fundamentals and Applications
By Fouad Sabry
()
About this ebook
What Is General Problem Solver
GPS, which stands for "General Problem Solver," is a computer program that was developed in 1957 by Herbert A. Simon, J. C. Shaw, and Allen Newell with the intention of functioning as a universal problem solver machine. Analyzing the relationship between means and ends is central to the operation of the GPS, in contrast to the Logic Theorist endeavor.
How You Will Benefit
(I) Insights, and validations about the following topics:
Chapter 1: General Problem Solver
Chapter 2: First-order logic
Chapter 3: A* search algorithm
Chapter 4: Soar (cognitive architecture)
Chapter 5: Heuristic
Chapter 6: Combinatorial explosion
Chapter 7: Logic Theorist
Chapter 8: Iterative deepening A*
Chapter 9: Means-ends analysis
Chapter 10: State space search
(II) Answering the public top questions about general problem solver.
(III) Real world examples for the usage of general problem solver in many fields.
Who This Book Is For
Professionals, undergraduate and graduate students, enthusiasts, hobbyists, and those who want to go beyond basic knowledge or information for any kind of general problem solver.
What is Artificial Intelligence Series
The artificial intelligence book series provides comprehensive coverage in over 200 topics. Each ebook covers a specific Artificial Intelligence topic in depth, written by experts in the field. The series aims to give readers a thorough understanding of the concepts, techniques, history and applications of artificial intelligence. Topics covered include machine learning, deep learning, neural networks, computer vision, natural language processing, robotics, ethics and more. The ebooks are written for professionals, students, and anyone interested in learning about the latest developments in this rapidly advancing field.
The artificial intelligence book series provides an in-depth yet accessible exploration, from the fundamental concepts to the state-of-the-art research. With over 200 volumes, readers gain a thorough grounding in all aspects of Artificial Intelligence. The ebooks are designed to build knowledge systematically, with later volumes building on the foundations laid by earlier ones. This comprehensive series is an indispensable resource for anyone seeking to develop expertise in artificial intelligence.
Read more from Fouad Sabry
Related to General Problem Solver
Titles in the series (100)
Radial Basis Networks: Fundamentals and Applications for The Activation Functions of Artificial Neural Networks Rating: 0 out of 5 stars0 ratingsConvolutional Neural Networks: Fundamentals and Applications for Analyzing Visual Imagery Rating: 0 out of 5 stars0 ratingsHebbian Learning: Fundamentals and Applications for Uniting Memory and Learning Rating: 0 out of 5 stars0 ratingsArtificial Neural Networks: Fundamentals and Applications for Decoding the Mysteries of Neural Computation Rating: 0 out of 5 stars0 ratingsRestricted Boltzmann Machine: Fundamentals and Applications for Unlocking the Hidden Layers of Artificial Intelligence Rating: 0 out of 5 stars0 ratingsRecurrent Neural Networks: Fundamentals and Applications from Simple to Gated Architectures Rating: 0 out of 5 stars0 ratingsEmbodied Cognition: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsSubsumption Architecture: Fundamentals and Applications for Behavior Based Robotics and Reactive Control Rating: 0 out of 5 stars0 ratingsLong Short Term Memory: Fundamentals and Applications for Sequence Prediction Rating: 0 out of 5 stars0 ratingsLearning Intelligent Distribution Agent: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsBackpropagation: Fundamentals and Applications for Preparing Data for Training in Deep Learning Rating: 0 out of 5 stars0 ratingsFeedforward Neural Networks: Fundamentals and Applications for The Architecture of Thinking Machines and Neural Webs Rating: 0 out of 5 stars0 ratingsMulti Agent System: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsMultilayer Perceptron: Fundamentals and Applications for Decoding Neural Networks Rating: 0 out of 5 stars0 ratingsCompetitive Learning: Fundamentals and Applications for Reinforcement Learning through Competition Rating: 0 out of 5 stars0 ratingsNouvelle Artificial Intelligence: Fundamentals and Applications for Producing Robots With Intelligence Levels Similar to Insects Rating: 0 out of 5 stars0 ratingsHybrid Neural Networks: Fundamentals and Applications for Interacting Biological Neural Networks with Artificial Neuronal Models Rating: 0 out of 5 stars0 ratingsSupport Vector Machine: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsBio Inspired Computing: Fundamentals and Applications for Biological Inspiration in the Digital World Rating: 0 out of 5 stars0 ratingsStatistical Classification: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsPerceptrons: Fundamentals and Applications for The Neural Building Block Rating: 0 out of 5 stars0 ratingsNetworked Control System: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsHopfield Networks: Fundamentals and Applications of The Neural Network That Stores Memories Rating: 0 out of 5 stars0 ratingsBlackboard System: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsSituated Artificial Intelligence: Fundamentals and Applications for Integrating Intelligence With Action Rating: 0 out of 5 stars0 ratingsArtificial Immune Systems: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsHierarchical Control System: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsGroup Method of Data Handling: Fundamentals and Applications for Predictive Modeling and Data Analysis Rating: 0 out of 5 stars0 ratingsAttractor Networks: Fundamentals and Applications in Computational Neuroscience Rating: 0 out of 5 stars0 ratingsControl System: Fundamentals and Applications Rating: 0 out of 5 stars0 ratings
Related ebooks
Logic: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsAutomated Reasoning: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsScience and Design of Problem Solving Systems Rating: 0 out of 5 stars0 ratingsDigital Image Processing: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsQuantum Philosophy: Anecdotes of Metaphysics and Reasoning Rating: 0 out of 5 stars0 ratingsThe New Adventures of Socrates: an extravagance Rating: 0 out of 5 stars0 ratingsHeuristic: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsMastering MongoDB: A Comprehensive Guide to NoSQL Database Excellence Rating: 0 out of 5 stars0 ratingsBeginning Spring Rating: 0 out of 5 stars0 ratingsProfessional JavaScript for Web Developers Rating: 0 out of 5 stars0 ratingsPhilosophy & Ethics: Philosophical Approaches, Critical Thinking & Critical Analysis in Ethics. Rating: 0 out of 5 stars0 ratingsMathematical Logic and Formalized Theories: A Survey of Basic Concepts and Results Rating: 4 out of 5 stars4/5Kernel Methods: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsAncilla to the Pre-Socratic Philosophers Rating: 0 out of 5 stars0 ratingsMongoDB for Jobseekers: Reach new heights in your career with MongoDB (English Edition) Rating: 0 out of 5 stars0 ratingsTwo Essays on Entropy Rating: 4 out of 5 stars4/5The Nature of Mathematics Given Physicalism Rating: 0 out of 5 stars0 ratingsIntroduction to Quantum Physics Rating: 0 out of 5 stars0 ratingsThat's Maths: The Mathematical Magic in Everyday Life Rating: 0 out of 5 stars0 ratingsSrinivasa Ramanujan Rating: 0 out of 5 stars0 ratingsGroup Method of Data Handling: Fundamentals and Applications for Predictive Modeling and Data Analysis Rating: 0 out of 5 stars0 ratingsReal Analysis: A Historical Approach Rating: 0 out of 5 stars0 ratingsPractical Programming 6 in 1: Python Machine Learning, JavaScript, React 17, And Angular With Typescript Rating: 0 out of 5 stars0 ratingsCapital: The Process of Capitalist Production as a Whole Rating: 0 out of 5 stars0 ratingsNatural Language Processing: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsFoundations of Deductive Databases and Logic Programming Rating: 5 out of 5 stars5/5The Philosophy of Mathematics: "A True Definition of Mathematics" Rating: 5 out of 5 stars5/5Thoughts Out of Season (Part II) Rating: 0 out of 5 stars0 ratingsData Mining: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsData Structures and Algorithms with Go: Create efficient solutions and optimize your Go coding skills (English Edition) Rating: 0 out of 5 stars0 ratings
Intelligence (AI) & Semantics For You
Mastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 5 out of 5 stars5/5Artificial Intelligence: A Guide for Thinking Humans Rating: 4 out of 5 stars4/52084: Artificial Intelligence and the Future of Humanity Rating: 4 out of 5 stars4/5ChatGPT For Fiction Writing: AI for Authors Rating: 5 out of 5 stars5/5Dark Aeon: Transhumanism and the War Against Humanity Rating: 5 out of 5 stars5/5Summary of Super-Intelligence From Nick Bostrom Rating: 5 out of 5 stars5/5Midjourney Mastery - The Ultimate Handbook of Prompts Rating: 5 out of 5 stars5/5Impromptu: Amplifying Our Humanity Through AI Rating: 5 out of 5 stars5/5The Algorithm of the Universe (A New Perspective to Cognitive AI) Rating: 5 out of 5 stars5/5Chat-GPT Income Ideas: Pioneering Monetization Concepts Utilizing Conversational AI for Profitable Ventures Rating: 4 out of 5 stars4/510 Great Ways to Earn Money Through Artificial Intelligence(AI) Rating: 5 out of 5 stars5/5101 Midjourney Prompt Secrets Rating: 3 out of 5 stars3/5Dancing with Qubits: How quantum computing works and how it can change the world Rating: 5 out of 5 stars5/5The Secrets of ChatGPT Prompt Engineering for Non-Developers Rating: 5 out of 5 stars5/5Creating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5Humans Need Not Apply: A Guide to Wealth & Work in the Age of Artificial Intelligence Rating: 4 out of 5 stars4/5Mastering ChatGPT Rating: 0 out of 5 stars0 ratingsOur Final Invention: Artificial Intelligence and the End of the Human Era Rating: 4 out of 5 stars4/5What Makes Us Human: An Artificial Intelligence Answers Life's Biggest Questions Rating: 5 out of 5 stars5/5The Age of AI: Artificial Intelligence and the Future of Humanity Rating: 0 out of 5 stars0 ratings
Reviews for General Problem Solver
0 ratings0 reviews
Book preview
General Problem Solver - Fouad Sabry
Chapter 1: General Problem Solver
In 1957, Herbert A. Simon, J. C. Shaw, and Allen Newell (RAND Corporation) developed a computer program called General Problem Solver (GPS) with the intention of making it into a universal problem solver machine. The GPS employs a means-ends approach, in contrast to the defunct Logic Theorist project.
In principle, GPS can solve any problem that can be expressed as a directed graph with one or more sources (that is, axioms) and sinks (that is, desired conclusions) using well-formed formulas (WFFs) or Horn clauses. For instance, GPS can be used to prove results in the problem spaces of predicate logic and Euclidean geometry. It was based on the research of Simon and Newell on logic machines. By decoupling its problem-solving strategy from its problem-knowledge (represented as input data), GPS was the first computer program of its kind (a generic solver engine). IPL, a third-order programming language, was used to implement GPS.
Because search was easily lost in the combinatorial explosion, GPS could solve only trivial problems like the Towers of Hanoi that could be sufficiently formalized. A computationally infeasible number of walks
through the inferential digraph was reached. (Even a simple state space search, like the Towers of Hanoi, can become computationally infeasible in practice, though judicious prunings of the state space can be achieved by such elementary AI techniques as A* and IDA*.).
In order to solve problems, the user defined objects and the operations that could be performed on those objects, and GPS generated heuristics through means-ends analysis. It zeroed in on the possible processes, determining which inputs worked and which ones produced results. Then, it set smaller objectives to accomplish along the way.
The AI architecture Soar is a direct descendant of the GPS paradigm.
{End Chapter 1}
Chapter 2: First-order logic
First-order logic is a set of formal systems that are used in the fields of mathematics, philosophy, linguistics, and computer science. Other names for first-order logic include predicate logic, quantificational logic, and first-order predicate calculus. In first-order logic, quantified variables take precedence over non-logical objects, and the use of sentences that contain variables is permitted. As a result, rather than making assertions such as Socrates is a man,
one can make expressions of the form there exists x such that x is Socrates and x is a man,
where there exists
is a quantifier and x
is a variable. In this way, propositional logic may be thought of as the basis for first-order logic.
A theory pertaining to a subject, such as set theory, a theory for groups, or a formal theory of arithmetic, is typically a first-order logic together with a specified domain of discourse (over which the quantified variables range), finitely many functions from that domain to itself, finitely many predicates defined on that domain, and a set of axioms that are believed to hold about them. Sometimes, in a more academic meaning, theory
is believed to refer to nothing more than a collection of words in first-order logic.
First-order logic may be differentiated from higher-order logic by the use of the word first-order.
, which involve predicates that take other predicates or functions as input, quantification may be performed over predicates or functions alternatively, or both, are permitted.: 56 In first-order theories, sets and predicates are often seen working together.
In higher-order theories with their interpretations, It is possible to see predicates as collections of collections.
There are a lot of different deductive systems for first-order logic, and most of them are both valid and sound, all verifiable propositions are true in all models) and full (i.e.
It is possible to prove any proposition if it holds true across all models.
Despite the fact that the link between logical consequences is merely semidecidable, In first-order logic, automated theorem proving has seen significant advancements in recent years.
Additionally, first-order logic complies with a number of metalogical theorems, which enables it to be examined via the lens of proof theory, such as the Löwenheim–Skolem theorem and the compactness theorem.
The study of first-order logic, which serves as the industry standard for the formalization of mathematics into axioms, is included in the foundations of mathematical research. The axiomatization of number theory into first-order logic is known as Peano arithmetic, while the axiomatization of set theory into first-order logic is known as Zermelo–Fraenkel set theory. A structure having an infinite domain, such as the natural numbers or the real line, cannot be adequately described by any first-order theory since such a theory lacks the power necessary to do so. Stronger logics, such as second-order logic, make it possible to generate axiom systems that categorically describe both of these structures in their entirety. These are known as categorical axiom systems.
Gottlob Frege and Charles Sanders Peirce both made significant contributions to the development of first-order logic separately.
For more information on the development of first-order logic and the reasons it came to predominate formal logic, go here, see José Ferreirós (2001).
First-order logic, as contrast to propositional logic, is concerned with more straightforward declarative statements, although it also addresses predicates and quantification.
A predicate is a statement that evaluates to either true or false based on one or more things in the domain of discourse. Think about the fact that both Socrates is a philosopher
and Plato is a philosopher
are true. These statements are thought to have no connection to one another in propositional logic, and as such, they might be represented by variables such as p and q, for instance. Each of these phrases have the basic structure of a is a philosopher,
which means that the predicate is a philosopher
appears in both of them. In the first phrase, the variable an is represented by the name Socrates,
while in the second sentence, the variable an is represented by the name Plato.
In this particular example, the employment of predicates, such as is a philosopher,
is permissible within the framework of first-order logic, while propositional logic does not.
Logical connectives allow one to express the nature of the relationships that exist between predicates. Take for instance the first-order rule that states, if an is a philosopher, then an is a scholar.
This formulation is an example of a conditional statement, with the hypothesis being that a is a philosopher,
and the conclusion being that a is a scholar.
The validity of this equation is contingent not only on the nature of the thing signified by a, but also on how one understands the meanings of the predicates is a philosopher
and is a scholar.
.
In a formula, quantifiers may be used in conjunction with variables. The value of the variable an in the above formula may be quantified globally by using, for example, the first-order phrase For any a, if an is a philosopher, then an is a scholar.
The use of the universal quantifier for every
in this statement conveys the concept that the assertion if an is a philosopher, then an is a scholar
is true for any and all possible combinations of the letter a.
The logically equivalent opposite of the statement For any a, if an is a philosopher, then an is a scholar,
which is the phrase There exists a such that an is a philosopher and an is not a scholar,
is the statement There exists a such that an is not a scholar.
The concept that the statement a is a philosopher and an is not a scholar
is true for some choice of a
is what the existential quantifier there exists
is trying to communicate to us.
Both is a philosopher
and is a scholar
are examples of predicates that accept a single variable as an argument. In most cases, predicates are able to accept a number of variables. The predicate is the teacher of
in the first-order phrase Socrates is the teacher of Plato
has two variables that it is referring to.
An interpretation of a first-order formula, also known as a model, clarifies the meaning of each predicate and identifies the entities that are capable of instantiating the variables. The domain of discourse, often known as the universe, is typically expected to be a set that is not empty. These things make up the universe. For instance, in an interpretation in which the domain of discourse consists of all human beings and the predicate is a philosopher
is understood as was the author of the Republic,
the sentence There exists such a person that such a person is a philosopher
is considered to be true, as Plato was the one who witnessed it.
In first-order logic, there are two fundamental components. In first-order logic, well-formed expressions are determined to be finite sequences of symbols according to the syntax, while the meanings of these expressions are determined according to the semantics of the language.
The language of first-order logic, in contrast to natural languages such as English, is entirely formal. As a result, it is possible to assess, in a mechanized manner, whether or not a particular sentence is correctly constructed. Well-formed expressions may be broken down into two primary categories: words, which intuitively describe things, and formulae, which intuitively convey propositions that can be either true or untrue. In first-order logic, the words and formulae are represented by strings of symbols, and the alphabet of the language is formed by the symbols themselves in their whole. Formal logic cannot be applied to the nature of the symbols themselves, as is the case with all formal languages; yet, most people consider them to be nothing more than letters and punctuation marks.
It is usual practice to separate the letters of the alphabet into their corresponding logical symbols, They are usually understood to imply the same thing, in addition to illogical symbols, Its meaning is dependent on how it is interpreted.
For example, the logical symbol \land always represents and
; It is never used to mean or
in any context, which is represented by the logical symbol \lor .
However, One possible interpretation of a non-logical predicate symbol such as Phil(x) is that it means x is a philosopher.
, the person x is known as Philip
, or any other unary predicate, depending on the interpretation that is being applied at the time.
Logical symbols are a collection of characters that may look different depending on who creates them, but they often consist of the following::
Quantifier symbols: ∀ for universal quantification, and ∃ for existential quantification
Logical connectives: ∧ for conjunction, ∨ for disjunction, → for implication, ↔ for biconditional, ¬ for negation.
Some authors use Cpq instead of → and Epq instead of ↔, especially in contexts