My own field is logic rather than mathematics, kin though they are.
In the first case, the use definite or indefinite article tells us only that "the" family C has already been mentioned or "a" family C is now being introduced. Either way sentence implies nothing as to whether there could be one family or more than one. What would make the difference would be to use "the subsets", which could be understood to mean the subsets. In that case, any other Family, X, with the subsets will be logically (and mathematically) identical with Family C. Otherwise, the use of the definite article before Family does not exclude the possibility of other families, E, F, G ... with different subsets of the same Class. The strict logical way of stating an identity is to say
Consider the family, C, such that (i) C contains the subsets of X and (ii) for any family C prime, if 'C prime' contains the subsets of X, then C prime is identical with C.
But the use of the definite article in the right place will do the job.
The second case is simpler, is a point where the languages of mathematics and logic converge. If the/a function f is "defined" by f(x)=x, then any function f prime, defined by f(x), will be identical with f. The use of the definite or the indefinite article can make no difference.