ProgTutorial/Package/Ind_Extensions.thy
changeset 539 12861a362099
parent 517 d8c376662bb4
child 544 501491d56798
equal deleted inserted replaced
538:e9fd5eff62c1 539:12861a362099
   190 
   190 
   191 section {* Definitional Packages *}
   191 section {* Definitional Packages *}
   192 
   192 
   193 text {* Type declarations *}
   193 text {* Type declarations *}
   194 
   194 
   195 ML %grayML{*Typedef.add_typedef_global false NONE (@{binding test},[],NoSyn)
   195 ML %grayML{*Typedef.add_typedef_global (@{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 %grayML{*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*}