I just created a pull request to update my mathbox with the results of my investigations concerning alternative definitions for function's and operations's values:
Instead of evaluating to the empty set if the involved classes are not meaningful or the function/operation is not defined for the given argument(s), as it is the case for the current definitions df-fv and df-ov, I provided alternative definitions df-afv and df-aov which evaluate to the universal class in this case.
This has the advantage that there is no ambiguity if the function's/operation's value is defined or not (from (F`X) = (/) this cannot be concluded, e.g. if (/) e. ran F). Especially for working with partial functions this would be helpful.
More explanations/results will be available in my mathbox.
Since the whole current
set.mm is based on this fundamental concepts like functions and operations, I think the current definitions are essential for Methamath. But it would be interesting which (of the advanced) theorems could be proven with the alternative definition (in addition to the basic theorems I proved).
However, I wonder if there were discussions already in the past about the advantages and disadvantages of the current convention, and how it was decided that the functions/operations should evaluate to the empty set. As already said in the comment on df-fv in
set.mm, "our definition apparently does not appear in the literature"...
Is there more (historical) information available about this topic?
Regards,
Alexander