Goal:
  
  A : Type
  P : nat → A → Type
  n : nat
  a : A
  l : list A
  l' : list A
  IHl : ∀ (n : nat) (l' : list A),
          Alli P n (l ++ l') → Alli P n l × Alli P (#|l| + n) l'
  X : P n a
  X0 : Alli P (S n) (l ++ l')
  ============================
   (Alli P n (a :: l))


DEBUG:Going to execute:
fun flags =>
             match reverse goal with
             | |- ?X1 =>
                   <Coq.Init.Tauto.is_unit_or_eq> flags X1; constructor 1
             | H:?X1 |- _ => <Coq.Init.Tauto.is_empty> flags X1; elim H
             | _ => Ltac.assumption
             end