-
Notifications
You must be signed in to change notification settings - Fork 20
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
Merge updated_enabled_cdot
.
#148
base: main
Are you sure you want to change the base?
Commits on Mar 31, 2021
-
BUG: recompute operator level info in parametrized instantiation
Otherwise the already computed weights of an operator can rely on the arity of the operator before the dependence on parameters of the definition (`Foo(x) == INSTANCE Inner`) is added to the instantiated operator signature. Parametric instantiation changes the arity of operators, so the weights list needs to be recomputed, based on the arity after instantiation has been performed.
Configuration menu - View commit details
-
Copy full SHA for 7b034c8 - Browse repository at this point
Copy the full SHA 7b034c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c899a5 - Browse repository at this point
Copy the full SHA 3c899a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab897dc - Browse repository at this point
Copy the full SHA ab897dcView commit details -
TST: correctly detect end of module
This change ensures that the testing commands are read after the closing horizontal rule (`=====*`) of the module. To do this, the nesting depth of submodules is tracked, by incrementing the counter `submodule_nesting_depth` when encountering a module opening (`-----*\s*MODULE`), and decrementing this counter when encountering a module closing (`=====*`). Commands are read after the module's end. Previously, commands were read after the first module closing (`=====*`), which results in errors in the presence of submodules.
Configuration menu - View commit details
-
Copy full SHA for e30f941 - Browse repository at this point
Copy the full SHA e30f941View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a5b74a - Browse repository at this point
Copy the full SHA 8a5b74aView commit details -
ENH: add function
print_modules
that prints the names of modules in a module context.
Configuration menu - View commit details
-
Copy full SHA for c561dbe - Browse repository at this point
Copy the full SHA c561dbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa1f39b - Browse repository at this point
Copy the full SHA aa1f39bView commit details -
BUG: correctly shift module units when instantiating
When instantiating inside a LET, definitions are kept, and other module units omitted. A negative shift is applied to the remaining module units. This negative shift should equal minus the number of hypotheses that the omitted module unit introduces in the context. The number of hypotheses for each module unit is computed by the function `M_t.hyps_of_modunit`.
Configuration menu - View commit details
-
Copy full SHA for 09719c8 - Browse repository at this point
Copy the full SHA 09719c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d2129e - Browse repository at this point
Copy the full SHA 4d2129eView commit details -
BUG: handle
INSTANCE
statements withinLET
`Module.Elab` replaces each `INSTANCE` statement with definitions. If the instantiated module extends the module `TLAPS`, then the definitions include backend pragmas (constructor `Bpragma`).
Configuration menu - View commit details
-
Copy full SHA for a4ca6ac - Browse repository at this point
Copy the full SHA a4ca6acView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5dc90a - Browse repository at this point
Copy the full SHA a5dc90aView commit details -
BUG: fingerprint
INSTANCE
statements withinLET
`Module.Elab` replaces each `INSTANCE` statement with definitions. If the instantiated module extends the module `TLAPS`, then the definitions include backend pragmas (constructor `Bpragma`).
Configuration menu - View commit details
-
Copy full SHA for a87906f - Browse repository at this point
Copy the full SHA a87906fView commit details
Commits on Jun 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 93f5186 - Browse repository at this point
Copy the full SHA 93f5186View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30f1415 - Browse repository at this point
Copy the full SHA 30f1415View commit details -
Configuration menu - View commit details
-
Copy full SHA for 017ebd8 - Browse repository at this point
Copy the full SHA 017ebd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 737dd12 - Browse repository at this point
Copy the full SHA 737dd12View commit details -
Configuration menu - View commit details
-
Copy full SHA for f47164b - Browse repository at this point
Copy the full SHA f47164bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c7ff69d - Browse repository at this point
Copy the full SHA c7ff69dView commit details -
BUG: fingerprint
AutoUSE
resultsThis change makes fingerprints take into account the result of the proof directive AutoUSE. Previously, fingerprinting was done before any expansion of definitions, normalization, and automated expansion of definitions, expansion of ENABLED and of \cdot. This approach worked correctly for BY DEF definitions, because those definitions were included in the fingerprint as context. With this change, only for proof obligations that include the proof directive AutoUSE, the fingerprint is computed after expansion of definitions, normalization, automated expansion of definitions, expansion of ENABLED, and of \cdot. This change ensures that the proof obligation is fingerprinted with all automatic expansions of definitions applied. A test is added that catches this error.
Configuration menu - View commit details
-
Copy full SHA for 6b49822 - Browse repository at this point
Copy the full SHA 6b49822View commit details -
Configuration menu - View commit details
-
Copy full SHA for 426a200 - Browse repository at this point
Copy the full SHA 426a200View commit details -
Configuration menu - View commit details
-
Copy full SHA for aec7bbe - Browse repository at this point
Copy the full SHA aec7bbeView commit details -
ENH: add proof directives
ENABLEDrules
andENABLEDrewrites
summary of changes - test fingerprints by running `tlapm` twice - add new proof directive `ENABLEDrules` - rewrite `ENABLEDaxioms` to remove the Boolean typeness assumptions - rewrite two proof rules that previously were in `ENABLEDaxioms` and now are in `ENABLEDrules`, to remove the Boolean typeness assumptions - correct soundness check for `ENABLEDrules` (previously for `ENABLEDaxioms`) - fingerprint the level correctness of proof obligations - revise renaming of variables in `ExpandENABLED` - removal of older implementation of `ENABLEDaxioms` - `ENABLEDaxioms` was not correctly collecting primed variables - use expression level in fingerprint of definition - record name of `Bpragma` in fingerprint - implement rewriting system for `ENABLEDrewrites` - add new proof directive `ENABLEDrewrites` - add test modules
Configuration menu - View commit details
-
Copy full SHA for 987e425 - Browse repository at this point
Copy the full SHA 987e425View commit details -
These changes are for now kept as a separate commit, in case further rebasing is needed before preparing the pull request for the branch `update_enabled_cdot`.
Configuration menu - View commit details
-
Copy full SHA for 70b4eaa - Browse repository at this point
Copy the full SHA 70b4eaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a4e5f8 - Browse repository at this point
Copy the full SHA 6a4e5f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23f6f0b - Browse repository at this point
Copy the full SHA 23f6f0bView commit details
Commits on Jul 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c758c25 - Browse repository at this point
Copy the full SHA c758c25View commit details
Commits on Aug 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ee56b3d - Browse repository at this point
Copy the full SHA ee56b3dView commit details
Commits on Oct 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a963bd3 - Browse repository at this point
Copy the full SHA a963bd3View commit details
Commits on Aug 31, 2024
-
Merge branch 'main' into updated_enabled_cdot
Signed-off-by: Karolis Petrauskas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c27e42 - Browse repository at this point
Copy the full SHA 9c27e42View commit details -
Print exception backtraces in LSP.
Signed-off-by: Karolis Petrauskas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a6cadd - Browse repository at this point
Copy the full SHA 9a6caddView commit details
Commits on Sep 1, 2024
-
Proofs in
examples/EWD840.tla
fixed.Signed-off-by: Karolis Petrauskas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f002d24 - Browse repository at this point
Copy the full SHA f002d24View commit details -
Temporary workaround for making the LSP to work.
Signed-off-by: Karolis Petrauskas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f4344b - Browse repository at this point
Copy the full SHA 4f4344bView commit details -
Fix proof in
examples/SimpleMutex.tla
.Signed-off-by: Karolis Petrauskas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cfacd96 - Browse repository at this point
Copy the full SHA cfacd96View commit details -
Fix proof in
examples/SimpleEventually.tla
.Signed-off-by: Karolis Petrauskas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 77ac33f - Browse repository at this point
Copy the full SHA 77ac33fView commit details -
Properly take the obligation fingerprints in the LSP.
Signed-off-by: Karolis Petrauskas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7f63bdd - Browse repository at this point
Copy the full SHA 7f63bddView commit details
Commits on Sep 11, 2024
-
Merge remote-tracking branch 'origin/main' into updated_enabled_cdot
Signed-off-by: Karolis Petrauskas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b12dfff - Browse repository at this point
Copy the full SHA b12dfffView commit details