https://github.com/ethereum/yellowpaper.
Click this link - https://ethereum.github.io/yellowpaper/paper.pdf