🤖 Loading…
Inspect an area (each costs 1 token)
Clues found so far
AI Rule Engine — live analysis
The engine fires IF-THEN rules as each clue arrives.
Your diagnosis
AI Origins · Lesson 11
Five broken robots need a diagnosis. Use IF-THEN rules to find each fault — the fewer clues you need, the better your reasoning.
Inspect an area (each costs 1 token)
Clues found so far
AI Rule Engine — live analysis
Inspect the robot to gather evidence. The AI will update here.
The engine fires IF-THEN rules as each clue arrives.
Your diagnosis
Pick evidence you observe, run the rules, and inspect how the lab combines evidence into best guesses.
This lab simulates how early AI systems reasoned using explicit IF-THEN rules.
You'll encode observations as facts, fire rules, and inspect explanations.
Easy mode shows core evidence cards and simple explanations.
Act like a systems engineer: only encode facts you can justify, then set confidence.
In the 1970s, AI researchers believed intelligence could be written down as rules. This lab lets you experience that approach: transparent reasoning with traceable explanations.
Combine evidence from multiple rules into one confidence score.
| Guess | Confidence | Status | Trace |
|---|
Run the rules and choose "Why?" on a result to see a compact explanation.
This lab represents the Symbolic AI / Expert Systems era (1970s–1980s).
Trace how an inference engine fires production rules from observed sensor facts and calculates cumulative diagnostic certainty.
Suppose our mobile robot fails to grasp a sample. Diagnostic telemetry loads the following initial facts into working memory: battery_voltage = normal, gripper_current = 0.0A, and bus_timeout = true. The knowledge base contains two diagnostic rules pointing to a severed harness:
IF battery_voltage IS normal AND gripper_current IS 0.0A THEN actuator_bus_severed [CF = 0.70]IF bus_timeout IS true THEN actuator_bus_severed [CF = 0.60]battery_voltage is normal and gripper_current is 0.0A. Because both conditions exist in working memory, Rule 101 fires. actuator_bus_severed with certainty factor \(CF_1 = 0.70\). bus_timeout = true. This condition is also satisfied, which means Rule 204 fires independently and concludes actuator_bus_severed with certainty factor \(CF_2 = 0.60\). If a third rule later confirms actuator_bus_severed with \(CF_3 = 0.50\), what is the new combined certainty factor?
Answer: \(CF_{\text{new}} = CF_{\text{prev}} + CF_3(1 - CF_{\text{prev}}) = 0.88 + 0.50(1 - 0.88) = 0.88 + 0.06 = 0.94\) (94% certainty). Each corroborating piece of evidence reduces the remaining uncertainty by half, bringing the total confidence asymptotically toward 1.0.
Primary literature on knowledge engineering, rule-based inference, and certainty factor mathematics.
Each team should publish a short reflection and demo link at the end of class.