First consider the preliminary cohomological facts. The exam's term flabby means flasque sheaf: every restriction map is surjective. For open sets , lift a section of to using the given surjectivity when is flasque. Extend that lift to using the flasque sheaf , then project to . This proves that is a flasque sheaf.
One construction of a flasque resolution starts with the sheaf , with pointwise restriction. It is a sheaf of abelian groups with surjective restrictions, and sending a section to all its germs embeds in it. Repeating on the cokernels constructs an exact sequence
with each flasque. Define sheaf cohomology by the cohomology of the cochain complex of global sections of such a resolution; the groups are independent of the chosen flasque resolution. If is itself flasque, the quotient result just proved makes every successive cokernel flasque. Applying the assumed surjectivity of sections to each successive short exact sequence of sheaves proves exactness of the global-section complex in positive degrees. Thus for .
Now let be the function field of the smooth algebraic curve. Its divisor class group is
Here is the discrete valuation of the discrete valuation ring , and consists of the principal divisor elements . These sums have finite support: on a finite affine cover, represent as a fraction of regular functions; each nonzero numerator or denominator has only finitely many zeros on a curve, since a proper closed subset of a Noetherian one-dimensional irreducible space is finite.
For a divisor on an algebraic curve , define the line bundle associated to a divisor by
In this expression the valuation condition applies to nonzero . If is a uniformizer, the stalk is . Shrinking around removes all other zeros and poles of and all other points in the support of , so this also gives an actual local generator. Thus is a locally free sheaf of rank one. Multiplication gives an isomorphism
on every stalk. If , then , so the construction factors through a homomorphism .
It is injective: if is trivial, an isomorphism from supplies a nonzero global rational generator . At each closed point, generates , giving , hence .
It is surjective: take a line bundle and a nonzero rational section , obtained by choosing a frame on any nonempty trivializing open set. If is a local frame, write with . Since changes of frame are units, is independent of the frame near . A finite trivializing cover shows that these numbers have finite support. Set . The map gives , because at the condition is exactly regularity of . Replacing by changes by , so this construction is well defined on classes. This proves the divisor class group and Picard group of a smooth curve identification
The sheaf of nonzero rational functions on an irreducible variety is a flasque sheaf. Indeed, its sections on any nonempty open subset are : irreducibility makes nonempty open subsets connected and makes any two of them meet, so locally constant rational-function values must agree. Restrictions between such opens are identities; restriction to the empty set is also surjective. The preliminary argument therefore gives
Apply the long exact sequence in sheaf cohomology to the short exact sequence of sheaves of multiplicative abelian groups
Its relevant part is
Part (b) identifies the first map with the principal divisor map . Exactness therefore identifies its cokernel with . Combining this with part (a) gives
The connecting map sends a divisor to the class of the unit ratios of its local rational representatives; these are precisely the transition data of the associated line bundle, up to the usual choice of inverse transition convention.
Choose a flasque resolution of the sheaf of abelian groups ,
A flasque sheaf has surjective restriction maps; such resolutions exist for every sheaf of abelian groups. Apply the global section functor to obtain a cochain complex. The sheaf cohomology groups are
For , the denominator is zero and . Different resolutions give canonically isomorphic groups; the resolution principle for sheaf cohomology is what permits other acyclic resolutions to compute these same groups.
The restriction maps of this point sheaf satisfy the presheaf composition identities: every possible restriction is either the identity on or the unique map to the zero group. We check the sheaf identity and gluing axioms for any open cover .
If , every section group in the cover is zero, so a compatible family has the unique zero gluing. If , at least one contains . For any two members containing , their intersection also contains , and compatibility forces their complex values to be equal, since the restriction maps there are identities. Call the common value . Members not containing have only the zero section. The section restricts to every member of the family, proving existence of a gluing; its restriction to any member containing determines , proving uniqueness.
This also proves local identity for sections, and handles the empty open set. Hence
It is the point-pushforward sheaf, usually called a skyscraper sheaf. Its restrictions are all surjective, so it is also a flasque sheaf. No separation assumption on is needed for the preceding sheaf-axiom argument.
The kernel of the restriction map
consists exactly of sections whose germs vanish outside , namely . This proves exactness. If is a flasque sheaf, the restriction map is surjective by definition.
Now let be exact. The global section functor is left exact, so a section of mapping to zero lifts uniquely to a global section of . Its germs outside vanish because is injective at each stalk of a sheaf. It therefore lies in , proving exactness of the supported-section sequence.
Suppose in addition that is flasque and take . Surjectivity on global sections gives a lift . On , its restriction comes from some by left exactness. Extend to using flasqueness. Then maps to and vanishes outside , proving surjectivity on the right.
For a closed inclusion , direct image sheaf formation is exact: stalks on are unchanged and stalks outside are zero. It also preserves flasque sheaves. Pushing forward a flasque resolution thus gives a resolution computing cohomology on , and its complex of global sections is identical to the original one on . This proves the displayed isomorphism in every nonnegative degree.
For a Noetherian ring , an injective module gives a flasque sheaf on . If , clearing denominators on finitely many principal opens identifies with . Each map extends to by injectivity. Thus every section on extends globally, and all restriction maps are surjective. This concerns sheafification of an injective module, rather than the different assertion that an injective sheaf of modules is flasque.
For an irreducible algebraic variety with function field , this sheaf of abelian groups assigns to every nonempty open set, with identity restriction maps, and assigns the trivial group to the empty set. Irreducibility ensures that any two nonempty open subsets meet, so these sections satisfy the sheaf gluing axiom. It is a flasque sheaf and has zero higher sheaf cohomology.