Goal:
  
  A : Type
  B : Type
  f : nat → A → B
  x : A
  l : list A
  IHl : ∀ n k : nat,
          k ≤ n
          → List.rev (mapi_rec f l (n - k)) =
            mapi_rec (λ (k0 : nat) (x : A), f (Nat.pred #|l| + n - k0) x)
              (List.rev l) k
  n : nat
  k : nat
  k0 : nat
  x0 : A
  H1 : BinInt.Z.lt (BinInt.Z.of_nat k0)
         (BinInt.Z.add (BinInt.Z.of_nat #|l|) (BinInt.Z.of_nat k))
  H0 : BinInt.Z.le (BinInt.Z.of_nat k) (BinInt.Z.of_nat k0)
  H : BinInt.Z.le (BinInt.Z.of_nat k) (BinInt.Z.of_nat n)
  cstr : BinInt.Z.le BinNums.Z0 (BinInt.Z.of_nat k)
  cstr0 : BinInt.Z.le BinNums.Z0 (BinInt.Z.of_nat n)
  cstr1 : BinInt.Z.le BinNums.Z0 (BinInt.Z.of_nat k0)
  cstr2 : BinInt.Z.le BinNums.Z0 (BinInt.Z.of_nat #|l|)
  z3 : BinNums.Z
  H3 : BinInt.Z.lt BinNums.Z0
         (BinInt.Z.sub
            (BinInt.Z.add (BinInt.Z.of_nat #|l|) (BinInt.Z.of_nat n))
            (BinInt.Z.add (BinInt.Z.of_nat k0) (BinNums.Zpos BinNums.xH)))
       ∧ z3 =
         BinInt.Z.sub
           (BinInt.Z.add (BinInt.Z.of_nat #|l|) (BinInt.Z.of_nat n))
           (BinInt.Z.add (BinInt.Z.of_nat k0) (BinNums.Zpos BinNums.xH))
       ∨ BinInt.Z.le
           (BinInt.Z.sub
              (BinInt.Z.add (BinInt.Z.of_nat #|l|) (BinInt.Z.of_nat n))
              (BinInt.Z.add (BinInt.Z.of_nat k0) (BinNums.Zpos BinNums.xH)))
           BinNums.Z0 ∧ z3 = BinNums.Z0
  z4 : BinNums.Z
  H4 : BinInt.Z.lt BinNums.Z0
         (BinInt.Z.sub (BinInt.Z.of_nat #|l|) (BinNums.Zpos BinNums.xH))
       ∧ z4 = BinInt.Z.sub (BinInt.Z.of_nat #|l|) (BinNums.Zpos BinNums.xH)
       ∨ BinInt.Z.le
           (BinInt.Z.sub (BinInt.Z.of_nat #|l|) (BinNums.Zpos BinNums.xH))
           BinNums.Z0 ∧ z4 = BinNums.Z0
  z5 : BinNums.Z
  H5 : BinInt.Z.lt BinNums.Z0
         (BinInt.Z.sub (BinInt.Z.add z4 (BinInt.Z.of_nat n))
            (BinInt.Z.of_nat k0))
       ∧ z5 =
         BinInt.Z.sub (BinInt.Z.add z4 (BinInt.Z.of_nat n))
           (BinInt.Z.of_nat k0)
       ∨ BinInt.Z.le
           (BinInt.Z.sub (BinInt.Z.add z4 (BinInt.Z.of_nat n))
              (BinInt.Z.of_nat k0)) BinNums.Z0 ∧ z5 = BinNums.Z0
  ============================
   (z5 = z3)


DEBUG:Going to execute:
<coq-core.plugins.micromega::Lia@0> $1