dafny pre-condition failure
问题 I'm trying to run a dafny verified version of BFS (from here) My input graph is perfectly fine, but for some reason it fails the pre-condition check. Here is the permalink And for self completeness here is the graph definition + validity conditions class Graph { var adjList : seq<seq<int>>; constructor (adjListInput : seq<seq<int>>) { adjList := adjListInput; } } function ValidGraph(G : Graph) : bool reads G { (forall u :: 0 <= u < |G.adjList| ==> forall v :: 0 <= v < |G.adjList[u]| ==> 0 <=