Commit Graph

1355 Commits

Author SHA1 Message Date
Daniel Matichuk 9f62622532 arch_split: skeleton arch files for AInvs 2016-05-31 15:05:24 +10:00
Japheth Lim 3b54eb8f70 regression: ensure that theory_imports runs after theory generation 2016-05-27 18:02:21 +10:00
Japheth Lim 40570bc4fe regression: add test to check theory import paths
This commit also fixes all bad imports reported by the test script.
Jira issue VER-560
2016-05-27 16:17:13 +10:00
Japheth Lim 77c64e18af thydeps: silence perl warnings; handle nested comments 2016-05-27 16:17:13 +10:00
Japheth Lim 9199c9234a thydeps: support expanding variables in theory imports
See the updated documentation.
2016-05-27 16:17:13 +10:00
Japheth Lim 225a2dbe79 haskell: add .PHONY makefile entries 2016-05-24 16:31:03 +10:00
Japheth Lim 6ae8d712ec haskell: reconstruct lost comment from galois-domains merge 2016-05-24 16:31:03 +10:00
Japheth Lim 3409a92eca haskell: document the package version constraints 2016-05-24 16:31:03 +10:00
Japheth Lim 858733c318 haskell: add GHC config var to makefile
This allows people with multiple GHCs to select the correct one (7.8).
2016-05-24 16:31:03 +10:00
Japheth Lim 218f6ccbf3 haskell: add license tag to util script 2016-05-24 16:31:03 +10:00
Japheth Lim d4932618eb Add Haskell kernel to README 2016-05-24 16:02:05 +10:00
Japheth Lim 37fa2f359a haskell: revert minimum cabal-version
GHC 7.8 ships with Cabal 1.18 but the .cabal file asks for >=1.20,
which seems to be unnecessary. This commit reverts to >=1.18.
2016-05-24 14:53:00 +10:00
Japheth Lim c71fb4da54 regression: add test for building Haskell kernel
Currently requires GHC 7.8.x.
2016-05-24 14:52:51 +10:00
Japheth Lim 4fe15eac00 regression: use local Haskell kernel for spec-check 2016-05-24 14:52:51 +10:00
Japheth Lim ebc7cbe584 haskell: move Haskell kernel into spec/ 2016-05-24 14:18:13 +10:00
Rafal Kolanski 5cf6f6c6a4 Merge pull request #48 in SEL4/l4v from haskell_move to master
Import commits from seL4 pertaining to haskell folder only (stripped) in preparation for removal from seL4.

* commit 'c39020eeca4f3989ac485bfaf5f85fdf229a446a': (66 commits)
  Move inline text block out of handleInterrupt and rephrase.
  SELFOUR-420: Avoid indexing intStateIRQTable with an invalid IRQ
  haskell updated for SELFOUR-56: Remove diminish rights from IPC
  Newline for latex compilation. This one isn't strictly required but will clash with the regression test.
  Fix for doc building - latex needs newline after > text
  fix typo, comments and style
  haskell : minor fix on the input of checkIRQ
  move kernelBase to arch specific files
  l4v-proof-porting: make c-parser and haskell translator happy
  haskell: change def of InitFailure for haskell translator
  haskell: more fixes and pass sel4test on haskell-qemu-emulator
  haskell: MCT added and fixes performance bug of deleteObjects
  haskell: misc fixes after rebase
  haskell: gic pl390
  haskell: Some fixes on kernel init and some progress on multi platform support
  Fix for latex processing
  x86: IOAPIC/MSI syscalls
  remove mentions of ARM from arch-independent invocation labels
  refactor haskell to allow for multiple architectures
  Remove redundant IRQInterruptControl invocation, and replace with a mechanism to actually decode arch specific IRQ invocations
  ...
2016-05-23 07:05:50 +00:00
Japheth Lim a9e3db44ab autocorres: fix web link in quickstart document
Reported by Zilin C.
2016-05-23 14:43:48 +10:00
Japheth Lim be9f73e0ec Merge pull request #47 in SEL4/l4v from ~JBEEREN/l4v:word64_lib to master
* commit 'f52bc138b3e4411e9f0e5b3f90a09831d836f835':
  lib: fix theory includes for arch-splitted WordSetup
2016-05-20 08:10:50 +00:00
Joel Beeren f52bc138b3 lib: fix theory includes for arch-splitted WordSetup 2016-05-20 13:55:12 +10:00
Gerwin Klein 88d6590e9f Merge pull request #44 in SEL4/l4v from pr-10 to master
* commit 'aa50dc6858f5dbe2a2b643bcb18cc609afdee15f':
  Word_Lemmas: NOT_mask_shifted_lenword
2016-05-20 03:51:47 +00:00
Joel Beeren 6a2692abc6 lib: fix theory includes for arch-splitted WordSetup 2016-05-20 12:31:10 +10:00
Joel Beeren cc8d10a217 lib: arch-splitted WordSetup, fixed lib theory includes 2016-05-20 12:26:04 +10:00
Joel Beeren 75246170d3 Word_Lib: added 64-bit word instances 2016-05-19 16:25:08 +10:00
Japheth Lim 26a7907c95 Merge pull request #43 in SEL4/l4v from ~JALIM/l4v:autocorres-seL4 to master
* commit 'ecbb860532b4c576fc4726a805802f16bcf5302c': (29 commits)
  autocorres-crefine: specialise corres_no_failI for compatibility with Refine
  Add license tags for autocorres-crefine files
  crefine: refactor AutoCorresTest a bit
  autocorres-crefine: remove local debugging imports
  Fix InfoFlowC to accommodate corres_underlying changes.
  Fix DRefine to accommodate corres_underlying changes.
  autocorres-crefine: experiment with manually translating a function (clzl).
  autocorres-crefine: experiment with translating bitfield_gen specs.
  autocorres-crefine: start a test case for function calls.
  autocorres-crefine: update example proofs to work with no_c_termination, which does not require proving termination for the C spec.
  autocorres: add user option "no_c_termination" for previous patch.
  Making termination proof optional for AutoCorres.
  WIP: autocorres: hacky proof of concept for incremental translation.
  autocorres: add some missing WordAbstract rules.
  autocorres-crefine: fix some comments in work theory.
  autocorres-crefine: prove modifies and (simple) terminates specs.
  autocorres-crefine: experiment with generating modifies proofs
  autocorres-crefine: run autocorres in kernel_all_substitute locale
  autocorres-crefine: update another corres_UL that snuck in before rebasing.
  autocorres-crefine: working ccorres for handleYield (modulo some white lies).
  ...
2016-05-19 01:19:58 +00:00
diekmann aa50dc6858 Word_Lemmas: NOT_mask_shifted_lenword
[rebased from https://github.com/seL4/l4v/pull/10]
2016-05-18 19:03:48 +10:00
Japheth Lim ecbb860532 autocorres-crefine: specialise corres_no_failI for compatibility with Refine
The generic rule is now named corres_no_failI_base.
2016-05-18 15:28:43 +10:00
Japheth Lim 2f0b484c7c Add license tags for autocorres-crefine files 2016-05-18 15:10:04 +10:00
Japheth Lim 36f6ccca4d crefine: refactor AutoCorresTest a bit 2016-05-17 16:55:47 +10:00
Japheth Lim 45c5aaa875 autocorres: finer control of Collect simps.
Fixes translation of empty Specs.
2016-05-16 21:11:40 +10:00
Gerwin Klein 9a4e8a8b9a autocorres: Monad_WP fixes 2016-05-16 21:11:40 +10:00
Gerwin Klein beb85d961a Monap_WP: fewer warnings 2016-05-16 21:11:40 +10:00
Gerwin Klein cf0bc1227b crefine: remove obsolete ML file 2016-05-16 21:11:40 +10:00
Gerwin Klein 6ef12ef9e0 lib: Etanercept broken 2016-05-16 21:11:40 +10:00
Gerwin Klein a47e0fbccc lib: remove obsolete theory 2016-05-16 21:11:40 +10:00
Gerwin Klein 3813035970 lib: NonDetMonadLemmaBucket needs no words 2016-05-16 21:11:40 +10:00
Gerwin Klein cd930d2d2d word_lib: move unrelated lemmas out of Word_Lib into Lib 2016-05-16 21:11:40 +10:00
Gerwin Klein 0950eb7141 lib: move unused theory out of Monad_WP 2016-05-16 21:11:40 +10:00
Gerwin Klein 93a60fe5f6 lib: unbitrotted StateMonad 2016-05-16 21:11:40 +10:00
Gerwin Klein 80456aa2c7 abstract: reduce syntax ambiguity 2016-05-16 21:11:40 +10:00
Gerwin Klein e2ae586af7 word_lib: AFP document setup 2016-05-16 21:11:40 +10:00
Gerwin Klein 09117a690b word_lib: run isabelle update_then for new style and fun 2016-05-16 21:11:40 +10:00
Gerwin Klein 323de3784f word_lib: use cartouches 2016-05-16 21:11:40 +10:00
Gerwin Klein dd78d1438c word_lib: prettify Enumeration.thy 2016-05-16 21:11:40 +10:00
Gerwin Klein f88c4184ff lib: move Distinct_Prop out of Word_Lib 2016-05-16 21:11:40 +10:00
Gerwin Klein 54581f1c9a lib/WordSetup: use the full Word_Lib entry 2016-05-16 21:11:40 +10:00
Gerwin Klein 91bd8aebb8 inv-abstract: fewer warnings 2016-05-16 21:11:40 +10:00
Gerwin Klein 2d8f9596ec word_lib: Distinct_Prop cleanup 2016-05-16 21:11:40 +10:00
Gerwin Klein 2367dff983 word_lib: move out unused HOL_Lemmas 2016-05-16 21:11:40 +10:00
Gerwin Klein d162d8d01f word_lib: normalise negative signed words as well. 2016-05-16 21:11:40 +10:00
Gerwin Klein 998228aaeb SimplRewrite: option_map -> map_option 2016-05-16 21:11:40 +10:00