The law of constant composition (Proust's law) states that a compound always contains the same elements in the same fixed ratio by mass. The law of multiple proportions (Dalton's law) is a different law dealing with ratios of elements in different compounds. They are not the same.