We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fb4a4f commit 4113472Copy full SHA for 4113472
lib/crux/expression/rewrite_rule/de_morgans_law.ex
@@ -26,7 +26,7 @@ defmodule Crux.Expression.RewriteRule.DeMorgansLaw do
26
def needs_reapplication?, do: true
27
28
@impl RewriteRule
29
- def walk(b(nand(left, right))), do: b(not left or not right)
30
- def walk(b(nor(left, right))), do: b(not left and not right)
+ def walk(b(not (left and right))), do: b(not left or not right)
+ def walk(b(not (left or right))), do: b(not left and not right)
31
def walk(other), do: other
32
end
0 commit comments