Goal:
  
  A : Type
  B : Type
  f : nat → A → B
  g : nat → A → B
  a : A
  l : list A
  n : nat
  Hfg : ∀ (k : nat) (x : A), n ≤ k → k < #|a :: l| + n → f k x = g k x
  IHl : ∀ n : nat,
          (∀ (k : nat) (x : A), n ≤ k → k < #|l| + n → f k x = g k x)
          → mapi_rec f l n = mapi_rec g l n
  ============================
   (g n a :: mapi_rec f l (S n) = g n a :: mapi_rec g l (S n))


DEBUG:Going to execute:
f_equal
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 1: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 2: Backtrace:

Tactic failure:  Cannot find witness.
Level 3: Backtrace:

Tactic failure:  Cannot find witness.
Level 2: Backtrace:

Tactic failure:  Cannot find witness.
Level 1: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 1: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 1: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 1: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.
Level 1: Backtrace:

Tactic failure:  Cannot find witness.
Level 0: Backtrace:

Tactic failure:  Cannot find witness.