
diff -r df9add9949bb -r 1ba56358eba4 src/HOL/SMT_Examples/SMT_Word_Examples.thy
--- a/src/HOL/SMT_Examples/SMT_Word_Examples.thy	Thu Mar 13 14:48:20 2014 +0100
+++ b/src/HOL/SMT_Examples/SMT_Word_Examples.thy	Thu Mar 13 14:55:38 2014 +0100
@@ -11,7 +11,7 @@
 declare [[smt2_oracle = true]]
 declare [[z3_new_extensions = true]]
 declare [[smt2_certificates = "SMT_Word_Examples.certs2"]]
-declare [[smt2_read_only_certificates = false]] (* FIXME *)
+declare [[smt2_read_only_certificates = true]]
 
 text {*
 Currently, there is no proof reconstruction for words.
@@ -22,58 +22,34 @@
 section {* Bitvector numbers *}
 
 lemma "(27 :: 4 word) = -5" by smt2
-
 lemma "(27 :: 4 word) = 11" by smt2
-
 lemma "23 < (27::8 word)" by smt2
-
 lemma "27 + 11 = (6::5 word)" by smt2
-
 lemma "7 * 3 = (21::8 word)" by smt2
-
 lemma "11 - 27 = (-16::8 word)" by smt2
-
 lemma "- -11 = (11::5 word)" by smt2
-
 lemma "-40 + 1 = (-39::7 word)" by smt2
-
 lemma "a + 2 * b + c - b = (b + c) + (a :: 32 word)" by smt2
-
 lemma "x = (5 :: 4 word) \<Longrightarrow> 4 * x = 4" by smt2
 
 
 section {* Bit-level logic *}
 
 lemma "0b110 AND 0b101 = (0b100 :: 32 word)" by smt2
-
 lemma "0b110 OR 0b011 = (0b111 :: 8 word)" by smt2
-
 lemma "0xF0 XOR 0xFF = (0x0F :: 8 word)" by smt2
-
 lemma "NOT (0xF0 :: 16 word) = 0xFF0F" by smt2
-
 lemma "word_cat (27::4 word) (27::8 word) = (2843::12 word)" by smt2
-
 lemma "word_cat (0b0011::4 word) (0b1111::6word) = (0b0011001111 :: 10 word)" by smt2
-
 lemma "slice 1 (0b10110 :: 4 word) = (0b11 :: 2 word)" by smt2
-
 lemma "ucast (0b1010 :: 4 word) = (0b1010 :: 10 word)" by smt2
-
 lemma "scast (0b1010 :: 4 word) = (0b111010 :: 6 word)" by smt2
-
 lemma "0b10011 << 2 = (0b1001100::8 word)" by smt2
-
 lemma "0b11001 >> 2 = (0b110::8 word)" by smt2
-
 lemma "0b10011 >>> 2 = (0b100::8 word)" by smt2
-
 lemma "word_rotr 2 0b0110 = (0b1001::4 word)" by smt2
-
 lemma "word_rotl 1 0b1110 = (0b1101::4 word)" by smt2
-
 lemma "(x AND 0xff00) OR (x AND 0x00ff) = (x::16 word)" by smt2
-
 lemma "w < 256 \<Longrightarrow> (w :: 16 word) AND 0x00FF = w" by smt2
 
 




