A constructive proof of Simpson’s Rule #
by THIERRY COQUAND BAS SPITTERS
In the paper, uniform continuity is discussed.
We define it in a concrete setting here, and prove formally that:
- y = 2x is uniformly continuous on ℝ.
- y = x² is not uniformly continuous on ℝ.
- z = y² - x² is not uniformly continuous on ℝ².
- y = x² is uniformly continuous on [0,1].
theorem
uniformlyContOnSq
{univ : Set ℝ}
{h : Set.Icc 0 1 ⊆ univ}
:
is_uniformly_continuous_on' (Set.Icc 0 1) univ h fun (x : ↑univ) => ↑x ^ 2