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