History log of /seL4-l4v-master/l4v/isabelle/src/Pure/theory.ML
Revision Date Author Comments
# 34ddd120 23-Nov-2019 wenzelm <none@none>

clarified signature;


# 0250919a 22-Oct-2019 wenzelm <none@none>

clarified axiom_table: uniform space (e.g. like consts), e.g. relevant for export of HOL-ex.Join_Theory;


# 7a7f7f7d 04-Jul-2019 wenzelm <none@none>

proper theory naming after join (reset due to merge_data);


# d202b6de 03-Jul-2019 wenzelm <none@none>

support join of anonymous theory nodes, e.g. relevant for parallel theory construction;


# c4564966 09-Mar-2019 wenzelm <none@none>

clarified signature;


# bf527b2e 12-Nov-2018 wenzelm <none@none>

clarified signature;


# 8413f38b 22-Jun-2018 wenzelm <none@none>

clarified document antiquotation @{theory};


# e2c34057 21-Jun-2018 wenzelm <none@none>

clarified signature;


# c3e12091 13-May-2018 wenzelm <none@none>

tuned;


# e695ceb1 09-Jan-2018 wenzelm <none@none>

clarified exception;


# 739725f6 08-Jan-2018 wenzelm <none@none>

clarified implicit Pure.thy;


# 6927418f 18-Apr-2017 wenzelm <none@none>

proper base name, e.g. relevant for Code_Namespace.hierarchical_program;


# 163c835e 07-Nov-2016 wenzelm <none@none>

unused since 15865e0c5598;


# a41e5df2 05-Jul-2016 wenzelm <none@none>

PIDE reports of implicit variable scope;


# ef6d05ac 25-Apr-2016 wenzelm <none@none>

more rigid check of lhs;


# 7455d7eb 24-Apr-2016 wenzelm <none@none>

within a proof body context, undeclared frees are like global constants;
tuned signature;


# 5373dc81 28-Dec-2015 wenzelm <none@none>

suppress irrelevant position reports;


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

tuned signature: eliminated pointless type Context.pretty;


# a152ef96 24-Sep-2015 wenzelm <none@none>

more explicit Defs.context: use proper name spaces as far as possible;


# a0dc69c0 22-Sep-2015 wenzelm <none@none>

tuned signature;


# 8ed115e9 22-Sep-2015 wenzelm <none@none>

eliminated separate type Theory.dep: use typeargs uniformly for consts/types;
Object_Logic.add_judgment more like Theory.specify_const;


# 936b3d6a 22-Sep-2015 wenzelm <none@none>

renamed Defs.node to Defs.item;
clarified type Defs.item;
clarified item_ord for printing;


# 1f7a39eb 22-Sep-2015 wenzelm <none@none>

tuned signature;


# e6c3e275 22-Sep-2015 wenzelm <none@none>

tuned whitespace;


# 13bb5ba7 22-Sep-2015 wenzelm <none@none>

HOL typedef with explicit dependency checks according to Ondrey Kuncar, 07-Jul-2015, 16-Jul-2015, 30-Jul-2015;
defs.ML: track dependencies also for type constructors;
typedef.ML: add type defined by typedef to dependencies, Abs and Rep now depend on the type;
Pure types and typedecls are final -- no dependencies;


# aac03669 28-Aug-2015 wenzelm <none@none>

more abstract theory certificate, which is not necessarily the full theory;


# 02f6d501 16-Aug-2015 wenzelm <none@none>

prefer theory_id operations;
tuned signature;


# 11db7879 16-Apr-2015 wenzelm <none@none>

formal Theory.check, with markup and completion;


# 0182f34e 05-Apr-2015 wenzelm <none@none>

tuned signature;


# 03cbd216 07-Nov-2014 wenzelm <none@none>

eliminated pointless check -- command definitions are subject to theory context;


# d34944b2 14-Oct-2014 wenzelm <none@none>

tuned signature;


# a9672a10 04-Jul-2014 wenzelm <none@none>

insist in explicit overloading;


# 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);


# 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;


# a66c9494 23-Aug-2013 wenzelm <none@none>

added Theory.setup convenience;


# 42e9b2b9 30-Jul-2013 wenzelm <none@none>

type theory is purely value-oriented;


# f9d3edb3 18-Jul-2013 wenzelm <none@none>

immutable theory values with full stamp record of every update (increase of stamp size for HOL: 20000 -> 100000, JinjaThreads: 65000 -> 300000) -- minimal measurable impact on inference kernel performance;


# 95d64a2f 25-Nov-2012 wenzelm <none@none>

Isabelle-specific implementation of quasi-abstract markup elements -- back to module arrangement before d83797ef0d2d;


# c1c16138 26-Aug-2012 wenzelm <none@none>

entity markup for theory Pure, to enable hyperlinks etc.;


# 45aa577d 26-Aug-2012 wenzelm <none@none>

theory def/ref position reports, which enable hyperlinks etc.;
more official header command parsing;


# 63bcf269 01-Aug-2012 wenzelm <none@none>

more standard bootstrapping of Pure.thy;


# 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;


# 4ab3a40b 16-Mar-2012 wenzelm <none@none>

eliminated odd 'finalconsts' / Theory.add_finals;


# 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;


# 5396d34e 07-Sep-2011 wenzelm <none@none>

explicit join_syntax ensures command transaction integrity of 'theory';


# fa8535c2 20-Apr-2011 wenzelm <none@none>

added Theory.nodes_of convenience;


# 6fdcf883 18-Apr-2011 wenzelm <none@none>

recovered Theory.check_def: full name needs to be determined from background thy, not auxiliary ctxt (broken in 774df7c59508, caused Nitpick.all_axioms_of to produce bad results);


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

pass plain Proof.context for pretty printing;


# 0b5b7fb9 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;


# 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;


# 9c834306 20-Mar-2011 wenzelm <none@none>

tuned;


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

turned show_sorts/show_types into proper configuration options;


# 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;


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

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


# 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;


# 49c092f3 27-Mar-2010 wenzelm <none@none>

disallow sort constraints in primitive Theory.add_axiom/add_def -- handled in Thm.add_axiom/add_def;


# 330ecb2e 27-Mar-2010 wenzelm <none@none>

moved Drule.forall_intr_frees to Thm.forall_intr_frees (in more_thm.ML, which is loaded before pure_thy.ML);
discontinued old-style Theory.add_defs(_i) in favour of more basic Theory.add_def;
modernized PureThy.add_defs etc. -- refer to high-level Thm.add_def;


# 15ec9fdf 21-Mar-2010 wenzelm <none@none>

replaced Theory.add_axioms(_i) by more primitive Theory.add_axiom;


# 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;


# 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


# df29f8bc 15-Nov-2009 wenzelm <none@none>

primitive defs: clarified def (axiom name) vs. description;


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

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


# 778448d6 25-Oct-2009 wenzelm <none@none>

begin_theory: set theory_name here;


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

make SML/NJ happy;


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

maintain explicit name space kind;
export Name_Space.the_entry;
tuned messages;


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

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


# 4b3225d2 24-Oct-2009 wenzelm <none@none>

eliminated separate stamp -- NameSpace.define/merge etc. ensure uniqueness already;


# b2816004 17-Oct-2009 wenzelm <none@none>

indicate CRITICAL nature of various setmp combinators;


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

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


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

renamed NameSpace.bind to NameSpace.define;


# 9ecd6ff9 06-Mar-2009 wenzelm <none@none>

Theory.add_axioms/add_defs: replaced old bstring by binding;


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

Merge.


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

Binding.str_of;


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

removed Ids;


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

binding is alias for Binding.T


# a0ae25ff 13-Dec-2008 wenzelm <none@none>

requires: check ancestors directly;


# 24cf99d3 05-Dec-2008 haftmann <none@none>

removed Table.extend, NameSpace.extend_table


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

cleaned up binding module and related code


# 9f686374 18-Sep-2008 wenzelm <none@none>

simplified oracle interface;


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

simplified specify_const: canonical args, global deps;


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

type Properties.T;


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

moved global pretty/string_of functions from Sign to Syntax;


# 5a39a0cf 15-Apr-2008 wenzelm <none@none>

removed obsolete SIGN_THEORY -- no name aliases in structure Theory;
removed obsolete BASIC_THEORY;


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

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


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

apply_wrappers: perhaps_apply/loop;


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

Theory.specify_const: added deps argument;


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

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


# add5854b 11-Oct-2007 wenzelm <none@none>

added specify_const;


# 26e8d482 29-Sep-2007 wenzelm <none@none>

Sign.the_const_constraint;


# 6645f76d 25-Sep-2007 wenzelm <none@none>

Syntax.parse/check/read;
no export of read/cert_axm;


# 4ed88a8b 20-Sep-2007 wenzelm <none@none>

tuned signature;
moved generic interpretation to interpretation.ML;
added abstract at_begin/end wrappers;


# ec4fd782 17-Sep-2007 haftmann <none@none>

introduced generic concepts for theory interpretators


# 59596441 09-Aug-2007 haftmann <none@none>

new access interface in defs.ML


# 2b54826d 03-Aug-2007 wenzelm <none@none>

replaced Theory.self_ref by Theory.check_thy, which now produces a checked ref;


# 5110e11c 08-Jul-2007 wenzelm <none@none>

replaced exception TableFun/GraphFun.DUPS by TableFun/GraphFun.DUP;


# 1cf9ffff 05-Jul-2007 wenzelm <none@none>

removed comments -- no exception TERM;
merge_list: exception THEORY;


# 99be5308 24-May-2007 haftmann <none@none>

tuned Pure/General/name_space.ML


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

simplified DataFun interfaces;


# 92f45473 15-Apr-2007 wenzelm <none@none>

removed obsolete inferT_axm;


# 21c93742 14-Apr-2007 wenzelm <none@none>

simplified read_axm;


# 6348a63e 14-Apr-2007 wenzelm <none@none>

tuned signature;
added axiom_table, oracle_table;
removed unused read_def_axm;


# a2544159 04-Apr-2007 wenzelm <none@none>

removed unused dep_graph;


# 7818c69c 03-Apr-2007 wenzelm <none@none>

removed obsolete sign_of/sign_of_thm;


# b0e9cd7f 20-Mar-2007 haftmann <none@none>

added theory dependency graph


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

advanced translation functions: Proof.context;


# dc4c898e 30-Nov-2006 wenzelm <none@none>

added merge_list;


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

removed type aliases for theory/theory_ref;


# ed46ec46 17-Aug-2006 haftmann <none@none>

dropped definitions_of


# 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;


# e5bbf364 25-May-2006 wenzelm <none@none>

tuned;


# e86895d4 23-May-2006 wenzelm <none@none>

added add_deps, which actually records dependencies of consts (unlike add_finals);
tuned;


# 1c67f5a4 22-May-2006 wenzelm <none@none>

Defs.specifications_of: lhs/rhs now use typargs;


# a177c074 20-May-2006 wenzelm <none@none>

tuned Defs interfaces;


# d04ad5b3 12-May-2006 wenzelm <none@none>

Theory.add_defs(_i): added unchecked flag;


# f23476b7 11-May-2006 wenzelm <none@none>

tuned Defs.merge;


# 950adedd 08-May-2006 wenzelm <none@none>

Defs.define: const_typargs;


# 1a7b8364 05-May-2006 wenzelm <none@none>

added definitions_of;


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

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


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

tuned;


# 27f4aae5 25-Feb-2006 haftmann <none@none>

added more detailed data to consts


# df4ba785 07-Feb-2006 wenzelm <none@none>

adapted Sign.infer_types(_simult), Sign.certify_term/prop;


# 8687ad73 06-Feb-2006 wenzelm <none@none>

moved no_vars to sign.ML;
removed dest_def (cf. Sign.cert_def);


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

advanced translations: Context.generic;


# 0f0f70eb 23-Jan-2006 wenzelm <none@none>

add_finals: prep_consts, i.e. varify type;


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

sane ERROR handling;


# eab959e0 02-Dec-2005 wenzelm <none@none>

defs: beta/eta contract lhs;


# 22e26197 09-Nov-2005 wenzelm <none@none>

tuned;


# dc5680e7 28-Sep-2005 wenzelm <none@none>

back to simple 'defs' (cf. revision 1.79);
prep_const: Compress.type;


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

slight adaptions to library changes


# 28bddb00 09-Aug-2005 haftmann <none@none>

exported dest_def


# 0838c364 01-Aug-2005 wenzelm <none@none>

Compress.term;


# fa2a699b 28-Jul-2005 wenzelm <none@none>

check_overloading replaces datatype overloading;
tuned;


# 41d5c564 19-Jul-2005 wenzelm <none@none>

tuned defs interface;


# 5d75a0aa 13-Jul-2005 wenzelm <none@none>

tuned;


# d63876a4 07-Jul-2005 obua <none@none>

1) all theorems in Orderings can now be given as a parameter
2) new function Theory.defs_of
3) new functions Defs.overloading_info and Defs.is_overloaded


# e707dd0c 29-Jun-2005 wenzelm <none@none>

Syntax.read thy;


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

renamed init to init_data;


# 671a97c7 20-Jun-2005 wenzelm <none@none>

added begin_theory, end_theory;


# 9128baf8 17-Jun-2005 wenzelm <none@none>

type theory, theory_ref, exception THEORY and related operations imported from Context;
actual theory content declared as theory data;
removed syn_of;
import theory operations in SIGN_THEORY from Sign;
tuned;


# 81ca1c1f 11-Jun-2005 wenzelm <none@none>

renamed hide_classes/types/consts to hide_XXX_i;
added separate hide_classes/types/consts;
refer to name spaces values instead of names;


# 139ebfcf 08-Jun-2005 wenzelm <none@none>

axioms and oracles: NameSpace.table;
added axioms_of, all_axioms_of;


# 91520012 07-Jun-2005 obua <none@none>

A flag DEFS_CHAIN_HISTORY can be used to improve the error message
in case a cycle has been detected. If it is switched off and a cycle has been
detected, the user is notified that there is such a flag.


# 6ca1e689 05-Jun-2005 wenzelm <none@none>

renamed const_deps to defs;
improved error messages;
major cleanup -- removed quite a bit of dead code;


# 69568f19 02-Jun-2005 obua <none@none>

Integrates cycle detection in definitions with finalconsts


# bda85c9b 02-Jun-2005 wenzelm <none@none>

Sign.restore_naming;
err_in_defn: do not apply Sign.full_name again;
tuned;


# bd3fd0a2 31-May-2005 obua <none@none>

Removed final_consts from theory data. Now const_deps deals with final
constants.


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

added qualified_names, no_base_names, custom_accesses, set_policy, restore_naming;
tuned;


# 6eda67d7 30-May-2005 obua <none@none>

Infinite chains in definitions are now detected, too.


# 696999ac 28-May-2005 obua <none@none>

Implement cycle-free overloading, so that definitions cannot harm consistency any more (except of course via interaction with axioms).


# 828083b0 16-Apr-2005 wenzelm <none@none>

added del_modesyntax(_i);


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

*** MESSAGE REFERS TO PREVIOUS VERSION ***
Sign.prep_ext_merge;


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

*** empty log message ***


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

Move towards standard functions.


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

Deleted Library.option type.


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

Merged in license change from Isabelle2004


# f8f110a7 09-Jun-2004 wenzelm <none@none>

Sign.is_logtype;


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

improved output; refer to Pretty.pp;


# 9f542b90 21-May-2004 wenzelm <none@none>

Type.strip_sorts;


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

support for advanced translation functions;


# 8c9b5354 09-Oct-2003 skalberg <none@none>

Added support for making constants final, that is, ensuring that no
definition can be given later (useful for constants whose behaviour is
fixed axiomatically rather than definitionally).


# 02be5b24 23-Sep-2003 skalberg <none@none>

Fixed soundness bug.


# f0c3804e 04-Sep-2003 berghofe <none@none>

Changed no_vars such that it outputs list of illegal schematic variables.


# 597e5ada 14-Oct-2002 nipkow <none@none>

Ported find_intro/elim to Isar.


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

GPLed;


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

hide: flag for full/base name;


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

theory data: removed obsolete finish method;


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

theory data: finish method;


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

support for absolute namespace entry paths;


# 814123c8 18-Jan-2001 wenzelm <none@none>

Sign.exists_stamp;


# edbe5371 18-Nov-2000 wenzelm <none@none>

improved messages;


# 1c4a76fd 06-Nov-2000 wenzelm <none@none>

Sign.typ_instance;


# 3396e169 17-Aug-2000 wenzelm <none@none>

tuned error handling;


# 1b575cbe 04-Aug-2000 wenzelm <none@none>

axioms: Term.no_dummy_patterns;


# a2fbc998 13-Jul-2000 wenzelm <none@none>

tuned cycle_msg;


# 7f47c4df 13-Jul-2000 wenzelm <none@none>

const_deps: unit Graph.T;
proper merge of const_deps;
tuned;


# 546eaaef 08-Jul-2000 nipkow <none@none>

Defs are now checked for circularity (if not overloaded).


# 2b25b0f2 07-Jul-2000 nipkow <none@none>

Tightened up check of types in constant defs.


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

adapted to inner syntax of sorts;


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

name space hide operations;


# 527918e1 12-Jul-1999 wenzelm <none@none>

removed merge_theories;


# 6c962f0f 17-May-1999 wenzelm <none@none>

prep_ext exported (again);


# f180c824 04-May-1999 wenzelm <none@none>

hide prep_ext, merge_theories;


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

theory data: copy;


# f8053a32 17-Mar-1999 wenzelm <none@none>

added assert_super;


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

token translation: real;


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

added is_draft;
renamed sig to PRIVATE_THEORY;


# 15a15aac 17-Nov-1998 wenzelm <none@none>

Theory.apply replaced by Library.apply;


# bb3b594c 14-Nov-1998 wenzelm <none@none>

val copy: theory -> theory;


# 7995d8b2 09-Nov-1998 wenzelm <none@none>

removed local_theory;


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

PRIVATE sig parts;


# a0a62c52 20-Jun-1998 wenzelm <none@none>

added read_def_axm;


# 124b5077 09-Jun-1998 wenzelm <none@none>

tuned comments;


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

use Object.T and Object.kind;
added print_data;
improved get_data, put_data: more abstract;
add_axioms(_i), add_oracle: made atomic transactions;


# 8c24d79d 28-May-1998 wenzelm <none@none>

fixed error msgs;


# 1612e198 26-May-1998 paulson <none@none>

Changed require to requires for MLWorks


# b50ae020 12-May-1998 wenzelm <none@none>

fixed comment;


# 264e36f5 29-Apr-1998 wenzelm <none@none>

renamed setup to apply;
added add_nonterminals: bstring list -> theory -> theory;
added parent_path: theory -> theory;
added root_path: theory -> theory;
added require: theory -> string -> string -> unit (from section_utils.ML);


# 23539ff2 04-Apr-1998 wenzelm <none@none>

added local_theory (for Isar);
added setup;


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

Sign.merge vs. Sign.nontriv_merge;


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

tuned add_trrules;


# 84495581 28-Dec-1997 wenzelm <none@none>

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


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

tuned trfuns types;


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

init_data: improved print method;


# 9eca2250 19-Nov-1997 wenzelm <none@none>

tuned infer_types interface;


# 604ad272 05-Nov-1997 wenzelm <none@none>

adapted add_trfunsT;
defs: admit TYPE arguments;


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

type object = exn (enhance readability);


# 4342c888 30-Oct-1997 wenzelm <none@none>

tuned init_data;


# 31e36692 28-Oct-1997 wenzelm <none@none>

added ancestors;


# 7fea0183 24-Oct-1997 wenzelm <none@none>

tuned names;
tuned prep_ext_merge;


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

tuned;


# 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;


# 41bfda0e 20-Oct-1997 wenzelm <none@none>

fixed types of add_XXX;


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

added merge_theories (new name arg);


# 4d79b22a 15-Oct-1997 wenzelm <none@none>

remove merge_theories;
merge_list: always prepares extend -- no longer supports aliasing merges;


# fcc00c2b 14-Oct-1997 wenzelm <none@none>

added init_data, get_data, put_data;


# 1bf0bf6e 09-Oct-1997 wenzelm <none@none>

improved oracles: named, many per theory;
name spaces: thmK, oracleK;


# 7e8342d1 07-Oct-1997 wenzelm <none@none>

improved types of add_XXX funs (xtyp etc.);


# ef91212a 06-Oct-1997 wenzelm <none@none>

new internal forms: add_classes_i, add_classrel_i, add_defsort_i, add_arities_i
added add_path, add_space;
eliminated raise_term;


# 07717276 01-Oct-1997 wenzelm <none@none>

moved theory stuff (add_defs etc.) here from drule.ML;
only BasicTheory opened;


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

improved type check error messages;


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

added add_tokentrfuns;


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

added typed print translations;


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

add_modesyntax(_i): added 'inout' argument;


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

added add_modesyntax(_i);


# 961130fb 06-Sep-1996 paulson <none@none>

Improved error handling: if there are syntax or type-checking
errors, prints the name of the offending axiom


# a4820292 05-Mar-1996 paulson <none@none>

Addition of oracles


# b9781756 29-Feb-1996 paulson <none@none>

New file of just the theory primitives