jGrailTHY - jGrail formalised in Isabelle
Matthew Prowse - matthew.prowse@ed.ac.uk


************
* UNTESTED *
************

Base on MicroJava's JVM formalisation. Somewhat richer.

Depends only on J/Type.thy and J/Value.thy from MicroJava

Closely follows Lennart's Cost Model.



Overview of files
-----------------

jGrailInstructions.thy
	The instruction set for jGrail.

jGrailState.thy
	Defines jGrailState as a quadruple (F,H,M,C).
        Defines Structural cost model.
        Defines various functions that operate on methodarea.

jGrailExecInstr.thy
	Semantics for jGrail instructions.
	Exceptions have been omitted (for now...)
        Some rules have been checked by eye. Some have not.
	Consider ALL RULES UNTESTED.
        Update of the structural cost model is not complete.

jGrailExec.thy
	Locates the current instruction and executes with jGrailExecInstr.

jGrailRawCost.thy
	Raw (byte-counting) Cost Model.
	Few changes from David's RJVM.thy.



Comments
--------

Isabelle should process all files quite happily.
jGrailState.thy is a little bit of a mess. There are a number of function pulled from J/TypeRel.thy.

There will be bugs.

Please email matthew.prowse@ed.ac.uk.
