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:
solve
[ do
![ solve
 [ trivial | apply : eq_sym ; trivial ]
 | discriminate
 | contradiction
 | Ltac.split ]
| case not_locked_false_eq_true; Ltac.assumption
| match goal with
  | H:¬ _ |- _ => solve [ case H; trivial ]
  end ]