Goal:
  
  A : Type
  B : Type
  P : A → B → Type
  P' : ∀ (a : A) (b : B), P a b → Type
  t : A
  t' : B
  y : B
  l : list A
  l' : list B
  r : P t y
  rs : All2 P l l'
  r0 : P' t y r
  H' : All2_dep P' rs
  IHH' : ∀ (n : nat) (H1 : nth_error l n = Some t) 
           (H2 : nth_error l' n = Some t'),
           P' t t' (All2_nth_error n t t' rs H1 H2)
  H2 : Some y = Some t'
  k := f_equal (λ t0 : option B, match t0 with
                                 | Some x => x
                                 | None => y
                                 end) H2
    : (λ t0 : option B, match t0 with
                        | Some x => x
                        | None => y
                        end) (Some y) =
      (λ t0 : option B, match t0 with
                        | Some x => x
                        | None => y
                        end) (Some t')
  ============================
   (P' t t'
      (rew [λ X : Type, X]
           eq_trans
             (f_equal (λ f : B → Type, f y)
                (eq_trans eq_refl (f_equal P eq_refl))) 
             (f_equal (P t) k) in r))


DEBUG:Going to execute:
clearbody k
DEBUG LTAC Evaluated term: (f_equal ?f H2)