0

Here is the dafny code, the second assertion never pass, anyone can help me out? enter link description here

Lilac Liu
  • 49
  • 1
  • 4

1 Answers1

0

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.

Jay Lorch
  • 156
  • 2