dafny Questions

2

Solved

I'm translating an exercise I made in Dafny into SPARK, where one verifies a tail recursive function against a recursive one. The Dafny source (censored, because it might still be used for classes)...
Conundrum asked 11/9, 2021 at 23:12

1

Solved

I've been looking at some dafny tutorials and couldn't find how to read from (or write to) simple text files. Surely, this has to be possible right?
Sashasashay asked 16/9, 2018 at 4:19

1

I am getting a warning in Dafny which says that my quantifiers have No terms found to trigger on. What I am trying to do for my code is to find the largest number that has a square value that is ...
Fanfani asked 21/3, 2018 at 5:14

1

They are from Microsoft and seem like they are proof assistants? Besides syntactical differences are there practical aspects that make them different from one another (say ability to do automation,...
Bountiful asked 2/9, 2017 at 5:57

1

Solved

Consider the standard strategy to solve the 100 prisoners and a lightbulb problem. Here's my attempt to model it in Dafny: method strategy<T>(P: set<T>, Special: T) returns (count: int...
Ulna asked 26/6, 2017 at 2:33

1

Solved

i am having a really hard time getting rid of the last error in my Dafny program. Can someone point me in the right direction? Here is the code: http://rise4fun.com/Dafny/2FPo I am getting this er...
Thetisa asked 24/4, 2017 at 15:20
1

© 2022 - 2024 — McMap. All rights reserved.