NEWS
changeset 15979 c81578ac2d31
parent 15973 5fd94d84470f
child 16000 786c5f838b0c
equal deleted inserted replaced
15978:f044579b147c 15979:c81578ac2d31
    84   value is true.
    84   value is true.
    85 
    85 
    86 * Pure: tuned internal renaming of symbolic identifiers -- attach
    86 * Pure: tuned internal renaming of symbolic identifiers -- attach
    87   primes instead of base 26 numbers.
    87   primes instead of base 26 numbers.
    88 
    88 
    89 * Pure: new flag show_var_qmarks to control printing of leading
    89 * Pure: new flag show_question_marks controls printing of leading
    90   question marks of variable names.
    90   question marks in schematic variable names.
    91 
    91 
    92 * Pure: new version of thms_containing that searches for a list 
    92 * Pure: new version of thms_containing that searches for a list 
    93   of patterns instead of a list of constants. Available in 
    93   of patterns instead of a list of constants. Available in 
    94   ProofGeneral under ProofGeneral -> Find Theorems or C-c C-f. 
    94   ProofGeneral under ProofGeneral -> Find Theorems or C-c C-f. 
    95   Example search: "(_::nat) + _ + _"   "_ ==> _"
    95   Example search: "(_::nat) + _ + _"   "_ ==> _"
   167   space; use isatool fixcpure to adapt your theory and ML sources.
   167   space; use isatool fixcpure to adapt your theory and ML sources.
   168 
   168 
   169 
   169 
   170 *** Document preparation ***
   170 *** Document preparation ***
   171 
   171 
   172 * New antiquotation @{term_type term} printing a term with its
   172 * Several new antiquotation:
   173   type annotated
   173 
   174 
   174   @{term_type term} prints a term with its type annotated;
   175 * New antiquotation @{typeof term} printing the - surprise - the type of 
   175 
   176   a term
   176   @{typeof term} prints the type of a term;
   177 
   177 
   178 * New antiquotation @{const const} which is the same as @{term const} except
   178   @{const const} is the same as @{term const}, but checks
   179   that const must be a defined constant identifier; helpful for early detection
   179     that the argument is a known logical constant;
   180   of typoes
   180 
   181 
   181   @{term_style style term} and @{thm_style style thm} print a term or
   182 * Two new antiquotations @{term_style style term} and @{thm_style style thm}
   182     theorem applying a "style" to it
   183   which print a term / theorem applying a "style" to it; predefined styles
   183 
   184   are "lhs" and "rhs" printing the lhs/rhs of definitions, equations,
   184   Predefined styles are "lhs" and "rhs" printing the lhs/rhs of
   185   inequations etc. and "conclusion" printing only the conclusion of a theorem.
   185   definitions, equations, inequations etc. and "conclusion" printing
   186   More styles may be defined using ML; see the "LaTeX Sugar" document for more
   186   only the conclusion of a meta-logical statement theorem.  Styles may
       
   187   be defined via TermStyle.add_style in ML.  See the "LaTeX Sugar"
       
   188   document for more information.
   187 
   189 
   188 * Antiquotations now provide the option 'locale=NAME' to specify an
   190 * Antiquotations now provide the option 'locale=NAME' to specify an
   189   alternative context used for evaluating and printing the subsequent
   191   alternative context used for evaluating and printing the subsequent
   190   argument, as in @{thm [locale=LC] fold_commute}, for example.
   192   argument, as in @{thm [locale=LC] fold_commute}, for example.
   191 
   193 
   240   and x-symbol; use option '-m epsilon' to get it actually printed.
   242   and x-symbol; use option '-m epsilon' to get it actually printed.
   241   Moreover, the mathematically important symbolic identifier
   243   Moreover, the mathematically important symbolic identifier
   242   \<epsilon> becomes available as variable, constant etc.
   244   \<epsilon> becomes available as variable, constant etc.
   243 
   245 
   244 * HOL: "x > y" abbreviates "y < x" and "x >= y" abbreviates "y <= x".
   246 * HOL: "x > y" abbreviates "y < x" and "x >= y" abbreviates "y <= x".
   245   Similarly for all quantifiers: "ALL x > y" etc.
   247   Similarly for all quantifiers: "ALL x > y" etc.  The x-symbol for >=
   246   The x-symbol for >= is \<ge>.
   248   is \<ge>.
   247 
   249 
   248 * HOL/Set: "{x:A. P}" abbreviates "{x. x:A & P}"
   250 * HOL/Set: "{x:A. P}" abbreviates "{x. x:A & P}" (and similarly for
   249            (and similarly for "\<in>" instead of ":")
   251   "\<in>" instead of ":").
   250 
   252 
   251 * HOL/SetInterval: The syntax for open intervals has changed:
   253 * HOL/SetInterval: The syntax for open intervals has changed:
   252 
   254 
   253   Old         New
   255   Old         New
   254   {..n(}   -> {..<n}
   256   {..n(}   -> {..<n}