Reference articles on history, science, culture and more
Encyclopedia

Kleene equality

Equality operator on partial functions

In mathematics, Kleene equality, or strong equality, (\simeq) is an equality operator on partial functions, that states that on a given argument either both functions are undefined, or both are defined and their values on that arguments are equal.

For example, if we have partial functions f and g, f\simeq g means that for every x:

  • f(x) and g(x) are both defined and f(x)=g(x)
  • or f(x) and g(x) are both undefined.

Some authors are using "quasi-equality", which is defined like this: (y_{1}\sim y_{2}):\Leftrightarrow ((y_{1}\downarrow \lor y_{2}\downarrow )\longrightarrow y_{1}=y_{2}), where the down arrow means that the term on the left side of it is defined. Then it becomes possible to define the strong equality in the following way: (f\simeq g):\Leftrightarrow (\forall x.(f(x)\sim g(x))).

Watch videos about Kleene equalityExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Kleene equality, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.