Goal:
  
  A : Type
  p : nat → A → bool
  q : nat → A → bool
  n : nat
  l : list A
  hfg : ∀ i : nat, p i =1 q i
  ============================
   (alli p n l = alli q n l)


DEBUG:Going to execute:
induction l in n |- *; simpl