No, they're not binaries with the same names, they are actually the same binaries. Torch is a set of numerical libraries for Lua, and when you install it it includes Lua.