Goal:
  
  A : Type
  P : A → A → Type
  r : A
  r' : A
  X : All2 P [r] ([] ++ [r'])
  x : A
  y : A
  l : list A
  l' : list A
  X0 : P r r'
  X1 : All2 P [] []
  H0 : x = r
  H1 : l = []
  H : y = r'
  H3 : l' = []
  X2 : A → Type
  ============================
   (All2 P [] [] × P r r')


DEBUG:Going to execute:
clear id0