-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Functions.tla
here clashes with Functions.tla
in TLAPM
#60
Comments
To continue the discussion about moving modules out of TLAPS:
|
I think the *_theorems(_proofs) modules should also be moved to the CommunityModules so that everything is in one place and that they get better visibility. Obviously, they only need to be imported by users who write proofs. |
We could move *_theorems(_proofs) into a subdirectory to reduce clutter. Also, to catch regressions, the CM Github action can check the proofs with the latest TLAPS release (https://github.com/lemmy/BlockingQueue/blob/4fa409b020725631d8fa0fa99ea9c813c3cd40dc/.github/workflows/main.yml#L18-L29 for inspiration). |
/cc @kape1395 for visibility |
From the build perspective. The current tests in TLAPS depend on the files in the standard library, including the
But I haven't checked if the backends (Isabelle, ...) are tied to these modules. If the relations exist there, the related modules should be kept in the TLAPM repo, IMO. Considering the tests. Maybe these dependencies should be reorganized somehow to avoid loops across the repositories.
The core test suite could be run without dependencies from the community modules. These should be enough to build/install/release the TLAPS. And the regression/integration" test suite would not be tied to the build/install/release procedures. They
While trying to check this, I found that |
It is, like most of the standard modules, implemented internally within tlapm in src/module/m_standard.ml. This is important because tlapm has to implement special treatment of some of the operators defined in these modules (to translate them into the corresponding back-end provers' features). |
There is a name clash between the
Functions.tla
in CommunityModules andFunctions.tla
in TLAPM, with theFunctions.tla
in CommunityModules (CM!Functions.tla
) having a superset of operators compared to the version in TLAPM. Users who open specs that depend onCM!Functions.tla
but who havePM!Functions.tla
on the library path (first) end up with an unparsable spec./cc @muenchnerkindl @xxyzzn
Likely related: tlaplus/tlapm#3
The text was updated successfully, but these errors were encountered: