The whole stock of words a mind or a system has, with their meanings. A lexicon is a vocabulary that knows itself.
Greek lexikon (of words), from lexis (word, speech), from legein (to speak); the whole stock of words a mind or system holds along with their meanings.
A vocabulary that knows itself — not just the words a mind holds, but the meanings kept alongside them.