Re: OR NOT Logic

2006-05-04 Thread Craig McLean
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter P. Benac wrote: [snip] > > And your domain is my Mother's Maiden Name :) > > Regards, > Pete Remind me who you bank with? ;-) C. - -- Craig McLeanhttp://fukka.co.uk [EMAIL PROTECTED] Where the fun never starts Power

Re: OR NOT Logic

2006-05-03 Thread Dan
Thank you Mouss and to everyone for answering my logic question. I now understand this better than I ever thought possible. Dan On May 3, 2006, at 15:14, mouss wrote: Dan wrote: Is: A && (B || C || D || E || F) equivalent to?: A && (!B && !C && !D && !E && !F) No. The DeMorgan laws

Re: OR NOT Logic

2006-05-03 Thread mouss
Dan wrote: Is: A && (B || C || D || E || F) equivalent to?: A && (!B && !C && !D && !E && !F) No. The DeMorgan laws are: ! ( A && B)= !A || !B !(A || B) == !A && !B so you _dispatch_ the '!' and replace || with && and conversely. example: if it is _not_ spam _and_

Re: OR NOT Logic

2006-05-02 Thread Loren Wilton
> Is: > > A && (B || C || D || E || F) if TRUE OR TRUE true if either is true > equivalent to?: > > A && (!B && !C && !D && !E && !F) if FALSE AND FALSE true if both are false So no, they aren't equivalent. Loren

Re: OR NOT Logic

2006-05-02 Thread List Mail User
>... >I believe that's a fundamental logic rule, so yes. > >A && B == ~A || ~B > >--Russell Almost: -- Not to confuse things with C's short ciruit operations | v ( A and B ) equals ( not ( ( not A ) or ( not B ) ) ) ^

Re: OR NOT Logic

2006-05-02 Thread Dan
any(@criteria) = not all(not @criteria) Consider Lifeboat1-has-a-seat OR Lifeboat2-has-a-seat OR ... LifeboatN-has-a-seat vs. Lifeboat1-is-full AND Lifeboat2-is-full AND ... LifeboatN-is-full Thanks for the examples Matt, time for some testing Dan

RE: OR NOT Logic

2006-05-02 Thread Matthew.van.Eerde
Dan wrote: > Wow, > > I must be confusing this with any/all is/isn't. In various software > (mail scripts, iTunes smart playlists, etc): > > any IS IS IS IS > > equals > > all NOT NOT NOT NOT Exactly backwards. any(@criteria) = not all(not @criteria) Consider Lifeboat1-ha

Re: OR NOT Logic

2006-05-02 Thread Dan
Wow, I must be confusing this with any/all is/isn't. In various software (mail scripts, iTunes smart playlists, etc): any IS IS IS IS equals all NOT NOT NOT NOT Dan On May 2, 2006, at 15:11, Matt Kettler wrote: Russell Miller wrote: On Tuesday 02 May 2006 14

Re: OR NOT Logic

2006-05-02 Thread Matt Kettler
Russell Miller wrote: > On Tuesday 02 May 2006 14:59, Dan wrote: >> Is: >> >> A && (B || C || D || E || F) >> >> equivalent to?: >> >> A && (!B && !C && !D && !E && !F) No the two are NOT equivalent. The first statement will be true if A and any one of B-F is true. The second statement will be t

Re: OR NOT Logic

2006-05-02 Thread Peter P. Benac
No!1 In the first example if A is postive and any one of the () variable are positive it will pass. In the second example A would have to be positive and all the () variable would have to be negative to pass. And your domain is my Mother's Maiden Name :) Regards, Pete > > Is: > > A && (B ||

Re: OR NOT Logic

2006-05-02 Thread Russell Miller
On Tuesday 02 May 2006 14:59, Dan wrote: > Is: > > A && (B || C || D || E || F) > > equivalent to?: > > A && (!B && !C && !D && !E && !F) > I believe that's a fundamental logic rule, so yes. A && B == ~A || ~B --Russell > as in: > > meta __FORGED_OUTLOOK_DOLLARS (__OUTLOOK_DOLLARS_MUA && ! > __O

OR NOT Logic

2006-05-02 Thread Dan
Is: A && (B || C || D || E || F) equivalent to?: A && (!B && !C && !D && !E && !F) as in: meta __FORGED_OUTLOOK_DOLLARS (__OUTLOOK_DOLLARS_MUA && ! __OUTLOOK_DOLLARS_MSGID && !__OUTLOOK_DOLLARS_OTHER && !__IMS_MSGID && !__UNUSABLE_MSGID) Thanks, Dan