History log of /seL4-l4v-10.1.1/l4v/lib/Corres_Test.thy
Revision Date Author Comments
# 1ae3a8d6 20-Jun-2018 Gerwin Klein <gerwin.klein@data61.csiro.au>

Isabelle2018: Lib update


# 6b9d9d24 09-Jun-2018 Gerwin Klein <gerwin.klein@data61.csiro.au>

Isabelle2018: new "op x" syntax; now is "(x)"

(result of "isabelle update_op -m <dir>")


# 349e8a04 24-Jun-2018 Gerwin Klein <gerwin.klein@data61.csiro.au>

lib: repair WPTutorial and CorresTest

Parts of CorresTest don't work any more after changes to the underlying
example functions.


# b5cdf470 13-Jun-2018 Gerwin Klein <gerwin.klein@data61.csiro.au>

globally use session-qualified imports; add Lib session

Session-qualified imports will be required for Isabelle2018 and help clarify
the structure of sessions in the build tree.

This commit mainly adds a new set of sessions for lib/, including a Lib
session that includes most theories in lib/ and a few separate sessions for
parts that have dependencies beyond CParser or are separate AFP sessions.
The group "lib" collects all lib/ sessions.

As a consequence, other theories should use lib/ theories by session name,
not by path, which in turns means spec and proof sessions should also refer
to each other by session name, not path, to avoid duplicate theory errors in
theory merges later.


# fb6cd81a 21-Apr-2017 Daniel Matichuk <daniel.matichuk@data61.csiro.au>

lib/corres_method: tuning and documentation


# 66c34a3e 19-Apr-2017 Daniel Matichuk <daniel.matichuk@data61.csiro.au>

lib/corres_method: method for corres_rv

This removes corres_choice in favour of making corres_rv smarter.
Now corres_rv can propagate a stateless condition, and the new
corres_rv method (called from corres) tries to push the generated
obligation into the appropriate place (stateless, left or right
precondition) based on which variables it discusses.

This avoids most cases where the corres_rv_wp_left/right or
corres_rv_defer rules needed to be specified manually.


# af314bdb 19-Apr-2017 Daniel Matichuk <daniel.matichuk@data61.csiro.au>

lib/corres_method: careful treatment for schematics

The new "corres_choice_true" and "corres_choice_false" constants
represent a deferred choice for how to propagate a generated
stateless precondition. If possible, we would prefer to do so
via the outermost stateless precondition, since it has access
to all green variables. Importantly corres_rv_defer_left/right
are subsumed by the more general corres_rv_defer.

Also we introduce alternative wp_comb rules which introduce
a corres_inst_eq goal, rather than a raw meta-implication. This
is to avoid cases where the existing wp_comb methods would incorrectly
introduce schematic assumptions, resulting in unprovable goals. This
allows for more carefully controlling unification in cases where
the precondition of a hoare triple doesn't have access to all
necessary green variables.


# 89b2e787 18-Apr-2017 Daniel Matichuk <daniel.matichuk@data61.csiro.au>

lib/corres_method: fix test for latest method


# 07c54b52 13-Apr-2017 Daniel Matichuk <daniel.matichuk@data61.csiro.au>

lib/corres_method: repair Corres_Test after changes


# 1b7aa4b7 28-Mar-2017 Daniel Matichuk <daniel.matichuk@data61.csiro.au>

corres_method: add some documentation

Fixup proofs for test theory


# 336d99f4 27-Mar-2017 Daniel Matichuk <daniel.matichuk@data61.csiro.au>

corres_method: update Corres_Test for new corresK

apply_debug steps now slightly different, different
verification condition.


# 59c2af42 13-Feb-2017 Daniel Matichuk <daniel.matichuk@data61.csiro.au>

corres_method: use apply_debug by default


# 74d2f786 09-Feb-2017 Daniel Matichuk <daniel.matichuk@data61.csiro.au>

corres_method: add traces for corres method tests


# f8c58793 09-Feb-2017 Daniel Matichuk <daniel.matichuk@data61.csiro.au>

fixed algorithm for corres_search

added Corres_Test theory file with example proofs from VSpace_R