This project is a (currently incomplete) implementation of Riemann integration in Lean. The way this is implemented is meant to be more general than what one would usually call Riemann integration. The basic notions are as follows.
Given some space
We define a path in
It is easy to check that if we have two spaces
Note that we haven't imposed any topology on
Now suppose
Todo: The definitions are stated and the relevant details about paths have been proved. The next step is to show that integrability is implied by certain regularity assumptions. For example, showing that continuous functions on
Notes:
-
The usual notion of a path is "1-dimensional", but in the setup above the data we are providing about the path is zero dimensional in some sense since each polygonal path is just a list of points. This is a bit unnatural, but the nice thing is that it doesn't require any regularity assumptions about the path in order to give the definition. Hence, in principle this definition can assign a value to the integral even when the path arises from a fractal shape.
-
One could also set up measure theory using directed sets. In that case one replaces the polygonal paths with "partitions into measurable pieces". Any two such partitions have a common refinement.