In mathematical writing we use letters to denote the mathematical objects we are writing about. I wonder how to use "both of" in the following phrase:
Both of I and I' are irreducible ideals.
vs.
Both I and I' are irreducible ideals.
I am writing in American English. More abstractly, should I treat mathematical symbols as nouns?