Abstract
This article details the formalization of fundamental discrete calculus operators—forward, backward, and central differences, as well as difference quotients—within the Mizar Mathematical Library (MML). By establishing these operators through Tarski-Grothendieck set theory, the authors provide a machine-verifiable foundation for future work in numerical analysis and computational mathematics.
Introduction
In traditional mathematics, operators like the forward difference ($\Delta f(x) = f(x+h) - f(x)$) are standard tools in numerical analysis. However, for computer-aided proof systems, these must be defined with absolute logical precision regarding their domains and functional properties. This paper bridges the gap between informal textbook definitions and formal, computer-verifiable logic, ensuring that every term is defined using rigorous set theory.
Methodology and Formal Construction
The authors utilize the Mizar language, a formal notation designed to be readable by both humans and computers. The core of their approach involves defining a Shift operator as the primary building block. From this foundation, they construct a hierarchy of definitions:
- Basic Differences: Defining operators for forward (
fD), backward (bD), and central (cD) differences as functional subtractions (e.g., Forward Difference =Shift(f, h) - f). - Higher-Order Differences: Using recursion to define the $n$-th order differences, allowing the Mizar system to logically process the "difference of a difference."
- Difference Quotients: Defining divided differences for multiple points ($x_0, x_1, x_2, \dots$), which are essential for polynomial interpolation and numerical approximation.
Key Insights and Results
The formalization process yielded several critical insights and verified properties now available in the Mizar library under the identifier DIFF_1:
- Recursive Formalization: By defining a sequence of functions where the $(n+1)$-th term is the result of applying the difference operator to the $n$-th term, the authors enabled the system to handle arbitrary orders of difference.
- Symmetry and Permutation: The paper formally proves that difference quotients are symmetric with respect to their arguments. For example, the divided difference $[!f, x_0, x_1, x_2!]$ remains identical regardless of the order of $x_0, x_1,$ and $x_2$.
- Linearity: The authors proved that these operators are linear, meaning the difference of a sum is the sum of the differences, and constants can be factored out—a necessary step for any complex algebraic proof.
- The Discrete Product Rule: Proposition 37 formalizes a complex identity for the forward difference of a product of two functions ($f_1 \cdot f_2$), providing the discrete analog of the Leibniz rule used in standard calculus.
Conclusion and Future Work
The paper contributes 12 new definitions and 37 proven propositions to the MML. While the current work focuses strictly on the algebraic properties of differences, it sets the stage for future formalizations. Subsequent work will likely connect these difference quotients to the derivative (the limit as $h \to 0$) and use these definitions to formalize Newton’s Interpolation Formula or the Mean Value Theorem for divided differences.
Summary updated