Synopsis:
Code:
-- ../../../Macaulay2/m2/ringmap.m2:207-214 isHomogeneous RingMap := (f) -> ( R := f.source; S := f.target; isHomogeneous R and isHomogeneous S and all(allGenerators R, r -> ( s := f r; s == 0 or degree s === f.DegreeMap degree r )))