Update: July 26, 2026: A write-up.

If is the simplex generating function of a simplicial complex G, then define
, the anti-derivative. Gauss-Bonnet is then the elegant formula
. It combines all possible Gauss-Bonnet formulas for all valuations. [The simplest of them is the Euler Handshake formula, which can be seen as Gauss-Bonnet the valuation $X(G) = f_1(G)$, the number of edges. Then
is the vertex degree.] We have also seen other theorems generalize to functional versions. In the video, I show how to get a functional version of the index formula. This then produces a more general random sub-manifold theorem:


Theorem: giving the expected generating function for a random level set H in G.
As in the scalar version (for t=-1), the probability space on has to be chosen correctly. It is the Bayes measure, the average over all Binomial measures on
.
In the example chosen in the presentation, I use a 3 dimensional torus, obtained using a Stanley-Reisner product (Barycentric refinement of the Cartesian product). It is quite a large graph already. For the picture, I just took a random submanifold. The graph is show to the right (cut open so that it has the shape of a cube). To the left, I show the two dimensional analog. It is the product of two path graphs.
I will post some code I wrote last week which allows to experiment and also generate (for small simplicial complexes at least) to compute all submanifolds and verify the above formula.
It is important that all we do here is finite and exact. It is not a limit theorem. It is a perfectly exact identity for polynomials.