Imported from the literatureid synthesis.imported-gauss-bonnet-with-corners-poincare-hopf-and-edge-term, version 2
$\int_{P}K\,dA + \oint k_{g}\,ds + \sum\varepsilon_{j} = 2\pi\chi(P)$ (Gauss-Bonnet with corners); tangent-field indices on a closed surface sum to $\chi$, and two cap frames on the sphere differ by winding $2$ (Poincare-Hopf, clutching); on a surface the Gibbons-Hawking edge term is $2\oint k_{g}\,ds$, which makes the Einstein-Hilbert functional topological.
However a patch of surface is curved, its total curvature plus the bending of its edge and the turns at its corners always add up to a fixed amount set by how many holes it has. A related fact says that on a sphere any arrangement of arrows tangent to the surface must have somewhere a point where it fails, the hairy-ball theorem. And the standard extra edge term of Einstein's action principle, on a surface, is exactly the edge's bending that makes the total fixed. These are classical results taken from the literature.
Let $P$ be a compact oriented surface with piecewise smooth edge $\partial P$ and a Riemannian metric, with Gauss curvature $K$, area element $dA$, and Euler characteristic $\chi(P)$; in the series $P$ is a patch of a spacelike two-surface in the invertible region of a gravitational field $(\hb, \Omega)$ on flat spacetime (Definition Gauge Theory Gravity: the gravitational field on flat spacetime), such as a cut of a horizon, with the Riemannian metric $-h$, $h$ the metric that the derived metric induces.
Provenance: [doCarmo1976, Sec. 4-5] for (a); [Hopf1927] for the index theorem and [MilnorStasheff1974] for the clutching description in (b); [York1972, GibbonsHawking1977] for the edge term in (c).
[{'citation': 'M. P. do Carmo, Differential Geometry of Curves and Surfaces, Prentice-Hall, Englewood Cliffs (1976).', 'key': 'doCarmo1976', 'locator': 'Sec. 4-5'}, {'citation': 'H. Hopf, Vektorfelder in n-dimensionalen Mannigfaltigkeiten, Math. Ann. 96 (1927), 225--249.', 'key': 'Hopf1927', 'doi': '10.1007/BF01209164'}, {'citation': 'J. W. Milnor and J. D. Stasheff, Characteristic Classes, Annals of Mathematics Studies 76, Princeton University Press (1974).', 'key': 'MilnorStasheff1974'}, {'citation': 'J. W. York, Role of conformal three-geometry in the dynamics of gravitation, Phys. Rev. Lett. 28 (1972), 1082--1085.', 'key': 'York1972', 'doi': '10.1103/PhysRevLett.28.1082'}, {'citation': 'G. W. Gibbons and S. W. Hawking, Action integrals and partition functions in quantum gravity, Phys. Rev. D 15 (1977), 2752--2756.', 'key': 'GibbonsHawking1977', 'doi': '10.1103/PhysRevD.15.2752'}]
none
Leon Butler (direction); Claude Opus 5.5 (proposal and drafting); Claude Opus 5.5 (GA rewrite (declared outside_ga), version 2).