changeset 41698 | 90597e044e5f |
parent 41423 | 25df154b8ffc |
child 42364 | 8c674b3b8e44 |
--- a/src/HOL/Tools/Datatype/datatype_realizer.ML Thu Feb 03 18:57:42 2011 +0100 +++ b/src/HOL/Tools/Datatype/datatype_realizer.ML Thu Feb 03 19:21:12 2011 +0100 @@ -214,7 +214,7 @@ end; fun add_dt_realizers config names thy = - if ! Proofterm.proofs < 2 then thy + if not (Proofterm.proofs_enabled ()) then thy else let val _ = Datatype_Aux.message config "Adding realizers for induction and case analysis ...";