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


DEBUG:Going to execute:
set (k := f_equal _ H1); clearbody k; cbn in k; clear H1
Level 0: Backtrace:

Tactic failure: congruence failed.
Level 0: Backtrace:

Tactic failure: congruence failed.