dafny-lang / dafny

Dafny is a verification-aware programming language
https://dafny.org
Other
2.91k stars 262 forks source link

Use variable order in {:inductive} attribute. #34

Open richardlford opened 8 years ago

richardlford commented 8 years ago

Induction can be applied in two contexts:

The {:inductive} attribute is used to specify that only a subset of the potential inductive variables be used. The current implementation requires that the given subset be listed in the same order as they appear in the potential induction variables list. But there does not seem to be a good reason for this restriction.

We propose that this restriction be removed and that induction be applied in the order specified in the {:induction} attribute.

acioc commented 4 years ago

Investigation if this is still an issue is for 3.0