Generic Instantiation
The initial proposal from Southampton is as follows. File:Proposal generic instantiation rodin.pdf.
Issues: Instantiation of Carrier Sets
Currently, the proposal mentions that the carrier sets can be instantiated with any set expressions (which contains existing carrier sets and constants).
However, besides the declared axioms in the development to be extended there are two implicit axioms for every carrier set :
non-emptiness:
maximality:
Both these axioms can be generated as theorems in the instantiating context which need to be proved.
However, the second theorem can be proved only if is instantiated with a type expression.
This could be a limitation of generic instantiation (Son: Is this a real limitation? To be discussed) and may restrict the applicability of the approach. One should allow carrier sets to be instantiated with some set expressions which are not necessary types themselves.
The issue, here is that this will definitely introduce unsoundness into the instantiation process. Examples include when formula which are no longer well-defined; and/or the meaning operator such id
or prj1
, prj2
has been changed (Son: Maybe some examples are needed).