History log of /seL4-l4v-master/l4v/isabelle/src/Tools/Code/code_preproc.ML
Revision Date Author Comments
# a4bab154 04-Jan-2019 wenzelm <none@none>

isabelle update -u control_cartouches;


# a7e8d75a 04-Aug-2017 haftmann <none@none>

compactified output


# c877fea7 11-Feb-2017 haftmann <none@none>

implicit eta contraction for preprocessed terms avoids unintended implicit eta expansion


# e1b5cf61 26-May-2016 haftmann <none@none>

optional timing for code generator conversions


# f1e6947d 26-May-2016 haftmann <none@none>

corrected closure scope of static_conv_thingol;
clarified implementation and names


# 10135f7d 26-May-2016 haftmann <none@none>

clarified naming conventions and code for code evaluation sandwiches


# e409d817 09-May-2016 wenzelm <none@none>

clarified context, notably for internal use of Simplifier;


# 56f8495e 08-Mar-2016 haftmann <none@none>

provide explicit hint concering uniqueness of derivation


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

tuned signature: eliminated pointless type Context.pretty;


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

tuned signature;
clarified context;


# 4e1bdd2c 08-Jul-2015 wenzelm <none@none>

clarified context;


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

clarified context;


# 3a3f0be1 16-Apr-2015 wenzelm <none@none>

discontinued pointless warnings: commands are only defined inside a theory context;


# 4aa541f4 06-Apr-2015 wenzelm <none@none>

@{command_spec} is superseded by @{command_keyword};


# 94e11df0 03-Apr-2015 wenzelm <none@none>

more uniform "verbose" option to print name space;


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

proper local Proof_Context.arity_sorts;


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


# 34035ccd 04-Mar-2015 wenzelm <none@none>

tuned signature -- prefer qualified names;


# 0285f5b6 09-Jan-2015 haftmann <none@none>

modernized and more uniform style


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

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


# 7ee8e540 03-Nov-2014 wenzelm <none@none>

eliminated unused int_only flag (see also c12484a27367);
just proper commands;


# 8fc59368 28-Jun-2014 haftmann <none@none>

tracing facilities for the code generator preprocessor


# 552266c9 28-Jun-2014 haftmann <none@none>

tuned interface


# 17eebe24 15-May-2014 haftmann <none@none>

clarified stylized status of sandwich algebra

--HG--
extra : rebase_source : 95023f17add42eb344e0a81a0dbeec7af5fde126


# 7bb811e1 15-May-2014 haftmann <none@none>

syntactic means to prevent accidental mixup of static and dynamic context

--HG--
extra : rebase_source : 5713560aaa0dd320d68157ba353db0f597594d25


# 7a79156c 15-May-2014 haftmann <none@none>

optimization for trivial cases

--HG--
extra : rebase_source : 635e80ef7875b039ddcf0a35f1394b724aaf8528


# 51c21fa4 15-May-2014 haftmann <none@none>

modernized setup

--HG--
extra : rebase_source : 0cfd0b870c7052c56cc8d7db236a939f1f1f7762


# 6c2ce917 15-May-2014 haftmann <none@none>

unified approach toward conversions and simple term rewriting in preprocessor by means of sandwiches

--HG--
extra : rebase_source : 7600b4f199b25f6cc02bee69f39743acd6c4e3bb


# 177a3ee3 15-May-2014 haftmann <none@none>

normalize type variables of evaluation term by conversion

--HG--
extra : rebase_source : 23265651fbca087c1336c0a7feb85f0cbb910e69


# 86b9d18f 09-May-2014 haftmann <none@none>

delete attribute for code abbrev


# 89defae1 09-May-2014 haftmann <none@none>

normalizing of type variables before evaluation with explicit resubstitution function: make nbe work with funny type variables like \<AA>;
tuned naming;
dropped dead parameters;


# c33d72e8 30-Mar-2014 wenzelm <none@none>

some shortcuts for chunks, which sometimes avoid bulky string output;


# e41a1507 26-Feb-2014 haftmann <none@none>

prefer proof context over background theory

--HG--
extra : rebase_source : 307a2e54d5c0b89d8668ce99110df0538037668e


# 606ee45c 09-Feb-2014 haftmann <none@none>

build up preprocessing context only once


# fb97e41c 03-Jan-2014 haftmann <none@none>

proper context for simplifier invocations in code generation stack


# 83bef5f0 01-Jan-2014 wenzelm <none@none>

clarified simplifier context;
eliminated Simplifier.global_context;


# 7fdc08b4 06-Sep-2013 haftmann <none@none>

tuned

--HG--
extra : rebase_source : 6db8e660aefa9aa70ba769e24988d3b9f128cf17


# 0da9615f 27-Jul-2013 haftmann <none@none>

more correct context for dynamic invocations of static code conversions etc.


# 0928b2db 18-Apr-2013 wenzelm <none@none>

simplifier uses proper Proof.context instead of historic type simpset;


# 0fe14a59 10-Apr-2013 wenzelm <none@none>

more standard module name Axclass (according to file name);


# 59410e28 09-Apr-2013 wenzelm <none@none>

discontinued Toplevel.no_timing complication -- also recovers timing of diagnostic commands, e.g. 'find_theorems';
print timing as tracing, to keep it out of the way in Proof General;
no timing of control commands, especially relevant for Proof General;


# 8bf2f8be 22-Oct-2012 haftmann <none@none>

close code theorems explicitly after preprocessing


# 38202cbd 05-Jun-2012 haftmann <none@none>

apply preprocessing simpset also to rhs of abstract code equations


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


# 150d8520 16-Mar-2012 wenzelm <none@none>

outer syntax command definitions based on formal command_spec derived from theory header declarations;


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


# ba37de4c 29-Dec-2011 haftmann <none@none>

semiring_numeral_0_eq_0, semiring_numeral_1_eq_1 now [simp], superseeding corresponding simp rules on type nat

--HG--
extra : rebase_source : 7ed52e71daa69142f147737027b94acaef451223


# 8818948f 21-Oct-2011 bulwahn <none@none>

removing redundant attribute code_inline in the code generator


# ef721fc0 19-Oct-2011 bulwahn <none@none>

removing declaration of code_unfold to address the old code generator


# d049bd7b 20-Aug-2011 wenzelm <none@none>

refined Graph implementation: more abstract/scalable Graph.Keys instead of plain lists -- order of adjacency is now standardized wrt. Key.ord;


# 2fde0076 01-Jun-2011 bulwahn <none@none>

code preprocessor applies simplifier when schematic variables are fixed to free variables to allow rewriting with congruence rules in the preprocessing steps


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


# 6d2612c8 16-Apr-2011 wenzelm <none@none>

modernized structure Proof_Context;


# 805df3e0 21-Dec-2010 haftmann <none@none>

canonical handling of theory context argument


# 7fc0bf78 17-Dec-2010 wenzelm <none@none>

clarified exports of structure Simplifier;


# bc03ea26 16-Dec-2010 haftmann <none@none>

more appropriate closures for static evaluation


# 20f5e440 15-Dec-2010 haftmann <none@none>

simplified evaluation function names


# 9ffec33f 25-Oct-2010 haftmann <none@none>

tuned


# 3848742f 25-Oct-2010 haftmann <none@none>

dropped accidental doubled computation


# 67c1d684 21-Sep-2010 haftmann <none@none>

avoid frees and vars in terms to be evaluated by abstracting and applying


# 37ee3440 16-Sep-2010 haftmann <none@none>

separation of static and dynamic thy context


# 4238f6d0 15-Sep-2010 haftmann <none@none>

ignore code cache optionally; corrected scope of term value in static_eval_conv


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


# 28bfe0ef 01-Sep-2010 haftmann <none@none>

repaired attribute code_unfold_post which has ever been broken


# 41482453 23-Aug-2010 haftmann <none@none>

dropped pre_post_conv


# c3f7f11d 23-Aug-2010 haftmann <none@none>

added static_eval_conv


# 0f2a759e 23-Aug-2010 haftmann <none@none>

refined and unified naming convention for dynamic code evaluation techniques


# 143e1f41 09-Aug-2010 haftmann <none@none>

minimize sorts in certificate instantiation


# dd7c556c 08-Jul-2010 haftmann <none@none>

tuned titles


# 04fc6d32 15-Jun-2010 haftmann <none@none>

added code_simp infrastructure


# 5c97a57f 07-Jun-2010 haftmann <none@none>

more consistent naming aroud type classes and instances


# 7a6b0131 17-May-2010 wenzelm <none@none>

prefer structure Keyword, Parse, Parse_Spec, Outer_Syntax;
eliminated old-style structure aliases K = Keyword, P = Parse;


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

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


# 06b4848e 11-Apr-2010 wenzelm <none@none>

of_sort_derivation: pass-through full type information -- following the version by krauss/schropp;


# 7c7ac3fa 07-Mar-2010 wenzelm <none@none>

modernized structure Local_Defs;


# aa047a26 19-Feb-2010 wenzelm <none@none>

renamed Simplifier.theory_context to Simplifier.global_context to emphasize that this is not the real thing;


# 1aff912c 19-Feb-2010 haftmann <none@none>

simplified


# 8aec09fd 12-Jan-2010 haftmann <none@none>

explicit abstract type of code certificates


# 5f55818b 13-Jan-2010 haftmann <none@none>

function transformer preprocessor applies to both code generators


# ab05ef6e 12-Jan-2010 haftmann <none@none>

code certificates as integral part of code generation


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

code cache only persists on equal theories


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

code cache without copy; tuned


# b9199a91 23-Dec-2009 haftmann <none@none>

reduced code generator cache to the baremost minimum


# d1125edf 02-Dec-2009 haftmann <none@none>

tuned


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

permissive AList.merge -- most likely setup for theory data (beware of spurious AList.DUP);


# 71833c27 08-Nov-2009 wenzelm <none@none>

adapted Theory_Data;
tuned;


# 50da8ae7 22-Oct-2009 haftmann <none@none>

map_range (and map_index) combinator


# 13c1d7fc 05-Oct-2009 haftmann <none@none>

tuned handling of type variable names further


# c6dd10bc 05-Oct-2009 haftmann <none@none>

variables in type schemes must be renamed simultaneously with variables in equations


# a2b19260 30-Sep-2009 wenzelm <none@none>

Sorts.of_sort_derivation: no pp here;


# ea799695 09-Sep-2009 haftmann <none@none>

moved eq handling in nbe into separate oracle


# 3857e383 09-Aug-2009 haftmann <none@none>

moved all technical processing of code equations to code_thingol.ML


# 1fd83a10 10-Aug-2009 haftmann <none@none>

attempt to move desymbolization to translation


# 0044a1c5 31-Jul-2009 haftmann <none@none>

added a somehow clueless comment


# 9378ba5f 31-Jul-2009 haftmann <none@none>

cleaned up variable desymbolification and argument expansion


# 58689e08 21-Jul-2009 haftmann <none@none>

integrated add_triv_classes into evaluation stack


# 886198b6 20-Jul-2009 wenzelm <none@none>

proper context for Display.pretty_thm etc. or old-style versions Display.pretty_thm_global, Display.pretty_thm_without_context etc.;


# c2174c10 14-Jul-2009 haftmann <none@none>

added code_unfold_post attribute


# fbe41aef 14-Jul-2009 haftmann <none@none>

code attributes use common underscore convention


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

renamed structure TermSubst to Term_Subst;


# b063764f 09-Jul-2009 wenzelm <none@none>

renamed functor TableFun to Table, and GraphFun to Graph;


# 60dd481b 08-Jul-2009 haftmann <none@none>

tuned structure Code internally


# eb3d3d40 07-Jul-2009 haftmann <none@none>

tuned interface of structure Code


# d18d6a07 22-Jun-2009 haftmann <none@none>

uniformly capitialized names for subdirectories

--HG--
rename : src/HOL/Tools/datatype_package/datatype.ML => src/HOL/Tools/Datatype/datatype.ML
rename : src/HOL/Tools/datatype_package/datatype_abs_proofs.ML => src/HOL/Tools/Datatype/datatype_abs_proofs.ML
rename : src/HOL/Tools/datatype_package/datatype_aux.ML => src/HOL/Tools/Datatype/datatype_aux.ML
rename : src/HOL/Tools/datatype_package/datatype_case.ML => src/HOL/Tools/Datatype/datatype_case.ML
rename : src/HOL/Tools/datatype_package/datatype_codegen.ML => src/HOL/Tools/Datatype/datatype_codegen.ML
rename : src/HOL/Tools/datatype_package/datatype_prop.ML => src/HOL/Tools/Datatype/datatype_prop.ML
rename : src/HOL/Tools/datatype_package/datatype_realizer.ML => src/HOL/Tools/Datatype/datatype_realizer.ML
rename : src/HOL/Tools/datatype_package/datatype_rep_proofs.ML => src/HOL/Tools/Datatype/datatype_rep_proofs.ML
rename : src/HOL/Tools/function_package/auto_term.ML => src/HOL/Tools/Function/auto_term.ML
rename : src/HOL/Tools/function_package/context_tree.ML => src/HOL/Tools/Function/context_tree.ML
rename : src/HOL/Tools/function_package/decompose.ML => src/HOL/Tools/Function/decompose.ML
rename : src/HOL/Tools/function_package/descent.ML => src/HOL/Tools/Function/descent.ML
rename : src/HOL/Tools/function_package/fundef.ML => src/HOL/Tools/Function/fundef.ML
rename : src/HOL/Tools/function_package/fundef_common.ML => src/HOL/Tools/Function/fundef_common.ML
rename : src/HOL/Tools/function_package/fundef_core.ML => src/HOL/Tools/Function/fundef_core.ML
rename : src/HOL/Tools/function_package/fundef_datatype.ML => src/HOL/Tools/Function/fundef_datatype.ML
rename : src/HOL/Tools/function_package/fundef_lib.ML => src/HOL/Tools/Function/fundef_lib.ML
rename : src/HOL/Tools/function_package/induction_scheme.ML => src/HOL/Tools/Function/induction_scheme.ML
rename : src/HOL/Tools/function_package/inductive_wrap.ML => src/HOL/Tools/Function/inductive_wrap.ML
rename : src/HOL/Tools/function_package/lexicographic_order.ML => src/HOL/Tools/Function/lexicographic_order.ML
rename : src/HOL/Tools/function_package/measure_functions.ML => src/HOL/Tools/Function/measure_functions.ML
rename : src/HOL/Tools/function_package/mutual.ML => src/HOL/Tools/Function/mutual.ML
rename : src/HOL/Tools/function_package/pattern_split.ML => src/HOL/Tools/Function/pattern_split.ML
rename : src/HOL/Tools/function_package/scnp_reconstruct.ML => src/HOL/Tools/Function/scnp_reconstruct.ML
rename : src/HOL/Tools/function_package/scnp_solve.ML => src/HOL/Tools/Function/scnp_solve.ML
rename : src/HOL/Tools/function_package/size.ML => src/HOL/Tools/Function/size.ML
rename : src/HOL/Tools/function_package/sum_tree.ML => src/HOL/Tools/Function/sum_tree.ML
rename : src/HOL/Tools/function_package/termination.ML => src/HOL/Tools/Function/termination.ML
rename : src/Tools/code/code_haskell.ML => src/Tools/Code/code_haskell.ML
rename : src/Tools/code/code_ml.ML => src/Tools/Code/code_ml.ML
rename : src/Tools/code/code_preproc.ML => src/Tools/Code/code_preproc.ML
rename : src/Tools/code/code_printer.ML => src/Tools/Code/code_printer.ML
rename : src/Tools/code/code_target.ML => src/Tools/Code/code_target.ML
rename : src/Tools/code/code_thingol.ML => src/Tools/Code/code_thingol.ML