Commit Graph

712 Commits

Author SHA1 Message Date
Daniel Matichuk a34de66b9f arch_split: fix crefine up to Interrupt_C 2016-01-20 14:42:36 +11:00
Daniel Matichuk 7dc01b557a make fold_subgoals not prefix by default
fix case where flex-flex pairs would prevent subgoal folding
2016-01-20 14:41:41 +11:00
Daniel Matichuk ca808130e6 repair ARM proofs up to Refine after factoring out architecture 2016-01-13 12:02:12 +11:00
Daniel Matichuk fad2c6aae9 paramatrised abstract and haskell specs over L4V_ARCH
Haskell translator was modified to support multiple translations
of the haskell, with different build parameters.
2016-01-13 12:01:40 +11:00
Japheth Lim 46afb6d0fd regression: fix status line behaviour to match docs. 2016-01-08 17:06:54 +11:00
Matthew Fernandez 81fe5cbd67 misc/pysymbols: Merge some CAmkES functionality for generating apply-style.
This commit resurrects some bitrotted support for generating apply-style proofs
from Python. It is somewhat incomplete and untested, but can serve to make
template proofs much more readable.
2016-01-08 15:47:14 +11:00
Matthew Fernandez de77df45aa misc/pysymbols: Move IsaSymbolsException to a separate file. 2016-01-08 15:47:04 +11:00
Japheth Lim 71143907be regression: Python style fixes (credit: Matt F). 2016-01-07 20:41:45 +11:00
Japheth Lim d92666bc30 regression: remove forceful build options from CSpec makefiles. They don't seem to be needed. 2016-01-07 18:39:50 +11:00
Japheth Lim 194b2db850 regression: fix another tests.xml dependency. 2016-01-07 18:39:50 +11:00
Japheth Lim 3c4b566484 regression: fix tests.xml dependencies to be consistent with ROOTs. 2016-01-07 18:39:50 +11:00
Japheth Lim 26eb9eba44 trivial: regression: revert unintended change in timeout handling. 2016-01-07 17:56:18 +11:00
Japheth Lim 2cdbadca87 regression: add status line for ttys; fix timeout and Python var scoping. 2016-01-07 17:49:22 +11:00
Japheth Lim 7d24c4a5b5 regression: parallelise run_tests.py. New options: -j, --legacy-status. 2016-01-07 17:22:00 +11:00
Gerwin Klein da5f50aa94 Merge pull request #3 in SEL4/l4v from ~MFERNANDEZ/l4v:23e130d5-6f13-4fa3-ae00-e1c8174f2cb9 to master
* commit '56dfa8cca7981055b50969cdf787f2557e827233':
  misc: Add vim syntax files.
2016-01-06 04:03:13 +00:00
Matthew Fernandez 56dfa8cca7 misc: Add vim syntax files. 2016-01-06 13:57:08 +11:00
Matthew Fernandez 17538634db misc: Replace inline file merge implementation with isasymbols.
This change means we no longer need to manually update these files when
Isabelle incorporates new unicode symbols. In particular, these translators
will automatically gain support for symbols like "\<longlonglongrightarrow>"
when we move to Isabelle 2016.
2016-01-04 14:01:22 +11:00
Joel Beeren 1ccd4f5dcc conversion: Rationalise standard types 2015-12-10 21:24:22 +11:00
Thomas Sewell 29648ac243 Reduce verbosity in GraphRefine. 2015-12-08 19:36:28 +11:00
Thomas Sewell 15d09a093a Parallelise GraphRefine in its default run. 2015-12-08 17:39:07 +11:00
Japheth Lim a918b41163 Merge pull request #1 in SEL4/l4v from ~JALIM/l4v:etanercept-reloaded to master
* commit '28e6511148e7daeec3803465ca50294e2840ed4d':
  etanercept: remove user config for CFLAGS; it could inject shell commands. Added -fwrapv to default CFLAGS.
  etanercept: tweak header documentation.
  etanercept: revert accidental change to int and nat translation.
  etanercept: use term_pat antiquote, just for fun.
  etanercept: search for C compiler at run time, not at init time.
  etanercept: use HOLogic.
  etanercept: improve exception throwing and messages.
  etanercept: refactor variable handling. Uses Termtab for simplicity.
  etanercept: add a couple more examples.
  etanercept: refactor type lookup code.
  etanercept: avoid unnecessary floating point code.
  etanercept: add options: debug, timeout, and CFLAGS.
  etanercept: rename user command to "word_refute".
2015-12-08 05:47:40 +00:00
Japheth Lim 28e6511148 etanercept: remove user config for CFLAGS; it could inject shell commands.
Added -fwrapv to default CFLAGS.
2015-12-04 16:37:25 +11:00
Japheth Lim 4c982bd80b etanercept: tweak header documentation. 2015-12-04 16:18:56 +11:00
Thomas Sewell 7ac0157bba Oops. 2015-12-04 14:24:20 +11:00
Thomas Sewell f54964a05d More fixes, hopefully closer. 2015-12-04 14:01:38 +11:00
Thomas Sewell 175eb2da2d More fixes for pointer array assertions. 2015-12-03 17:30:08 +11:00
Thomas Sewell df40425731 Repair SimplExport/GraphRefine. 2015-12-03 16:34:11 +11:00
Japheth Lim c5496f869e etanercept: revert accidental change to int and nat translation. 2015-12-02 16:14:59 +11:00
Japheth Lim 36cc252bd4 etanercept: use term_pat antiquote, just for fun. 2015-12-02 16:14:59 +11:00
Japheth Lim 508e6b1968 etanercept: search for C compiler at run time, not at init time. 2015-12-02 16:14:59 +11:00
Japheth Lim f59bc9e826 etanercept: use HOLogic. 2015-12-02 16:14:59 +11:00
Japheth Lim 58e5303315 etanercept: improve exception throwing and messages. 2015-12-02 16:14:59 +11:00
Japheth Lim 8d35708666 etanercept: refactor variable handling. Uses Termtab for simplicity.
Also remove translation for Var. Vars in a proof state are interpreted
as existentially- rather than forall-quantified.
2015-12-02 16:14:59 +11:00
Japheth Lim 2c299c07fa etanercept: add a couple more examples. 2015-12-02 16:14:58 +11:00
Japheth Lim 310d5fdc84 etanercept: refactor type lookup code. 2015-12-02 16:14:58 +11:00
Japheth Lim a03c0fa046 etanercept: avoid unnecessary floating point code. 2015-12-02 16:14:58 +11:00
Japheth Lim 169f66bd1e etanercept: add options: debug, timeout, and CFLAGS. 2015-12-02 16:14:58 +11:00
Japheth Lim e4826d0616 etanercept: rename user command to "word_refute". 2015-12-02 16:14:58 +11:00
Japheth Lim 2bb62173e5 Merge pull request #15 from mfernandez/bdb0dc61-c039-4651-89b1-3d72a8b07fd3
lib: Add a new nitpick-style command for refuting word problems.
2015-12-02 16:10:02 +11:00
Thomas Sewell 043a69c81b Fix Orphanage from array changes, refactor.
Some generalisation is done in finaliseSlot_invs'' to avoid
duplicating it in Orphanage and PageTableDuplicates.

Finally cleanup in haskell translation.
2015-12-02 09:15:32 +11:00
Thomas Sewell 860f8f2225 Fixes for merge/rebase with mainline. 2015-12-02 09:15:26 +11:00
Thomas Sewell 375b526b0c Finally done with array assertions. 2015-12-02 09:08:27 +11:00
Thomas Sewell 7e40646c48 Proof up to Fastpath_C.
The very last twist of this: the proof that resolveAddressBits can
be seen as functional needs to change, a lot, because it's now
sensitive to gsCNodes. Still working on that.
2015-12-02 09:07:49 +11:00
Thomas Sewell 22f5f2f005 Further work on array assertions. 2015-12-02 09:07:15 +11:00
Thomas Sewell 4fd43512bb WIP on handling array assertions. Up to Retype_C.
This is quite a lot of work in the end. I've had to gut most of
Retype_C along the way. Nearly done there.
2015-12-02 09:06:06 +11:00
Thomas Sewell 6fa0909124 Partial progress on using array assertions. 2015-12-02 09:05:04 +11:00
Thomas Sewell 1fdbbe787e Theory of array assertions.
This is a way to use the UMM assertions to assert an array is
present without knowing its exact size.
2015-12-02 09:04:48 +11:00
Thomas Sewell 91ff60c978 Adjust Strengthen, split out ProvePart. 2015-11-30 10:58:11 +11:00
Matthew Fernandez 53376140e0 lib: Add a new nitpick-style command for refuting word problems. 2015-11-27 14:25:29 +11:00
Japheth Lim 411ef475dc crefine: fix theory import path. 2015-11-27 13:55:23 +11:00