Goal:
  
  A : Type
  B : Type
  C : Type
  D : Type
  E : Type
  P : E → A → Type
  Q : C → A → Type
  R : B → D → Type
  f : B → C → E
  b : B
  l : list B
  l''' : list D
  x : B
  y : D
  l0 : list B
  l' : list D
  r : R x y
  hb : All2 R l0 l'
  ============================
   ({| pr1 := b :: l; pr2 := l''' |} = {| pr1 := x :: l0; pr2 := y :: l' |}
    → ∀ (H := CoreTactics.block) (x : C) (y : A) (l0 : list C) (l' : list A),
        Q x y
        → All2 Q l0 l'
          → #|l| = #|l0|
            → (∀ (x0 : B) (y0 : C) (z : A) (w : D),
                 R x0 w → Q y0 z → P (f x0 y0) z)
              → (∀ (l : list B) (l''' : list D),
                   All2 R l l''' → #|l| = #|l0| → All2 P (map2 f l l0) l')
                → let H0 := CoreTactics.block in
                  All2 P (map2 f (b :: l) (x :: l0)) (y :: l'))


DEBUG:Going to execute:
match goal with
           | |- context [ rew <- [_] eq_refl in _ ] =>
                 progress simpl eq_rect_r
           | |- context [ rew [_] eq_refl in _ ] => progress simpl eq_rect
           | |- context [ Prop.Logic.transport _ eq_refl _ ] =>
                 progress simpl Prop.Logic.transport
           | |- context [ Logic.eq_elim _ _ _ _ _ eq_refl ] =>
                 progress simpl eq_rect
           | |- context [ Logic.eq_elim_r _ _ _ _ eq_refl ] =>
                 progress simpl Logic.eq_elim_r
           | |- context [ noConfusion_inv _ ] =>
                 progress simpl noConfusion_inv
           | |- DepElim.opaque_ind_pack_eq_inv ?G eq_refl =>
                 apply (DepElim.simplify_ind_pack_inv B x p G)
           | |- let _ := CoreTactics.block in _ => fail 1
           | |- _ => simplify * || simplify ?; cbv beta
           | |- _ → ?B =>
                 let ty := type of B in
                 intro || (let H := fresh in
                           intro
                           H)
           | |- ∀ x, _ => let H := fresh x in
                          intro
                          H
           | |- _ => intro
           end