Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  Decl.thy

  Sprache: Isabelle
 

(*  Title:      HOL/NanoJava/Decl.thy
    Author:     David von Oheimb
    Copyright   2001 Technische Universitaet Muenchen
*)


section "Types, class Declarations, and whole programs"

theory Decl imports Term begin

datatype ty
  = NT            null type
  | Class cname   class type

textField declaration
type_synonym fdecl           
        = "fname × ty"

record  methd           
        = par :: ty 
          res :: ty 
          lcl ::"(vname × ty) list"
          bdy :: stmt

textMethod declaration
type_synonym mdecl
        = "mname × methd"

record  "class"
        = super   :: cname
          flds    ::"fdecl list"
          methods ::"mdecl list"

textClass declaration
type_synonym cdecl
        = "cname × class"

type_synonym prog
        = "cdecl list"

translations
  (type) "fdecl"  (type) "fname × ty"
  (type) "mdecl"  (type) "mname × ty × ty × stmt"
  (type) "class"  (type) "cname × fdecl list × mdecl list"
  (type) "cdecl"  (type) "cname × class"
  (type) "prog "  (type) "cdecl list"

axiomatization
  Prog    :: prog        program as a global value
and
  Object  :: cname       name of root class


definition "class" :: "cname class" where
 "class map_of Prog"

definition is_class   :: "cname => bool" where
 "is_class C class C None"

lemma finite_is_class: "finite {C. is_class C}"
apply (unfold is_class_def class_def)
apply (fold dom_def)
apply (rule finite_dom_map_of)
done

end

Messung V0.5 in Prozent
C=88 H=100 G=94

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-06-30) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik