Issue 3812 in sympy: simplify(<Implies>) is wrong

4 views
Skip to first unread message

sy...@googlecode.com

unread,
May 8, 2013, 10:17:25 PM5/8/13
to sympy-...@googlegroups.com
Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium Logic Assumptions WrongResult

New issue 3812 by Ronan.L...@gmail.com: simplify(<Implies>) is wrong
http://code.google.com/p/sympy/issues/detail?id=3812

In [7]: simplify(x >> y)
Out[7]: False


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

sy...@googlecode.com

unread,
May 16, 2013, 6:24:29 PM5/16/13
to sympy-...@googlegroups.com
Updates:
Labels: Simplify

Comment #1 on issue 3812 by asme...@gmail.com: simplify(<Implies>) is wrong
http://code.google.com/p/sympy/issues/detail?id=3812

Possibly related to issue 3825.

sy...@googlecode.com

unread,
Jun 12, 2013, 1:22:08 PM6/12/13
to sympy-...@googlegroups.com

Comment #2 on issue 3812 by supp...@mooncoder.com: simplify(<Implies>) is
wrong
http://code.google.com/p/sympy/issues/detail?id=3812

Very annoying.

simplify_logic("Implies(a,b)") returns False too.

I found a workaround to first convert to_cnf() and then simplify.

sy...@googlecode.com

unread,
Jun 12, 2013, 3:58:35 PM6/12/13
to sympy-...@googlegroups.com

Comment #3 on issue 3812 by supp...@mooncoder.com: simplify(<Implies>) is
wrong
http://code.google.com/p/sympy/issues/detail?id=3812

Very annoying, silently gives wrong results...

simplify_logic("Implies(a,b)") returns False too.

I found a workaround: first call eliminate_implications() or convert

sy...@googlecode.com

unread,
Jun 13, 2013, 9:13:58 PM6/13/13
to sympy-...@googlegroups.com
Updates:
Cc: srjoglek...@gmail.com

Comment #4 on issue 3812 by asme...@gmail.com: simplify(<Implies>) is wrong
http://code.google.com/p/sympy/issues/detail?id=3812

It's an issue with the new boolean simplify function.

sy...@googlecode.com

unread,
Jun 13, 2013, 11:44:21 PM6/13/13
to sympy-...@googlegroups.com

Comment #5 on issue 3812 by srjoglek...@gmail.com: simplify(<Implies>) is
wrong
http://code.google.com/p/sympy/issues/detail?id=3812

I will look into it and send a PR

sy...@googlecode.com

unread,
Jun 14, 2013, 6:21:47 AM6/14/13
to sympy-...@googlegroups.com

sy...@googlecode.com

unread,
Jun 17, 2013, 5:32:16 PM6/17/13
to sympy-...@googlegroups.com
Updates:
Status: Fixed

Comment #7 on issue 3812 by smi...@gmail.com: simplify(<Implies>) is wrong
http://code.google.com/p/sympy/issues/detail?id=3812

(No comment was entered for this change.)

sy...@googlecode.com

unread,
Apr 6, 2014, 3:22:39 AM4/6/14
to sympy-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages