Zaslat SMS: Types for proofs and programs