Goal:
  
  A : Type
  R1 : A → A → Type
  R2 : A → Type
  R3 : A → Type
  hd : A
  hd' : A
  tl : list A
  p : R1 hd hd'
  H1 : list A
  H : All R2 H1
  ============================
   (hd :: tl = H1
    → let H := CoreTactics.block in
      let H0 := CoreTactics.block in
      (∀ x : A, R2 x → R3 x)
      → (∀ x y : A, R1 x y → R2 x → R3 y) → All R3 (hd' :: tl))


DEBUG:Going to execute:
fun id id' =>
             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