[Math] “Without loss of generality” — correct usage

terminology

When is correct to write "wlog" and what is example of wrongly used "wlog"?

For example if proving $|D(x,B) – D(y,B)| \le d(x,y)$ with $D(x,B) = \inf_{b \in B} d(x,b)$ and $(X,d)$ is a metric space is it correct to write:

"Without loss of generality assume $D(x,B) \ge D(y,B)$" so then can write $D(x,B) – D(y,B)$ instead of $|D(x,B) – D(y,B)|$?

I am not native speaker but native speaker told me wrong use is common. Thank you for help!

Best Answer

Your usage of "wlog" appears correct. In general, it should be used to make an artificial distinction between two or more otherwise indistinguishable things, for clarity.

For example, if we wanted to prove something about two real numbers, we might say: "let $x,y \in \mathbb{R}, x \leq y$ wlog" and then continue the proof. The point is, the numbers $x$ and $y$ are arbitrary, and one must be bigger than the other so we may as well say $x \leq y$. If someone actually gave me two points, $x = 4$ and $y = 2$ then for our proof to work we simply relabel the points so that $x \leq y$ and we have lost no generality.

On the other hand, it is often used incorrectly. Say we have a monotonic function $f : [0,1] \rightarrow \mathbb{R}$. If we wanted to prove that $f$ was injective for example, it would be wrong to start with "let $f$ be increasing wlog" because we have lost some generality in this assumption. What we should say is something like "consider the case where $f$ is increasing, and the decreasing case is similar".

It's a subtle difference, and not one that should cause too much worry to be honest, I think it's unlikely to cause any mathematical errors, it may just confuse an argument a little.