Here you can ask questions and find or give answers to organizational, academic and other questions about studying computer science.

1.1k questions

1.3k answers

1.7k comments

557 users

0 votes

I would like to understand the difference between the two formulas. My first attempt to answer this question was trying to satisfy S2 with one of these:

In my understanding, both satisfy S2 and not S1. However, I do not understand how the solution given satisfies S1.

Can someone please clarify?

in * TF "Emb. Sys. and Rob." by (250 points)

1 Answer

+1 vote
 
Best answer

It looks good! Consider the structure in the example solution:

             0 1 2 3 4 5 6
           a 0 0 0 0 0 0 ...
           b 1 0 1 0 1 0 ...
    [a SU b] 1 0 1 0 1 0 ...
   X[a SU b] 0 1 0 1 0 1 ...
          Xa 0 0 0 0 0 0 ...
   [Xa SU b] 1 0 1 0 1 0 ...

Note that [a SU b] becomes equivalent to "b" if "a" is always false. Thus, the two formulas X[a SU b] and [Xa SU b] just become equivalent to Xb and b, respectively.

Your first structure generates the following

             0 1 2 3 4 5 6
           a 0 1 0 0 0 0 ...
           b 0 0 1 1 1 1 ...
    [a SU b] 0 1 1 1 1 1 ...
   X[a SU b] 1 1 1 1 1 1 ...
          Xa 1 0 0 0 0 0 ...
           b 0 0 1 1 1 1 ...
   [Xa SU b] 0 0 1 1 1 1 ...

So, here X[a SU b] holds, and [Xa SU b] is false. 

Finally, your second structure:

             0 1 2 3 4 5 6
           a 0 0 0 0 0 0 ...
           b 0 1 1 1 1 1 ...
    [a SU b] 0 1 1 1 1 1 ...
   X[a SU b] 1 1 1 1 1 1 ...
          Xa 0 0 0 0 0 0 ...
           b 0 1 1 1 1 1 ...
   [Xa SU b] 0 1 1 1 1 1 ...

Again, here X[a SU b] holds, and [Xa SU b] is false. 

by (170k points)
selected by
Thank you very much for the instructive answer! It clarified everything.

Related questions

0 votes
1 answer
asked Aug 26, 2023 in * TF "Emb. Sys. and Rob." by calvet (250 points)
0 votes
1 answer
0 votes
1 answer
Imprint | Privacy Policy
...