(* 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        *)
(*****************************************************************************)
(*									     *)
(*	            Existence of Right Adjoint                		     *)
(*									     *)
(*****************************************************************************)
(*									     *)
(*                     A. SAIBI	  May 95                  		     *)
(*									     *)
(*****************************************************************************)
Require Export Adj_UA.
Set Implicit Arguments.
Unset Strict Implicit.
Section ua_to_radj.
Variables (C D : Category) (F : Functor D C).
Hypothesis UA_of : forall c : C, CoUA c F.
(* construction de l'adj droit *)
Definition CoadjointUA_ob (c : C) := CoUA_ob (UA_of c).
Section coadjoint_ua_map_def.
Variable c c' : C.
Definition CoadjointUA_mor (f : c --> c') :=
CoUA_diese (UA_of c') (CoUA_mor (UA_of c) o f).

(* Specifications: *)
Lemma CoadjointUA_map_law : Map_law CoadjointUA_mor.
Canonical Structure CoadjointUA_map :
Map (c --> c') (CoadjointUA_ob c --> CoadjointUA_ob c') :=
CoadjointUA_map_law.