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

let lemmas in fsti reported missing after val missing error 98 #3510

Open
briangmilnes opened this issue Oct 2, 2024 · 0 comments
Open

let lemmas in fsti reported missing after val missing error 98 #3510

briangmilnes opened this issue Oct 2, 2024 · 0 comments

Comments

@briangmilnes
Copy link
Contributor

I bumped into this validating Sheera's DFS, so I wrote some small test files.

  • Error 98 at src/LetLemmaInFSTI.fst(1,7-1,21):
    • Some interface elements were not implemented by module LetLemmaInFSTI:
      val four_gt_three
      let three_gt_two
      If you put a val+let lemma in an fsti and don't provide the val the following let is also
      reported as not implemented which is incorrect in that the fsti provides the lemma.
      FSTI:
      /// This tests putting a let lemma in an fsti and not in the fst.
      module LetLemmaInFSTI
      val four_gt_three () : Lemma (4 > 3)
      let three_gt_two () : Lemma (3 > 2) = ()

FST:
module LetLemmaInFSTI
/// No three_gt_two.

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

No branches or pull requests

1 participant