History log of /seL4-l4v-10.1.1/HOL4/src/compute/src/clauses.sml
Revision Date Author Comments
# b3ae0ef8 30-Aug-2018 Fabian Immler <immler@in.tum.de>

eliminated some ref-matches


# 6a81a039 21-May-2018 Michael Norrish <Michael.Norrish@nicta.com.au>

Remove TABs from src

Will also make selftest to check that they aren't introduced


# 024b8c21 28-Dec-2016 Brian Campbell <Brian.Campbell@ed.ac.uk>

Strongly reduce initial arguments of set_skip'd constants.
Makes strong reduction on record updates reduce values properly


# 2e18e102 11-Dec-2015 Konrad Slind <konrad.slind@gmail.com>

support for understanding what is in (and what needs to be added to) a compset


# 158fbe4d 02-May-2014 Michael Norrish <Michael.Norrish@nicta.com.au>

New utility function to add contents of a "theorem set" to a compset.


# 46050ef2 11-Nov-2009 Michael Norrish <Michael.Norrish@nicta.com.au>

Give computeLib.compset a pretty-printer, and install it in Poly HOL.

This is necessary to stop Poly/ML 5.3 from trying to print out huge values
such as computeLib.the_compset.


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


# 71ce285a 15-Apr-2008 Scott Owens <Scott.Owens@cl.cam.ac.uk>

Remove another Polyhash


# 919d8fd3 01-Nov-2005 Konrad Slind <konrad.slind@gmail.com>

Added functionality for deleting definitions from compsets.
Usual usage:

del_consts [c1, ..., cn];

Other related control is also possible.


# 6a6e7dda 19-Oct-2003 Joe Hurd <joe@gilith.com>

Made a bunch of changes to the HOL source to make it more "Standard ML",
to make it easier to port to MLton.

For example:
+ Added lots of structure wrappers around miscellaneous .sml files.
+ The type of "before" is 'a * () -> 'a, not 'a * 'b -> 'a, as Moscow ML
currently thinks.
+ Added "val _ = " before random declarations.

A plea: if I'm ever going to succeed in porting HOL to MLton, could
people please stop using Polyhash. It's very useful, but there's
nothing like it in MLton (or indeed Standard ML). In theory I'm going
to have to change the (sometimes complicated) code to use Binarymap or
something like it, but in practice I'll only do that when there's
absolutely no other way.


# ed3316c3 29-Aug-2002 Michael Norrish <Michael.Norrish@nicta.com.au>

Modifications so that when tyinfos are added to the global compset, their
simpls_of component is added. This component includes the distinctness,
one-one and case-definition theorems already, so these theorems don't need
to be individually included. In the old code, the case definition was
subjected to a call to lazyfy_thm, but this had no effect, so the new
code is equivalent. Old and new code alike are WRONG:
all arms of a case will be evaluated before a decision as to which to take
is made.
This doesn't happen with lists and numbers because they both get
special purpose case_compute theorems thrown into the compset. I will
be adding a bug report to document this.
Finally, the change in clauses.sml is to prevent rewrites from being
added that might loop (such a rewrite exists in every set of simplifications
for record types; it's of the general form !v. f v = f c). This rewrite
turns f with <| .. complete set of fields |> into
<| complete set of fields |>


# e61e775d 31-Dec-2001 Konrad Slind <konrad.slind@gmail.com>

Minor changes.


# 8230a0db 18-Dec-2001 Konrad Slind <konrad.slind@gmail.com>

Made Define store its resulting equations in the compset in a persistent
manner.


# 2aab94b9 21-Mar-2001 Konrad Slind <konrad.slind@gmail.com>

Improved error message for add_thms.


# 85709f2f 06-Feb-2001 Konrad Slind <konrad.slind@gmail.com>

More changes supporting the global compset.


# a011c8ce 07-Jan-2001 Konrad Slind <konrad.slind@gmail.com>

Minor changes.


# 67d6291d 15-Nov-2000 Konrad Slind <konrad.slind@gmail.com>

Upgrades ... changed the type to be "compset".


# be23dcf6 17-Dec-1999 Michael Norrish <Michael.Norrish@nicta.com.au>

Changed name of rules module to compute_rules, because rules clashes
with Tfl's Rules module under Windows NT, where names are case-
insensitive.


# 5da57efe 09-Dec-1999 Bruno Barras <barras@lix.polytechnique.fr>

Removed the ugly boolean of add_thms and from_list.
Use lazyfy_thm or strictify_thm instead.
Modified examples accordingly.


# d9b3a600 06-Dec-1999 Bruno Barras <barras@lix.polytechnique.fr>

improved the set_skip facility: must specify the arity at which the
decision to stop reducing the arguments should be made.


# 4f112ebf 19-Nov-1999 Bruno Barras <barras@lix.polytechnique.fr>

Better error message when mk_rewrite fails (prints the faulty thm).


# c7662d6e 19-Nov-1999 Bruno Barras <barras@lix.polytechnique.fr>

- New feature: it is possible to prevent the reduction of the arguments of
a constant when no rule could be applied. Useful to avoid looping when the
boolean of a conditional does not reduce to T or F.
- theorems that are not equalities are prepocessed with
|- ~t --> |- t = F and |- t --> |- t = T


# a9583722 26-Oct-1999 Bruno Barras <barras@lix.polytechnique.fr>

abstracted the type of theorems
generalized the type of external conversions


# 8b72aac1 11-Oct-1999 Bruno Barras <barras@lix.polytechnique.fr>

better tail-recursive version (but more complicated)
conversions can be added to simpl. sets.


# 37f62ef0 04-Oct-1999 Bruno Barras <barras@lix.polytechnique.fr>

fixed bug with out of date constants


# 78028973 01-Oct-1999 Bruno Barras <barras@lix.polytechnique.fr>

Last minor changes before implementing the tail-recursive version.
Added a doc file.


# f68ea79a 30-Sep-1999 Bruno Barras <barras@lix.polytechnique.fr>

added eta-conversion and an interface for computeLib.


# 2eb3e553 29-Sep-1999 Bruno Barras <barras@lix.polytechnique.fr>

added directory src/compute (without explicit substitutions in the kernel)