\displaystyle \mathop{\text{lg}} 10000 is that number which should stand in the coloured box in the equality
Vorlage:Displayed math
and because
we see that \displaystyle \mathop{\text{lg}} 10000 = 4\,.