Want to take part in these discussions? Sign in if you have an account, or apply for one below
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
Created paracategory and Kleene equality.
Thanks for Kleene equality; I have added some examples to it. (Teaching junior-college algebra makes one think about this sort of thing, at least if one has a mind like mine.)
Is there a word for an equality which means “if the LHS is defined, then so is the RHS and they are equal”?
Directed equality is particularly important for rewriting rules. So if you ever see and are confident that it arises legitimately (that is, that it must be defined in the context at hand, or it would never have been written down), then you are allowed to simplify it to . But if you write down yourself, without first checking that it is defined, then you do not know that it is equivalent to (but only to ).
“Directed equality” isn’t quite ideally evocative for me, although I see the intent, but calling it a “rewrite rule” is pretty good.
But the proposition that if is defined is different from the rewrite rule that can be replaced by . Rewrite rules are usually rules for simplifying expressions, or at least for getting them into a more useful form, and one is selective about them. Given a collection of terms and a collection of rewrite rules between them, there is a derived notion of equality (two terms are equal iff they can be rewritten to the same result), which is not the same thing; and even this (which is symmetric after all) doesn’t match the directed equality.
For example, nobody would propose as a rewrite rule for elementary arithmetic, even though adding it to the usual rewrite rules would preserve the derived notion of equality and (there should be no space at all between ‘’ and ‘’, to make a single symbol for directed equality) is certainly true; that’s because it’s not a useful step to take.
I added a note about models which also alludes to directed equality.
Ok, fair enough.
1 to 9 of 9