Add the possibility to make request on instances #6
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "nicolas.meric/Isabelle_DOF:request-on-instances-first-draft"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello. Here is a new pull request which adds the possibility to make request on instances.
The commit log:
to allow requests on instances.
Example:
@{C-instances} will return all the instances of the class "C"
defined in the generated theory
take into account the case where the term argument
of a TA is irrelevant, for example when a TA has no argument.
Example with the TA of the instances of a class:
@{A-instances}
Here the TA has no argument and none second level type checking is
wished, so its associated check function can be the identity function
with respect to the ISA_transformers chek function type.
- Add a new Term Annotation Antiquotation (TA) to allow requests on instances. Example: @{C-instances} will return all the instances of the class "C" defined in the generated theory - Update ISA_transformers elaborate function signature to take into account the case where the term argument of a TA is irrelevant, for example when a TA has no argument. Example with the TA of the instances of a class: @{A-instances} Here the TA has no argument and none second level type checking is wished, so its associated check function can be the identity function with respect to the ISA_transformers chek function type. - Add some request examples in Evaluation.thy - Fix typos