This is what SRP mean.
Let's take an example in real life : constraint is like a law, and the Validator like a person who enforce the law for example Police or Judge.
The law says (constraint): "You must stop at red lights."
The police officer ( the validator ) : watches and determines if you broke the law.
You wouldn’t expect the law itself to contain enforcement logic, it just there to describe rules.