Commit Graph

744 Commits

Author SHA1 Message Date
Gerwin Klein 030fb8690e add last 2 pull requests to contributors list 2015-10-14 09:53:40 +11:00
Gerwin Klein a4519c5246 update README and CONTRIBUTING links
(after seL4.systems update)
2015-10-14 09:52:05 +11:00
Corey Richardson d28994d860 Consistently use /usr/bin/env to invoke python 2015-10-13 16:42:53 +11:00
Nickolai Zeldovich 1060eb664a fix typo in Syscall_A.thy documentation 2015-10-13 16:41:04 +11:00
Daniel Matichuk a5ad151a63 Eisbach_WP: Made wpstr_unsafe to ignore safety heuristics. Some cleanup. 2015-10-13 14:55:13 +11:00
Daniel Matichuk bdb810c9be Eisbach_WP: Avoid introducing inconsistent preconditions while strengthening.
By extension this also avoids some unsafe rules in the wp set and trying to lift "False" out of the postcondition.
2015-10-13 12:00:08 +11:00
Daniel Matichuk e44027536d Eisbach_WP: Cleaned up with a few comments. Added another safety condition for lifting in wpstr, as well
as an override for forcing postconditions through despite being apparently unsafe.
2015-10-12 20:11:24 +11:00
Daniel Matichuk d7f8306a62 Eisbach_WP: Avoid extra backtracking by only "try"ing on search leaves. 2015-10-12 20:11:24 +11:00
Daniel Matichuk 2a36f6d038 Eisbach_WP: Made more self_contained wpstr. Sped things up by explicitly decomposing the goal. 2015-10-12 20:11:24 +11:00
Daniel Matichuk 60ae9fe9af Added post_strengthen for strengthening post conditions using wp (by guessing strengthening
candidates with subterm selection from the post condition).
2015-10-12 20:11:24 +11:00
Daniel Matichuk 15bbed6958 Changed safe folding to use custom meta-conjunction to avoid negative
interactions with standard tools.
2015-10-12 20:11:24 +11:00
Matthew Fernandez 1570e45c80 misc/pysymbols: Add support for encoding to TeX.
You probably do *not* want to use this functionality to go straight from THY
files to TeX. The motivation for this is translating inline code in Markdown
(`like this`) into something TeX-able. In particular, we assume all relevant
Isabelle styles and preamble are already in scope.
2015-10-12 19:37:43 +11:00
Matthew Fernandez 69dfc12cda misc/pysymbols: Don't translate entities like "\<^bsub>" into unicode.
The code points of the xsymbols whose ASCII text begins with "\<^" appear to be
a ruse. Their unicode characters do not correspond to their intent because
they are actually format markers. For example, "\<^bsub>" maps to something
described as "south east double arrow," but is intended to mean "start
subscript."

It turns out we do not need to encode these at all because a sufficiently
clever Pygments can interpret their ASCII representations. One such clever
instance is [0]. This commit removes encoding of all symbols whose ASCII
representation begins with "\<^" under the assumption they will be handled by a
later tool in your pipeline.

  [0]: https://bitbucket.org/lsf37/pygments-main/branch/sub-super
2015-10-12 19:34:15 +11:00
Matthew Fernandez bcf211a3ba misc/pysymbols: Optimise unicode to ASCII translation.
With larger THY snippets, this translation can become a noticeable bottleneck.
2015-10-12 19:32:28 +11:00
Japheth Lim 73da8f31a1 autocorres: oops… add proof-tests/ to release. 2015-10-09 17:08:08 +11:00
Japheth Lim 6fa1c5eb45 autocorres: update README and packaging scripts for release. 2015-10-09 17:08:08 +11:00
Japheth Lim a7faeb12b9 autocorres: quickstart: remove some bitrotted TeX setup. 2015-10-09 17:08:08 +11:00
Gerwin Klein f9d8a427a1 Merge branch 'aep-merge' 2015-10-09 15:29:29 +11:00
Matthew Fernandez 37670b4109 misc/regression: Use more portable `os.devnull`. 2015-10-08 12:15:33 +11:00
Matthew Fernandez 9732e8b472 misc/regression: Remove unnecessary import. 2015-10-08 10:08:14 +11:00
Joel Beeren 38fe85e784 aep-binding: cleanup v3 2015-10-07 15:02:26 +11:00
Joel Beeren 038891ac7b aep-binding: more cleanup 2015-10-07 14:57:55 +11:00
Joel Beeren e3704742f0 aep-binding: cleanup 2015-10-07 14:18:09 +11:00
Joel Beeren 4525a78c0f aep-binding: removed quick and dirty from AInvs build options 2015-10-07 13:58:11 +11:00
Matthew Fernandez 47d5b746fc misc: Support for space translation in etc/symbols decoding.
See 74eddfef841e of Isabelle itself for the changeset that implements it.
2015-10-06 17:17:13 +11:00
Matthew Fernandez ffc7b107e5 misc: Add a Python module for dealing with Isabelle symbols. 2015-10-06 17:15:48 +11:00
Joel Beeren e340ff2c21 Merge remote-tracking branch 'verification/master' into aep-merge 2015-10-06 11:09:33 +11:00
Joel Beeren 0a3a1a52b2 aep-binding: finished SysInitExamples 2015-10-02 18:58:25 +10:00
Japheth Lim 1aef4580f3 trivial: autocorres: excise old internal names. 2015-10-01 17:55:31 +10:00
Japheth Lim bb69e949a2 trivial: autocorres: revert some incorrect renaming from 6ab50e000. 2015-10-01 17:06:38 +10:00
Japheth Lim c9b94b5064 autocorres: change generated names more consistently. Add example/regression file.
Closes VER-459 for now.
2015-10-01 15:40:28 +10:00
Japheth Lim 683fd8fbb1 regression: fix infinite loop in testspec.py. 2015-09-30 15:37:07 +10:00
Daniel Matichuk a8ee4ae508 Merge remote-tracking branch 'verification/master' into aep-merge
Conflicts:
	lib/Eisbach_Methods.thy
	lib/wp/Eisbach_WP.thy
2015-09-30 13:56:30 +10:00
Daniel Matichuk 59e61472cf Added hoare_decompose method for transforming hoare triples with conjunctions in the post condition.
Generalized "post" method into "post_strong" which attempts to simplify postconditions
by assuming the others.
2015-09-30 13:34:16 +10:00
Daniel Matichuk 7fccb56197 cleanup of Eisbach_Methods. Adding some documentation and some more methods 2015-09-30 13:34:16 +10:00
Daniel Matichuk 1fe15853eb added conjuncts attribute/dynamic theorem for decomposing meta-conjunctions into proper facts 2015-09-30 13:34:16 +10:00
Michael Norrish 2f9f49df1a Propagate guards from compound literals
This fixes JIRA VER-456
2015-09-30 12:08:52 +10:00
Matthew Fernandez bb9e9d94b8 misc/filemerge: Remove unnecessary import. 2015-09-29 13:44:55 +10:00
Rafal Kolanski 90fa075922 priority-bitmap: haskell translator: translate FiniteBits class 2015-09-28 08:09:07 +10:00
Daniel Matichuk e3c0855169 removed accidental inclusion of Apply_Trace 2015-09-22 12:28:14 +10:00
Daniel Matichuk c8d0692008 sys-init now checks 2015-09-22 12:14:27 +10:00
Japheth Lim 6ab50e0007 autocorres: rename "ccorres" predicate to "ac_corres".
This avoids a name conflict with the existing seL4 ccorres.
2015-09-21 18:20:25 +10:00
Japheth Lim 0414cf15c6 c-parser: add new lib/ dependencies to mkrelease script. 2015-09-21 18:20:25 +10:00
Japheth Lim 3248faad4a trivial: autocorres: fixup from previous commit (0ba1cbf). 2015-09-21 18:20:25 +10:00
Daniel Matichuk dab3914e95 change sending on a bound async ipc to avoid revoke_cap 2015-09-21 17:18:37 +10:00
Daniel Matichuk ec51ebde42 addressed issue with meta-quantifiers
JIRA VER-458
2015-09-21 17:18:37 +10:00
Daniel Matichuk 87447665c0 added find_goals method and rewrote focus method to just use match. 2015-09-21 17:18:37 +10:00
Toby Murray 2b84357300 add new lib/ files to autocorres release to get it building 2015-09-21 17:18:37 +10:00
Daniel Matichuk e45ee104c9 removed dead code 2015-09-21 17:18:36 +10:00
Daniel Matichuk 31752e8e50 refined find_theorems filter to compare names rather than props 2015-09-21 17:18:36 +10:00