Commit Graph

28 Commits

Author SHA1 Message Date
Gerwin Klein c34840d09b global: isabelle update_cartouches 2019-06-14 11:41:21 +10:00
Gerwin Klein b8a99035dc lib: an abbreviation command with pretty printing inside locales
Normal abbreviations are not contracted on pretty printing when defined
inside a locale. This commit provide the command locale_abbrev which does
contract on pretty print even when defined inside a locale. It cannot be
used with abbreviations that mention fixed locale variables (whereas the
standard abbreviations can).

Co-authored-by: Rafal Kolanski <rafal.kolanski@data61.csiro.au>
2018-11-15 22:56:01 +11:00
Japheth Lim 787e5a85c4 lib: maybe bitunrot TSubst 2018-09-27 15:03:24 +10:00
Edward Pierzchalski d7fd868007 lib: Add attribute to ignore errors (VER-1007)
Adds the `TRY` attribute combinator, which applies the provided
inner attribute but ignores any failure by returning the original
theorem.
2018-09-19 11:57:19 +10:00
Japheth Lim f62ca33408 lib: add trace_schematic_insts method combinator 2018-08-16 14:21:16 +10:00
Japheth Lim f224e2392d lib: add time_methods method for comparing proof tactic speeds 2018-05-21 14:30:00 +10:00
Rafal Kolanski b749a23b87 lib: add find_names command to find other names of a theorem
When given a theorem, find_names finds other names the theorem appears
under, via matching on the whole proposition. It will not identify
unnamed theorems.
2018-02-25 21:47:35 +11:00
Alejandro Gomez-Londono 796887d9b1 Removes all trailing whitespaces 2017-07-12 15:13:51 +10:00
Daniel Matichuk ba62c94331 apply_debug: include apply_debug by default 2017-02-15 15:00:23 +11:00
Daniel Matichuk df8e65fbb9 autolevity: initial commit with test run on AInvs 2016-06-23 14:02:40 +10:00
Gerwin Klein 9d055c2894 cleanup: thy imports and cleaning out obsolete code
- removed Solves_Tac from default imports;
    should use auto-solve-correct and quote actual rule name instead.
  - consolidated transitive imports
  - remove obsolete solved method; use existing Eisbach method instead
2016-06-22 23:02:10 +10:00
Matthew Brecknell 84d2889d45 Isabelle2016: merge master into 2016 2016-02-19 16:17:26 +11:00
Daniel Matichuk 6cc09d8ea1 Merge pull request #16 in SEL4/l4v from ~DMATICHUK/l4v:master to master
* commit '51e62494963531ea4d9bcb7efe543f1621a3a63f':
  allow apply_trace to build in batch mode and include by default
2016-02-16 23:35:37 +00:00
Daniel Matichuk 51e6249496 allow apply_trace to build in batch mode and include by default 2016-02-17 10:13:56 +11:00
Japheth Lim 5ef9eb55da lib: add ShowTypes, tool to show terms with unambiguous type annotations. 2016-02-16 16:31:14 +11:00
Japheth Lim fe8baa86ea lib: add Insulin, tool to show terms without syntax sugar. 2016-02-16 16:25:39 +11:00
Daniel Matichuk 8981f9d5aa removed deleted theories from imports 2016-01-12 18:10:16 +11:00
Daniel Matichuk b7563eb788 fix lib for isabelle 2016 2016-01-12 14:58:16 +11:00
Daniel Matichuk 12a3fd829b Point to correct (existing) Rule_By_Method 2015-07-08 16:59:40 +10:00
Daniel Matichuk 30db9bb7a5 ArchAcc_AI checks with new subgoal command 2015-07-08 15:44:34 +10:00
Daniel Matichuk 173a4411b1 importing Eisbach by default, with some boilerplate 2015-07-08 15:44:33 +10:00
Gerwin Klein 190e7c38d6 start work on Isabelle 2015 update 2015-04-17 16:19:32 +01:00
David Greenaway b22a384931 lib: Add "solves" tactic.
Essentially does a "find_theorems solves" and automatically applies the
result.

The author makes no guarantees about the maintainability of proofs using
such a tactic.
2014-12-01 11:08:34 +11:00
David Greenaway 14581617f0 nicta-tools: Add "solved" tactic.
Ensures that all subgoals have been solved. If not, the tactic will fail
(causing backtracking).

Useful for creating proofs of the form:

    apply ((make_lots_of_subgoals, auto, solved)[1])

where you can be sure that the current subgoal will either be entirely
discharged or left untouched.
2014-11-14 17:24:49 +11:00
David Greenaway 3c01f08242 NICTACompat: Disable "Trace_Attrib".
Loading "Trace_Attrib" causes strange, unexplained lock-ups in
Isabelle/jEdit (and possibly Isabelle build). In particular, at random
times shortly after Trace_Attrib is loaded, everything will stop
processing with the CPU at 0%.

The root cause of this is currently unknown. This patch disables it
until the problem can be tracked down further.
2014-11-04 15:30:12 +11:00
David Greenaway e0b7e21d56 attribute tracing: Mechanism to work out changes in simpsets across revisions.
The idea of this file is to allow users to determine how the simpset,
cong set, intro set, wp sets, etc. have changed from an old version of
the repository to a new version.

The process is as follows:

  1. A user runs "save_attributes" on an old, working version of the
     theory.

  2. This tool will write out a ".foo.attrib_trace" file for each
     theory processed.

  3. The user modifies imports statements as required, possibly
     breaking the proof.

  4. The user can now run "diff_attributes" to determine what
     commands they should run to restore the simpset / congset /etc
     to something closer to the old version.

The tool is not complete, in that it won't always suggest the full set
of "simp add", "simp del", etc commands. Nor does it know that a rule
added to the simpset is causing a problem. It merely lists
a hopefully-sensible set of differences.
2014-10-13 11:05:31 +11:00
Lars Noschinski fe36a97b4d Port AutoCorres to Isabelle 2014-RC0 2014-08-08 17:29:54 +10:00
Gerwin Klein 2a03e81df4 Import release snapshot. 2014-07-14 21:32:44 +02:00