Skip to content
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

semantic labelling: CPF output (to check JFP_Ex31) #81

Closed
jwaldmann opened this issue Apr 22, 2014 · 3 comments
Closed

semantic labelling: CPF output (to check JFP_Ex31) #81

jwaldmann opened this issue Apr 22, 2014 · 3 comments

Comments

@jwaldmann
Copy link
Collaborator

We should really output CPF documents, so the termination "proofs" like https://github.com/jwaldmann/co4/blob/5ba7181ddad0a5b880e529f3ab30e61d1d216fe6/JFP_Ex31.proof can be verified by CeTA.

This needs some (trivial, I hope) extensions in tpdb, see jwaldmann/haskell-tpdb#4 , and a rewrite of the termcomp2014 main program.

I don't see whether tpdb-8.0/TRS/AProVE_04/JFP_Ex31.xml is supposed to be terminating. The problem is from Ex 31 (see also Ex 15) in http://verify.rwth-aachen.de/giesl/papers/JFP-distribute.ps

@jwaldmann jwaldmann changed the title CPF output semantic labelling: CPF output Apr 22, 2014
@jwaldmann jwaldmann changed the title semantic labelling: CPF output semantic labelling: CPF output (to check JFP_Ex31) Apr 22, 2014
@jwaldmann
Copy link
Collaborator Author

the current Main module should export a function with roughly this type:

step :: DP -> IO (Maybe (DP, CPF -> CPF))

with specification

  • if step dp returns Just (dp',f), and p is any proof for termination of dp', then f p is a proof of termination of dp
  • for each call of step dp , there is at least one marked rule in dp

As a first approximation (as long as jwaldmann/haskell-tpdb#4 is open), use String or Doc instead of CPF (and CPF is actually TPDB.CPF.Proof.Type.DpProof)

@jwaldmann
Copy link
Collaborator Author

Note: I am working on CPF output for everything outside semantic labelling. See recent commits in haskell-tpdb and co4.

@jwaldmann
Copy link
Collaborator Author

I think this works now. It's not in the nicest form, because we don't see details of the proof steps in the semantic labelling, because the output uses TPDB.CPF.* functions directly, while it should should use tc/MB/Proof. I'm closing this here, and refer to Issue #94

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants