Text this: Formal logical methods for system security and correctness