How are previously decided court cases similar to theorems?

Previously decided court cases are similar to theorems in that they both provide a set of facts and a conclusion based on those facts. The conclusion of a court case is a legal ruling, while the conclusion of a theorem is a mathematical statement. Both theorems and court cases rely on the same principles of logic and reasoning to reach their conclusions.