(self, prop, k)
return And(res)
Hypothesis for k-induction: each state up to k-1 fulfills the property
Hypothesis for k-induction: each state up to k-1 fulfills the property
Hypothesis for k - induction : each state up to k - 1 fulfills the property
def get_k_hypothesis(self, prop, k):
        """Hypothesis for k-induction: each state up to k-1 fulfills the property"""
        res = []
        for i in range(k):
            subs_i = self.get_subs(i)
            res.append(prop.substitute(subs_i))
        return And(res)
def get_k_hypothesis ( self , prop , k ) : res = [ ] for i in range ( k ) : subs_i = self . get_subs ( i ) res . append ( prop . substitute ( subs_i ) ) return And ( res )