Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Assertion Fails in unusedby-proofs-of-formulas #61

Open
dMaggot opened this issue Mar 17, 2019 · 0 comments
Open

Assertion Fails in unusedby-proofs-of-formulas #61

dMaggot opened this issue Mar 17, 2019 · 0 comments

Comments

@dMaggot
Copy link

dMaggot commented Mar 17, 2019

In the presence of a datatype declaration in the root theory (argument theoryref in the unusedby-proofs-of-formulas LISP function) the assertion (assert th) in the unused-by-proofs-of LISP function fails.
An simple way to reproduce is to add the following to Examples/sum.pvs

dummy_dt: DATATYPE
BEGIN
 dummy: dummy?
END dummy_dt

then open this theory in emacs and run

M-x tcp
M-x unsedby-proofs-of-formulas
Formula: closed_form
Formula:
Root theory to use as context: (default: sum):

The assertion will show in the pvs buffer.
Reproduced in PVS 6.0 with Allegro and PVS 7.0 (from git) with SBCL.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant