Inactive Fact active Rule fired Rule blocked Conclusion

Expert System Inference Simulator (2D)

Expert systems solve problems by applying a knowledge base of "if-then" rules to a set of known facts. This 2D companion renders that same rule network flat on a canvas: base facts sit in one column, the rules that consume them sit in the next, and the facts those rules derive feed the following column, all the way to a final diagnosis. Run forward chaining to watch evidence ignite rules and propagate toward a conclusion, or switch to backward chaining to watch the engine work backward from the goal, verifying each subgoal against the rules and facts that support it. Tune which symptoms are present, how confidently each rule fires, and how fast the chain animates to see how real-world uncertainty and incomplete evidence can stall — or complete — an inference chain.