History log of /seL4-l4v-master/isabelle/src/Pure/sign.ML
Revision Date Author Comments
# e1532314 09-Dec-2019 wenzelm <none@none>

clarified signature: store full theory name;


# 34ddd120 23-Nov-2019 wenzelm <none@none>

clarified signature;


# 7ef7a774 16-Jul-2019 wenzelm <none@none>

support for a soft-type system within the Isabelle logical framework;


# 83e7d3db 03-Jul-2017 wenzelm <none@none>

unused;


# 6033868f 25-Sep-2015 wenzelm <none@none>

tuned signature: eliminated pointless type Context.pretty;


# 886ea47b 09-Apr-2015 wenzelm <none@none>

clarified keyword 'qualified' in accordance to a similar keyword from Haskell (despite unrelated Binding.qualified in Isabelle/ML);


# 078f3395 06-Apr-2015 wenzelm <none@none>

support for 'restricted' modifier: only qualified accesses outside the local scope;


# cc8cd554 04-Apr-2015 wenzelm <none@none>

support private scope for individual local theory commands;
tuned signature;


# d006cfca 01-Apr-2015 wenzelm <none@none>

tuned signature;


# e082c6b0 31-Mar-2015 wenzelm <none@none>

support for explicit scope of private entries;


# 093cea8d 31-Mar-2015 wenzelm <none@none>

clarified role of naming for background theory: transform_binding (e.g. for "concealed" flag) uses naming of hypothetical context;


# a20b746f 29-Mar-2015 wenzelm <none@none>

tuned signature;


# 88385dd9 21-Mar-2014 wenzelm <none@none>

tuned signature;


# bad7e22c 21-Mar-2014 wenzelm <none@none>

tuned signature;


# f5271040 12-Mar-2014 wenzelm <none@none>

more explicit Sign.change_check -- detect structural mistakes where they emerge, not at later theory merges;
clarified sublocale_global: proper Local_Theory.exit (see also 8fe7414f00b1);


# ad529d3a 11-Mar-2014 wenzelm <none@none>

more efficient local theory operations, by imposing a linear change discipline on the main types/consts tables, in order to speed-up Proof_Context.transfer_syntax required for Local_Theory.raw_theory_result;


# 4bde3665 10-Mar-2014 wenzelm <none@none>

tuned signature -- prefer Name_Space.get with its builtin error;


# 98c7fb02 10-Mar-2014 wenzelm <none@none>

abstract type Name_Space.table;
clarified pretty_locale_deps: sort strings;
clarified Proof_Context.update_cases: Name_Space.del_table hides name space entry as well;


# ffcd6989 25-May-2013 wenzelm <none@none>

syntax translations always depend on context;


# 50c3550d 18-Mar-2012 wenzelm <none@none>

comment;


# daa4ef96 18-Mar-2012 wenzelm <none@none>

tuned;


# 551b966c 18-Mar-2012 wenzelm <none@none>

maintain generic context naming in structure Name_Space (NB: empty = default_naming, init = local_naming);
more explicit Context.generic for Name_Space.declare/define and derivatives (NB: naming changed after Proof_Context.init_global);
prefer Context.pretty in low-level operations of structure Sorts/Type (defer full Syntax.init_pretty until error output);
simplified signatures;


# 6eb17436 25-Nov-2011 wenzelm <none@none>

prefer Parser.make_gram over Parser.merge_gram, to approximate n-ary merges on theory import;
prefer non-strict lazy over strict future;


# ca4fea64 09-Nov-2011 wenzelm <none@none>

sort assignment before simultaneous term_check, not isolated parse_term;
prefer Syntax.read_typ over Syntax.parse_typ, to include check phase for sort assignment;
simplified Syntax_Phases.decode_sort/decode_typ;
discontinued unused Proof_Context.check_tvar;


# 628ac0ab 13-Jul-2011 wenzelm <none@none>

sub-structural sharing after Syntax.check phase, with global interning of logical entities (the latter is relevant when bypassing default parsing via YXML);
minor tuning;


# 390ebc4a 08-Jun-2011 wenzelm <none@none>

more robust exception pattern General.Subscript;


# c067ae81 18-Apr-2011 wenzelm <none@none>

standardized aliases of operations on tsig;


# f53da0a1 18-Apr-2011 wenzelm <none@none>

pass plain Proof.context for pretty printing;


# dbff82ee 18-Apr-2011 wenzelm <none@none>

simplified pretty printing context, which is only required for certain kernel operations;
disentangled dependencies of structure Pretty;


# 7dd8cd36 17-Apr-2011 wenzelm <none@none>

added Binding.print convenience, which includes quote already;


# fa804589 17-Apr-2011 wenzelm <none@none>

eliminated obsolete markup -- superseded by generic "entity" markup;


# 13a7cd41 17-Apr-2011 wenzelm <none@none>

report Name_Space.declare/define, relatively to context;
added "global" variants of context-dependent declarations;


# 87db399e 16-Apr-2011 wenzelm <none@none>

modernized structure Proof_Context;


# e56c255d 16-Apr-2011 wenzelm <none@none>

prefer local name spaces;
tuned signatures;
tuned;


# e7602b11 16-Apr-2011 wenzelm <none@none>

Name_Space: proper configuration options long_names, short_names, unique_names instead of former unsynchronized references;


# b77dcc9d 08-Apr-2011 wenzelm <none@none>

simplified Pure syntax bootstrap;


# c4f9ef65 08-Apr-2011 wenzelm <none@none>

discontinued special treatment of structure Lexicon;


# ecc6df14 08-Apr-2011 wenzelm <none@none>

discontinued special treatment of structure Syntax_Ext (formerly Syn_Ext);
clarified Syntax.root;

--HG--
rename : src/Pure/Syntax/syn_ext.ML => src/Pure/Syntax/syntax_ext.ML


# a4d04f8b 08-Apr-2011 wenzelm <none@none>

discontinued special treatment of structure Mixfix;
eliminated slightly odd no_syn convenience;


# 1c017ad4 08-Apr-2011 wenzelm <none@none>

explicit structure Syntax_Trans;
discontinued old-style constrainAbsC;

--HG--
rename : src/Pure/Syntax/syn_trans.ML => src/Pure/Syntax/syntax_trans.ML


# d3f3b337 07-Apr-2011 wenzelm <none@none>

discontinued user-defined token translations;
tuned signature;


# 8d01a3ac 06-Apr-2011 wenzelm <none@none>

typed_print_translation: discontinued show_sorts argument;


# 37649bd7 05-Apr-2011 wenzelm <none@none>

discontinued special treatment of structure Ast: no pervasive content, no inclusion in structure Syntax;


# bac1d0a0 03-Apr-2011 wenzelm <none@none>

added Position.reports convenience;
modernized Syntax.trrule constructors;
modernized Sign.add_trrules/del_trrules: internal arguments;
modernized Isar_Cmd.translations/no_translations: external arguments;
explicit syntax categories class_name/type_name, with reports via type_context;
eliminated former class_name/type_name ast translations;
tuned signatures;


# 239ad2e2 04-Dec-2010 wenzelm <none@none>

added Syntax.default_root;
simplified Syntax.parse operations;
clarified treatment of syntax root for translation rules -- refrain from logical_type replacement;
tuned error message;


# 23d2ba43 17-Sep-2010 wenzelm <none@none>

tuned signature of (Context_)Position.report variants;


# bb93d4cb 12-Sep-2010 wenzelm <none@none>

load type_infer.ML later -- proper context for Type_Infer.infer_types;
renamed Type_Infer.polymorphicT to Type.mark_polymorphic;


# 54b5bdc2 12-Sep-2010 wenzelm <none@none>

common Type.appl_error, which also covers explicit constraints;


# 3adf9010 05-Sep-2010 wenzelm <none@none>

turned show_brackets into proper configuration option;
Sign.certify/type_check: dropped Syntax.pp_show_brackets, which is hard to hold up due to Pretty.pp and not even present in the regular end-user type check;


# d5fed4bd 05-Sep-2010 wenzelm <none@none>

pretty printing: prefer regular Proof.context over Pretty.pp, which is mostly for special bootstrap purposes involving theory merge, for example;


# b7e81c3e 27-May-2010 wenzelm <none@none>

renamed structure TypeInfer to Type_Infer, keeping the old name as legacy alias for some time;


# 60d6d298 03-May-2010 wenzelm <none@none>

renamed ProofContext.init to ProofContext.init_global to emphasize that this is not the real thing;


# 4678070f 28-Apr-2010 wenzelm <none@none>

more systematic naming of tsig operations;


# 85b9091b 28-Apr-2010 wenzelm <none@none>

modernized/simplified Sign.set_defsort;


# 1aac94fd 16-Apr-2010 wenzelm <none@none>

replaced old Sign.add_tyabbrs(_i) by Sign.add_type_abbrev (without mixfix);
misc tuning and simplification;


# 5f8d30cd 15-Apr-2010 wenzelm <none@none>

misc tuning and simplification;


# 87866196 27-Mar-2010 wenzelm <none@none>

disallow premises in primitive Theory.add_def -- handle in Thm.add_def;
eliminated obsolete Sign.cert_def;
misc tuning and clarification;


# bbc8cf56 20-Mar-2010 wenzelm <none@none>

renamed varify/unvarify operations to varify_global/unvarify_global to emphasize that these only work in a global situation;


# 1feff290 15-Mar-2010 wenzelm <none@none>

tuned;


# 61c48c87 15-Mar-2010 wenzelm <none@none>

moved old Sign.intern_term to the place where it is still used;


# dbbac7dd 09-Mar-2010 wenzelm <none@none>

aliases for class/type/const;
tuned;


# f36452c7 09-Mar-2010 wenzelm <none@none>

added ProofContext.tsig_of -- proforma version for local name space only, not logical content;
added ProofContext.read_type_name_proper;
localized ProofContext.read_class/read_arity/cert_arity;
localized ProofContext.class_space/type_space etc.;


# cd3f8037 02-Mar-2010 wenzelm <none@none>

authentic syntax for classes and type constructors;
read/intern formal entities just after raw parsing, extern just before final pretty printing;
discontinued _class token translation;
moved Local_Syntax.extern_term to Syntax/printer.ML;
misc tuning;


# 72445f99 01-Mar-2010 wenzelm <none@none>

more uniform treatment of syntax for types vs. consts;


# 31d29960 27-Feb-2010 wenzelm <none@none>

read_class: perform actual read, with source position;


# 98b49ee4 25-Feb-2010 wenzelm <none@none>

provide direct access to the different kinds of type declarations;


# d14717b0 21-Feb-2010 wenzelm <none@none>

slightly more abstract syntax mark/unmark operations;


# ed69a28a 21-Feb-2010 wenzelm <none@none>

authentic syntax for *all* term constants;


# 15adbf66 18-Feb-2010 wenzelm <none@none>

more systematic treatment of qualified names derived from binding;


# 226dba9b 15-Feb-2010 wenzelm <none@none>

discontinued unnamed infix syntax;


# ba7958fc 04-Jan-2010 wenzelm <none@none>

discontinued old TheoryDataFun, but retain Theory_Data_PP with is Pretty.pp argument to merge (still required in exotic situations -- hard to get rid of);


# babb7ef8 04-Jan-2010 haftmann <none@none>

dropped copy operation for legacy TheoryDataFun


# 5c3ce76a 17-Nov-2009 wenzelm <none@none>

uniform new_group/reset_group;
tuned signature;


# 443d90d1 02-Nov-2009 wenzelm <none@none>

modernized structure Primitive_Defs;


# 98fa2344 25-Oct-2009 wenzelm <none@none>

eliminated obsolete tags for types/consts -- now handled via name space, in strongly typed fashion;


# acdfaae2 25-Oct-2009 wenzelm <none@none>

maintain theory name via name space, not tags;
AxClass.thynames_of_arity: explicit theory name, not tags;


# 31f72ab3 25-Oct-2009 wenzelm <none@none>

more direct access to naming;
tuned signature;


# e096a0ca 24-Oct-2009 wenzelm <none@none>

allow name space entries to be "concealed" -- via binding/naming/local_theory;


# 52584a08 24-Oct-2009 wenzelm <none@none>

maintain position of formal entities via name space;


# 713fc456 24-Oct-2009 wenzelm <none@none>

renamed NameSpace to Name_Space -- also to emphasize its subtle change in semantics;


# 81328ca9 30-Sep-2009 wenzelm <none@none>

removed redundant Sign.certify_prop, use Sign.cert_prop instead;
tuned;


# 51ddcad2 06-Jul-2009 wenzelm <none@none>

witness_sorts: proper type witnesses for hyps, not invented "'hyp" variables;


# edb6ecd3 19-Mar-2009 wenzelm <none@none>

use Name.of_binding for basic logical entities without name space (fixes, case names etc.);


# 84528b7a 13-Mar-2009 wenzelm <none@none>

removed obsolete no_base_names naming policy;


# 3b56b3af 12-Mar-2009 wenzelm <none@none>

renamed sticky_prefix to mandatory_path;


# 686ef250 11-Mar-2009 wenzelm <none@none>

eliminated qualified_names naming policy: qualified names are only permitted via explicit Binding.qualify/qualified_name etc. (NB: user-level outer syntax should never do this);


# 3a2dbd3b 11-Mar-2009 wenzelm <none@none>

removed obsolete absolute_path -- use root_path with qualified binding;


# b1493d6e 10-Mar-2009 wenzelm <none@none>

explicit root_path, parent_path;
derived absolute_path;
tuned;


# b1ef46dc 08-Mar-2009 wenzelm <none@none>

moved basic algebra of long names from structure NameSpace to Long_Name;


# ba2450b1 07-Mar-2009 wenzelm <none@none>

replace old bstring by binding for logical primitives: class, type, const etc.;


# e3913b9b 04-Mar-2009 wenzelm <none@none>

renamed NameSpace.base to NameSpace.base_name;
renamed NameSpace.map_base to NameSpace.map_base_name;
eliminated alias Sign.base_name = NameSpace.base_name;


# 121e82fb 04-Mar-2009 blanchet <none@none>

Merge.


# 4ad18568 03-Mar-2009 wenzelm <none@none>

renamed Binding.name_pos to Binding.make, renamed Binding.base_name to Binding.name_of, renamed Binding.map_base to Binding.map_name, added mandatory flag to Binding.qualify;
minor tuning;


# 95796bd8 03-Mar-2009 wenzelm <none@none>

Binding.str_of;


# 2a1579cf 27-Feb-2009 wenzelm <none@none>

eliminated NJ's List.nth;


# 1bd59ac7 21-Jan-2009 wenzelm <none@none>

removed Ids;


# 5823ee39 21-Jan-2009 haftmann <none@none>

binding is alias for Binding.T


# e331b867 05-Dec-2008 haftmann <none@none>

Name.name_of -> Binding.base_name


# e01ddee4 04-Dec-2008 haftmann <none@none>

cleaned up binding module and related code


# 740587ab 01-Dec-2008 haftmann <none@none>

new Binding module


# 2c26594b 20-Nov-2008 haftmann <none@none>

dropped legacy naming code


# 3745db78 20-Nov-2008 haftmann <none@none>

using name bindings


# 7d0c6e82 14-Nov-2008 haftmann <none@none>

namify and name_decl combinators


# b2568f68 03-Sep-2008 wenzelm <none@none>

declare_const: Name.binding, store/report position;


# d0b84733 27-Aug-2008 wenzelm <none@none>

type Properties.T;


# 2c14c878 20-Jun-2008 haftmann <none@none>

type constructors now with markup


# 64af5d25 19-Jun-2008 wenzelm <none@none>

moved get_sort to Isar/proof_context.ML;
removed obsolete read_def_typ, read_typ, read_typ_syntax, read_typ_abbrev;


# c2353d47 18-Jun-2008 wenzelm <none@none>

removed obsolete term reading operations (cf. old_goals.ML for legacy emulations);


# 8ffb106f 14-Jun-2008 wenzelm <none@none>

certify_term: reject qualified frees;


# 253aad58 13-Jun-2008 wenzelm <none@none>

map_const: soft version, no failure here;


# 00ab36c5 23-May-2008 wenzelm <none@none>

add constants: set Markup.theory_nameN in tags;


# 70a4fc69 18-May-2008 wenzelm <none@none>

moved global pretty/string_of functions from Sign to Syntax;


# 11eeb8ef 17-May-2008 wenzelm <none@none>

added pretty_global flag;


# a472ce5d 17-Apr-2008 wenzelm <none@none>

token translations: context dependent, result Pretty.T;


# e25e8826 15-Apr-2008 wenzelm <none@none>

removed obsolete SIGN_THEORY -- no name aliases in structure Theory;
simplified hide_XXX interfaces;
moved hide_names to isar_cmd.ML;


# 1484cf64 13-Apr-2008 wenzelm <none@none>

tsig: removed unnecessary universal witness;


# ebfb5671 12-Apr-2008 wenzelm <none@none>

rep_cterm/rep_thm: no longer dereference theory_ref;
removed obsolete compression;


# 069f5276 14-Mar-2008 haftmann <none@none>

added mk_const functions


# 19eb434f 27-Nov-2007 wenzelm <none@none>

standard_parse_term: check ambiguous results without changing the result yet;


# daec5a07 23-Nov-2007 haftmann <none@none>

separated typedecl module, providing typedecl command with interpretation


# afa041e7 11-Nov-2007 wenzelm <none@none>

syntax operations: turned extend'' into update'' (absorb duplicates);


# 45c2e06e 10-Nov-2007 wenzelm <none@none>

notation: based on Syntax.update_const_gram (avoids duplicates);


# e0775100 09-Nov-2007 wenzelm <none@none>

tyabbr/syntax/consts: replaced obsolete read_typ by Syntax.parse_typ/certify_typ;


# 784a4244 08-Nov-2007 wenzelm <none@none>

removed unused read_def_terms';


# ae244bb5 07-Nov-2007 wenzelm <none@none>

removed obsolete Sign.read_tyname/const (cf. ProofContext);


# 41137891 20-Oct-2007 wenzelm <none@none>

no_variables: tuned error msg;


# add31418 17-Oct-2007 wenzelm <none@none>

removed unused set_policy;


# fcc1d794 16-Oct-2007 wenzelm <none@none>

add_abbrev: removed Logic.legacy_varifyT, do not unvarify result (again);
added revert_abbrev;


# 5ccf22ad 15-Oct-2007 wenzelm <none@none>

renamed Consts.the_declaration to Consts.the_type;


# dd0bdc9e 13-Oct-2007 wenzelm <none@none>

add_abbrevs: unvarify result;


# 0c51d5fa 11-Oct-2007 wenzelm <none@none>

dest/cert_def: replaced Pretty.pp by explicit Proof.context;


# 0dedcadd 11-Oct-2007 wenzelm <none@none>

tuned;


# 44e73245 11-Oct-2007 wenzelm <none@none>

replaced Sign.add_consts_authentic by Sign.declare_const;


# 03837bc8 10-Oct-2007 wenzelm <none@none>

generalized notation interface (add or del);


# 563e2f98 08-Oct-2007 wenzelm <none@none>

generic Syntax.pretty/string_of operations;
existing pretty_term = Syntax.pretty_term o ProofContext.init etc.;
removed pretty_classrel/arity (cf. Syntax/syntax.ML);


# a391b0ad 30-Sep-2007 wenzelm <none@none>

add_consts_authentic/add_abbrev: tags (Markup.property list);
tuned signature;


# 23872b5a 29-Sep-2007 wenzelm <none@none>

removed obsolete external interface add_const_constraint;
removed redundant const_constraint;
renamed add_const_constraint_i to add_const_constraint;


# e409919e 26-Sep-2007 wenzelm <none@none>

added minimize_sort, complete_sort;


# 61b7a7b9 25-Sep-2007 wenzelm <none@none>

Syntax.parse/check/read;


# 234d4468 22-Sep-2007 wenzelm <none@none>

certify': proper do_expand argument (which observes force_expand consts) instead of home-grown normalize;


# b87fcb7d 01-Sep-2007 wenzelm <none@none>

read_def_terms: replaced full Syntax.check_typs by certify_typ, to workaround problems with illegal schematic type vars;


# 38662fdb 30-Aug-2007 wenzelm <none@none>

infer_types: general check_typs instead of Type.cert_typ_mode;


# a72742ac 20-Aug-2007 wenzelm <none@none>

read_def_terms: moved disambig to syntax.ML;


# a588f03d 14-Aug-2007 wenzelm <none@none>

replaced certify_typ_syntax/abbrev by certify_typ_mode;
removed obsolete read_sort', read_typ', read_typ_syntax', read_typ_abbrev';


# f75eb9e0 14-Aug-2007 wenzelm <none@none>

PrimitiveDefs.dest_def;
Syntax.standard_read;


# 92b7b308 12-Aug-2007 wenzelm <none@none>

read_def_terms': restrict scope of disambiguation to individual term;


# 043ac214 03-Aug-2007 wenzelm <none@none>

certify: no check_thy here;


# 9473e8a6 24-Jul-2007 wenzelm <none@none>

moved exception capture/release to structure Exn;


# 01a9ac05 09-Jul-2007 wenzelm <none@none>

type output = string indicates raw system output;


# b377957f 06-Jul-2007 wenzelm <none@none>

simplified pretty token metric: type int;


# b62fe892 06-May-2007 wenzelm <none@none>

simplified DataFun interfaces;


# 5a07b430 26-Apr-2007 wenzelm <none@none>

renamed some old names Theory.xxx to Sign.xxx;


# dda7c2a4 25-Apr-2007 wenzelm <none@none>

renamed some old names Theory.xxx to Sign.xxx;


# 956bbe75 21-Apr-2007 wenzelm <none@none>

export get_sort (belongs to Syntax module);


# 10cbbe6c 15-Apr-2007 wenzelm <none@none>

removed obsolete TypeInfer.logicT -- use dummyT;


# 195c071f 15-Apr-2007 wenzelm <none@none>

removed obsolete infer_types(_simult);
read_sort/get_sort, read_def_terms: internal reorganization;


# 3554b99e 14-Apr-2007 wenzelm <none@none>

read_typ_XXX: no sorts;
added read_def_typ (formerly read_typ);


# c3932e6a 19-Jan-2007 wenzelm <none@none>

moved ML translation interfaces to isar_cmd.ML;


# 0f17da38 19-Jan-2007 wenzelm <none@none>

adapted ML context operations;


# ce2bf6ae 29-Dec-2006 wenzelm <none@none>

replaced classes by all_classes (topologically sorted);
added minimal_classes;


# 232e2bcd 12-Dec-2006 wenzelm <none@none>

add_abbrev: tuned signature;


# 8334ce99 11-Dec-2006 wenzelm <none@none>

advanced translation functions: Proof.context;


# 888e01c8 10-Dec-2006 wenzelm <none@none>

added no_frees;
add_abbrev: tuned handling of frees, temp workaround;


# d3125a30 09-Dec-2006 wenzelm <none@none>

tuned Consts signature;


# d828b947 07-Dec-2006 wenzelm <none@none>

simplified add_abbrev -- single argument;


# d261179e 07-Dec-2006 wenzelm <none@none>

simplified add_abbrevs: no mixfix;


# 38546442 06-Dec-2006 wenzelm <none@none>

add_abbrevs: moved common parts to consts.ML;


# b06b0b29 05-Dec-2006 wenzelm <none@none>

add_notation: permissive about undeclared consts;


# 9ca30d72 09-Nov-2006 wenzelm <none@none>

abbrevs: return result;


# f14bc69f 07-Nov-2006 wenzelm <none@none>

replaced const_syntax by notation, which operates on terms;


# 2824e6b9 05-Nov-2006 wenzelm <none@none>

added const_syntax_name;


# 41993894 29-Sep-2006 wenzelm <none@none>

Syntax.mode;


# cd7b1cf8 28-Sep-2006 wenzelm <none@none>

consts: syntax consts only for actual syntax;


# fa18480a 21-Sep-2006 wenzelm <none@none>

member (op =);


# e69dd782 15-Sep-2006 wenzelm <none@none>

renamed Term.map_term_types to Term.map_types (cf. Term.fold_types);


# b07a7724 03-Aug-2006 wenzelm <none@none>

tuned;


# 62b8b1e4 27-Jul-2006 wenzelm <none@none>

read_def_cterms (legacy version): Consts.certify;


# 7c4ed314 25-Jul-2006 wenzelm <none@none>

moved pprint functions to Isar/proof_display.ML;


# e2a74036 18-Jul-2006 wenzelm <none@none>

Sign.infer_types: Name.context;


# 24ff5941 06-Jun-2006 wenzelm <none@none>

renamed Type.(un)varifyT to Logic.(un)varifyT;
made (un)varify strict wrt. global context -- may use legacy_(un)varify as workaround;


# cae7d102 17-May-2006 wenzelm <none@none>

consts: replaced early'' flag by inverted authentic'';
tuned interfaces;


# ef00fc86 16-May-2006 wenzelm <none@none>

always preserve authentic consts -- removed Syntax.mixfix_const;


# 137e49eb 16-May-2006 wenzelm <none@none>

added add_const_syntax, add_consts_authentic;
tuned interface;


# 0d32b6ff 16-May-2006 wenzelm <none@none>

more abstract interface to classes/arities;


# 8eae0edb 30-Apr-2006 wenzelm <none@none>

removed add_classes/classrel/arities (superceded by AxClass.axiomatize_class/classrel/arity);
added primitive_class/classrel/arity;


# cf09f0e2 27-Apr-2006 wenzelm <none@none>

tuned basic list operators (flat, maps, map_filter);


# 1dda9bbd 25-Apr-2006 wenzelm <none@none>

added arity_number/sorts;
tuned;


# c5abc2b3 12-Apr-2006 wenzelm <none@none>

added typ_equiv;
read_class: improved error;


# 75f6c1f4 11-Apr-2006 wenzelm <none@none>

added super_classes (from sorts.ML);
removed read/cert_classrel (see axclass.ML);


# 8855a393 09-Apr-2006 wenzelm <none@none>

Term.itselfT;


# 8049c263 09-Apr-2006 wenzelm <none@none>

abbrevs: mode does not affect name space;


# 74a44cbd 08-Apr-2006 wenzelm <none@none>

pretty_term': early vs. late externing (support authentic syntax);
add_abbrevs(_i): support print mode and authentic syntax;


# 626ca3d7 18-Mar-2006 wenzelm <none@none>

export arities_of instead of classes_arities_of;


# defc6d87 14-Mar-2006 wenzelm <none@none>

declared_const: check for type constraint only, i.e. admit abbreviations as well;
added del_trrules(_i);


# b8503671 11-Mar-2006 wenzelm <none@none>

got rid of type Sign.sg;


# e86ce4eb 11-Mar-2006 wenzelm <none@none>

added read_class, read/cert_classrel/arity (from axclass.ML);


# 2a9444d8 17-Feb-2006 wenzelm <none@none>

add_const_constraint(_i): demand TFrees instead of TVars, optional type (i.e. may delete constraints);


# 2589ee8b 15-Feb-2006 wenzelm <none@none>

replaced qualified_force_prefix to sticky_prefix;


# e86e7607 11-Feb-2006 wenzelm <none@none>

removed custom_accesses;
added qualified_force_prefix;


# 59c767d7 09-Feb-2006 wenzelm <none@none>

tuned extern_term, pretty_term';


# 637ba204 07-Feb-2006 wenzelm <none@none>

export consts_of;
removed const_expansion;
pretty_term', infer_types(_simult): separate Consts.T argument;
added generic certify;
simplified certify_term/prop;


# ca3fbf4f 06-Feb-2006 wenzelm <none@none>

added add_abbrevs(_i);
moved const_of_class/class_of_const to logic.ML;
added no_vars (from theory.ML);
added cert_def;
added const_expansion;
certify: refer to Consts.certify, which includes expansion;


# 13808884 06-Feb-2006 haftmann <none@none>

subsituted gen_duplicates / has_duplicates for duplicates whenever appropriate


# c423bf61 01-Feb-2006 wenzelm <none@none>

added specific map_typ/term (from term.ML);


# 7ee7ec8b 30-Jan-2006 wenzelm <none@none>

advanced translations: Context.generic;


# 7d882954 19-Jan-2006 wenzelm <none@none>

Syntax.basic_syn;


# e3517f6b 14-Jan-2006 wenzelm <none@none>

sane ERROR handling;


# 8e704181 12-Jan-2006 wenzelm <none@none>

tuned;


# 65c92d10 14-Nov-2005 wenzelm <none@none>

added const_instance;


# 549979de 10-Nov-2005 wenzelm <none@none>

uncurried Consts.typargs;


# 6d08f53e 02-Nov-2005 wenzelm <none@none>

moved consts declarations to consts.ML;


# cfb2e74b 28-Oct-2005 wenzelm <none@none>

certify_term: tuned monomorphic consts;


# 439cb0ea 27-Oct-2005 wenzelm <none@none>

consts: monomorphic;


# 347ce55a 20-Sep-2005 haftmann <none@none>

slight adaptions to library changes


# 45dec154 15-Sep-2005 wenzelm <none@none>

TableFun/Symtab: curried lookup and update;


# c577f8bb 15-Sep-2005 wenzelm <none@none>

extend: NameSpace.default_naming;


# d02faacd 13-Sep-2005 wenzelm <none@none>

added hide_names(_i) (from isar_thy.ML);


# c968ef97 01-Sep-2005 wenzelm <none@none>

curried_lookup/update;


# 39f16cbd 31-Aug-2005 wenzelm <none@none>

tuned classes_arities_of;


# 2085d1ed 29-Aug-2005 wenzelm <none@none>

use AList operations;


# 1f4b84e5 18-Aug-2005 wenzelm <none@none>

added interfaces for compile translation functions (from Isar/isar_thy.ML);


# 1efe3570 09-Aug-2005 haftmann <none@none>

added selectors 'classes_of' and 'classes_arities_of'


# 84ce50ad 09-Aug-2005 haftmann <none@none>

added 'the_const_constraint'


# a6383044 01-Aug-2005 wenzelm <none@none>

Compress.typ;


# 01ec1a23 28-Jul-2005 wenzelm <none@none>

added add_const_constraint(_i), const_constraint;
added typ_match, typ_unify;


# 37bcee86 19-Jul-2005 wenzelm <none@none>

Inttab.defined;


# 7dc06f51 06-Jul-2005 wenzelm <none@none>

Context.check_thy;


# ae03864f 01-Jul-2005 wenzelm <none@none>

added all_sorts_nonempty;


# 38db6ab3 29-Jun-2005 wenzelm <none@none>

eliminated separate syn type -- advanced trfuns already part of Syntax.syntax;


# 64dca2fd 22-Jun-2005 wenzelm <none@none>

renamed init to init_data;


# 3cc708ba 20-Jun-2005 wenzelm <none@none>

added certify_prop, cert_term, cert_prop;


# 254ee110 17-Jun-2005 wenzelm <none@none>

obsolete type sg is now an alias for Context.theory;
code and interfaces related to stamps and data now in context.ML;
actual signature content declared as theory data;
removed type sg_ref (superceded by theory_ref);
signature SIGN_THEORY lists theory operations that are duplicated in Theory;


# af7ebe88 11-Jun-2005 wenzelm <none@none>

discontinued named name spaces (classK, typeK, constK);
name space of classes and types maintained in tsig;
read_tyname/read_const now raise ERROR instead of TYPE;
tuned;


# 0f30940f 09-Jun-2005 wenzelm <none@none>

simplified is_stale, check_stale;
fixed map_sg -- proper treatment of non-drafts;


# a45739fc 08-Jun-2005 wenzelm <none@none>

Major cleanup:
got rid of types bclass, xclass, xsort, xtyp, xterm;
reorganized code to separate stamps/data/sign;
clarified name space inter/extern operations;
sane read/certify operations -- more picky about stale signatures;
sane implementation of signature extensions;


# 0e3d96c4 05-Jun-2005 wenzelm <none@none>

added the_const_type;


# 5b9f671c 02-Jun-2005 wenzelm <none@none>

replaced set_naming by restore_naming;


# b94a024a 31-May-2005 wenzelm <none@none>

renamed cond_extern to extern;
name entry path superceded by general naming context;
added qualified_names, no_base_names, custom_accesses, set_policy, set_naming;
replaced NameSpace.extend by context-dependent declare_name;
removed full_name';
tuned;


# 31e14f37 29-Apr-2005 paulson <none@none>

better error reporting


# f7c9b6de 23-Apr-2005 wenzelm <none@none>

improved read_tyname;
merge_stamps, merge_refs: error instead of raise TERM;


# 9f1ea5d9 21-Apr-2005 wenzelm <none@none>

superceded by Pure.thy and CPure.thy;


# e7bf4e72 21-Apr-2005 berghofe <none@none>

- Eliminated nodup_vars check.
- Unification and matching functions now check types of term variables / sorts
of type variables when applying a substitution.
- Thm.instantiate now takes (ctyp * ctyp) list instead of (indexname * ctyp) list
as argument, to allow for proper instantiation of theorems containing
type variables with same name but different sorts.


# dc5cda78 16-Apr-2005 wenzelm <none@none>

added del_modesyntax(_i);
added print_all_data;


# d6152a65 13-Apr-2005 wenzelm <none@none>

*** MESSAGE REFERS TO PREVIOUS VERSION ***
added declared_tyname/const and read_tyname/const;
removed certify_tyname/const;
added prep_ext_merge, nontriv_merge kept internal;
efficient subsig test;


# 0f8c0167 13-Apr-2005 wenzelm <none@none>

*** empty log message ***


# 44953e9d 24-Mar-2005 ballarin <none@none>

Further work on interpretation commands. New command `interpret' for
interpretation in proof contexts.


# 9cc62485 04-Mar-2005 skalberg <none@none>

Removed practically all references to Library.foldr.


# eee46a1e 02-Mar-2005 skalberg <none@none>

Move towards standard functions.


# 3dffd254 13-Feb-2005 skalberg <none@none>

Deleted Library.option type.


# fac6e1f8 22-Jun-2004 wenzelm <none@none>

tuned certify_typ/term;


# f1af62f9 21-Jun-2004 wenzelm <none@none>

tuned certify_term;


# 33b1b845 21-Jun-2004 kleing <none@none>

Merged in license change from Isabelle2004


# 77e1a555 20-Jun-2004 wenzelm <none@none>

avoid premature evaluation of syn_of (wastes time in conjunction with pp);


# 2a87416e 09-Jun-2004 wenzelm <none@none>

added is_logtype (replaces logtypes field of syntax); tuned merge;


# 370e6e99 31-May-2004 wenzelm <none@none>

proper treatment of logical types within syntax;


# 40c81668 29-May-2004 wenzelm <none@none>

improved output; refer to Pretty.pp;


# 838758b7 21-May-2004 wenzelm <none@none>

xxx_typ_raw replace xxx_typ_no_norm forms; prevent duplicate consts declarations in merge; misc cleanup;


# 53e6b773 03-May-2004 schirmer <none@none>

reimplementation of HOL records; only one type is created for
each record extension, instead of one type for each field. See NEWS.


# cefdd6f0 28-Apr-2004 wenzelm <none@none>

warning: non-identifier declaration;


# 82293ecf 22-Apr-2004 wenzelm <none@none>

support for advanced translation functions;


# 278021c6 11-Feb-2004 berghofe <none@none>

Printing functions now use cond_extrn instead of extrn
(due to short_names flag)


# 0b8fc2b5 16-Jan-2002 wenzelm <none@none>

GPLed;


# 7f8da083 21-Dec-2001 wenzelm <none@none>

hide: flag for full/base name;


# 23980f5a 28-Nov-2001 wenzelm <none@none>

Syntax.read_typ: pass intern sort fn;


# d53af547 27-Nov-2001 wenzelm <none@none>

data: removed obsolete finish method;


# 0b0560bd 26-Nov-2001 wenzelm <none@none>

clarified order of merge_lists';


# b47f05d4 24-Nov-2001 wenzelm <none@none>

merge_stamps: merge_lists' with reversed args;


# 37c2ce11 08-Nov-2001 wenzelm <none@none>

theory data: finish method;


# 53514ced 06-Nov-2001 wenzelm <none@none>

added pretty_term', read_typ', read_typ_no_norm', read_def_terms'
which refer to local syntax;


# 6e83f109 11-Oct-2001 wenzelm <none@none>

added certify_tyname;


# 98a383b0 15-Aug-2001 wenzelm <none@none>

support for absolute namespace entry paths;


# 1e41a4a2 18-Jan-2001 wenzelm <none@none>

added exists_stamp;
added PureN, CPureN;


# fc2cd0e8 10-Nov-2000 wenzelm <none@none>

added certify_tycon, certify_tyabbr, certify_const;


# 28797f58 06-Nov-2000 wenzelm <none@none>

added typ_instance;


# af3247a0 02-Aug-2000 wenzelm <none@none>

typ_no_norm;


# 62bd508f 03-Jun-2000 wenzelm <none@none>

fixed Thm.eq_thm: use Sign.joinable;


# b3590d55 22-May-2000 paulson <none@none>

eta-expanded to handle value polymorphism


# bfefa656 21-May-2000 wenzelm <none@none>

removed is_type_abbr;
added certify_class, certify_sort, read_sort;
adapted to inner syntax of sorts;


# 538ecac1 05-May-2000 wenzelm <none@none>

added simple_read_term;


# 2aaf181d 17-Apr-2000 wenzelm <none@none>

made SML/NJ happy;


# 19286d7c 17-Apr-2000 wenzelm <none@none>

name space hide operations;


# d625272c 14-Apr-2000 wenzelm <none@none>

added is_type_abbr;


# 25b28f62 30-Mar-2000 wenzelm <none@none>

read_def_terms (no certify yet);


# 3db87fa3 24-Feb-2000 wenzelm <none@none>

nodup_vars: fixed omission of 2 minor cases; account for Frees as well;


# 5a11c4b9 29-Sep-1999 wenzelm <none@none>

added witness_sorts, univ_witness;
removed nonempty_sort;


# e667c502 23-Jul-1999 wenzelm <none@none>

Type.norm_term;


# 12e5ea9b 10-Jul-1999 wenzelm <none@none>

err_method: pass exn;
nontriv_merge: no handle_error;


# 261e21bc 28-Jun-1999 wenzelm <none@none>

added cond_extern_table;


# 0131d134 30-Apr-1999 wenzelm <none@none>

theory data: copy;


# 7c91dd6d 08-Mar-1999 wenzelm <none@none>

token translation: real;


# f05529ab 03-Feb-1999 wenzelm <none@none>

renamed sig to PRIVATE_SIGN;


# 3a55006f 28-Dec-1998 paulson <none@none>

comments


# 1df7472c 13-Oct-1998 wenzelm <none@none>

PRIVATE sig parts;


# da115809 09-Oct-1998 nipkow <none@none>

Unified treatment of type error msgs.


# a83517dc 09-Oct-1998 nipkow <none@none>

Added a few breaks in error text.


# 4a87c094 22-Jul-1998 wenzelm <none@none>

moved long_names / cond_extern to name_space.ML;


# dbec8c31 05-Jun-1998 wenzelm <none@none>

improved data: secure version using Object.T and Object.kind;


# 9be971c3 25-May-1998 wenzelm <none@none>

certify_term: type_check replaces Term.type_of, providing sensible
error messages;
eliminated mapfilt_atoms (use Term.foldl_aterms);


# 157c5196 20-May-1998 wenzelm <none@none>

added is_stale;


# f55fd8b0 10-May-1998 wenzelm <none@none>

tuned comment;


# f8bd7214 04-May-1998 wenzelm <none@none>

tuned msg;


# 83acfcf0 29-Apr-1998 wenzelm <none@none>

added defaultS: sg -> sort;
added full_name_path: sg -> string -> bstring -> string;
added add_nonterminals: bstring list -> sg -> sg;


# fa18f72a 12-Feb-1998 wenzelm <none@none>

Sign.merge vs. Sign.nontriv_merge;


# bbcea987 11-Feb-1998 wenzelm <none@none>

fixed add_trrules: intern root;


# 9f67252d 14-Jan-1998 wenzelm <none@none>

added of_sort;


# 8fac58aa 28-Dec-1997 wenzelm <none@none>

renamed Symtab.null to Symtab.empty;
renamed Symtan.extend_new to Symtab.extend;
renamed Symtan.DUPLICATE to Symtab.DUP;


# 0837b924 01-Dec-1997 wenzelm <none@none>

tuned trfuns types;


# e04dbfdd 20-Nov-1997 wenzelm <none@none>

improved error msg;


# a654949b 20-Nov-1997 wenzelm <none@none>

removed data.ML (made part of sign.ML);


# d1379ffe 19-Nov-1997 wenzelm <none@none>

exported pretty_classrel, pretty_arity;
added infer_types_simult;
tuned infer_types interface;
moved print_sg to display.ML;


# ae772a48 14-Nov-1997 wenzelm <none@none>

merge_refs: check for different versions of theories;


# 41a47652 13-Nov-1997 wenzelm <none@none>

export read_raw_typ;


# bb125762 05-Nov-1997 wenzelm <none@none>

adapted add_trfunsT;


# 0a8c6f5b 04-Nov-1997 wenzelm <none@none>

type object = exn (enhance readability);


# 2a7651b1 31-Oct-1997 wenzelm <none@none>

*** empty log message ***


# e3b0f015 31-Oct-1997 wenzelm <none@none>

added str_of_sg: sg -> string;
improved error handling of data access;


# 85cecf74 28-Oct-1997 wenzelm <none@none>

add_typ_classes, add_typ_tycons, add_term_classes, add_term_tycons,
add_term_consts, map_typ, map_term: moved from sign.ML to term.ML;


# b79726bd 27-Oct-1997 wenzelm <none@none>

made SML/NJ happy;


# 65caea2b 24-Oct-1997 wenzelm <none@none>

self_ref: check_stale;
moved pure stuff to pure_thy.ML;


# cc252f37 22-Oct-1997 wenzelm <none@none>

hide id, stamps;
added stamp_names_of, name_of;
replaced make_draft by prep_ext;
improved print_sg;
tuned;


# 0c756633 22-Oct-1997 wenzelm <none@none>

certify: check_stale;


# 49b4ce08 21-Oct-1997 wenzelm <none@none>

sg_ref: automatic adjustment of thms of draft theories;


# ae8c5cea 20-Oct-1997 wenzelm <none@none>

tuned types;


# 2c8a710c 20-Oct-1997 wenzelm <none@none>

fixed types of add_XXX;
added base_name;
tuned exports;
tuned output of sg;


# b670752a 16-Oct-1997 wenzelm <none@none>

fixed prep_ext;


# 50d656d3 16-Oct-1997 wenzelm <none@none>

improved pretty_arity;


# ac039bcc 15-Oct-1997 wenzelm <none@none>

make_draft replaced by prep_ext;
improved print_data;
merge now does trivial (absorptive) merges only;
added nontriv_merge;


# 1ede371e 14-Oct-1997 wenzelm <none@none>

added additional generic data;


# c46e5b26 13-Oct-1997 wenzelm <none@none>

fixed extern;
added str_of_classrel, str_of_arity, str_of_arity;


# f7a68f52 12-Oct-1997 wenzelm <none@none>

merge: drops path elements;


# 3df46ec6 09-Oct-1997 wenzelm <none@none>

tuned exports;
tuned add_space;
tuned print_sg;
fixed "op ==>" syntax;


# 72db6e4c 07-Oct-1997 wenzelm <none@none>

improved types of add_XXX funs (xtyp etc.);
tuned comments;
tuned msgs;
improved merge: no longer raises ERROR, but TERM;


# 08bdc92f 06-Oct-1997 wenzelm <none@none>

now supports qualified names (intern vs. extern) !!!
added long_names: bool ref (initially false);
new internal forms: add_classes_i, add_classrel_i, add_defsort_i,
add_arities_i;
rep_sg: added path, spaces;
added pretty_sort (uses proper syntax);
improved print_sg;
eliminated raise_term, raise_typ;


# 03649334 22-Jul-1997 wenzelm <none@none>

tuned error / warning;


# 3421b905 17-Apr-1997 wenzelm <none@none>

improved type check error messages;


# 1feac455 16-Apr-1997 wenzelm <none@none>

renamed subclass to classrel;
tune type checking error msgs;


# 26854014 28-Feb-1997 wenzelm <none@none>

added add_tokentrfuns;


# d42856da 21-Feb-1997 paulson <none@none>

Replaced "flat" by the Basis Library function List.concat


# ee2ba26a 06-Feb-1997 wenzelm <none@none>

adapted to new Syntax.read_typ;


# 6772726d 13-Dec-1996 wenzelm <none@none>

added typed print translations;


# f2a3fb7e 09-Dec-1996 wenzelm <none@none>

add_modesyntax(_i): added 'inout' argument;


# ada4a57c 27-Nov-1996 wenzelm <none@none>

renamed "symbolfont" to "symbols";


# 482c3866 26-Nov-1996 paulson <none@none>

Eta-expansion of a function definition, for value polymorphism


# f260ca2f 19-Nov-1996 wenzelm <none@none>

restored changed prettyprinting of ==>;


# 35151eff 18-Nov-1996 wenzelm <none@none>

added add_modesyntax(_i);
improved syntax of ==, =?=, ==> (now allows "op ...");
added Pure symbolfont syntax;


# b591b7a0 14-Nov-1996 wenzelm <none@none>

removed 'open Syntax Type';


# 49994903 14-Nov-1996 wenzelm <none@none>

subsig tuning;


# c95d2fc2 13-Nov-1996 wenzelm <none@none>

tuned subsig;


# 6d82aabf 13-Nov-1996 paulson <none@none>

Removal of polymorphic equality via mem, subset, eq_set, etc


# 0d6fdc9b 01-Nov-1996 paulson <none@none>

Replaced foldl nodup_TVars by nodup_TVars_list -- for a big speedup on Poly/ML


# f901ffcf 30-Oct-1996 paulson <none@none>

Changed some mem calls to mem_string for greater efficiency (not that it could matter)


# d90502b7 15-Oct-1996 paulson <none@none>

changed prettyprinting of ==>


# 2782e995 25-Jul-1996 paulson <none@none>

Inserted spaces in error messages to improve readability


# a24203a9 18-Jun-1996 paulson <none@none>

Translation infixes <->, etc., no longer available at top-level


# ef87df96 14-Mar-1996 berghofe <none@none>

Added some functions which allow redirection of Isabelle's output


# 79b79e6d 14-Mar-1996 berghofe <none@none>

Added some optimized versions of functions dealing with sets
(i.e. mem, ins, eq_set etc.) which do not use the polymorphic =
operator


# 60deb515 15-Feb-1996 paulson <none@none>

Elimination of fully-functorial style.
Type tactic changed to a type abbrevation (from a datatype).
Constructor tactic and function apply deleted.


# bd144942 13-Feb-1996 nipkow <none@none>

added nodup_Vars check in cterm_of. Prevents same var with distinct types.


# ecb6e3c2 29-Jan-1996 clasohm <none@none>

inserted tabs again


# 385672e0 29-Jan-1996 clasohm <none@none>

removed tabs


# 38740fcd 22-Dec-1995 paulson <none@none>

"prep_const" now calls compress_type to ensure sharing among
types of constants in theories.


# 48804e79 08-Dec-1995 paulson <none@none>

exports exn_type_msg for error messages. Calls new infer_types.
Improved comments.


# 105f781f 01-Sep-1995 clasohm <none@none>

added same_sg and same_thm


# 1f92bd94 01-Sep-1995 wenzelm <none@none>

nonempty_sort: no longer var names as args;


# 5fec86ea 01-Aug-1995 wenzelm <none@none>

added (my own version of) nonempty_sort: sg -> (string * sort) list -> sort
-> bool;


# 3ee6c9e2 31-Jul-1995 nipkow <none@none>

Added nonempty_sort.


# 31a14323 07-Jul-1995 clasohm <none@none>

moved mixfix syntax to Syntax/mixfix.ML


# 86444a51 03-Jul-1995 clasohm <none@none>

added cargs for curried function application


# dc5c9655 26-Jun-1995 wenzelm <none@none>

added add_trrules_i;


# 8401d45d 30-Mar-1995 clasohm <none@none>

changed pretty printing of applC


# 51240701 17-Mar-1995 nipkow <none@none>

Corrected a silly old bug in merge_tsigs.
Rewrote a lot of Nimmermann's code.


# 5f323ce4 14-Mar-1995 clasohm <none@none>

removed print_msg parameter of infer_types


# 8ac915bb 14-Mar-1995 nipkow <none@none>

Removed an old bug which made some simultaneous instantiations fail if they
were given in the "wrong" order.

Rewrote sign/infer_types.

Fixed some comments.


# c4fbfcef 13-Mar-1995 nipkow <none@none>

Changed treatment of during type inference internally generated type
variables.

1. They are renamed to 'a, 'b, 'c etc away from a given set of used names.
2. They are either frozen (turned into TFrees) or left schematic (TVars)
depending on a parameter. In goals they are frozen, for instantiations they
are left schematic.


# 077d12ee 02-Mar-1995 clasohm <none@none>

fixed a bug in infer_types/exn_type_msg


# ac89311a 03-Mar-1995 clasohm <none@none>

added CPure (curried functions) and ProtoPure (ancestor of Pure and CPure)


# bde0f289 17-Feb-1995 clasohm <none@none>

added check "length ts > 1" before printing ambiguity warning in infer_types


# f9ec9273 26-Jan-1995 clasohm <none@none>

moved ambiguity_level to Syntax/syntax.ML


# caaee0ec 25-Jan-1995 clasohm <none@none>

added reference variable ambiguity_level to control ambiguity warnings


# 1173b146 18-Jan-1995 clasohm <none@none>

added optional precedence for body of binder;
removed call to infer_types from read_xrules


# be23ed05 07-Dec-1994 clasohm <none@none>

replaced type_syn by pure_syn in Pure signature


# 4582436e 02-Nov-1994 lcp <none@none>

Pure/sign/infer_types/exn_type_msg: new, for more uniform handling of
exception TYPE


# 1d63784f 04-Oct-1994 clasohm <none@none>

added print_msg;
added call of Type.infer_types to resolve ambiguities


# d1faaab9 26-Sep-1994 wenzelm <none@none>

exported pretty_sort;
various minor internal changes;


# 1de4925f 06-Sep-1994 wenzelm <none@none>

minor internal changes;


# 8c79f4e0 23-Aug-1994 wenzelm <none@none>

removed constant _constrain from Pure sig;


# 0e34e312 19-Aug-1994 wenzelm <none@none>

added pretty_sg;
added infer_types;
removed subclasses arg of add_classes;
removed old 'extend' and related stuff;
various minor internal changes;


# 352d47d7 15-Jun-1994 wenzelm <none@none>

added add_classrel;


# d08950d7 09-Jun-1994 wenzelm <none@none>

workaround bug in Type.expand_typ;


# 294e562e 01-Jun-1994 wenzelm <none@none>

replaced infix also by |>


# fc34b72b 26-May-1994 wenzelm <none@none>

added subsort, norm_sort, classes;
minor internal cleanups;


# 377fe08f 19-May-1994 wenzelm <none@none>

added const_type: sg -> typ option;
stamps now stored in REVERSE order;
now supports 'draft signatures' and incremental extension: is_draft,
add_classes (supports axclasses), add_defsort, add_types, add_tyabbrs,
add_tyabbrs_i, add_arities, add_consts, add_consts_i, add_syntax,
add_syntax_i, add_trfuns, add_trrules, add_name, make_draft;
added const_of_class, class_of_const (for axclasses);
changed the pure signature to support axclasses (added itself, TYPE);
various major internal changes;


# 08de076b 03-Mar-1994 wenzelm <none@none>

fixed misfeature in Sign.extend: types of consts were read wrt. the new syntax;


# 6de6e088 09-Feb-1994 wenzelm <none@none>

*** empty log message ***


# db6b3ec1 08-Feb-1994 wenzelm <none@none>

improved eq_sg;
cosmetical change in print_sg;


# b70e6fe0 03-Feb-1994 wenzelm <none@none>

major cleanup;
added eq_sig;
added print_sg (full contents), pprint_sg (stamps only);
added certify_typ, certify_term;
changed read_typ: result now certified;


# 3d95653e 18-Jan-1994 lcp <none@none>

Pure: MAJOR CHANGE. Moved ML types ctyp and cterm and their associated
functions from sign.ML to thm.ML or drule.ML. This allows the "prop" field
of a theorem to be regarded as a cterm -- avoids expensive calls to
cterm_of.


# 92124c4d 10-Jan-1994 nipkow <none@none>

moved misplaced comment


# 019a5edd 04-Jan-1994 nipkow <none@none>

added fake_cterm_of to speed up rewriting


# 50311af7 30-Dec-1993 nipkow <none@none>

added subsig: sg * sg -> bool to test if one signature is contained in another.


# 4a875979 21-Dec-1993 nipkow <none@none>

Necessary changes to accomodate type abbreviations.


# e212868a 14-Dec-1993 nipkow <none@none>

Updated read_insts to approximate simultaneous type checking of substitution
pairs.


# c0e48a76 30-Nov-1993 wenzelm <none@none>

*** empty log message ***


# 1204f1c3 29-Nov-1993 wenzelm <none@none>

extend: cleaned up, adapted for new Syntax.extend;
extend, merge: improved roots (logical_types) handling;


# 2c01bb67 25-Nov-1993 nipkow <none@none>

changed some names and deleted *NORMALIZED*


# 147d6adf 25-Nov-1993 wenzelm <none@none>

Sign.extend: Syntax.extend now called with read_ty;


# 6f5acbf3 04-Oct-1993 wenzelm <none@none>

Pure/ROOT.ML
cleaned comments;
removed extraneous 'print_depth 1';
replaced Basic_Syntax by BasicSyntax
added 'use "install_pp.ML"';

Pure/README
fixed comments;

Pure/POLY.ML
Pure/NJ.ML
make_pp: added fbrk;

Pure/install_pp.ML
replaced "Ast" by "Syntax";

Pure/sign.ML
added 'quote' to some error msgs;


# f253ef6a 15-Sep-1993 clasohm <none@none>

Initial revision