Documentation

LeanPool.LeanModularForms.ValenceFormula.RectHomotopy.WindingProof

Winding number computation #

Proves that the winding number of fdPolygon around interior points equals -1, using FTC with lifted angle functions and S1 curve comparisons.

The lifted angle function is continuous on [0, 5] for the reference point ref_p0.

The S1 integral for the radial circle around ref_p0 equals -2piI.

Winding number of fdPolygon at the reference point ref_p0 is -1.

theorem RectHomotopyProof.winding_fdPolygon_eq_neg_one (p : ) (hp_norm : p > 1) (hp_re : |p.re| < 1 / 2) (hp_im_pos : 0 < p.im) (hp_im : p.im < HHeight) :

The winding number of fdPolygon around any valid interior point is -1.

theorem RectHomotopyProof.winding_radialCircle_eq_neg_one (p : ) (hp_norm : p > 1) (hp_re : |p.re| < 1 / 2) (hp_im_pos : 0 < p.im) (hp_im : p.im < HHeight) :

Winding number of fdPolygonRadialCircle around p equals -1.

theorem RectHomotopyProof.winding_radialCircle_eq_circleParamCW (p : ) (hp_norm : p > 1) (hp_re : |p.re| < 1 / 2) (hp_im_pos : 0 < p.im) (hp_im : p.im < HHeight) :

Winding numbers of fdPolygonRadialCircle and circleParamCW are equal.

theorem RectHomotopyProof.winding_fdPolygon_eq_circleParamCW (p : ) (hp_norm : p > 1) (hp_re : |p.re| < 1 / 2) (hp_im_pos : 0 < p.im) (hp_im : p.im < HHeight) :

Winding number of fdPolygon equals winding number of circleParamCW.