Skip to content

Commit

Permalink
Fixing what was presumably a typo in the naming conventions file.
Browse files Browse the repository at this point in the history
Indeed, "forall x, op x x = x" in not in the list, while this is one
of the two standard meanings of idempotence. So, knowing that x, y,
... and not n are used elsewhere for variables names, and elt for
constants. Moreover, it is probable that before using consistently x,
y and z, I had also used m and n, sometimes. So, a convergent
probability that it is (just) a typo.
  • Loading branch information
herbelin committed Jul 16, 2017
1 parent e3eb17a commit c65c479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/doc/naming-conventions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ \subsection{Specific conventions}
{forall x y:D, op (op' x y) = op' x (op y)}

\itemrule{Idempotency of binary operator {\op} on domain {\D}}{Dop\_idempotent}
{forall x:D, op x n = x}
{forall x:D, op x x = x}

\itemrule{Idempotency of unary operator {\op} on domain {\D}}{Dop\_idempotent}
{forall x:D, op (op x) = op x}
Expand Down

0 comments on commit c65c479

Please sign in to comment.