Goal:
  
  A : Type
  B : Type
  C : Type
  P : nat → A → B → Type
  Q : B → C → Type
  R : nat → A → C → Type
  S : nat → A → C → Type
  y0 : C
  l' : list C
  n : nat
  x : A
  y : B
  l : list A
  r : list B
  r0 : P n x y
  a : All2i P (Datatypes.S n) l r
  q : Q y y0
  b : All2 Q r l'
  c1' : nat
  c1'0 : list A
  c1 : list C
  c : All2i R c1' c1'0 c1
  ============================
   ({| pr1 := n; pr2 := {| pr1 := x :: l; pr2 := y0 :: l' |} |} =
    {| pr1 := c1'; pr2 := {| pr1 := c1'0; pr2 := c1 |} |}
    → let H := CoreTactics.block in
      (∀ (n : nat) (x : A) (y : B) (z : C),
         P n x y → Q y z → R n x z → S n x z)
      → (∀ l'' : list C,
           All2 Q r l''
           → All2i R (Datatypes.S n) l l'' → All2i S (Datatypes.S n) l l'')
        → let H0 := CoreTactics.block in All2i S n (x :: l) (y0 :: l'))


DEBUG:Going to execute:
hnf in id;
            match type of id with
            | sigma _ =>
                let xn := fresh id "'" in
                destruct id as [xn id]; DepElim.decompose_exists xn id;
                 cbv beta iota delta [TODO projection TODO projection]
                  in id, id'; DepElim.decompose_exists id id'
            | _ =>
                cbv beta iota delta [TODO projection TODO projection]
                 in id, id'
            end