Hint Rewrite @sublist_nil' using list_solve: sublist.
Hint Rewrite @app_nil_l : sublist.
Hint Rewrite @Zlength_rev : sublist.
Hint Rewrite @sublist_rejoin' using list_solve : sublist.

Lemma upd_Znth_map {A B} (f:A -> B) i l v:
upd_Znth i (map f l) (f v) =
map f (upd_Znth i l v).