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

can't label assumptions #5540

Open
kjx opened this issue Jun 7, 2024 · 0 comments
Open

can't label assumptions #5540

kjx opened this issue Jun 7, 2024 · 0 comments
Labels
kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny part: language definition Relating to the Dafny language definition itself priority: not yet Will reconsider working on this when we're looking for work

Comments

@kjx
Copy link

kjx commented Jun 7, 2024

Summary

assume FOO: x == 4; //doesn't work

Background and Motivation

doing something to complex and wrongly

Proposed Feature

being able to label assumptions in exactly the same was assertions are labelled...

Alternatives

other options:

  • wrap assumption in a labelled assertion
assert FOO: forall x <- m.Keys, oo <- x.AMFO :: (m[oo] in m[x].AMFO) //proved ibn forall/ensuring
  by { assume forall x <- m.Keys, oo <- x.AMFO :: (m[oo] in m[x].AMFO);  }
  • restructure everyting
  • switch to IDRIS
  • switch to Coq
  • switch to lean
@kjx kjx added the kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny label Jun 7, 2024
@stefan-aws stefan-aws added priority: unknown part: language definition Relating to the Dafny language definition itself labels Jun 12, 2024
@stefan-aws stefan-aws added priority: not yet Will reconsider working on this when we're looking for work and removed priority: unknown labels Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny part: language definition Relating to the Dafny language definition itself priority: not yet Will reconsider working on this when we're looking for work
Projects
None yet
Development

No branches or pull requests

2 participants