src/HOL/Library/word_setup.ML
changeset 15463 95cb3eb74307
parent 15013 34264f5e4691
child 15531 08c8dad8e399
--- a/src/HOL/Library/word_setup.ML	Mon Jan 24 18:15:19 2005 +0100
+++ b/src/HOL/Library/word_setup.ML	Mon Jan 24 18:16:57 2005 +0100
@@ -24,7 +24,7 @@
     fun add_word thy =
 	let
  (*lcp**	    val fast1_th = PureThy.get_thm thy "Word.fast_nat_to_bv_def"**)
-	    val fast2_th = PureThy.get_thm thy "Word.fast_bv_to_nat_def"
+	    val fast2_th = PureThy.get_thm thy ("Word.fast_bv_to_nat_def", None)
  (*lcp**	    fun f sg thms (Const("Word.nat_to_bv",_) $ (Const("Numeral.number_of",_) $ t)) =
 		if num_is_usable t
 		then Some (Drule.cterm_instantiate [(cterm_of sg (Var(("w",0),Type("Numeral.bin",[]))),cterm_of sg t)] fast1_th)