History log of /seL4-l4v-master/l4v/isabelle/src/Pure/variable.ML
Revision Date Author Comments
# 68f91902 19-Dec-2019 wenzelm <none@none>

more robust bound_fixes: external name does appear in "fixes" name space and could clash with direct fixes (e.g. via Subgoal.FOCUS within a global context);


# 54844947 19-Dec-2019 wenzelm <none@none>

tuned signature;


# 06c84f7f 12-Oct-2019 wenzelm <none@none>

more compact XML: separate environment for free variables;
clarified fold_proof_terms vs. fold_proof_terms_types;


# 146b9b9b 19-Sep-2019 wenzelm <none@none>

clarified modules;


# 438cc573 20-Aug-2019 wenzelm <none@none>

clarified signature;


# 71d7ea19 03-Jun-2019 wenzelm <none@none>

more structural integrity;


# 4bad625f 03-Jun-2019 wenzelm <none@none>

clarified signature;


# 42f4539f 03-Jun-2019 wenzelm <none@none>

tuned signature;


# 489a9da5 03-Jan-2019 wenzelm <none@none>

tuned signature;


# 0e5c06bc 03-Jan-2019 wenzelm <none@none>

clarified signature: more types;


# 1e698ab2 25-Feb-2018 wenzelm <none@none>

eliminated ASCII syntax from Pure bootstrap;
tuned comments;


# 401e509b 13-Dec-2016 wenzelm <none@none>

more symbols;


# b16b8884 14-Apr-2016 wenzelm <none@none>

highlighting of entity def/ref positions wrt. cursor;


# 13da8692 11-Apr-2016 wenzelm <none@none>

back to dummy constraints (amending dd2914250ca7): important for Syntax_Phases.get_free/is_declared;


# 2642ed66 30-Mar-2016 wenzelm <none@none>

more accurate mixfix type constraints;


# 4420679b 31-Dec-2015 wenzelm <none@none>

more precise context -- potentially relevant for Eisbach dummy thm;


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

suppress irrelevant position reports;


# af5941d2 23-Dec-2015 wenzelm <none@none>

clarified context policy to allow multiple dummies;


# 82b464e3 23-Oct-2015 wenzelm <none@none>

clarified modules;
tuned signature;


# 97a96df0 28-Jul-2015 wenzelm <none@none>

clarified Variable.gen_all;
simplified Local_Defs.export: pointless partial application;


# 4125d2fe 28-Jul-2015 wenzelm <none@none>

more explicit context;


# c2232610 27-Jul-2015 wenzelm <none@none>

tuned signature;
clarified context;


# 1b5f9155 09-Jul-2015 wenzelm <none@none>

SUBPROOF and Subgoal.FOCUS combinators use anonymous quasi-bound variables (like the Simplifier);


# 99c7a9c0 08-Jul-2015 wenzelm <none@none>

Variable.focus etc.: optional bindings provided by user;
Subgoal.focus command: more careful treatment of user-provided bindings;


# 9a9cf694 05-Jul-2015 wenzelm <none@none>

simplified Thm.instantiate and derivatives: the LHS refers to non-certified variables -- this merely serves as index into already certified structures (or is ignored);


# e70eab41 09-Jun-2015 wenzelm <none@none>

clarified term bindings;


# c431d096 03-Jun-2015 wenzelm <none@none>

clarified context;


# 70c854b1 31-Mar-2015 wenzelm <none@none>

tuned signature;


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

tuned signature;


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

tuned signature;


# 7c977ae3 28-Mar-2015 wenzelm <none@none>

prefer Variable.focus, despite subtle differences of Logic.strip_params vs. Term.strip_all_vars;


# c9435ca0 24-Mar-2015 wenzelm <none@none>

tuned;


# 23411240 24-Mar-2015 wenzelm <none@none>

admit dummy patterns in instantiations;
clarified context;


# 1b05692e 23-Mar-2015 wenzelm <none@none>

implicit goal parameters are improper;


# 40653479 07-Mar-2015 wenzelm <none@none>

added declare_maxidx operations for Eisbach;


# 6443d61e 06-Mar-2015 wenzelm <none@none>

clarified Variable.export: observe maxidx of target context;


# e7b7ba43 06-Mar-2015 wenzelm <none@none>

clarified context;


# 740a17d4 06-Mar-2015 wenzelm <none@none>

Thm.cterm_of and Thm.ctyp_of operate on local context;


# 04cfe663 05-Mar-2015 wenzelm <none@none>

tuned -- more explicit use of context;


# d9f56b32 21-Dec-2014 wenzelm <none@none>

tuned signature;


# 2c211c06 18-Dec-2014 wenzelm <none@none>

tuned;


# 13ddea91 26-Nov-2014 wenzelm <none@none>

renamed "pairself" to "apply2", in accordance to @{apply 2};


# 9e6897eb 13-Oct-2014 wenzelm <none@none>

tuned signature;


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


# e8872587 06-Mar-2014 wenzelm <none@none>

tuned signature;


# c95192c8 20-Feb-2014 wenzelm <none@none>

tuned signature;
tuned message;


# 523268e2 15-Jan-2014 wenzelm <none@none>

general notion of auxiliary bounds within context;
revert_bounds as part of regular unparse_term;
avoid special variants of Syntax.string_of_term in Simplifier (e.g. relevant for add-on tracing);


# 116fd647 13-Dec-2013 wenzelm <none@none>

maintain morphism names for diagnostic purposes;


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

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


# 7e5ab87e 03-Oct-2012 wenzelm <none@none>

tuned;


# ee6246cd 03-Oct-2012 wenzelm <none@none>

allow position constraints to coexist with 0 or 1 sort constraints;
more position information in sorting error;
report sorting of all type variables;


# e3f35e4e 01-Oct-2012 wenzelm <none@none>

report sort assignment of visible type variables;


# 3db84645 19-Mar-2012 wenzelm <none@none>

clarified Binding.name_of vs Name_Space.base_name vs Variable.check_name (see also 9bd8d4addd6e, 3305f573294e);


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


# 836632a0 11-Mar-2012 wenzelm <none@none>

more direct Name_Space.defined_entry;
tuned Variable.export_inst: avoid keeping full contexts within the gen_fixesT closure (NB: locale infrastructure stores morphisms persistently);


# 0d27b506 15-Feb-2012 wenzelm <none@none>

renamed Thm.capply to Thm.apply, and Thm.cabs to Thm.lambda in conformance with similar operations in structure Term and Logic;


# 99fd6f8e 28-Nov-2011 wenzelm <none@none>

separate module for concrete Isabelle markup;

--HG--
rename : src/Pure/General/markup.ML => src/Pure/General/isabelle_markup.ML
rename : src/Pure/General/markup.scala => src/Pure/General/isabelle_markup.scala


# 084f0148 27-Nov-2011 wenzelm <none@none>

tuned;


# e860a412 12-Nov-2011 wenzelm <none@none>

tuned markup -- prefer user-perspective;


# 6f4f2f15 11-Nov-2011 wenzelm <none@none>

discontinued entity text color, notably historic red for classes;
tuned entity names;


# 521d629d 09-Nov-2011 wenzelm <none@none>

tuned;


# 3ab1a3ed 07-Nov-2011 wenzelm <none@none>

tuned;


# 4bc0a98d 28-Oct-2011 wenzelm <none@none>

slightly more explicit/syntactic modelling of morphisms;


# 61cba053 12-Jul-2011 wenzelm <none@none>

more thorough Variable.check_name: Binding.check for logical entities within the term language;


# b6f9ad57 09-Jun-2011 wenzelm <none@none>

tuned signature: Name.invent and Name.invent_names;


# 1a5a42ee 09-Jun-2011 wenzelm <none@none>

simplified Name.variant -- discontinued builtin fold_map;


# 48faef5e 27-Apr-2011 wenzelm <none@none>

clarified Variable.focus vs. Variable.focus_cterm -- eliminated clone;


# 2081297b 27-Apr-2011 wenzelm <none@none>

tuned signature -- eliminated odd comment;


# 3c548253 27-Apr-2011 wenzelm <none@none>

more informative markup for fixed variables (via name space entry);
uniform markup for undeclared entities;
tuned;


# f176da4e 27-Apr-2011 wenzelm <none@none>

reorganized fixes as specialized (global) name space;


# ac81f327 27-Apr-2011 wenzelm <none@none>

more uniform Variable.add_frees/add_fixed etc.;


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

modernized structure Proof_Context;


# 6052557e 15-Apr-2011 wenzelm <none@none>

tuned signature, disentangled dependencies;


# 5743c6b5 25-Oct-2010 wenzelm <none@none>

recovered some odd two-dimensional layout;


# 86bc1118 24-Sep-2010 wenzelm <none@none>

modernized structure Ord_List;


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


# 67ca0a09 27-Aug-2010 wenzelm <none@none>

more careful treatment of context visibility flag wrt. spurious warnings;


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

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


# 2f4d80c9 03-May-2010 wenzelm <none@none>

simplified/unified fundamental operations on types/terms/proofterms -- prefer Same.operation over "option" variant;


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

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


# 9430482e 30-Apr-2010 wenzelm <none@none>

renamed Variable.thm_context to Variable.global_thm_context to emphasize that this is not the real thing;


# 02c48bf5 25-Nov-2009 haftmann <none@none>

normalized uncurry take/drop

--HG--
extra : rebase_source : 647c8b5a6641f0eef6d4d81646474d16388f9fb9


# e3772a5e 24-Nov-2009 haftmann <none@none>

curried take/drop

--HG--
extra : rebase_source : 6e6b508d936640bef00f0ad0c4fb089ad5253ef0


# dfa769e1 08-Nov-2009 wenzelm <none@none>

adapted Generic_Data, Proof_Data;
tuned;


# 8eb709ab 20-Oct-2009 haftmann <none@none>

curried inter as canonical list operation (beware of argument order)


# 8de45ab6 21-Oct-2009 haftmann <none@none>

dropped redundant gen_ prefix


# 68478f6d 20-Oct-2009 haftmann <none@none>

replaced old_style infixes eq_set, subset, union, inter and variants by generic versions


# 2f14c9ed 30-Sep-2009 wenzelm <none@none>

eliminated redundant bindings;


# 2765944b 29-Jul-2009 wenzelm <none@none>

Variable.importT/import: return full instantiations, tuned;


# 2f400cf0 26-Jul-2009 wenzelm <none@none>

Variable.focus: named parameters;


# 196435a0 09-Jul-2009 wenzelm <none@none>

renamed structure TermSubst to Term_Subst;


# b5762232 24-Jun-2009 wenzelm <none@none>

renamed Variable.import_thms to Variable.import (back again cf. ed7aa5a350ef -- Alice is no longer supported);
renamed Variable.importT_thms to Variable.importT (again);


# d6e0447f 28-Mar-2009 wenzelm <none@none>

replaced add_binds by singleton bind_term;


# a6048cae 21-Jan-2009 wenzelm <none@none>

eliminated obsolete var morphism;


# ce4f3dd2 31-Dec-2008 wenzelm <none@none>

Term.declare_typ_names, Term.declare_term_frees;


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

cleaned up binding module and related code


# 8da32ce7 16-Oct-2008 wenzelm <none@none>

maintain sort occurrences of declared terms;


# 25bf0ea5 19-Jun-2008 wenzelm <none@none>

added declare_typ;


# f4b4d5ff 10-Jun-2008 wenzelm <none@none>

focus: actually declare constraints for local parameters;


# 8344a46d 17-Apr-2008 wenzelm <none@none>

variant_fixes: preserve internal state, mark skolem only for body mode;
import_inst: actually observe is_open flag (cf. variant_fixes);


# d1570417 07-Dec-2007 haftmann <none@none>

exported declare_names


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

refined notion of consts within the local scope;


# c4be6f38 06-Nov-2007 wenzelm <none@none>

added is_const/declare_const for local scope of fixes/consts;


# 49db65af 16-Oct-2007 wenzelm <none@none>

add_bind: close_schematic_term;


# 0e30ca26 04-Oct-2007 wenzelm <none@none>

replaced literal 'a by Name.aT;


# 4361fb3b 29-Sep-2007 wenzelm <none@none>

maintain maxidx (analogous to name context);
polymorhic: observe Variable.maxidx_of;


# 2c6ee64f 26-Sep-2007 wenzelm <none@none>

declare_constraints: declare (fix) type variables within constraints, but not terms themselves;


# 17a12da9 24-Sep-2007 wenzelm <none@none>

added polymorphic_types;


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

simplified DataFun interfaces;


# bb99d3e4 15-Apr-2007 wenzelm <none@none>

removed obsolete redeclare_skolems;


# 7b89714a 15-Apr-2007 wenzelm <none@none>

Thm.fold_terms;


# b8bee5c5 13-Apr-2007 wenzelm <none@none>

tuned signature;
export: precomputed closure, no reference to contexts;


# 76bc6a66 04-Apr-2007 wenzelm <none@none>

renamed Variable.importT to importT_thms;


# 857a42e5 03-Apr-2007 wenzelm <none@none>

renamed Variable.import to import_thms (avoid clash with Alice keywords);


# 65525329 12-Dec-2006 wenzelm <none@none>

tuned expand_binds;


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

moved hidden_polymorphism to term.ML;


# 5873bb96 27-Nov-2006 wenzelm <none@none>

added add_fixed;


# 45904d02 24-Nov-2006 wenzelm <none@none>

added export_morphism;
ProofContext.init;


# fab98199 14-Nov-2006 wenzelm <none@none>

removed fix_frees interface;
added auto_fixes (depends on body mode);


# 1cb5179b 13-Nov-2006 wenzelm <none@none>

declare_constraints: reset constraint on dummyS;


# 5d18dff8 10-Nov-2006 wenzelm <none@none>

tuned Variable.trade;


# 18a47747 30-Sep-2006 wenzelm <none@none>

renamed Variable.invent_fixes to Variable.variant_fixes;


# d46b0346 18-Sep-2006 wenzelm <none@none>

Thm.dest_arg;


# b6b974b5 11-Sep-2006 wenzelm <none@none>

moved term subst functions to TermSubst;


# 0dee4968 02-Aug-2006 wenzelm <none@none>

normalized Proof.context/method type aliases;
added declare/export/import_prf;
added focus_subgoal: reset/declare goal schematics;


# e5fc61f8 30-Jul-2006 wenzelm <none@none>

export: refrain from adjusting maxidx;


# 620d6b4b 28-Jul-2006 wenzelm <none@none>

added add_fixes_direct;
tuned;


# dde3904b 27-Jul-2006 wenzelm <none@none>

added fix_frees (from Isar/proof_context.ML);


# 732c5b2a 26-Jul-2006 wenzelm <none@none>

import(T): result includes fixed types/terms;
focus: tuned interface;


# eaeb0032 25-Jul-2006 wenzelm <none@none>

tuned;


# 044327db 18-Jul-2006 wenzelm <none@none>

reorganize declarations (more efficient);
renamed rename_wrt to variant_frees (avoid confusion with Term.rename_wrt_term, which reverses the result);
tuned;


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

added newly_fixed, focus;
removed monomorphic;
tuned;


# d5569e35 13-Jul-2006 wenzelm <none@none>

Name.context already declares empty names;
tune ins_sorts -- sort assigments should never change later;


# 8bc4b554 11-Jul-2006 wenzelm <none@none>

separate names filed (covers fixes/defaults);


# bcd5a7e4 10-Jul-2006 wenzelm <none@none>

maintain Name.context for fixes/defaults;
more efficient inventing/renaming of local names (cf. name.ML);


# 76de19b5 04-Jul-2006 wenzelm <none@none>

polymorphic: always generalize wrt. used_types;


# 84bd37a9 19-Jun-2006 wenzelm <none@none>

added declare_thm, thm_context;
added trade(T);


# 42b415b3 17-Jun-2006 wenzelm <none@none>

major reworking of export functionality -- based on Term/Thm.generalize;
tuned interfaces;


# f3854e4c 15-Jun-2006 wenzelm <none@none>

Fixed type/term variables and polymorphic term abbreviations.