(self, prop)
Interleaves BMC and K-Ind to verify the property.
Interleaves BMC and K-Ind to verify the property.
Interleaves BMC and K - Ind to verify the property .
def check_property(self, prop):
        """Interleaves BMC and K-Ind to verify the property."""
        print("Checking property %s..." % prop)
        for b in range(100):
            f = self.get_bmc(prop, b)
            print("   [BMC]    Checking bound %d..." % (b+1))
            if is_sat(f):
                print("--> Bug found at step %d" % (b+1))
                return

            f = self.get_k_induction(prop, b)
            print("   [K-IND]  Checking bound %d..." % (b+1))
            if is_unsat(f):
                print("--> The system is safe!")
                return
def check_property ( self , prop ) : print ( "Checking property %s..." % prop ) for b in range ( 100 ) : f = self . get_bmc ( prop , b ) print ( "   [BMC]    Checking bound %d..." % ( b + 1 ) ) if is_sat ( f ) : print ( "--> Bug found at step %d" % ( b + 1 ) ) return f = self . get_k_induction ( prop , b ) print ( "   [K-IND]  Checking bound %d..." % ( b + 1 ) ) if is_unsat ( f ) : print ( "--> The system is safe!" ) return