Created by bitbucket user pgruntz on 2017-08-09 08:56
Last updated on 2019-03-02 22:10
assertion on line 3 might not hold
#!viper
method numberOfUsers_termination_proof(seq: Seq[Bool]) //Seq[Int] working
{
assert seqFunc(seq)
}
domain SeqTerminationOrder[S] {
//function seqFunc(s: S) : Bool //function defined here works
axiom seq_ax_bound {
forall seq1: Seq[S] :: seqFunc(seq1)
//forall seq1: Seq[Bool] :: seqFunc(seq1) //works
}
}
domain SeqFunc[A]{
function seqFunc(s: A) : Bool
}
assertion on line 3 might not hold