ProgTutorial/Package/Ind_Extensions.thy
changeset 517 d8c376662bb4
parent 464 21b5d0145fe4
child 539 12861a362099
equal deleted inserted replaced
516:fb6c29a90003 517:d8c376662bb4
   190 
   190 
   191 section {* Definitional Packages *}
   191 section {* Definitional Packages *}
   192 
   192 
   193 text {* Type declarations *}
   193 text {* Type declarations *}
   194 
   194 
   195 ML{*Typedef.add_typedef_global false NONE (@{binding test},[],NoSyn)
   195 ML %grayML{*Typedef.add_typedef_global false NONE (@{binding test},[],NoSyn)
   196   @{term "{1}::nat set"} NONE (simp_tac @{simpset} 1) @{theory} *}
   196   @{term "{1}::nat set"} NONE (simp_tac @{simpset} 1) @{theory} *}
   197 
   197 
   198 ML{*fun pat_completeness_auto ctxt =
   198 ML %grayML{*fun pat_completeness_auto ctxt =
   199   Pat_Completeness.pat_completeness_tac ctxt 1
   199   Pat_Completeness.pat_completeness_tac ctxt 1
   200     THEN auto_tac ctxt*}
   200     THEN auto_tac ctxt*}
   201 
   201 
   202 ML {*
   202 ML {*
   203   val conf = Function_Common.default_config
   203   val conf = Function_Common.default_config