Skip to content

Commit

Permalink
word_lib internal + crefine: remove duplicate lemma
Browse files Browse the repository at this point in the history
  • Loading branch information
lsf37 committed Nov 15, 2019
1 parent c390ba7 commit 1970ed0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions lib/Word_Lib/Word_Lemmas_Internal.thy
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,6 @@ lemma two_bits_cases:
apply (frule and_mask_cases[where n=2 and x=x, simplified mask_def])
using upt_conv_Cons by auto[1]

lemmas mask_1_eq_1 = mask_1

lemma zero_OR_eq:
"y = 0 \<Longrightarrow> (x || y) = x"
by simp
Expand Down
2 changes: 1 addition & 1 deletion proof/crefine/ARM/CSpace_C.thy
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ lemma cteInsert_ccorres_mdb_helper:
apply (rule allI)
apply (rule conseqPre)
apply vcg
apply (clarsimp simp: return_def mask_1_eq_1[simplified])
apply (clarsimp simp: return_def mask_Suc_0)
apply (simp add: cmdbnode_relation_def)
done

Expand Down
2 changes: 1 addition & 1 deletion proof/crefine/ARM_HYP/CSpace_C.thy
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ lemma cteInsert_ccorres_mdb_helper:
apply (rule allI)
apply (rule conseqPre)
apply vcg
apply (clarsimp simp: return_def mask_1_eq_1[simplified])
apply (clarsimp simp: return_def mask_Suc_0)
apply (simp add: cmdbnode_relation_def)
done

Expand Down

0 comments on commit 1970ed0

Please sign in to comment.