(* 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        *)
(*****************************************************************************)
(*									     *)
(*	                       Products                   		     *)
(*									     *)
(*****************************************************************************)
(*									     *)
(*                     A. SAIBI	  May 95                  		     *)
(*									     *)
(*****************************************************************************)
Require Export Limit.
Require Export Discr.
Require Export Products.
Set Implicit Arguments.
Unset Strict Implicit.
(* Foncteur de I~ (cate'gorie discrete obtenue a` partir de I) vers C *)
Section products_limit_def.
Variables (C : Category) (I : Type) (a : I -> C).
Definition FunDiscr_ob (i : Discr I) := a i.
Definition FunDiscr_arrow (i j : Discr I) (f : i --> j) :=
match f in (Discr_mor d d0) return (Carrier (a d --> a d0)) with
| Build_Discr_mor k => Id (a k)
end.

Lemma FunDiscr_map_law :
forall i j : I, Map_law (FunDiscr_arrow (i:=i) (j:=j)).