A-Z Popular Blog Algorithms Search »
Related Guides

What is Forward Chaining?

 , updated on
Forward chaining is code or artificial intelligence that deduces things from known facts. The following is a simple example.
a. Food costs money
b. Rice is food
Inference: rice costs money

Fuzzy Logic

Forward chaining is a type of logic known as inference, the process of taking valid statements to produce new valid statements. Many systems of logic only understand true or false. Fuzzy logic is a term for logic that can handle the grey areas inbetween. It is common for forward chaining to be based on fuzzy logic. The following is an example.
a. Most food prices increased recently
b. Rice is food
Inference: the price of rice probably increased recently

Forward Chaining vs Backward Chaining

Forward chaining develops new facts to explore information in order to solve problems. If you have no direct information about the price of rice, you might be able to figure it out based on information you do possess.
Backward chaining is the opposite approach to logic that begins with what is unknown. For example, you might begin with a goal and try to figure out how to reach it. The choice between forward chaining and backward chaining generally depends on the type of problem you're trying to solve. It is also common to use both approaches to work on a problem from different directions. The following is an example of backward chaining.
Start: How do I get to London?
A: If I drive I will end up in the ocean
B: If I take a boat it will take weeks
C: If I fly it will take hours
Decision: The best way to London is to fly
Overview: Forward Chaining
Deriving new facts from what you know in order to solve problems or make decisions.
Related Concepts


This is the complete list of articles we have written about algorithms.
Backward Induction
Brute Force
Decision Trees
Forward Chaining
Input Is Error
IT Examples
Proof Of Work
Reluctant Algorithms
Reverse Algorithms
Soft Computing
More ...
If you enjoyed this page, please consider bookmarking Simplicable.


A few types of algorithms.

Algorithms vs Code

The difference between algorithms and code.

Deep Magic

An overview of deep magic, a technology term.

Edit Distance

An overview of edit distance.

Random Seed

The definition of random seed with examples.

Soft Computing

The definition of soft computing with examples.

Algorithmic Accountability

The definition of algorithmic accountability with examples.

Input Is Error

An overview of input is error.

IT Bias

An overview of IT biases with examples.

Types Of Artificial Intelligence

A few common types of artificial intelligence.

Technological Singularity

Technological singularity explained.

Affective Computing

Artificial intelligence and emotion.

Artificial Life

An overview of artificial life.

Machine Logic

How artificial intelligence can be illogical.

Deep Learning

A definition of deep learning with examples.

Supervised Learning vs Unsupervised Learning

The difference between supervised and unsupervised learning with an example.

Natural Language Processing

The common types of natural language processing.

Autonomous Systems

Common types of autonomous systems.

Artificial Intelligence Examples

Common examples of artificial intelligence.
The most popular articles on Simplicable in the past day.

New Articles

Recent posts or updates on Simplicable.
Site Map