Reasoning from facts and rules
How a knowledge base and inference engine apply human-authored rules to facts, enabling AI reasoning without model training. · foundational
Rule-based AI uses knowledge that people write as explicit rules. It applies those rules to available facts to derive a conclusion or select an action. This supports reasoning without requiring model training: the relationships come from human authors.
A fact describes something known about the current case, such as device is reachable locally. A rule describes what follows when specified conditions hold, usually in an if–then form: IF device is reachable locally AND gateway is unreachable, THEN suspect a gateway-path issue.
The rule expresses troubleshooting knowledge; the facts describe one device's situation. Applying the rule produces a suspected cause, not proof that the gateway itself is broken. An ordinary conditional statement alone does not make an application AI: here, rules represent domain knowledge used to reason about a problem.