A rational map from irreducible to is an equivalence class of morphisms defined on nonempty open subsets . Two representatives are equivalent if they agree on a nonempty open subset of their intersection.
Irreducibility makes all these nonempty opens dense and ensures their intersections are nonempty, so the equivalence expresses agreement at general points. A rational map need not extend across all of , and it need not be dominant. An injective homomorphism of function fields additionally requires a dominant morphism of affine varieties, or the corresponding condition on a rational map.
Suppose first that . If , then , so the zero set of the regular function contains and hence its closure . Thus in the coordinate ring , and is injective.
Conversely, if were a proper closed subset of , its vanishing ideal in would contain a nonzero regular function . Then vanishes on , so , contradicting injectivity. Therefore
This is the coordinate-ring criterion for a dominant morphism of affine varieties.
For an irreducible affine variety, define dimension by
Irreducibility makes both coordinate rings integral domains. The injective map extends to an embedding of function fields
An algebraically independent family in remains algebraically independent in , so the dimension of an irreducible affine variety by transcendence degree gives