On 2015-05-28, Grant Edwards <invalid@invalid.invalid> wrote:
> On 2015-05-28, Michael Torrie <torr...@gmail.com> wrote:
>> On 05/28/2015 03:58 PM, sohcahto...@gmail.com wrote:
>>> I think the logic you're really looking for is:
>>> 
>>> return BotWaitForCooldown or (not (BotWaitForCooldown or CooldownDetected))
>>
>> Yes this is the simplest form.
>
> Not really.
>
>
> In old school notation, that's
>             ___
>         A + A+B      
>
> [...]

That derivation was excessively round-about.  Here is the same thing
in fewer steps:

Invert:
         _______
             ___
         A + A+B      
         
De Morgan:
         _  
         A * (A + B)

Distribute:
         _     _
         A*A + A*B

Drop the null term:
          _
          A*B

Invert (to cancel out the first step)
          ___
          _
          A*B

De Morgan:
            _
          A+B

-- 
Grant Edwards               grant.b.edwards        Yow! I'm reporting for duty
                                  at               as a modern person.  I want
                              gmail.com            to do the Latin Hustle now!
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to