fix imap_seq and imap_seq0 to make them useful
I think I made a mistake when I originally upstreamed these lemmas. Now they are more generic and thus actually useful.
I think I made a mistake when I originally upstreamed these lemmas. Now they are more generic and thus actually useful.