Anforderungen  |   Konzepte  |   Wurzel  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

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 function is one.
*)


section

theory transformation functionone
imports Functors
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"
  andFunctor G : AA  BB"
  and "u : ob AA  ar BB"
  and " extensional (ob AA)"
  and "\forallA Hom(FA) (G<^esub> A"
  and "Ob <>Bfa
(u A) = (u B) BBa^esub

abbreviation
  nt_syn  (
 "u : F ==> AA 🚫o


(* is this doing what I think its doing? *)
locale endoNT = natural_transformation + one_cat

theorem (in endoNT) id_restrict_natural
  "(λA Id A) : (id_func AA) ==> (id_func AA) in Func(AA,AA)"
proof (intro natural_transformation.intro natural_transformation_axioms.intro 
    two_catsballI
  show
    by (rule funcsetI) auto
  show "(\lambdaA\inOb. IdA)
    by (rule restrict_extensional)
   A
  assume A: "
  hence "Id A
  thus "    by(rule funcsetIauto
    usingimpdef)
  fix B and f
  ssume<n Ob"
    and " Ob"
  hence " Hom A A" ..
    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_

end

Messung V0.5 in Prozent
C=93 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:

sprechenden Kalenders






                                                                                                                                                                                                                                                                                                                                                                                                     


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