\myheading{My homebrew algorithms formally verified using CBMC} \label{KMP1} \leveldown{} \myheading{Searching for the "ok" substring} Imagine you want to find an "ok" substring within a string. You would do: \begin{lstlisting}[style=customc] unsigned search_ok_1 (char *s, unsigned len) { if (len<2) return len; // not found for (unsigned i=0; i