Here is the dafny code, the second assertion never pass, anyone can help me out? enter link description here
Asked
Active
Viewed 91 times
Here is the dafny code, the second assertion never pass, anyone can help me out? enter link description here
Dafny seems to have an easier time if you just use s[1..] instead of the equivalent s[1..|s|]. The updated version is at http://rise4fun.com/Dafny/1AQN.