In mathematics, Behrend's trace formula is a generalization of the Grothendieck–Lefschetz trace formula to smooth algebraic stacks over finite fields. It was first conjectured in 1991 and proven in 2003 by Kai Behrend. Unlike the classical one, the formula counts points the "stacky way": it takes into account the presence of non-trivial automorphisms.
The desire for the formula comes from the fact that it applies to the moduli stack of principal bundles on a curve over a finite field (in some instances indirectly, via the Harder–Narasimhan stratification, as the moduli stack is not of finite type.)
Pierre Deligne showed that the formula may be interpreted as a sort of the Selberg trace formula.
A proof of the formula in the context of the six operations formalism developed by Yves Laszlo and Martin Olsson was given by Shenghao Sun.
By definition, if is a category in which each object has finitely many automorphisms, the number of points in is denoted by
with the sum running over representatives of all isomorphism classes in . (The series may diverge in general.) The formula states that for a smooth algebraic stack of finite type over a finite field and the "arithmetic" Frobenius , i.e., the inverse of the usual geometric Frobenius in Grothendieck's formula,
Here, it is crucial that the cohomology of a stack is with respect to the smooth topology (and not the étale topology).
When is a variety, the smooth cohomology is the same as the étale one and, via Poincaré duality, this is equivalent to Grothendieck's trace formula. (The proof of Behrend's trace formula relies on Grothendieck's formula, so this does not subsume Grothendieck's.)
Consider , the classifying stack of the multiplicative group scheme (that is, ). By definition, is the category of principal -bundles over , which has only one isomorphism class (since all such bundles are trivial by Lang's theorem). Its group of automorphisms is , which means that the number of -isomorphisms is
We may compute the -adic cohomology of directly. We remark that in the topological setting, we have (where now denotes the usual classifying space of a topological group), whose rational cohomology ring is a polynomial ring in one generator (Borel's theorem), but we shall not use this directly. If we wish to stay in the world of algebraic geometry, we may instead "approximate" by projective spaces of larger and larger dimension. Thus we consider the map induced by the -bundle corresponding to This map induces an isomorphism in cohomology in degrees up to . Thus the even (resp. odd) Betti numbers of are 1 (resp. 0), and the -adic Galois representation on the -th cohomology group is the -th power of the cyclotomic character. The second part is a consequence of the fact that the cohomology of is generated by algebraic cycle classes. This shows that
Note that Multiplying by , one obtains the predicted equality.