Goal:
  
  A : Type
  p : A → bool
  a : A
  l : list A
  n : nat
  x : A
  Hnth : nth_error (a :: l) (S n) = Some x
  HPl : is_true (forallb p (a :: l))
  ============================
   ((∀ n : nat, nth_error l n = Some x → forallb p l → p x)
    → let H := CoreTactics.block in p x)


DEBUG:Going to execute:
CoreTactics.on_last_hyp
            ltac:(fun id' =>
                    match id' with
                    | id => idtac
                    | _ => revert id'; CoreTactics.revert_until id
                    end)