by fsckboy · 1y ago · 0 comments
(I've tried looking at the doc, and it's clearly not a feature they showcase, and as others have said, the way it works is not intuitive to me. I really need this, but trying to do it in lisp is becoming its own project and I want to get back to my project. I found some really nice online reducers, but the UIs are not conducive to pasting/putting in simultaneous equations, and using those outputs as inputs again)
load(logic);
logic_simp (a or (b or false or (a or b)));
characteristic_vector (a xor b);
zhegalkin_form ((a implies b) or c);
e : ((a or b) xor c) and d$
logic_equiv (e, zhegalkin_form (e));
logic_diff (a or b or c, a);
demorgan (boolean_form (a nor b nor c));
etc. there's more stuff in docs