(* 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        *)
(*****************************************************************************)
(*									     *)
(*	            Adjunction Example : CCC                		     *)
(*									     *)
(*****************************************************************************)
(*									     *)
(*                     A. SAIBI	  May 95                  		     *)
(*									     *)
(*****************************************************************************)
Require Export Cartesian1.
Require Export CCC.
Require Export FunProd.
Set Implicit Arguments.
Unset Strict Implicit.
(* construire l'expo... a` partir d'un CCC *)
Section funprod_hasexpo.
Variable C : Category.
Variable H : HasBinProd C.
Definition HasExponent1 := forall a : C, RightAdj (Fun_prod H a).
Variable H1 : HasExponent1.
Section funprod_expo.
Variable a b : C.
Let ua' := CoUnit (H1 a) b.
Definition Expo1 := CoUA_ob ua'.
Definition Eval1 := CoUA_mor ua'.
Section lambda1_def.
Variable c : C.
Definition Lambda1_mor (f : H_obj_prod H c a --> b) := CoUA_diese ua' f.

Lemma Lambda1_map_law : Map_law Lambda1_mor.
Canonical Structure Lambda1 := Build_Map Lambda1_map_law.