Goal:
  
  ============================
   (forall T : Type -> Type,
    Monad T ->
    forall (A : Type) (P : nat -> A -> Type) (Q : A -> Type),
    (forall (n : nat) (x : A), ∥ Q x ∥ -> T (∥ P n x ∥)) ->
    forall (n : nat) (a : A) (l : list A),
    ∥ All Q (a :: l) ∥ ->
    ∥ P n a ∥ -> ∥ Alli P (S n) l ∥ -> ∥ Alli P n (a :: l) ∥)


DEBUG:Going to execute:
CoreTactics.revert_last