History log of /seL4-l4v-master/isabelle/src/Pure/Tools/find_theorems.ML
Revision Date Author Comments
# adc70cd6 16-Aug-2019 wenzelm <none@none>

tuned signature;


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

eliminated ASCII syntax from Pure bootstrap;
tuned comments;


# 8274f3e0 06-Dec-2017 wenzelm <none@none>

prefer control symbol antiquotations;


# eb33a73d 04-Feb-2017 wenzelm <none@none>

tuned;


# e025b28f 04-Feb-2017 wenzelm <none@none>

suppress warnings uniformly, even in explicit commands 'find_theorems', 'solve_direct';


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

more symbols;


# 8c11c9da 10-Jul-2016 wenzelm <none@none>

tuned signature: more uniform Keyword.spec;


# 6e3d5e9a 10-May-2016 wenzelm <none@none>

find dynamic facts as well, but static ones are preferred;
tuned;


# 5dc803d8 13-Apr-2016 wenzelm <none@none>

eliminated "xname" and variants;


# 13b5c43b 04-Apr-2016 wenzelm <none@none>

clarified bootstrap -- more uniform use of ML files;


# 369e4785 13-Dec-2015 wenzelm <none@none>

more general types Proof.method / context_tactic;
proper context for Method.insert_tac;
tuned;


# 2759308d 25-Sep-2015 wenzelm <none@none>

moved remaining display.ML to more_thm.ML;


# 3716e228 21-Sep-2015 wenzelm <none@none>

clarified markup;
tuned signature;


# 3b32ede6 30-Aug-2015 wenzelm <none@none>

trim context for persistent storage;


# 07cf8861 29-Jun-2015 wenzelm <none@none>

improved scheduling for urgent tasks, using farm of replacement threads (may lead to factor 2 overloading, but CPUs are usually hyperthreaded);


# cff2e75b 08-Apr-2015 wenzelm <none@none>

proper context for Object_Logic operations;


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

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


# 667341d1 06-Apr-2015 wenzelm <none@none>

more position information and PIDE markup for command keywords;


# 4d247bc0 03-Apr-2015 wenzelm <none@none>

tuned;


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

tuned signature;


# b8d56fe6 10-Feb-2015 wenzelm <none@none>

proper context for resolve_tac, eresolve_tac, dresolve_tac, forward_tac etc.;
occasionally clarified use of context;


# e7d65b7a 04-Dec-2014 haftmann <none@none>

eta-expand all search patterns using schematic place holders

--HG--
extra : rebase_source : 4e479e077c25f8f031fc3baaeced85a1ccb26afa


# 49dd9360 04-Dec-2014 haftmann <none@none>

revert "better" handling of abbreviation from c61fe520602b

--HG--
extra : rebase_source : 42ccc22d6c60ba23b560fc3765bb1e76b7af5ad5


# e9e4a619 04-Dec-2014 haftmann <none@none>

tuned variable names

--HG--
extra : rebase_source : 1a6de9230a570260f22783855b931ab7a6699b9b


# edf35dba 04-Dec-2014 haftmann <none@none>

turn application-specific Pattern.matches_subterm into an application-private function

--HG--
extra : rebase_source : d589025f6bea2a7c23483cf2e57830856d9fafb2


# 91c3d5c1 03-Dec-2014 wenzelm <none@none>

tuned signature;


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

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


# c12ca051 07-Nov-2014 wenzelm <none@none>

plain value Keywords.keywords, which might be used outside theory for bootstrap purposes;
plain value Outer_Syntax within theory: parsing requires current theory context;
clarified name of Keyword.is_literal according to its semantics;
eliminated pointless type Keyword.T;
simplified @{command_spec};
clarified bootstrap keywords and syntax: take it as basis instead of side-branch;


# ed02285a 06-Nov-2014 wenzelm <none@none>

tuned signature;


# 67170097 05-Nov-2014 wenzelm <none@none>

more frugal keywords;


# df4ccf3c 05-Nov-2014 wenzelm <none@none>

explicit type Keyword.keywords;
tuned signature;


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

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


# ab11590d 30-Oct-2014 wenzelm <none@none>

eliminated aliases;


# 0da05f9f 12-Aug-2014 wenzelm <none@none>

tuned signature according to Scala version -- prefer explicit argument;


# db8a4347 25-Jul-2014 wenzelm <none@none>

tuned comment;


# 0e074b5a 08-May-2014 wenzelm <none@none>

tuned message;


# 702e5f82 08-May-2014 wenzelm <none@none>

some position markup to help locating the query context, e.g. from "Info" dockable;


# 5f634810 08-May-2014 wenzelm <none@none>

tuned message: more compact, imitate actual command line;


# 4c24db6c 07-May-2014 wenzelm <none@none>

tuned message -- more context for detached window etc.;


# e2066562 19-Apr-2014 wenzelm <none@none>

removed odd context argument: Thy_Info.get_theory does not fit into PIDE document model;


# e1e061e3 17-Apr-2014 wenzelm <none@none>

tuned option name;


# 55bc055b 08-Apr-2014 wenzelm <none@none>

more uniform ML/document antiquotations;


# 3f9719f0 15-Mar-2014 wenzelm <none@none>

clarified local facts;


# c99db3d6 15-Mar-2014 wenzelm <none@none>

more explicit treatment of verbose mode, which includes concealed entries;


# 6b3791f7 14-Mar-2014 wenzelm <none@none>

more accurate resolution of hybrid facts, which actually changes the sort order of results;


# 51e19a6b 13-Mar-2014 wenzelm <none@none>

back to a form of hybrid facts, to reduce performance impact of ed92ce2ac88e;


# 7d65fe17 14-Mar-2014 wenzelm <none@none>

just one cumulative Proof_Context.facts, with uniform retrieval (including PIDE markup, completion etc.);
more thorough background_notes: distribute global notes to all contexts;


# 34cdc971 10-Mar-2014 wenzelm <none@none>

more direct Long_Name.qualification;


# 5c4e6b56 22-Feb-2014 wenzelm <none@none>

support for completion within the formal context;
tuned signature;


# def38e27 22-Feb-2014 wenzelm <none@none>

removed remains of old experiment (see b933142e02d0);


# d7bb66fb 22-Feb-2014 wenzelm <none@none>

removed dead code;
more complete patterns;


# e6f89f1b 22-Feb-2014 wenzelm <none@none>

tuned signature;


# 63a76875 14-Dec-2013 wenzelm <none@none>

proper context for basic Simplifier operations: rewrite_rule, rewrite_goals_rule, rewrite_goals_tac etc.;
clarified tool context in some boundary cases;


# 6117e4ed 14-Sep-2013 kleing <none@none>

print find_thms result in reverse order so best result is on top


# 2828f82a 14-Sep-2013 kleing <none@none>

more useful sorting of find_thms results


# 5e3dc32f 12-Aug-2013 wenzelm <none@none>

clarified Query_Operation.register: avoid hard-wired parallel policy;
sledgehammer: more conventional parallel exception handling -- print just one interrupt;


# ff60c8ec 09-Aug-2013 kleing <none@none>

prefer local facts over global ones

--HG--
extra : rebase_source : 87d5d7583f9ab9e35bdfa98f181e5fc9a35b76b7


# 93c57aed 10-Aug-2013 kleing <none@none>

use local context for name space

--HG--
extra : rebase_source : 06d2e4701a53dcf5440b1b08723c4e10bd9be6f8


# 30a944fe 09-Aug-2013 wenzelm <none@none>

enable search in pre-loaded theory;


# 0080cc24 09-Aug-2013 wenzelm <none@none>

more GUI options;


# 0e05d65b 09-Aug-2013 wenzelm <none@none>

tuned signature;


# c3056dbd 09-Aug-2013 wenzelm <none@none>

tuned;


# 94f4469d 08-Aug-2013 wenzelm <none@none>

more explicit error;


# c9a5fdd3 08-Aug-2013 wenzelm <none@none>

tuned message;


# acc454db 08-Aug-2013 wenzelm <none@none>

removed unused YXML_Find_Theorems and Legacy_XML_Syntax;


# 629c7481 08-Aug-2013 wenzelm <none@none>

more robust read_query;
avoid pointless position, which is always line 1 for single-line input;


# 3b74d05a 05-Aug-2013 wenzelm <none@none>

slightly more general support for one-shot query operations via asynchronous print functions and temporary document overlay;


# 363d4ca2 05-Aug-2013 wenzelm <none@none>

more message markup, provided by prover;


# 65f8cb05 02-Aug-2013 wenzelm <none@none>

some actual find_theorems functionality;


# 5518dcbc 02-Aug-2013 wenzelm <none@none>

more general Output.result: allow to update arbitrary properties;
clarified kind/instance of overlay GUI component, with separate output (subject to version as main Output);


# 89b8ea13 02-Aug-2013 wenzelm <none@none>

minimal print function "find_theorems", which merely echos its arguments;


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

type theory is purely value-oriented;


# 3611acf4 18-Jul-2013 wenzelm <none@none>

modify background theory where it is actually required (cf. 51dfdcd88e84);


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

tuned messages -- avoid text folds stemming from Pretty.chunks;


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

proper system options for 'find_theorems';


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

guard unify tracing via visible status of global theory;
find_theorems: back-patching of background theory to observe Context_Position.is_visible avoids spamming via auto solve_direct;


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

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


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


# 65822759 26-Nov-2012 wenzelm <none@none>

clarified status of Legacy_XML_Syntax, despite lack of Proofterm_XML;

--HG--
rename : src/Pure/Tools/xml_syntax.ML => src/Pure/Tools/legacy_xml_syntax.ML


# 55014c61 26-Nov-2012 wenzelm <none@none>

tuned command descriptions;


# 33e8ad00 17-Oct-2012 wenzelm <none@none>

more formal markup;


# 4dd7a184 01-Aug-2012 wenzelm <none@none>

more official command specifications, including source position;


# 42f39407 17-Mar-2012 wenzelm <none@none>

slightly more parallel find_theorems;


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

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


# 55784ed4 27-Feb-2012 wenzelm <none@none>

tuned;


# b0875d55 27-Feb-2012 wenzelm <none@none>

removed broken/unused introiff (cf. d452117ba564);


# 4c988774 27-Feb-2012 wenzelm <none@none>

discontinued slightly odd built-in timing (cf. 53fd5cc685b4) -- the Isar toplevel does that already (e.g. via Toplevel.timing or Toplevel.profiling);


# c298fe23 27-Feb-2012 wenzelm <none@none>

prefer uniform Timing.message -- avoid assumption about sequential execution;


# a33bb41d 12-Jul-2011 wenzelm <none@none>

tuned XML modules;


# dada9359 10-Jul-2011 wenzelm <none@none>

inner syntax supports inlined YXML according to Term_XML (particularly useful for producing text under program control);
tuned signature;


# 12abc094 10-Jul-2011 wenzelm <none@none>

simplified XML_Data;


# fe4b384b 01-Jul-2011 wenzelm <none@none>

tuned layout;


# fdadaa55 30-May-2011 krauss <none@none>

parameterize print_theorems over actual search function


# 3608bb7c 30-May-2011 krauss <none@none>

(de)serialization for search query and result


# 15543564 30-May-2011 krauss <none@none>

explicit type for search queries


# c5990d20 30-May-2011 krauss <none@none>

moved questionable goal modification out of filter_theorems


# c6b748c5 30-May-2011 krauss <none@none>

exported raw query parser; removed inconsistent clone


# 8daa5732 30-May-2011 krauss <none@none>

separate query parsing from actual search


# b973ce85 03-May-2011 wenzelm <none@none>

more conventional naming scheme: names_long, names_short, names_unique;


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

modernized structure Proof_Context;


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

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


# 8b04ee36 20-Mar-2011 wenzelm <none@none>

structure Timing: covers former start_timing/end_timing and Output.timeit etc;
explicit Timing.message function;
eliminated Output.timing flag, cf. Toplevel.timing;
tuned;


# 77e021de 25-Feb-2011 krauss <none@none>

reactivate time measurement (partly reverting c27b0b37041a);
export pretty_theorem, to display both internal or external facts


# 32543999 25-Feb-2011 krauss <none@none>

generalize find_theorems filters to work on raw propositions, too


# 646191bf 24-Feb-2011 noschinl <none@none>

Refactor find_theorems to provide a more general filter_facts method


# 50f8520e 23-Feb-2011 noschinl <none@none>

fix non-exhaustive pattern match in find_theorems


# 308c65f5 20-Sep-2010 wenzelm <none@none>

renamed structure PureThy to Pure_Thy and moved most content to Global_Theory, to emphasize that this is global-only;

--HG--
rename : src/Pure/pure_thy.ML => src/Pure/global_theory.ML


# d533641d 11-Aug-2010 wenzelm <none@none>

misc tuning and simplification;


# 9cfefa55 11-Aug-2010 wenzelm <none@none>

simplified/unified command setup;


# 19cab301 15-May-2010 wenzelm <none@none>

renamed structure OuterSyntax to Outer_Syntax, keeping the old name as alias for some time;


# 6f878766 15-May-2010 wenzelm <none@none>

refer directly to structure Keyword and Parse;
eliminated old-style structure aliases K and P;


# c3452482 06-Mar-2010 wenzelm <none@none>

modernized structure Object_Logic;


# e3d0611a 27-Feb-2010 wenzelm <none@none>

modernized structure Term_Ord;


# cf8d16c7 14-Dec-2009 haftmann <none@none>

avoid negative indices as argument ot drop


# 11405ec8 28-Nov-2009 kleing <none@none>

Expand nested abbreviations before applying dummy patterns.


# 07a06ed4 28-Nov-2009 kleing <none@none>

Expand nested abbreviations before applying dummy patterns.


# 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


# 2d35f258 02-Nov-2009 wenzelm <none@none>

observe usual naming conventions;


# 22e08673 02-Nov-2009 krauss <none@none>

find_theorems: respect conceal flag


# e53b6be0 29-Oct-2009 wenzelm <none@none>

less hermetic ML;
parse_pattern: apply Consts.intern only once (Why is this done anyway?);
modernized structure names;


# e91b7279 28-Oct-2009 wenzelm <none@none>

renamed Proof.flat_goal to Proof.simple_goal;


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

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


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

dropped redundant gen_ prefix


# 22041485 20-Oct-2009 kleing <none@none>

find_theorems: better handling of abbreviations (by Timothy Bourke)


# b5f3743b 20-Oct-2009 wenzelm <none@none>

uniform use of Integer.min/max;


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

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


# eeb2a592 02-Oct-2009 wenzelm <none@none>

replaced Proof.get_goal state by Proof.flat_goal state, which provides the standard view on goals for (semi)automated tools;


# 3970c6c9 30-Sep-2009 wenzelm <none@none>

misc tuning and simplification;
be explicit about expressions involving infixes with non-obvious priorities;
removed dead code;
some attempts to recover basic Isabelle coding conventions;


# b9d789f1 29-Sep-2009 wenzelm <none@none>

explicit indication of Unsynchronized.ref;


# a4b600c4 23-Jul-2009 wenzelm <none@none>

renamed simpset_of to global_simpset_of, and local_simpset_of to simpset_of -- same for claset and clasimpset;


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


# a841a27e 17-Jun-2009 wenzelm <none@none>

more detailed start_timing/end_timing;


# efda7495 17-Jun-2009 wenzelm <none@none>

minor tuning according to Isabelle/ML conventions;
slightly less combinators;


# 2ccc169b 05-May-2009 Timothy Bourke <none@none>

Prototype introiff option for find_theorems.

This feature was suggested by Jeremy Avigad / Tobias Nipkow.

It adds an introiff keyword for find_theorems that returns, in
addition to the usual results for intro, any theorems of the
form ([| ... |] ==> (P = Q)) where either P or Q matches the
conclusions of the current goal. Such theorems can be made
introduction rules with [THEN iffDx].

The current patch is for evaluation only. It assumes an
(op = : 'a -> 'a -> bool) operator, which is specific to HOL.
It is not clear how this should be generalised.


# eb74dca4 31-Mar-2009 wenzelm <none@none>

superficial tuning;


# 7deb57e0 29-Mar-2009 Timothy Bourke <none@none>

Limit the number of results returned by auto_solves.


# b8585b75 23-Mar-2009 Timothy Bourke <none@none>

Use assms rather than prems in find_theorems solves.


# ee2e7b78 12-Mar-2009 wenzelm <none@none>

Assumption.all_prems_of, Assumption.all_assms_of;


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

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


# 4fa72177 06-Mar-2009 wenzelm <none@none>

replaced archaic use of rep_ss by Simplifier.mksimps;


# 22169480 03-Mar-2009 wenzelm <none@none>

renamed Method.assumption_tac back to Method.assm_tac -- as assumption_tac it would have to be exactly the tactic behind the assumption method (with facts);


# 91a7c7bf 03-Mar-2009 wenzelm <none@none>

nicer_shortest: use NameSpace.extern_flags with disabled "features" instead of internal NameSpace.get_accesses;


# c3c13800 01-Mar-2009 wenzelm <none@none>

avoid fragile parsing of end_timing result -- would have produced GC time on MosML, for example;


# 8ec2a8f9 01-Mar-2009 wenzelm <none@none>

replaced archaic Display.pretty_fact by FindTheorems.pretty_thm, which observes the context properly (as did the former prt_fact already);
minor tuning according to Isabelle coding conventions;


# 838395ef 27-Feb-2009 wenzelm <none@none>

observe basic Isabelle/ML coding conventions;


# 048d443b 27-Feb-2009 wenzelm <none@none>

moved find_theorems.ML and find_consts.ML to Pure/Tools, collecting main implementation in one place each;

--HG--
rename : src/Pure/Isar/find_consts.ML => src/Pure/Tools/find_consts.ML
rename : src/Pure/Isar/find_theorems.ML => src/Pure/Tools/find_theorems.ML