Fundamental theorem of calculus along a polygon
ProvedAhlforsComplexAnalysis.Polygon.polyInt_eq_sub_of_hasDerivAtahlforscomplex-analysisline-integrals
A polygon is a finite list of vertices in , traversed along the segments ; it is closed if . For the integral along is the sum of the segment integrals,
Integrals are interval integrals in the sense of Lean, which are for non-integrable integrands; every statement below holds under this convention, and for continuous the integral is the usual line integral.
Let be open and let satisfy for every , with continuous on . If the polygon lies in (every segment is contained in ), then
In particular the integral of a derivative around a closed polygon vanishes.
Formalization Note. PolyIn U l says that every segment of l is contained in U; l.getLast hne and l.head hne are the last and first vertices.
Preamble
import Mathlib import Definitions.Def_AhlforsComplexAnalysis_Polygon open Set Complex Topology Filter
Formal statement
namespace AhlforsComplexAnalysis.Polygon
theorem polyInt_eq_sub_of_hasDerivAt {U : Set ℂ} (hU : IsOpen U) {G g : ℂ → ℂ}
(hG : ∀ z ∈ U, HasDerivAt G (g z) z) (hg : ContinuousOn g U) {l : List ℂ}
(hl : PolyIn U l) (hne : l ≠ []) :
polyInt g l = G (l.getLast hne) - G (l.head hne) := by sorry
end AhlforsComplexAnalysis.Polygon
Source
L. V. Ahlfors, Complex Analysis, 3rd ed., McGraw-Hill, 1979, Ch. 4 section 1 (the line integral of a derivative depends only on the endpoints); polygonal version