Translating sentence into symbols

  • #1

Nathew

I'm having trouble with translating this english sentence into logic symbols.

The sentence is

The numbers four and five aren't both prime, but the numbers five and seven are.

I was thinking ~(F&I)v(IvS) but I really don't know how to deal with the "but".

Thanks
 
  • #3
so
~(F&I)&(I&S)
?
 
  • #4
I meant the upside down v commonly used in logic for AND. The v itself is used for OR.
 
  • #5
I was thinking ~(F&I)v(IvS) but I really don't know how to deal with the "but".
Jedishrfu is exactly right. In logic, "but" is equivalent to "and." If you say, for example "x is A but y is B," what you're really saying is "x is A and y is B," and the "but" merely points out that there is some sort of contrast that you want draw the listener's attention to.
 

Suggested for: Translating sentence into symbols

Replies
8
Views
1K
Replies
4
Views
788
Replies
2
Views
907
Replies
2
Views
778
Replies
17
Views
2K
Replies
1
Views
3K
Replies
24
Views
2K
Replies
21
Views
1K
Replies
9
Views
1K
Back
Top