History log of /seL4-l4v-10.1.1/HOL4/src/finite_map/alistScript.sml
Revision Date Author Comments
# 36350511 02-Feb-2017 Michael Norrish <Michael.Norrish@nicta.com.au>

Improve statement of o_f_FUPDATE

This theorem does not need to use the \\ operator (i.e., there is an
instance of fm \\ k on the theorem's RHS that can be replaced by fm).


# 312d5817 29-Aug-2016 Michael Norrish <Michael.Norrish@nicta.com.au>

Annotate a theorem with explicit type variables

The tactic depends on a particular type assignment, so this removes the
possibility that some change in the way that guessed type variables are
assigned will break the proof.


# df9abd0a 29-Aug-2016 Michael Norrish <Michael.Norrish@nicta.com.au>

Remove a local-in-end block

These make cutting and pasting from the beginning of a script file up to
a particular theorem error-prone because you may cut-and-paste the local
without also getting the in-end.


# 200a1614 28-Jul-2016 Michael Norrish <Michael.Norrish@nicta.com.au>

Fix finite-map theories in light of pat_assum rename


# 1f63d5fa 02-May-2016 Ramana Kumar <ramana@member.fsf.org>

Add various theorems from CakeML


# aa23933d 29-Jan-2016 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Opening lcsymtacs is no longer necessary.


# d229eea2 12-Aug-2015 Ramana Kumar <ramana@member.fsf.org>

mark some theorems as automatic rewrites

selection taken from CakeML


# 92317114 08-Jan-2015 Michael Norrish <michael.norrish@nicta.com.au>

Change API of Q's MATCH...RENAME_TACs.

Now rather than a string list hanging off the end specifying which
variable bindings aren't supposed to induce a renaming, just put
underscores into the pattern in those positions.

Documentation and release notes updated.


# 5db1c01a 23-Oct-2014 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Attempt to tidy-up some proof scripts. Much of this has come from CakeML.

Removed Unicode and tried to eliminate lines longer than 80 characters.

Also added a few new constants to listTheory: INDEX_FIND, FIND and INDEX_OF.

Added "nub" to listSyntax.


# c665452e 13-Aug-2014 Scott Owens <S.A.Owens@kent.ac.uk>

Add sorting/perm theorems to finite_maps and alists

This makes the finite_map directory depend on the sorting directory.


# fb129495 12-Aug-2014 Scott Owens <S.A.Owens@kent.ac.uk>

New theorems about finite maps and alists

Importing theorems that were useful in CakeML (https://cakeml.org).
Mostly by Ramana Kumar, some by Scott Owens.

Also removed the unnecessary ALL_DISTINCE assumption from
ALOOKUP_TABULATE.


# 6c4ca4e7 20-Sep-2012 Ramana Kumar <ramana.kumar@gmail.com>

move alist_to_fmap_PERM to alistTheory, and simplify proof a lot


# 79f40d70 20-Sep-2012 Ramana Kumar <ramana.kumar@gmail.com>

move a couple of thms about ALOOKUP into alistTheory


# 438eebec 20-Sep-2012 Ramana Kumar <ramana.kumar@gmail.com>

move thm about FUNION (alist_to_fmap ls) fm to alistTheory


# bae062f5 08-Jul-2012 Michael Norrish <michael.norrish@nicta.com.au>

Remove Unicode in src/


# aac1d3c0 01-May-2012 Ramana Kumar <ramana.kumar@gmail.com>

some alist theorems about APPEND

in particular for ALOOKUP (l1 ++ l2) and alist_to_fmap (l1 ++ l2).
making the latter an automatic rewrite means some other proofs changed.

Also made ALL_DISTINCT_fmap_to_alist_keys an automatic rewrite.


# 2e953f0d 01-May-2012 Ramana Kumar <ramana.kumar@gmail.com>

make ALOOKUP_MAP more applicable as a rewrite

by removing the argument


# df0dad36 01-May-2012 Michael Norrish <Michael.Norrish@nicta.com.au>

Remove some non-ASCII under src/


# d0dfaec2 18-Apr-2012 Ramana Kumar <ramana.kumar@gmail.com>

various new theorems for alistTheory, mainly about fmap_to_alist

simple ones:
- a rewrite for LENGTH (fmap_to_alist fm)
- MEM p (fmap_to_alist fm) in terms of FLOOKUP

more substantially:

- Characterise ALOOKUP "non-recursively" in terms of MEM/EL and LEAST.

- fmap_to_alist produces alists with ALL_DISTINCT keys.

- fmap_to_alist is injective.

- fmap_to_alist produces elements in a fixed order: if finite maps have
equal domains, their alist counterparts will have equal keys in the
same order.

- If alists produced by fmap_to_alist are permutations, then the finite
maps they came from are equal. (Hence actually the permutations were
equal.)

possibly these proofs can be shortened, or there are missed
opportunities to recover something as a corollary.


# 28f7aaf8 12-Apr-2012 Ramana Kumar <ramana.kumar@gmail.com>

characterise fmap_to_alist (alist_to_fmap al)

The unconditional equation is ugly. But if we know the keys are distinct
we get that the result is a permutation of the original list.


# 10f45c5b 12-Apr-2012 Ramana Kumar <ramana.kumar@gmail.com>

a rewrite for FAPPLYing an alist_to_fmap when ALOOKUP succeeds


# 0c7be919 12-Apr-2012 Ramana Kumar <ramana.kumar@gmail.com>

theorem about alist_to_fmap (MAP ... al)


# a426e06d 12-Apr-2012 Ramana Kumar <ramana.kumar@gmail.com>

export FDOM_alist_to_fmap as a rewrite


# 01ae37c5 11-Apr-2012 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Remove some Unicode from sources.


# b7302966 08-Apr-2012 Ramana Kumar <ramana.kumar@gmail.com>

add theorem ALOOKUP_MAP to alistTheory


# 446448b0 16-Jan-2011 Michael Norrish <Michael.Norrish@nicta.com.au>

A small theory about association lists (a concrete finite map).

Thanks to Ramana Kumar for doing most of the work on this.