History log of /seL4-l4v-10.1.1/HOL4/src/num/theories/numSyntax.sml
Revision Date Author Comments
# a17bf716 28-Oct-2013 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Make wordsLib.word_EQ_CONV and stringLib.string_EQ_CONV slightly more efficient.

Also extend the coverage of some *Syntax structures.


# 7a2254a5 14-May-2013 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Move bitTheory into src/num/extra_theories and move evaluations theorems in wordsLib further up the build sequence.

Includes some tidying-up work.

This closes issue #120. Evaluation for "toNum" and "toString" can now be enabled by loading up stringLib (or, more precisely, ASCIInumbersLib), without the need to load up wordsLib.

This check-in can be viewed as finishing off the (many) loose ends left over from work on issue #70.


# 4aba59f3 14-Nov-2012 Michael Norrish <michael.norrish@nicta.com.au>

Correct arithmeticTheory to work with flipped case constants.

Progress with #97.


# 476206d7 04-Oct-2010 Tjark Weber <Tjark.Weber@cl.cam.ac.uk>

dest_numeral fails with correct origin fields in the error record, no longer
exposing its implementation in terms of Literal.dest_numeral.


# 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!


# 8654de63 07-Feb-2009 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Attempt to tidy up (fix) EmitML and finish off the transition that Scott
started. EmitML has been moved to the end of the build sequence. "Hooks"
have been eliminated and all EmitML related stuff has been removed from the
various theory directories. All code for generating ML/Caml is now
self-contained within src/emit. I've not tested the generated Caml code but
the SML seems to build fine.

The directories:

src/theoryML
src/theoryOcaml
src/emitScript

have been replaced by

src/emit/theories/ML
src/emit/theories/Caml
src/emit/theories


# 158bfad3 10-Jul-2008 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Add syntax functions for div2 and mod_2exp.


# 32eaeec4 04-Jul-2006 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Add reduction of DIV2 and MOD_2EXP to num compset and standard simpsets.


# b29d4565 22-Jun-2006 Konrad Slind <konrad.slind@gmail.com>

Upgrading EmitML to support records. Lots of associated changes
as well.


# 3c12ce1b 07-Jun-2006 Konrad Slind <konrad.slind@gmail.com>

Tell the code generator in EmitML what a num literal is.


# 007e43f2 31-May-2005 Konrad Slind <konrad.slind@gmail.com>

Follow-on fixes to changing Term to Parse.Term and Type to Parse.Type
in the quotation pre-processor. A mass of trivial changes, but the
new way of dealing with files containing code that does parsing
(not script files) is to

* grab the ambient grammar(s)
* set the current grammar(s) to the right values
for parsing quotations in the file
* the body of the file
* reset the current grammar to the ambient grammar

For an example, see src/taut/tautLib.sml


# d2b63823 29-Apr-2005 Konrad Slind <konrad.slind@gmail.com>

Reorganization of numSimps.sml (it was a bit of a jumble). Also,
added MIN and MAX syntax functions.


# 999a347b 25-Jan-2005 Konrad Slind <konrad.slind@gmail.com>

Getting rid of HTML output on xTheory.sig files.


# d46d16b0 19-Jan-2005 Konrad Slind <konrad.slind@gmail.com>

Some syntax operations added for WF relations. Also, a change to
recInduct, which wasn't doing what it should. I haven't tested
this mcuh, so any errors found, please send to me!


# fb0b2ec1 27-Nov-2004 Konrad Slind <konrad.slind@gmail.com>

Hacking around to get HTML symbols put in generated `Theory.sig'
files. Allows usual logic symbols (and some set theory symbols)
in the generated html files, see help/HOLindex.html after a
complete build of the system (examine a theory file).

Only symbol not currently dealt with properly is lambda. Also,
I thought I had emptyset sussed, but it stopped working for
some reason ... not a problem since "{}" works just as well,
and may be nicer.


# c7c119c3 13-Jul-2004 Konrad Slind <konrad.slind@gmail.com>

Added more support for prettyprinting numerals and parsing them.
src/theoryML/numML will now deal with binary, octal, decimal, and
hex.


# 5723a200 09-Jul-2004 Konrad Slind <konrad.slind@gmail.com>

Added DIVMOD to arithmeticScript, which helps complete the suite
of generated code. Unfortunately, arithmetic then depends on pairs,
which I had been trying to avoid, for purely aesthetic reasons.

Also fixed up more of the ML code generation business.


# 3b9afa98 07-Jul-2004 Konrad Slind <konrad.slind@gmail.com>

Changed NUMERAL_BIT1 and NUMERAL_BIT2 to BIT1 and BIT2, respectively.
Sorry, they were just too long. Also, ALT_ZERO is now named ZERO.


# 1eadaac4 07-Jul-2004 Konrad Slind <konrad.slind@gmail.com>

Upgrades to ML code generation. It now works for numerals, although
the results of a computation will be incomprehensible usually. Writing
a prettyprinter needs to be done.


# 88cec5df 04-Aug-2003 Konrad Slind <konrad.slind@gmail.com>

Support for ML evaluation of numbers. Temporary.


# bb654e4b 26-Jun-2003 Konrad Slind <konrad.slind@gmail.com>

Many small changes, most associated with boolification or lifting.


# 0716b355 06-May-2002 Michael Norrish <Michael.Norrish@nicta.com.au>

Didn't compile.


# ee6839da 05-May-2002 Konrad Slind <konrad.slind@gmail.com>

Added type abbreviations for bags (
Added type abbreviations ('a bag, 'a multiset) to bagTheory. Minor
supplements to existing syntax APIs. Fixed a bug in listSyntax.dest_list,
found by Peter Homeier.


# e0bdeafa 29-Dec-2001 Konrad Slind <konrad.slind@gmail.com>

Simplified some proofs in MachineTransitionScript.

Reverted to Taupo-6 RW_TAC. This should make RW_TAC faster, and a little
less eager to case-split conditionals. Some proofs may break as a result.
In that case, use the drop-in replacement BasicProvers.NORM_TAC.

Term destructors now operate using same_const to check the operator
of the term being destructed. This may increase efficiency somewhat.
There were consequent changes to the xSyntax modules of the system.


# 3166bea0 10-Feb-2001 Konrad Slind <konrad.slind@gmail.com>

Minor changes.


# 6cbd04ab 20-Nov-2000 Konrad Slind <konrad.slind@gmail.com>

Minor improvements and bugfixes.


# 0f93948d 16-Nov-2000 Konrad Slind <konrad.slind@gmail.com>

paired syntax.


# eb63724d 12-Nov-2000 Michael Norrish <Michael.Norrish@nicta.com.au>

Added numSyntax library. Very incomplete for now.