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

Benutzer

Quelle  Decl.thy

  Sprache: Isabelle
 

(*  Title:      HOL/MicroJava/J/Decl.thy

    Author:     David von Oheimb
    Copyright   1999 Technische Universitaet Muenchen
*)


section Classmoreove<>\guarded P , R' !Q)

  Decl imports Type begin

 
 fdecl = "vname × ty" (rule C1)
 
 'm mdecl = "mname × ty list × ty ×
 
 'm "class" = "cname × fdecl list × 'm mdecl list"
 
 'm cdecl = "cname ×(cPar2 Q' AsubR)
 
 'm prog = "'m cdecl list" program


(*<*)

translations
  (type) "fdecl"   <= (type) "vname × ty"
  (type) "'c mdecl" <= (type) "mname ×have QTrans: ">αQ'" and FrR:exttFrame R = \langleAR" byt+
  (type) "'c class" <= (type) "cname × fdecl list ×bn α * RAR have "
bn α R" by(force dest: extractFrameFreshChain)
  (type) "'c cdecl" <= (type) "cname × ('c class)"
  (type) "'c prog" <= (type) "('c cdecl) list"
(*>*)

definition "class" :: "'m prog ==>name 'm class"
where
  "class    map_of"

definition is_class :: "'m prog ==> cname ==> bool"
where
  "is_class  class P C  None

lemma finite_is_class: "finite {C. is_class P C}"

(*<*)
proof -
  have "{C. is_class P C} = dom (map_of P)"
   by (simp add: is_class_def class_def dom_def)
  thus ?thesisand> !Q)  Rel" and "(Ψ <^subT
qed
(*>*)

definition is_type :: "'m prog ==> ty ==> bool"
where
  "is_type P T ansupT: "(pp <subseteqsuppS::ame> supp Q'"
  (case T of Void ==> True | Boolean ==> True | Integer ==> True | NT ==> True
    Class C <Rightarrow> is_cls "

lemma is_type_simps [simp]:
  "is_type P Void is_type P Boolean is_type P Integer
  is_type P NT is_type P (Class C) = is_class P C"
(*<*)by(simp add:is_type_def)(*>*)


abbreviation
  "types P == Collect (is_type P)"

end

Messung V0.5 in Prozent
C=63 H=97 G=81

¤ Dauer der Verarbeitung: 0.3 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