Added "nitpick_const_def" attribute, for overriding the definition axiom of a constant.
--- a/src/HOL/HOL.thy Tue Feb 24 16:12:27 2009 +0100
+++ b/src/HOL/HOL.thy Sun Mar 01 18:40:16 2009 +0100
@@ -1704,6 +1704,11 @@
subsection {* Nitpick theorem store *}
ML {*
+structure Nitpick_Const_Def_Thms = NamedThmsFun
+(
+ val name = "nitpick_const_def"
+ val description = "pseudo-definition of constants as needed by Nitpick"
+)
structure Nitpick_Const_Simp_Thms = NamedThmsFun
(
val name = "nitpick_const_simp"
@@ -1720,7 +1725,8 @@
val description = "introduction rules for (co)inductive predicates as needed by Nitpick"
)
*}
-setup {* Nitpick_Const_Simp_Thms.setup
+setup {* Nitpick_Const_Def_Thms.setup
+ #> Nitpick_Const_Simp_Thms.setup
#> Nitpick_Const_Psimp_Thms.setup
#> Nitpick_Ind_Intro_Thms.setup *}