Regarding properties of objects, say, length or mass, I'm confident that "to have" will usually work but am unsure about "to be" or "to be of". Consider the following examples:
(a) The vectors must have the same length. (b) The vectors must be the same length. (c) The vectors must be of the same length.
and
(d) The aggregate must have a density greater than 1800 kg/m³. (e) The aggregate must be a density greater than 1800 kg/m³. (f) The aggregate must be of a density greater than 1800 kg/m³.
(a) and (d) sound best to me, but I'm unclear whether the others are acceptable alternatives. I looked at Ngrams for the three formulations using length, weight, mass, and density with inconsistent results.
- be mass > have mass > be of mass
- be density ≈ have density > be of density
- have weight > be weight > be of weight (though be of was more common before 1940)
- have length > be length, be of length