In algebraic geometry, given a Deligne–Mumford stack X, a perfect obstruction theory for X consists of:
The notion was introduced by (Behrend–Fantechi 1997) for an application to the intersection theory on moduli stacks; in particular, to define a virtual fundamental class.
Consider a regular embedding fitting into a cartesian square
where are smooth. Then, the complex
forms a perfect obstruction theory for X. The map comes from the composition
This is a perfect obstruction theory because the complex comes equipped with a map to coming from the maps and . Note that the associated virtual fundamental class is