Computer Proofs of Limit Theorems

W. W. Bledsoe, Robert S. Boyer, William H. HennemanIJCAI 1971

Abstract

In the early development of automated theorem proving (ATP), general-purpose logic systems like resolution struggled with the combinatorial explosion of field axioms in real analysis. This 1971 study by Bledsoe, Boyer, and Henneman introduced a paradigm shift by incorporating domain-specific "limit heuristics" and algebraic calculation. By treating inequalities as constraints and employing "forcing" techniques, their system successfully produced efficient proofs for fundamental calculus theorems, such as the limit of a product, which were previously intractable for general provers.

Introduction: Beyond General Resolution

By the early 1970s, the field of ATP was dominated by resolution-based methods. While theoretically powerful, these methods faltered when applied to calculus. Proving a simple limit theorem required navigating an immense search space of algebraic identities—associativity, commutativity, and distributive laws. Human mathematicians avoid this by calculating obvious steps and using specialized "tricks" like the triangle inequality. Bledsoe et al. sought to bridge this gap by embedding mathematical intuition directly into a LISP-based program running on a PDP-10.

Methodology: Heuristics and Calculation

The authors' system relied on several specialized routines that prioritized calculation over exhaustive logical search.

1. The Limit Heuristic (Forcing)

The centerpiece of the program is a "forcing" heuristic. When tasked with proving a goal like $|f(x) \cdot g(x) - L_1 \cdot L_2| < \epsilon$, the program does not search for a random match. Instead, it uses the triangle inequality to decompose the goal into subgoals. It "forces" the hypotheses to contribute to the proof, effectively asking: "If I use this known bound to cover part of the error, what is the remaining requirement?"

2. Constraint Solving and Type Tracking

Instead of treating inequalities as mere logical predicates, the program treats them as constraints on variable "types" (intervals). The SOLVE< routine calculates these bounds directly, allowing the prover to maintain a state of known bounds rather than re-proving them from axioms at every step.

Figure 3: Examples of the SOLVE< routine updating variable types based on inequality constraints.

As shown in Figure 3, if the program knows $x$ is in the interval $(0, \infty)$ and encounters the constraint $x < 1$, it updates the "type" of $x$ to the interval $(0, 1)$.

3. Algebraic Simplification

To prevent the prover from getting lost in equivalent but different-looking expressions, a simplification routine puts all terms into canonical forms. This routine automatically handles distribution, term cancellation, and absolute values, offloading the "boring" algebra from the high-level proof strategy.

Figure 4: The algebraic simplification routine transforming complex inputs into simplified or canonical outputs.

Figure 4 illustrates this process: for instance, simplifying $(a \cdot b \cdot \frac{1}{a})$ to $b$ or reducing complex absolute value expressions like $(|b+c-b| + a)$ to $(|c| + a)$.

Key Results: The Product Limit Theorem

The system was evaluated on a suite of benchmark theorems from elementary calculus, including the continuity of composite functions and the limits of sums and products. A landmark achievement was the automated proof of the Product Limit Theorem: $\lim_{x \to a} (f(x) \cdot g(x)) = (\lim_{x \to a} f(x)) \cdot (\lim_{x \to a} g(x))$. This proof is notoriously difficult for machines because it requires introducing and bounding intermediate terms. The "forcing" heuristic allowed the program to navigate this complexity efficiently, reaching a proof in a fraction of the time required by general-purpose systems.

Discussion and Limitations

While highly successful, the authors noted several limitations. The system struggled with quotients (division) without specialized heuristics for fractions. Furthermore, the approach relies on a "big switch"—an overseer program that must decide which heuristic to apply to a given problem. This raised a fundamental question in AI: can a collection of domain-specific "tricks" eventually scale to cover all of mathematics?

Conclusion

The work of Bledsoe, Boyer, and Henneman demonstrated that domain specificity is a powerful feature in automated reasoning. By prioritizing "calculation" over "proving" for algebraic tasks, they paved the way for modern computer algebra systems and more sophisticated interactive theorem provers.

Summary updated

BibTeX
@inproceedings{bledsoe1971computer,
  author = {W. W. Bledsoe and Robert S. Boyer and William H. Henneman},
  title = {{Computer Proofs of Limit Theorems}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1971},
}
Figure