History log of /seL4-l4v-master/HOL4/src/tfl/examples/test.Define
Revision Date Author Comments
# 8a5cd8d2 06-Dec-2015 Konrad Slind <konrad.slind@gmail.com>

saving before an update


# fe39f29b 28-Oct-2015 Konrad Slind <konrad.slind@gmail.com>

Revert "upgrading termination condition extractor to handle monadic definitions"

This reverts commit c0256f576177c1fb8a02fc66f665c56e07f1a27d.


# c0256f57 27-Oct-2015 Konrad Slind <konrad.slind@gmail.com>

upgrading termination condition extractor to handle monadic definitions


# e93d1e09 20-Sep-2015 Konrad Slind <konrad.slind@gmail.com>

miscellaneous fixes


# 00cde98c 29-Jan-2015 Konrad Slind <konrad.slind@gmail.com>

fixed Scott's TFL bug on tc-extraction for higher order combinators like pair_cmp.


# a1d7def4 05-May-2009 Konrad Slind <konrad.slind@gmail.com>

Additions to multiset and primeFactor
theories. Fixed definition of PRIMES
sequence in dividesTheory. Also added misc.
theorems to arithmetic. Some amount of
meaningless shuffling about.


# ec93c4ae 06-Mar-2009 Konrad Slind <konrad.slind@gmail.com>

Fixes for another problem with calling
Define on literal patterns. Now

Define `(foo (2,3) = 5) /\
(foo (2,4) = 6) /\
(foo (3,6) = 9)`;

is handled.


# 3fee4ee4 22-Feb-2009 Konrad Slind <konrad.slind@gmail.com>

Implement ML code generation for large records.


# 18abbe1d 06-Feb-2009 Konrad Slind <konrad.slind@gmail.com>

Fix to bug spotted by Anthony, whereby the induction
theorem for functions defined by pattern-matching
on literals was failing to be proved. Misc.
simplifications to TFL code plus adding "trypluck" to Lib.


# 26a404e1 04-Dec-2008 Konrad Slind <konrad.slind@gmail.com>

Fix to bug spotted by Anthony.


# 7839c3ab 24-Nov-2008 Konrad Slind <konrad.slind@gmail.com>

Fix for a Define bug spotted by mjcg. When
dealing with recursive calls under a case,
if variables with certain names (those
starting with v) are bound in the case
pattern then it can happen that variables
generated during pattern matching can be
the same, leading to failed proofs. Totally
obscure, and dealt with properly (I think)
in normal pattern matching. So, a difference
between Pmatch and Functional. The fix is
to invent a class of variables not accepted
by the parser (i.e. starting *v) and to later eliminate
the weird names from any theorems coming out of Hol_defn.

Some other trivial mods made in passing also, plus
tests for the new behaviour.

Also a new conversional, MAP_THM, which applies the
given conversion to the assumptions and conclusion
of the given theorem.


# e1393ea0 18-Oct-2008 Konrad Slind <konrad.slind@gmail.com>

Mods to get examples working again.


# 7d90547c 29-Mar-2008 Konrad Slind <konrad.slind@gmail.com>

This check-in mainly fixes a problem with
literals occurring in patterns of TFL-style
definitions. There are a host of other minor
changes as well.


# ad57a8a3 10-Mar-2006 Konrad Slind <konrad.slind@gmail.com>

Upgrading Define so that it proves more termination goals.
Generates lex. combinations and tries them out, so gets
some more ordinary recursions. Gets all iterated primitive
recursions. Also has been taught about some operations
on words (so recursion from w to w-1w will terminate,
for example).

Let me know of any bugs/slowdowns, etc.


# 425d803e 17-Feb-2004 Konrad Slind <konrad.slind@gmail.com>

Adding a fast regular expression matcher. Changing old regexp.sml
to live in regexp.naive


# b1f58b1d 06-Aug-2003 Konrad Slind <konrad.slind@gmail.com>

Minor editing and also deletion of unfinished example.


# f47b3d6d 13-Jan-2003 Konrad Slind <konrad.slind@gmail.com>

Trivial obsessive mods, plus addition of a regular expression matcher.


# 39a6e7cf 16-Jun-2002 Konrad Slind <konrad.slind@gmail.com>

Fixes to the induction theorems that TFL produces. Changes to recInduct
to reflect this. Other minor changes.


# d608e7d2 29-May-2002 Konrad Slind <konrad.slind@gmail.com>

Small changes to get examples running (eta no longer in std_ss).


# 8da72fa7 02-May-2002 Konrad Slind <konrad.slind@gmail.com>

Minor changes.


# d5ea6975 28-Feb-2002 Konrad Slind <konrad.slind@gmail.com>

Added VAR_EQ_TAC to BasicProvers. It eliminates assumptions of the
form v = M or M = v (provided v doesn't occur as a proper subterm of M).

The other changes are just messing about.


# 79d2dfcc 29-Jan-2002 Konrad Slind <konrad.slind@gmail.com>

Minor fixes to some TFL examples, and fixed a problem whereby the
attempted definition of a schema would fail on the attempt to add
the schema to the global compset, thus scuttling the whole definition
attempt. Now just a message is emitted and the definition attempt
succeeds.


# ca2a9a92 19-Nov-2001 Konrad Slind <konrad.slind@gmail.com>

Final fixes to separate schematic definitions from ordinary ones.
Also, some of the examples have been polished a bit.


# 8a570b05 08-May-2001 Konrad Slind <konrad.slind@gmail.com>

Minor changes.


# d152cbb7 10-Apr-2001 Konrad Slind <konrad.slind@gmail.com>

Minor changes.


# 76b7f75a 02-Jun-2000 Konrad Slind <konrad.slind@gmail.com>

Basic improvements.


# a2f1f8fe 06-Apr-2000 Konrad Slind <konrad.slind@gmail.com>

Changes to handle new interface to Defn.tgoal.


# 61769b4a 23-Mar-2000 Konrad Slind <konrad.slind@gmail.com>

Minor upgrades.


# 4b1335fe 22-Mar-2000 Konrad Slind <konrad.slind@gmail.com>

Changes to reflect advances in Defn.


# 054cdf9f 19-Feb-2000 Konrad Slind <konrad.slind@gmail.com>

Small changes.


# 16380b94 11-Dec-1999 Konrad Slind <konrad.slind@gmail.com>

Removing binRec until I get the multiset order proof in HOL.


# aa58d4e3 08-Dec-1999 Konrad Slind <konrad.slind@gmail.com>

Polishing.


# 29ab3b31 08-Dec-1999 Konrad Slind <konrad.slind@gmail.com>

Upgrades.


# 2b39dc9f 06-Dec-1999 Konrad Slind <konrad.slind@gmail.com>

A general collection of test cases and examples of the application
of Define.