Goal:
  
  A : Type
  B : Type
  P : A → nat → B → Type
  a : A
  ls2 : list A
  n : nat
  X : Alli (λ (n : nat) (y : B), All (λ x : A, P x n y) (a :: ls2)) n []
  ============================
   (All (λ x : A, Alli (P x) n []) ls2)


DEBUG:Going to execute:
let H := multimatch goal with
                    | H:_ |- _ => H
                    end in
           eapply All_impl_All; [ exact H | clear H ]
Level 0: Backtrace:

The type of X is not inductive.
Level 0: Backtrace:

The type of X is not inductive.
Level 1: Backtrace:

The type of X is not inductive.
Level 0: Backtrace:

The type of X is not inductive.
Level 1: Backtrace:

The type of X is not inductive.
Level 0: Backtrace:

The type of X is not inductive.
Level 0: Backtrace:

The type of X is not inductive.
Level 0: Backtrace:

The type of X is not inductive.
Level 0: Backtrace:

The type of X is not inductive.
Level 0: Backtrace:

The type of X is not inductive.
Level 0: Backtrace:

The type of X is not inductive.
Level 0: Backtrace:

The type of X is not inductive.
Level 0: Backtrace:

The type of X is not inductive.
Level 0: Backtrace:

The type of X is not inductive.