Incremental reachability checking of kernelc programs using matching logic