Created
June 28, 2016 14:29
-
-
Save kendfrey/59638865537f3a7ea4e82121a0ec5202 to your computer and use it in GitHub Desktop.
System.LOGIC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace System | |
{ | |
internal static class LOGIC | |
{ | |
internal static bool IMPLIES(bool p, bool q) | |
{ | |
return !p || q; | |
} | |
internal static bool BIJECTION(bool p, bool q) | |
{ | |
return LOGIC.IMPLIES(p, q) && LOGIC.IMPLIES(q, p); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment