I'm reading the book Analysis 1 by Terence Tao. There is a concept of well-defined which is mentioned a lot of time in the book but I don't fully understand.
For example, in the picture below, in order to define the $subtraction$ $operation$ of 2 integers, he firstly defined the $negation$ $operation$ of integers.
After the definition, he stated that the definition is well-defined and we can prove that it is well-defined.
Could you please explain me what well-defined means and how can we prove something is well-defined or not ? Is there any collection of criteria for something to be well-defined ? ("something" here can be a definition, an operation)
Thank you very much for your help!