fact: Definition findlast_aux oi0 p s : option nat * nat := foldl (fun '(o,i) x => (if p x then Some i else o, i.+1)) oi0 s.
imports: Coq(ssreflect ssrbool ssrfun) mathcomp(ssrnat seq path eqtype choice bigop) pcm(options prelude pred)