[Math] How to approach conversions of statements using predicates, quantifiers, and logical connectives.

discrete mathematicspredicate-logicquantifiers

I have an example problem where I must use predicates, quantifiers, and logical connectives to convert the statements. The statement is…

"Whenever there is an active alert, all queued messages are transmitted."

How should I approach this to better understand how to assign predicates? How should I know when to use a universal or existential quantifier? I am having an extremely difficult time understanding such problems and really need some pointers in getting to think about this more logically.

Best Answer

We have always problem in formalizing natural language statements.

The first step is how to translate : whenever.

We assume that it has the same meaning of "when".

Thus, the statement is of the form :

When $A$, then $B$

and we symbolize it with the connective : $\rightarrow$ ("if ..., then _") :

$A \rightarrow B$.

Now we need quantifiers for analyzing the two clauses :

  • there is an active alert

  • all queued messages are transmitted.

The first one will be :

$\exists x(Alert(x) \land Active(x))$

while for the second we have :

$\forall y((Message(y) \land Queued(y)) \rightarrow Transmitted(y))$.

Putting all together :

$$\exists x(Alert(x) \land Active(x)) \rightarrow \forall y((Message(y) \land Queued(y)) \rightarrow Transmitted(y))$$

Related Question