All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Algorithms
Logical connectives (Posted on 2012-01-24) Difficulty: 3 of 5
Let P|Q mean "P and Q are both false." P|Q is true if P and Q are both false, and false otherwise. Define the following logical connectives just using P, Q, |, and parentheses.

1. ~P (not P)
2. P&Q (P and Q)
3. PVQ (P or Q)
4. P->Q (P implies Q)
5. P<->Q (P if and only if Q)

See The Solution Submitted by Math Man    
Rating: 4.5000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Perplexing Quintuple answered | Comment 1 of 6
1. ~P  = P|P
2. P&Q = (P|P)|(Q|Q)
3. PVQ = (P|Q)|(P|Q)
4. P->Q = ((P|Q)|(P|Q))|(Q|Q)
5. P<->Q = ((P|P)|(Q|Q))|((P|Q)|(P|Q))

  Posted by Dej Mar on 2012-01-24 11:12:04
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (5)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2018 by Animus Pactum Consulting. All rights reserved. Privacy Information