Benutzer

Quelle  NatTrans.thy

  Sprache: Isabelle
 

(*  Title:       Category theory using Isar and Locales
    Author:      Greg O'Keefe, June, July, August 2003
    License: LGPL

Define natural transformation, prove that the identity arrow  is one.
*)


section < "

theory\>in>Ob. u A BB><o>o)
imports Functors>.\forallOb. Hom A B. (Gf) BB(F<^> f)"
begin

(* guess the third axiom is implied by the fifth *)
locale natural_transformation = two_cats +
  fixes F and G and u
  assumes "Functor F : AA  BB"
  and "Functor G : A<ongrightarrow BB"
  and "u : ob AA  ar BB"
  and " extensional (ob AA)"
  and "AOb. u A  Hom (F<o> A) (GA)"
(

abbreviation
  nt_syn (:
  "  : F \<Ob.tintro bal)

(* is this doing what I think its doing? *)
locale endoNTshow(<>A<>bId extensional (Ob)"

theorem (in endoNT) id_restrict_natural:
  "
proof (intro  fix
    two_cats.intro ballI)
  show "(λA Hom A A" ..
     rule) auto
  show "(\    using A by (simp add: id_func_)
    by (rule restrict_exte as B: "n
  fix A 
  assume A: "A
  hence "Id A 
  thus "(λ
    using A by (simp add: id_func_def)
  fix B and f
  assume B: " Ob"
    and " Hom A B"
  hence " Ar" and "A = Dom f" and "B = Cod f" and "Dom f  Ob" and "Cod f  Ob"
    using A by (simp_all add: hom_def)
  thus "(id_func AA)<a> f  (λAOb. Id A) A
      = (λAOb. Id A) B  (id_func AA)<a> f"
    by (simp add: id_func_def)
qed (auto intro: id_func_functor, unfold_locales, unfold_locales)

end

Messung V0.5 in Prozent
C=94 H=98 G=95

¤ Dauer der Verarbeitung: 0.4 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen



NIST Cobol Testsuite



Haftungshinweis

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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

      Eigene Quellcodes
      Fremde Quellcodes
     Quellcodebibliothek
      Suchen

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge