Zaslat SMS: Logic: from foundations to applications: