Description
When eagerly evaluating, the logic depends on a bespoke list of keys like Z40K1, Z8K5, etc. which are known to be identities. This is not scalable to user-defined types.
Likewise, when inferring the identity of a function, Z8K5 is directly consulted.
In both cases, the upcoming Z3K4 key will standardize the usage of identities and scale them to user-defined types.
Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- eagerlyEvaluate respects the Z3K4 IsIdentity field (by ceasing to expand)
- findIdentity in function-schemata respects the fact that Z8K5 is now an identity
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist