ProgTutorial/Package/Ind_Extensions.thy
changeset 544 501491d56798
parent 539 12861a362099
child 546 d84867127c5d
equal deleted inserted replaced
543:cd28458c2add 544:501491d56798
   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 (@{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 @{context} 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*}
   201 
   201