How does a machine derive a new fact?
Knowing facts is useful. Knowing what follows from those facts is where a knowledge system starts to reason.
Symbolic inference makes relationships explicit. Instead of asking a model to guess a conclusion, we define facts and rules, then apply the rules to derive new facts. For example: if A is inside B, and B is inside C, then A is inside C. The important object is not the answer alone, but the chain that produced it.
Rules give a reasoning system inspectable structure. You can see which facts were known, which rule fired, and why a new fact was added. That makes debugging and verification possible in a way that an unexplained prediction is not.
Build a tiny forward-chaining engine. Start with facts such as “A is left of B” and “B is left of C”. Add a rule saying: if X is left of Y and Y is left of Z, infer X is left of Z. Then add a contradictory fact and see whether your engine detects or blindly accepts the inconsistency.
left(A, B) left(B, C) left(X, Y) AND left(Y, Z) → left(X, Z) Derived: left(A, C)
Naive rule systems can explode as the number of facts grows, apply rules in the wrong order, derive redundant facts, or silently preserve contradictions. A rule engine is only as reliable as its representation, rule definitions and consistency checks.
Reasoning becomes inspectable when facts, rules and derived conclusions are separate objects.