Definition eq_bool_dec : forall a b : bool, {a = b} + {a <> b}.Fixpoint le_bool (a b : nat) {struct b} : bool :=
  match a, b with
  | O, _ => true
  | S a1, S b1 => le_bool a1 b1
  | _, _ => false
  end.

Theorem fold_right_app : forall a l1 l2, fold_right g a (l1 ++ l2) = fold_right g (fold_right g a l2) l1.