Goal:
  
  A : Type
  H : ReflectEq A
  l1 : list A
  l2 : list A
  _a_ : list A
  _b_ : list A
  _b1_ : list A
  ============================
   (rev (rev l1) = rev (_a_ ++ _b_)
    → rev (rev l2) = rev (_a_ ++ _b1_)
      → l1 = rev _b_ ++ rev _a_ ∧ l2 = rev _b1_ ++ rev _a_)


DEBUG:Going to execute:
<coq-core.plugins.ssreflect::ssrrewrite@0> $1 $2
DEBUG LTAC Evaluated term: (split_prefix ?l1 ?l2)
DEBUG LTAC Evaluated term: (f_equal rev)
DEBUG LTAC Evaluated term: (f_equal rev _view_subject_)
DEBUG LTAC Evaluated term: (f_equal rev)
DEBUG LTAC Evaluated term: (f_equal rev _view_subject_)