Goal:
  
  A : Type
  P : nat → A → Type
  x : A
  l : list A
  IHl : ∀ k : nat,
          Alli P k l
          → Alli (λ k' : nat, P (Nat.pred #|l| - k' + k)) 0 (List.rev l)
  k : nat
  a : Alli P k l
  b : Alli P (#|l| + k) [x]
  ============================
   (Alli (λ k' : nat, P (Nat.pred #|l ++ [x]| - k' + k)) 0
      (List.rev (l ++ [x])))


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