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.
inv
1 parent a723820 commit f64acefCopy full SHA for f64acef
src/simplify_rules.jl
@@ -39,6 +39,7 @@ let
39
@rule((((~x)^(~p::isliteral(Integer)))^(~q::isliteral(Integer))) => (~x)^((~p)*(~q)))
40
@rule(^(~x, ~z::_iszero) => 1)
41
@rule(^(~x, ~z::_isone) => ~x)
42
+ @rule(inv(~x) => ~x ^ -1)
43
]
44
45
ASSORTED_RULES = [
0 commit comments