NEWS
changeset 15727 b43d82139a6c
parent 15724 1b89c781a7ec
child 15744 daa84ebbdf94
equal deleted inserted replaced
15726:67e9ed435df7 15727:b43d82139a6c
   158   the instantiated theorems of the locale are added to the theory or proof
   158   the instantiated theorems of the locale are added to the theory or proof
   159   context.  Interpretation is smart in that already active interpretations
   159   context.  Interpretation is smart in that already active interpretations
   160   do not occur in proof obligations, neither are instantiated theorems stored
   160   do not occur in proof obligations, neither are instantiated theorems stored
   161   in duplicate.
   161   in duplicate.
   162   Use print_interps to inspect active interpretations of a particular locale.
   162   Use print_interps to inspect active interpretations of a particular locale.
       
   163 
       
   164 * Locales: proper static binding of attribute syntax -- i.e. types /
       
   165   terms / facts mentioned as arguments are always those of the locale
       
   166   definition context, independently of the context of later
       
   167   invocations.  Moreover, locale operations (renaming and type / term
       
   168   instantiation) are applied to attribute arguments as expected.
       
   169 
       
   170   INCOMPATIBILITY of the ML interface: always pass Attrib.src instead
       
   171   of actual attributes; rare situations may require Attrib.attribute
       
   172   to embed those attributes into Attrib.src that lack concrete syntax.
       
   173 
       
   174   Attribute implementations need to cooperate properly with the static
       
   175   binding mechanism.  Basic parsers Args.XXX_typ/term/prop and
       
   176   Attrib.XXX_thm etc. already do the right thing without further
       
   177   intervention.  Only unusual applications -- such as "where" or "of"
       
   178   (cf. src/Pure/Isar/attrib.ML), which process arguments depending
       
   179   both on the context and the facts involved -- may have to assign
       
   180   parsed values to argument tokens explicitly.
       
   181 
       
   182 * Attributes 'induct' and 'cases': type or set names may now be
       
   183   locally fixed variables as well.
   163 
   184 
   164 * Isar: new syntax 'name(i-j, i-, i, ...)' for referring to specific
   185 * Isar: new syntax 'name(i-j, i-, i, ...)' for referring to specific
   165   selections of theorems in named facts via indices.
   186   selections of theorems in named facts via indices.
   166 
   187 
   167 
   188 
  2983 * 'subtype' facility in HOL for introducing new types as subsets of existing
  3004 * 'subtype' facility in HOL for introducing new types as subsets of existing
  2984 types;
  3005 types;
  2985 
  3006 
  2986 
  3007 
  2987 $Id$
  3008 $Id$
  2988