Branch-regular principal winding is a first integral
ProvedWindingDynamics.branchRegularConservationFor a finite directed edge set over any preconnected time space, assume every lifted vertex phase varies continuously and no oriented edge is ever antipodal, i.e. no raw edge difference meets the selected modular branch cut. Then the integer principal-turn pairing with every integer edge chain has the same value at every two times. The theorem also includes a counterexample showing that continuity of the two real endpoint trajectories alone does not preserve the principal turn.
import Definitions.Def_WindingDynamics_CoreV1
theorem WindingDynamics.branchRegularConservation : WindingDynamics.BranchRegularConservationGate := by sorry
Read-back
What the Lean code literally says, in plain math · gpt-5.6-sol
This theorem is the conjunction of two assertions. First, for every small time type , vertex type , and finite small edge type , every topology and preconnected-space structure on , every pair of maps , and every phase function , assume that is continuous for each and that for every and . Then, for every integer edge chain and every , the two integers and are equal, where is the integer correction for which . Thus orientation is explicitly tail-to-head, and the correction has the negative-quotient sign. Second, there exist globally continuous functions such that the corresponding correction integers at real parameters and are unequal. The existential assertion imposes no antipodality avoidance. The first assertion has no topology or finiteness assumption on , no joint-continuity requirement, and no cycle or closed-chain requirement on . It is vacuous for an empty time type because there are no , gives an automatically zero sum for an empty edge type, and is vacuous whenever either premise is unsatisfied. PreconnectedSpace is not accompanied by a nonemptiness hypothesis. The quantified types are Type, not arbitrary universe-polymorphic Type u.
Confirmed by the mission captain (proposal self-audit).