History log of /seL4-l4v-master/HOL4/examples/ARM/v4/arm_evalScript.sml
Revision Date Author Comments
# cba5259c 15-May-2019 Michael Norrish <Michael.Norrish@nicta.com.au>

Fix ARM/v4 example for tight equality


# 8d2dfbce 18-Nov-2018 Michael Norrish <Michael.Norrish@nicta.com.au>

Remove Globals.priming.

Also remove references to it in code that isn't being tested in the
regression checking build-sequence, and so is probably bit-rotted.

Provide numvariant version of variant, which behaves like

with_flag(Globals.priming,SOME "") (variant avoids)

Document change/incompatibility in release notes.


# 9652789f 29-Mar-2016 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Support for simplifying and evaluating enumerated type representation/abstraction maps.

For example, given

Datatype `enum = one | two`;

the following now works

> EVAL ``num2enum 1``;
val it = |- num2enum 1 = two: thm
> EVAL ``enum2num two``;
val it = |- enum2num two = 1: thm

> SIMP_CONV (srw_ss()) [] ``enum2num two``;
val it = |- enum2num two = 1: thm
> SIMP_CONV (srw_ss()) [] ``num2enum 1``;
val it = |- num2enum 1 = two: thm

This also works when building custom compsets using computeLib. add_datatype_info.

NOTE: This change may break some proofs (some in example/ARM have been fixed).


# 050df6ef 01-Aug-2012 Michael Norrish <michael.norrish@nicta.com.au>

Don't emit definition bindings for enumerated constants.

Fixes #78.

This commit also

* fixes uses of constructor definitions (the equations are still
present under the "number2<ty>_thm" name)
* provides a regression test
* a bug fix claim in the release notes.


# a2328149 23-Sep-2011 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Adopt ML-style syntax for case expressions and use freed up "||" for bitwise-or. See issue #24.


# 4761143b 10-Aug-2009 Tjark Weber <Tjark.Weber@cl.cam.ac.uk>

Removed trailing whitespace from all .sml and .sig files.

This affects over 900 files and was done using emacs's delete-trailing-whitespace
function in batch mode. Building the system with Poly/ML and Moscow ML seems to
work, so I'm hoping these changes don't break anything. Please complain if
they do!


# a47af14f 14-Feb-2009 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Repairs: replacing "$-"` with "-".


# 08e53a06 13-Jan-2009 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Fix following changes to wordsLib.


# 43ce388f 19-Jun-2008 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Minor changes.


# 5d4bb538 29-May-2008 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Remove unused stuff.


# 0100e400 01-May-2008 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Renamed bsubst to update (as it is in v4T).

Moved a few definitions/theorems to better homes.


# 7f25276b 24-Apr-2008 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Remove excessive priming from a couple of definitions.


# 96e75853 21-Apr-2008 Anthony Fox <anthony.fox@cl.cam.ac.uk>

wordsLib.WORD_GROUND_ss has been dropped.


# d080e6cd 19-Mar-2008 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Have rationalised the treatment cases for words,
changing word_nchotomy to ranged_word_nchotomy.

This means that "Cases" and "Cases_on" now subsume
"wordsLib.Cases_word" and "wordsLib.Cases_on_word".
Have eliminated some occurrences of the latter.


# e5c18972 24-Jan-2008 Peter Homeier <palantir@trustworthytools.com>

Revised expressions of the form <term>:<type> ' <term> to be (<term>:<type>) ' <term>
to avoid confusion with the type variable ' .


# 82dbf67d 18-Jan-2008 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Fixed broken proofs - following addition of WORD_ss to srw_ss().

Also replaced %% with '.


# 2b40e64d 23-Nov-2007 Peter Homeier <palantir@trustworthytools.com>

Whoops! Used the wrong file, when I edited slightly to make types more easily parsed, by enclosing in parentheses. This should be the correct version.


# 55f65d12 23-Nov-2007 Peter Homeier <palantir@trustworthytools.com>

Edited slightly to make types more easily parsed, by enclosing in parentheses.


# 87a1e200 06-Nov-2007 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Fix parsing/printing for UMULL etc.


# b842b27e 11-Jul-2007 Anthony Fox <anthony.fox@cl.cam.ac.uk>

examples/elliptic/arm -> examples/ARM/v4
examples/arm6 -> examples/ARM/arm6-verification