# HG changeset patch # User Shinji KONO # Date 1388918051 -32400 # Node ID cf278f4d0b32cca2bc2423b4eff592a72e496a13 # Parent c0439b11c7e78ae19b77fa41155806ff41559418 on going... diff -r c0439b11c7e7 -r cf278f4d0b32 freyd.agda --- a/freyd.agda Sun Jan 05 19:29:52 2014 +0900 +++ b/freyd.agda Sun Jan 05 19:34:11 2014 +0900 @@ -9,7 +9,7 @@ open import Relation.Binary.Core open Functor --- C is small full subcategory of A +-- C is small full subcategory of A ( C is image of F ) record SmallFullSubcategory {c₁ c₂ ℓ : Level} (A : Category c₁ c₂ ℓ) (F : Functor A A ) ( FMap← : { a b : Obj A } → Hom A (FObj F a) (FObj F b ) → Hom A a b ) @@ -22,9 +22,8 @@ -- pre-initial -record PreInitialSmallFullSubcategory {c₁ c₂ ℓ : Level} (A : Category c₁ c₂ ℓ) - {F : Functor A A } { FMap← : { a b : Obj A } → Hom A (FObj F a) (FObj F b ) → Hom A a b } - (SFS : SmallFullSubcategory A F FMap← ) : Set (suc ℓ ⊔ (suc c₁ ⊔ suc c₂)) where +record PreInitial {c₁ c₂ ℓ : Level} (A : Category c₁ c₂ ℓ) + (F : Functor A A ) : Set (suc ℓ ⊔ (suc c₁ ⊔ suc c₂)) where field preinitial : ∀{ a : Obj A } → { b : Obj A } → Hom A ( FObj F b ) a uniqueness : ∀{ a : Obj A } → { b : Obj A } → ( f : Hom A ( FObj F b ) a ) → @@ -44,7 +43,7 @@ (F : Functor A A ) ( FMap← : { a b : Obj A } → Hom A (FObj F a) (FObj F b ) → Hom A a b ) -- ( lim : ( Γ : Functor I A ) → { a0 : Obj A } { t0 : NTrans I A ( K A I a0 ) Γ } → Limit A I Γ a0 t0 ) -- completeness (SFS : SmallFullSubcategory A F FMap← ) → - (PreInitialSmallFullSubcategory A SFS ) → { i : Obj A } → HasInitialObject A i + (PreInitial A F ) → { i : Obj A } → HasInitialObject A i initialFromPreInitialFullSubcategory A F FMap← SFS PI {i} = record { initial = {!!} ; uniqueness = {!!}