Skip to content

Commit

Permalink
Add snapshots of auto-generated lemmas
Browse files Browse the repository at this point in the history
  • Loading branch information
bauereiss committed Apr 22, 2022
1 parent 72f8720 commit f917601
Show file tree
Hide file tree
Showing 7 changed files with 48,277 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CHERI_Gen_Lemmas.thy
CHERI_Cap_Properties.thy
CHERI_Mem_Properties.thy
CHERI_Fetch_Properties.thy
CHERI_Invariant.thy
# CHERI_Gen_Lemmas.thy
# CHERI_Cap_Properties.thy
# CHERI_Mem_Properties.thy
# CHERI_Fetch_Properties.thy
# CHERI_Invariant.thy
*.thy~
*.smt2
z3_problems
Expand Down
13,864 changes: 13,864 additions & 0 deletions CHERI_Cap_Properties.thy

Large diffs are not rendered by default.

371 changes: 371 additions & 0 deletions CHERI_Fetch_Properties.thy

Large diffs are not rendered by default.

21,162 changes: 21,162 additions & 0 deletions CHERI_Gen_Lemmas.thy

Large diffs are not rendered by default.

2,681 changes: 2,681 additions & 0 deletions CHERI_Invariant.thy

Large diffs are not rendered by default.

10,184 changes: 10,184 additions & 0 deletions CHERI_Mem_Properties.thy

Large diffs are not rendered by default.

11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,21 @@ else
LEM_DIR:=$(shell opam config var lem:share)
endif

# Check if the sail-morello directory has snapshots of the Lem and Sail Isabelle libraries
ifneq ($(wildcard $(MORELLO_DIR)/lib/isabelle),)
SAIL_LEM_LIB = $(MORELLO_DIR)/lib/isabelle/lem
SAIL_ISA_LIB = $(MORELLO_DIR)/lib/isabelle/sail
else
SAIL_LEM_LIB = $(LEM_DIR)/isabelle-lib
SAIL_ISA_LIB = $(SAIL_DIR)/lib/isabelle
endif

GEN_LEMMAS = $(T_CHERI_DIR)/tools/gen_lemmas
MORELLO_SAIL_DIR = $(MORELLO_DIR)/src
MORELLO_ISA_DIR = $(MORELLO_DIR)/isabelle
MORELLO_PATCHES_DIR = $(MORELLO_SAIL_DIR)/patches

ISA_DEPS = $(LEM_DIR)/isabelle-lib $(SAIL_DIR)/lib/isabelle $(AFP_DIR)/thys/Word_Lib $(T_CHERI_DIR)/model/isabelle $(MORELLO_ISA_DIR)
ISA_DEPS = $(SAIL_LEM_LIB) $(SAIL_ISA_LIB) $(AFP_DIR)/thys/Word_Lib $(T_CHERI_DIR)/model/isabelle $(MORELLO_ISA_DIR)
ISA_DEP_FLAGS = $(foreach dir,$(ISA_DEPS),-d $(dir))
ISA_BUILD_FLAGS = -v $(ISA_DEP_FLAGS)

Expand Down

0 comments on commit f917601

Please sign in to comment.