If you want to find out where formal language came from and how it was derived from natural language, I recommend you read Principia Mathematica by Alfred N. Whitehead and Bertrant Russell.
Grant