Hello, all:

I just used sage to deal with some symbolic logic problems. We could do 
this::

sage: import sage.logic.propcalc as propcalcsage: f = 
propcalc.formula("a&((b|c)^a->c)<->b")

sage: f.convert_cnf_table()sage: f(a|~b|c)&(a|~b|~c)&(~a|b|~c)

To my surprise, I can covert to DNF(Disjunctive normal form).

sage: f.convert_dnf_table() # ERROR

Did I miss something? If there is no DNF support for sage, em... I will try to 
write a patch for sage, seems this is a easy job.

Regards,
Mizuchi

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to