Add a bundle no_UTP_lattice_syntax to switch off UTP lattice syntax#8
Open
Add a bundle no_UTP_lattice_syntax to switch off UTP lattice syntax#8
Conversation
Collaborator
Author
|
@simondfoster do you think this change can be adopted by UTP? I think it might be useful in the future for other users. If not, I probably consider leaving this change locally in my theories. I need to make a decision about which way I will use it in my code because I need to hardcode the links to the theories in a paper. Any questions, please do let me know. Thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In my mechanisation, I don't need lattice syntax from UTP and would use the lattice syntax from Isabelle HOL. For this reason, I have added a bundle no_UTP_lattice_syntax to switch off UTP lattice syntax.
By the way, I change the name utp_lattice_syntax to UTP_lattice_syntax to make its name consistent with other bundle names in UTP, like UTP_Logic_Syntax.
After this update, I have the following commands at the beginning of my theory:
unbundle UTP_Syntax
(* Switch off lattice syntax from UTP )
unbundle no_UTP_lattice_syntax
( Switch on lattice syntax from HOL *)
unbundle lattice_syntax