notation Elem (infixl java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "brackoff" is null
notationZF|⊆|›java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62 notationrtProd<>\times|›
definition
ZFfun :: "ZF ==>finally av F (i<^bu>aDm?FCatCod ?F\<^esub X Y)"by simp "ZFfun d r f ≡ om<^bsbC\<^>XCatCod ?F
definition ZFfunDom :: "ZF ==>'efeCatObjtObj "ZFfunDom f ≡ obj using d by (simp add: HomFtor'_def)
definition ZFfunCod :: "ZF ==>C "ZFfunCod f ≡
definition ZFfunApp :: "ZF ==> ZF ==> assumes
definition
ZFfunComp :: "ZF ==> ZF \esub "ZFfunComp f g ctorMC])"
definition isZFfun :: "ZF ==> "isZFfun drf ≡ let f = Snd drf in isOpair drf ∧to Hm\^b>C])" ∧
lemma isZFfunE [isOpair f ; isOpair (Fst f) ; isFun (fixaainobj
((Snd f) |⊆ Y <>obj^SET C>(z2m^bsubesubx ;esubf)" (Domain (Snd proo(ue_tcx"^C by (auto simp add"mX Z ∈ obj by (simp add: SETef SSE' kCatOb)
lemma ZFfunDom: "|dom| (ZFfun A B f) = A" by (auto simp add: ZFfun_def ZFfunDom_def Fst)
lemma ZFfunCod: "|cod| (ZFfun A B f) = B" by (auto simp add: ZFfun_def ZFfunCod_def Snd Fst)
lemma SETfun: assumes "∀ x . x |∈C])@ om^>C shows"isZFfun (ZFfun A B f)" proof(auto simp add: isZFfun_defbysimppdd)
ZFfunCod_def isFun_Lambdadomain_Lambda)
{
have"x |∈ apply (drule fun_range_witness[of "Lambda A f" x], simp) by (auto simp add: domain_Lambda Lambda_app assms) } thus "subset (Range (Lambda A f)) B" by (auto s simp add: subset_def { fix x have "x |∈ by(auto simpassumes"SCategoryaeor "
} thus"(Lambda A f) |⊆| (A |× \<in by (auto simp add: HOLZF.subset_def) qed
lemma ZFCartProd: assumes "x |∈| A |×| B" shows "Fst x |∈| A ∧ Snd x |∈| B ∧ isOpair x" proof- from CartProd obtain a b where "a |∈ and"b |∈| B" and"x = Opair a b"using assms by auto thus (autoadd.m2zz2m qed
lemma ZFfunDomainOpair: assumes"isFun f" and> Domain f" shows "Opair x (app f x) |∈ proof- have thus"Opair x (app f x) |∈leHHo: qed lemma ZFFunToLambda: assumes 1: "isFun f" and 2: "f |⊆| (Range f)" shows "f = Lambda (Domain f) (λx. app f x)"\^bsub>C[X,\midarrow]) @@ Y = Hom proof(subst Ext, rule a { fix x assume a: "x |∈| f" show "x |∈x. app proof(simp add: Lambda_def Repl, rule[ (stonjI
thus"Fst x |∈| Domain f" .ultimately<ub\esubX,←-]) @@ Y = (HomPX,b hence"Opair (Fst x) (app f (Fst x)) |∈ 'o ==>HomC🍋[_proof(simp aa: Ho) moreover have "Opair ultimatelyhave"Snd x = (app f (Fst x))"using1by (auto
"(stppFst Opairirst dxy alsohave"... = x"using b by (simp add,ZF<lparrmor2ZF :: 'm ==> :: 'a)HomP🍋[←- [655 finally"= pair (Fst x) (app f (Fx))" .. qed
}
Cod
{
fixpM g . HomCbsub proof-
mbda_deffobtain here| Domain f ∧ a using a by ( thus ?thesisFtorContra<Hom🍋[←-,_]›FtormFtorContra qed
} qed
lemma ZFfunApp: assumes"x |∈ shows "fun f| f proof- have"(ZFfun A B f) |@| x = app (Lambda A f) x"by (simp add: ZFfun_def ZFfunApp_defpositeCategory_def alsohave"... = f x"using assms by (simp add finallyshow ?thesis . qed
lemma ZFfun: assumes"isZFfun f" shows" ZmorO:"(Cf F2mor proofmp have"isOpair f \<and hence "f =airir st) byaddFstSnd hencef = Opair autopadd or_Op moreoverhave"Snd f = Lambda ( |dom| f) (λ proof- have "|dom| f = Domain (Snd f)" using assms by (simp add: isZF moreover have "isFun (Snd f)" using assms by (simp add: isZFfun_def[of f] Let_def) moreover have "(λx . f |@| x) = (< (CP<bsub[X,←-]" oreovere ")|<>(DomainSnd |<>| (Range (Snd f))" using assms by (auto simp add: isZFfun_def[of f] Let_def) ultimately show ?thesi qed ultimately show "f hence ZFfun^C\esub\bsub\^>f) (Hom><esub C bsub<^> f))" qed
lemma ZFfun_ext: assumes "∀| A ⟶ f x " shows "(ZFfunomFtorContrajava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63 proof- have"Lambda A f = Lambda A g"using assms by (autosimpefmFtorContra thus ?thesis by (simp add: ZFfun_def) qed
lemma ZFfunExt: assumes"|dom| f = |dom| g"and"|cod| f = |cod| g"and funf: "isZFfun f"and fung: "isZFfun g" and"∧ x . x |∈ shows "f = g" proof- have 1: "f = ZFfun ( |dom| f) ( |cod have HomFtorContraFtor hence2: "g = ZFfun ( |dom| f) ( |cod| f) (λ have "ZFfun ( |dom||f(<>. f |@| x) = ZFfun omcodx. g |@| x)" using assms by (simp add: ZFfun_ext) thus ?thesisug12bysm qed
lemma ZFfunDomAppCod: assumes "isZFfun f" and "x |∈| |dom|f" shows "f |@| x |∈haveombsubC,X] = Hom<> C]" by (simp add: HomFtorContra) proof(simp add: ZFfunApp_def) have "app (Snd f) x |∈ thus"app (Snd f) x |∈S sn a i : oFtoF) qed
lemma ZFfunComp: assumes "∀ <> longrightarrow f x |∈ shows"(Ffu ABfoZBCg Fu g ) proof (simp add: ZFfunComp_def ZFfunDom ZFfunCod) { fix x assume a: "x |∈ have"ZFfun B C g |@| (ZFfun A B f |@| x) = (g o f) x" proof have"(ZFfun A B f |@| x) = f x"using a by (shows"Hom\^C,X]) @@ Y = Hom X" hence"ZFfun B C g |@| (ZFfun A B f |@| x) = g (f x)"using assmsC,X]) @@ Y Hom>Op C thusalsohave.(m^Op qed
} thus"ZFfun A C (λcirf)" by (simp add: ZFfun_ext) qed
lemma ZFfunCompApp"\in obj\^b>C\^e>"and<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 assumes a:"isZFfun (sid oFtrota_e hows w f ||o|g=Zfu ( dm ) ( co (<am>x . g |@| (f |@| x))" proof- have1: "f = ZFfun ( |dom| f) ( |cod| f) (λ x . f |@| x)"using a by (rule ZFfun) have2: "g = ZFfun ( |dom| g) ( |o|g(<> x . g |@| x)"using b by (rule ZFfun have impdppositeCategory_def hence:"\forall> using a b c by (simp add: ZFfunDomAppCod) have "f |o| g = ZFfun ( |mf(d <lambda x . f |@ ||
ZFfun ( |cod| f) ( |cod| g) (λ hence"f |o| g = ZFfun ( |dom| f) ( |cod| g) (λC) sngsm ysm d:SCagoyO) u 3b (si : co) thus ?thesis using 4 by (simp add: SETfun) qed
lemma ZFfunCompAppZFfun: assumes "isZFfun f" and "isZFfun g" and "|dom|g = |cod|f
shows"sZFfunFun (f|o|g" proof- have"f |o| g = ZFfun ( |dom| f) ( |cod| g) (λ (simp add: ZFfunCompApp) moreover have "∀ x . x |∈ by (simp add: ZFfunDomAppCod) ultimatelyshow ?thesis by (simp add: SETfun hesissimpry_def qed
lemma ZFfunCompAssoc assumes and d:"isZFfun g"andOp C Op C shows"f |o| g |o| h = f |o| (g |o| h)" proof- have1: "f = ZFfun ( |dom| f) ( |cod| f) (λ x . f |@| x)"using a by (rule have2: "g = ZFfun ( |dom| g) ( |cod| g) (λ x . g |@| x)"using d by (rule ZFfunomFtorContraMorontraMor have3: "h = ZFfun ( |dom| h) ( |cod| h \>x . h |@| x)"usingylen have4: "∀| |dom|f ⟶x. f |@| x) x |\<inby have "(f |o| g) |o| h = ZFfun ( |dom| f) ( |cod| h) (\> |( @ matelytely?hesisyautompaddjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53 proof- have5: "∀ using 4 e d by (simp add: ZFfunDomAppCod) have "( |g|
ZFfun ( |cod| f) ( |cod| g) (λ x . g |@| x)) |o|
ZFfun ( |codg(|od using123 c e bybyauto thus ?thesis qed moreoverC,X]) ## f = omCC proof- 5:forallx x|<> ||g \longrightarrowλx |\in>||cod usingby ( : ZFfunDomAppCod have"f |o| (g |o| h) = ZFfun ( |dom| f) ( |dom| g) (λ x . f |@| x) |o| (ZFfun ( |dom| ZFfun ( |cod| g) ( |cod| h) (λ x . h |@| x))" using HomCHom: thus ?thesis using4 e 5by (simp add: ZFfunComp comp_def) qedqed ultimatelyshowis mp qed
lemma ZFfunCompAppDomCod assumes"isZFfun f"and"isZFfun g"and"proof- shows "|domf||g)=dom| \and || (fo|g ==cod" proof- have "f |o| g = ZFfun ( |dom| fjCg"od\<<bsub g ∈CC by (simp add: ZFfunCompApp) thus ?thesis by (simp add:: ZFfu ZFfunCod) qed
lemma ZFfunIdLeft: assumes a: is f"shows(fundom (lambda. x)) |o| f = f" proof- let ?g = "(ZFfun ( |dom|f) ( |dom|f) (λx. x))" have "ZFfun ( |dom| f) ( |codHom>Cg,f] ∈ by (simp add: ZFfun_ext ZFfunApp HomCg,domf] ∈ Mor SET" usi assms ObjDf by (simpadd: HomFtorContraMor) moreover have "f = ZFfun ( |dom |od(<lambdax . f |@| x a ( ZFfun ultimately simp: HomFtorMor) qed
lemma: assumes a: "isZFfun f"shows
- let ?g = "(ZFfun ( |cod|f) ( |cod|f) (\<((| (Hom(codg) (domdom^e>X,f])= Ho<^>C )"andX,] esub) have1: "∀ x . x |∈| |dom|f ⟶ (λx. f |@| x) x |∈| |cod|f"using a by (simp add: ZFfunDomAppCod) have"ZFfun ( |dom| f) ( |cod| f) (λ x . f |@| x) = f |o| ?g"using a 1 by (simp add: ZFfun_ext ZFfunApp ZFfunCompApp SETfun ZFfunCod ZFfunDom) moreoverhave"f = ZFfun ( |dom| ) cd )(<lambda> .f@ ) using a by (rule ZF ZF) ultimately show ?thesis by simp qed
lemma SETCategory: "Category(SET)" proof- have "Category_axioms SET'" by (auto simp add: Category_axioms_def SET'_def ZFfunCompAppDomCod ZFfunCompAppZFfun ZFfunCompAssoc ZFfu ZFfunIdRight ZFfunDom ZFfunCod SETfun MapsTo_def CompDefined_d) thus ?thesis by (auto simp add: SET_def MakeCat) qed
lemma SETobj: "X ∈ add Category) by (simp add: SET_def
lemma SETdom: "isZFfun (ZFfun A B f) ==> dom ZFfun A B f = A" by(simp add: SET_def MakeCat_def SET'_def ZFfunDom)
lemma : assumesx in| X" shows "(Id SET X) |@| x = x" proof- have "X ∈ Obj SET" by (simp a hence "isZFfun(Id fixassume" |\inHm<^sbC<esb cd<bsuub g)(do\^bC<eu>f) moreover have "(Id SET X) = ZFfun X X (show(\lambdam2zsubesub ((z2mh) ;;f)) o (λ d ultimatelyshow ?thesis usingfunAppp qed
lemma SETComp "f \approx\^>SETSET proof- have a: "f ≈> SET' g" using assms by (simp add: SET_def) have "f ;;g = f ;;java.lang.NullPointerException
alsoso..= f;<bsub' finallyshow ?thesis by (simppDef2\approx\>C qed
lemma SETCompAt: assumes"f ≈> mor and "codg = dom(z2mCMapsTo1 by auto proof have"f ;; g = f |o| g"using assms by (simp add: SETComp)
also .=ZFfunundom)||g<ambda @f| x using by(utoadd ZFfunCompApp finallyshow ?thesis using assms by (simp add: ZFfunApp) qed
lemma SETZFfun: assumes"f mapshave c2:"g ;\>CC < Mor C" using assms CompDef2 by (simp add: Category.MapsToMorDomCod) proof- have "isZFfun f" using assms by (auto simp add: SETmor) hence "f = ZFfun.=g;<^>CCCgory moreoverhave"|d als h... = (z2\<>CCCCC timatelyshw?tei y sp qed
lemma SETfunDomAppCod: assumes "mapsSET | X" shows " |@|x |n proof- have1: "isZFfun f"and"|dom| f = X"and2: "|cod| f = Y"using assms hence"x |∈ by s hence "f |@| x |∈| |cod| f" using 1 by (simp add: ZFfunDomAppCod) thus ?t using 2 by simp qed
(*Locally Small Category has an injective map from the morphisms to ZF*) record ('o,'m) LSCategory = "('o,'m) Category\>,)<bsub'<esubHom^bsub<^esubXdombsub\^esubfto<^>C\^esubXcod<sub>fjava.lang.StringIndexOutOfBoundsException: Index 156 out of bounds for length 156
mor2ZF :: "'m ==>m2z🍋_›7]70
localeLSCategory=Category+ assumesmor2ZFInjshow?hesis andHOMSetIsSet:"\<lbrakk>X\<in>obj;Y\<in>obj\<rbrakk>\<Longrightarrow>HOMCollectionCjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 andm2zExt:"mor2ZFC\<in>extensional(MorC)"
lemma(inLSCategory)m2zz2m: assumes"fmapsXtoY"shows"(m2zf)|\<in>|(HomXY)" proof- have"X\<in>ObjC"and"Y\<in>ObjC"usingassmsby(simpadd:MapsToObj)+ hence"HOMCollectionCXY\<in>rangeexplode"usingassmsby(simpadd:HOMSetIsSet) moreoverhave"(m2zf)\<in>HOMCollectionCXY"usingassmsby(autosimpadd:HOMCollection_def) ultimatelyhave"(m2zf)|\<in>|implode(HOMCollectionCXY)"by(simpadd:Elem_implode) thus?thesisby(simpadd:HomSet_def) qed
lemma(inLSCategory)m2zz2mInv: assumes"f\<in>mor" shows"z2m(m2zf)=f" proof- have1:"f\<in>mor\<and>m2zf=m2zf"usingassmsbysimp moreoverhave"\<exists>!m.m\<in>mor\<and>m2zm=(m2zf)" proof(ruleex_ex1I) show"\<exists>m.m\<in>mor\<and>m2zm=(m2zf)" by(ruleexI[of_f],insert1,simp) { fixmyassume"m\<in>mor\<and>m2zm=(m2zf)"and"y\<in>mor\<and>m2zy=(m2zf)" thus"m=y"by(simpadd:mor2ZFInj) } qed ultimatelyshow?thesisby(simpadd:ZF2mor_defthe1_equality) qed
lemma(inLSCategory)z2mm2z: assumes"X\<in>obj"and"Y\<in>obj"and"f|\<in>|(HomXY)" shows"z2mfmapsXtoY\<and>m2z(z2mf)=f" proof- have1:"\<exists>m.mmapsXtoY\<and>have".ZFfun?C?go?)" java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8 have"HOMCollectionCXY\<in>rangeexplode"usingassmsby(simpadd:HOMSetIsSet) moreoverhave"f|\<in>|implode(HOMCollectionCXY)"usingassms(3)by(simpadd:HomSet_def) ultimatelyhave"f\<in>HOMCollectionCXY"by(simpadd:HOLZF.Elem_implode) thus?thesisby(autosimpadd:HOMCollection_def) qed have2:"\<exists>!m.m\<in>mor\<and>m2zm=f" proof(ruleex_ex1I) show"\<exists>m.m\<in>mor\<and>m2zm=f" proof- from1obtainmwhere"m\<in>mor\<and>m2zm=f"byauto thus?thesisbyauto qed { fixmyassume"m\<in>mor\<and>m2zm=f"and"y\<in>mor\<and>m2zy=f" thus"m=y"by(simpadd:mor2ZFInj) } qed thus?thesis proof- from1obtainawhere3:"amapsXtoY\<and>m2za=f"byauto have4:"a\<in>mor"using3byauto have"z2mf=a" apply(autosimpadd:3ZF2mor_def[of_f]) apply(rulethe1_equality[of"\<lambda>m.m\<in>mor\<and>m2zm=f"a]) apply(autosimpadd:234) done thus?thesisby(simpadd:3) qed qed
lemmaHomFtorDist': assumesa:"LSCategoryC"andb:"X\<in>obj\<^bsub>C\<^esub>"andc:"f\<approx>>\<^bsub>C\<^esub>g" shows"(Hom\<^bsub>C\<^esub>[X,f]);;\<^bsub>SET'\<^esub>(Hom\<^bsub>C\<^esub>[X,g])=Hom\<^bsub>C\<^esub>[X,f;;\<^bsub>C\<^esub>g]" proof- let?A="(Hom\<^bsub>C\<^esub>Xdom\<^bsub>C\<^esub>f)" let?B="(Hom\<^bsub>C\<^esub>Xdom\<^bsub>C\<^esub>g)" let?C="(Hom\<^bsub>C\<^esub>Xcod\<^bsub>ultimatelyshowthesisusingb(:PreFunctor[?\^C\> let?f="(\<lambda>h.m2z\<^bsub>C\<^esub>((z2m\<^bsub>C\<^esub>h);;\<^bsub>C\<^esub>f))" let?g="(\<lambda>f.m2z\<^bsub>C have1:"cod\<^bsub>C\<^esub>f=dom\<^bsub>C\<^esub>g"usingcbyauto have2:"dom\<^bsub>C\<^esub>(f;;\<^bsub>C\<^esub>g)=dom\<^bsub>C\<^esub>f"and3:"cod\<^bsub>C\<^esub>(f;;\<^bsub>C\<^esub>g)=cod\<^bsub>C\<^esub>g"usingassms by(autosimpadd:Category.MapsToMorDomCod) have"(Hom\<^bsub>C\<^esub>[X,f]);;\<^bsub>SET'\<^esub>(Hom\<^bsub>C\<^esub>[X,g])=(ZFfun?A(Hom\<^bsub>C\<^esub>Xcod\<^bsub>C\<^esub>f)?f)|o|(ZFfun?B?C?g)" (addHomFtorMap_defSET'defjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 alsohave"...=(ZFfun?A?B?f)|o|(ZFfun?B?C?g)"using1bysimp alsohave"...=ZFfun?A?C(?go?f)" proof(ruleZFfunComp,ruleallI,ruleimpI) { fixhassumeaa:"h|\<in>|?A"show"?fh|\<in>|?B" proof- have"f\<in>mor\<^bsub>C\<^esub>"usingassmsbyauto hence"?fh|\<in>|(Hom\<^bsub>C\<^esub>Xcod\<^bsub>C\<^esub>f)"usingassmsaaby(simpadd:HomFtorMapLemma1) thus?thesisusing1bysimp qed } qed alsohave"...=ZFfun?A?C(\<lambda>h.m2z\<^bsub>C\<^esub>((z2m\<^bsub>C\<^esub>h);;\<^bsub>C\<^esub>(f;;\<^bsub>C\<^esub>g)))" proof(ruleZFfun_ext,ruleand"HomP<>\^sub>[\midarrow])@Y=Hom<^>\^>"usingassmsbbccsimpadd:HomFtorObj+ { fixhassumeaa:"h|\<in>|?A" show"m2z\<^bsub>C\<^esub>((z2m\<^bsub>C\<^esub>(m2z\<^bsub>C\<^esub>((z2m\<^bsub>C\<^esub>h);;\<^bsub>C\<^esub>f)));;\<^bsub>C\<^esub>g)=m2z\<^bsub>C\<^esub>((z2m\<^bsub>C\<^esub>h);;\<^bsub>C\<^esub>(f;;\<^bsub>C\<^esub>g))"
havebb:"(z2m\<^bsub>C\<^esub>h)\<approx>>\<^bsub>C\<^esub>f" proof(ruleCompDefinedI) show"f\<in>mor\<^bsub>C\<^esub>"usingcbyauto hence"dom\<^bsub>C\<^esub>f\<in>obj\<^bsub>C\<^esub>"usingaby(simpadd:Category.Cdom) hence"(z2m\<^bsub>C\<^esub>h)maps\<^bsub>C\<^esub>Xtodom\<^bsub>C\<^esub>f"usingassmsaaby(simpadd:LSCategory.z2mm2z) thus"(z2m\<^bsub>C\<^esub>h)\<in>mor\<^bsub>C\<^esub>"and"cod\<^bsub>C\<^esub>(z2m\<^bsub>C\<^esub>h)=dom\<^bsub>C\<^esub>f"byauto qed hence"(z2m\<^bsub>C\<^esub>h);;\<^bsub>C\<^esub>f\<in>:"PreFunctor(\<bsubC\^>X\midarrow>"simpaddFunctorM_def hence"z2m\<^bsub>C\<^esub>(m2z\<^bsub>C\<^esub>((z2m\<^bsub>C\<^esub>h);;\<^bsub>C\<^esub>f))=(z2m\<^bsub>C\<^esub>h);;\<^bsub>C\<^esub>f"usingaby(simpadd:LSCategory.m2zz2mInv) hence"m2z\<^bsub>C\<^esub>((z2m\<^bsub>C\<^esub>(m2z\<^bsub>C\<^esub>((z2m\<^bsub>C\<^esub>h);;\<^bsub>C\<^esub>f)));;\<^bsub>C\<^esub>g)=m2z\<^bsub>C\<^esub>(((z2m\<^bsub>C\<^esub>h);;\<^bsub>C\<^esub>f);;\<^bsub>C\<^esub>g)"bysimp alsohave"...=m2z\<^bsub>C\<^esub>((z2m\<^bsub>C\<^esub>h);;\<^bsub>C\<^esub>(f;;\<^bsub>C\<^esub>g))"usingbbcaby(simpadd:Category.Cassoc) finallyshow?thesis. qed } qed alsohave"...=ZFfun(Hom\<^bsub>C\<^esub>Xdom\<^bsub>C\<^esub>(f;;\<^bsub>C\<^esub>g))(Hom\<^bsub>C\<^esub>Xcod\<^bsub>C\<^esub>(f;;\<^bsub>C\<^esub>g))(\<lambda>h.m2z\<^bsub>C\<^esub>((z2m\<^bsub>C\<^esub>h);;\<^bsub>C\<^esub>(f;;\<^bsub>C\<^esub>g)))" using23bysimp "..Hom\<bsubC\^esub[,f;;<bsub>C\^>]"simp:HomFtorMap_def) finallyshow?thesisby(autosimpadd:SET_def) qed
lemmaHomFtorDist: assumes"LSCategoryC"and"X\<in>obj\<^bsub>C\<^esub>"and"f\<approx>>\<^bsub>C\<^esub>g" shows"(Hom\<^bsub>C\<^esub>[X,f]);;\<^bsub>SET\<^esub>(Hom\<^bsub>C\<^esub>[X,g])=Hom\<^bsub>C\<^esub>[X,f;;\<^bsub>C\<^esub>g]" proof- have"(Hom\<^bsub>C\<^esub>[X,f]);;\<^bsub>SET'\<^esub>(Hom\<^bsub>C\<^esub>[X,g])=Hom\<^bsub>C\<^esub>[X,f;;\<^bsub>C\<^esub>g]"usingassmsby(simpadd:HomFtorDist') moreoverhave"(Hom\<^bsub>C\<^esub>[X,f])\<approx>>\<^bsub>SET'\<^esub>(Hom\<^bsub>C\<^esub>[X,g])"usingassmsby(simpadd:HomFtorCompDef') ultimatelyshow?thesisby(simpadd:MakeCatCompSET_def) qed
lemmaHomFtorId': assumesa:"LSCategoryC"andb:"X\<in>obj\<^bsub>C\<^esub>"andc:"Y\<in>obj\<^bsub>C\<^esub>" shows"Hom\<^bsub>C\<^esub>[X,id\<^bsub>C\<^esub>Y]=id\<^bsub>SET'\<^esub>(Hom\<^bsub>C\<^esub>XY)" proof- have"(id\<^bsub>C\<^esub>Y)maps\<^bsub>C\<^esub>YtoY"usingacby(simpadd:Category.Simps) hence1:"(dom\<^bsub>C\<^esub>(id\<^bsub>C\<^esub>Y))=Y"and2:"(cod\<^bsub>C\<^esub>(id\<^bsub>C\<^esub>Y))=Y"byauto have"Hom\<^bsub>C\<^esub>[X,id\<^bsub>C\<^esub>Y]=ZFfun(Hom\<^bsub>C\<^esub>X(dom\<^bsub>C\<^esub>HomFtorContraDomHom^>\esub\>,)Op" by(simpadd:HomFtorMap_def) alsohave"...=ZFfun(Hom\<^bsub>C\<^esub>XY)(Hom\<^bsub>C\<^esub>XY)(\<lambda>f.m2z\<^bsub>C\<^esub>((z2m\<^bsub>C\<^esub>f);;\<^bsub>C\<^esub>(id\<^bsub>C\<^esub>Y)))"using12bysimp alsohave"...=ZFfun(Hom\<^bsub>C\<^esub>XY)(Hom\<^bsub>C\<^esub>XY)(\<lambda>f.f)" proof(ruleZFfun_ext,ruleallI,ruleimpI) { fixhassumeaa:"h|\<in>|(Hom\<^bsub>C\<^esub>XY)"show"m2z\<^bsub>C\<^esub>((z2m\<^bsub>C\<^esub>h);;\<^bsub>C\<^esub>(id\<^bsub>C\<^esub>Y))=h" proof- have"(z2m\<^bsub>C\<^esub>h)maps\<^bsub>C\<^esub>XtoY"andbb:"m2z\<^bsub>C\<^esub>(z2m\<^bsub>C\<^esub>h)=h" usingassmsaaby(simpadd:LSCategory.z2mm2z)+ "(z2m\<^bsub>\<^esub>);\<bsub>C<^esub>(id<^bsub>C\^esub>Y)z2m\<bsub>C\<esubh)"aby(autosimpaddCategory.imps) hence"m2z\<^bsub>C\<^esub>((z2m\<^bsub>C\<^esub>h);;\<^bsub>C\<^esub>(id\<^bsub>C\<^esub>Y))=m2z\<^bsub>C\<^esub>(z2m\<^bsub>C\<^esub>h)"bysimp alsohave"...=h"usingbb. finallyshow?thesis. qed } qed finallyshow?thesisby(simpadd:SET'_def) qed
lemmaHomFtorId: assumes"LSCategoryC"and"X\<in>obj\<^bsub>C\<^esub>"and"Y\<in>obj\<^bsub>C\<^esub>" shows"Hom\<^bsub>C\<^esub>[X,id\<^bsub>C\<^esub>Y]=id\<^bsub>SET\<^esub>(Hom\<^bsub>C\<^esub>XY)" proof- have"Hom\<^bsub>C\<^esub>[X,id\<^bsub>C\<^esub>Y]=id\<^bsub>SET'\<^esub>(Hom\<^bsub>C\<^esub>XY)"usingassmsby(simpadd:HomFtorId') moreoverhave"(Hom\<^bsub>C\<^esub>XY)\<in>obj\<^bsub>SET'\<^esub>"by(simpadd:SET'_def) ultimatelyshow?thesisby(simpadd:MakeCatIdSET_def) qed
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.