Refactored. Some lemmas to be proven are in   Machine Model   .