(* This program is free software; you can redistribute it and/or      *)
(* modify it under the terms of the GNU Lesser General Public License *)
(* as published by the Free Software Foundation; either version 2.1   *)
(* of the License, or (at your option) any later version.             *)
(*                                                                    *)
(* This program is distributed in the hope that it will be useful,    *)
(* but WITHOUT ANY WARRANTY; without even the implied warranty of     *)
(* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the      *)
(* GNU General Public License for more details.                       *)
(*                                                                    *)
(* You should have received a copy of the GNU Lesser General Public   *)
(* License along with this program; if not, write to the Free         *)
(* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *)
(* 02110-1301 USA                                                     *)
(*****************************************************************************)
(*          Projet Formel - Calculus of Inductive Constructions V5.10        *)
(*****************************************************************************)
(*									     *)
(*	            The functor "- x a"                  		     *)
(*									     *)
(*****************************************************************************)
(*									     *)
(*                     A. SAIBI	  May 95                  		     *)
(*									     *)
(*****************************************************************************)
Require Export Binary_Products.
Require Export Functor.
Set Implicit Arguments.
Unset Strict Implicit.
(* De'finition du foncteur _xa : C -> C, pour tout a objet de C *)
Section fun_prod.
Variables (C : Category) (C1 : HasBinProd C) (a : C).
Definition Fun_prod_ob (c : C) := H_obj_prod C1 c a.
Section fun_prod_map_def.
Variable c1 c2 : C.
Definition Fun_prod_mor (f : c1 --> c2) := Mor_prod C1 f (Id a).

(* Specifications: *)
Lemma Fun_prod_map_law : Map_law Fun_prod_mor.
Canonical Structure Fun_prod_map :
Map (c1 --> c2) (Fun_prod_ob c1 --> Fun_prod_ob c2) := Fun_prod_map_law.