dafny icon indicating copy to clipboard operation
dafny copied to clipboard

can't label assumptions

Open kjx opened this issue 8 months ago • 0 comments

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 avatar Jun 07 '24 05:06 kjx