src/Doc/IsarRef/Misc.thy
author wenzelm
Tue, 13 Aug 2013 16:25:47 +0200
changeset 53015 a1119cf551e8
parent 50213 7b73c0509835
child 53499 abec1d118bc9
permissions -rw-r--r--
standardized symbols via "isabelle update_sub_sup", excluding src/Pure and src/Tools/WWW_Find;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
     1
theory Misc
42651
e3fdb7c96be5 formal Base theory;
wenzelm
parents: 42596
diff changeset
     2
imports Base Main
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
     3
begin
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
     4
28779
698960f08652 separate section "Inspecting the syntax" for print_syntax;
wenzelm
parents: 28778
diff changeset
     5
chapter {* Other commands *}
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
     6
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
     7
section {* Inspecting the context *}
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
     8
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
     9
text {*
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    10
  \begin{matharray}{rcl}
28761
9ec4482c9201 updated/refined types of Isar language elements, removed special LaTeX macros;
wenzelm
parents: 28760
diff changeset
    11
    @{command_def "print_theory"}@{text "\<^sup>*"} & : & @{text "context \<rightarrow>"} \\
9ec4482c9201 updated/refined types of Isar language elements, removed special LaTeX macros;
wenzelm
parents: 28760
diff changeset
    12
    @{command_def "print_methods"}@{text "\<^sup>*"} & : & @{text "context \<rightarrow>"} \\
9ec4482c9201 updated/refined types of Isar language elements, removed special LaTeX macros;
wenzelm
parents: 28760
diff changeset
    13
    @{command_def "print_attributes"}@{text "\<^sup>*"} & : & @{text "context \<rightarrow>"} \\
9ec4482c9201 updated/refined types of Isar language elements, removed special LaTeX macros;
wenzelm
parents: 28760
diff changeset
    14
    @{command_def "print_theorems"}@{text "\<^sup>*"} & : & @{text "context \<rightarrow>"} \\
9ec4482c9201 updated/refined types of Isar language elements, removed special LaTeX macros;
wenzelm
parents: 28760
diff changeset
    15
    @{command_def "find_theorems"}@{text "\<^sup>*"} & : & @{text "context \<rightarrow>"} \\
29894
e0e3aa62d9d3 find_consts: documentation. (by Timothy Bourke)
kleing
parents: 29893
diff changeset
    16
    @{command_def "find_consts"}@{text "\<^sup>*"} & : & @{text "context \<rightarrow>"} \\
28761
9ec4482c9201 updated/refined types of Isar language elements, removed special LaTeX macros;
wenzelm
parents: 28760
diff changeset
    17
    @{command_def "thm_deps"}@{text "\<^sup>*"} & : & @{text "context \<rightarrow>"} \\
41624
237328506a42 Documented unused_thms
berghofe
parents: 40255
diff changeset
    18
    @{command_def "unused_thms"}@{text "\<^sup>*"} & : & @{text "context \<rightarrow>"} \\
28761
9ec4482c9201 updated/refined types of Isar language elements, removed special LaTeX macros;
wenzelm
parents: 28760
diff changeset
    19
    @{command_def "print_facts"}@{text "\<^sup>*"} & : & @{text "context \<rightarrow>"} \\
9ec4482c9201 updated/refined types of Isar language elements, removed special LaTeX macros;
wenzelm
parents: 28760
diff changeset
    20
    @{command_def "print_binds"}@{text "\<^sup>*"} & : & @{text "context \<rightarrow>"} \\
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    21
  \end{matharray}
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    22
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 41624
diff changeset
    23
  @{rail "
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 41624
diff changeset
    24
    (@@{command print_theory} | @@{command print_theorems}) ('!'?)
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    25
    ;
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    26
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 41624
diff changeset
    27
    @@{command find_theorems} ('(' @{syntax nat}? 'with_dups'? ')')? \\ (thmcriterion * )
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    28
    ;
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 41624
diff changeset
    29
    thmcriterion: ('-'?) ('name' ':' @{syntax nameref} | 'intro' | 'elim' | 'dest' |
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 41624
diff changeset
    30
      'solves' | 'simp' ':' @{syntax term} | @{syntax term})
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    31
    ;
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 41624
diff changeset
    32
    @@{command find_consts} (constcriterion * )
29894
e0e3aa62d9d3 find_consts: documentation. (by Timothy Bourke)
kleing
parents: 29893
diff changeset
    33
    ;
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 41624
diff changeset
    34
    constcriterion: ('-'?)
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 41624
diff changeset
    35
      ('name' ':' @{syntax nameref} | 'strict' ':' @{syntax type} | @{syntax type})
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    36
    ;
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 41624
diff changeset
    37
    @@{command thm_deps} @{syntax thmrefs}
41624
237328506a42 Documented unused_thms
berghofe
parents: 40255
diff changeset
    38
    ;
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 41624
diff changeset
    39
    @@{command unused_thms} ((@{syntax name} +) '-' (@{syntax name} * ))?
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 41624
diff changeset
    40
  "}
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    41
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    42
  These commands print certain parts of the theory and proof context.
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    43
  Note that there are some further ones available, such as for the set
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    44
  of rules declared for simplifications.
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    45
28760
cbc435f7b16b unified use of declaration environment with IsarImplementation;
wenzelm
parents: 27598
diff changeset
    46
  \begin{description}
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    47
  
28760
cbc435f7b16b unified use of declaration environment with IsarImplementation;
wenzelm
parents: 27598
diff changeset
    48
  \item @{command "print_theory"} prints the main logical content of
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    49
  the theory context; the ``@{text "!"}'' option indicates extra
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    50
  verbosity.
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    51
28760
cbc435f7b16b unified use of declaration environment with IsarImplementation;
wenzelm
parents: 27598
diff changeset
    52
  \item @{command "print_methods"} prints all proof methods
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    53
  available in the current theory context.
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    54
  
28760
cbc435f7b16b unified use of declaration environment with IsarImplementation;
wenzelm
parents: 27598
diff changeset
    55
  \item @{command "print_attributes"} prints all attributes
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    56
  available in the current theory context.
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    57
  
33515
d066e8369a33 print_theorems: suppress concealed (global) facts, unless "!" option is given;
wenzelm
parents: 30168
diff changeset
    58
  \item @{command "print_theorems"} prints theorems resulting from the
d066e8369a33 print_theorems: suppress concealed (global) facts, unless "!" option is given;
wenzelm
parents: 30168
diff changeset
    59
  last command; the ``@{text "!"}'' option indicates extra verbosity.
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    60
  
28760
cbc435f7b16b unified use of declaration environment with IsarImplementation;
wenzelm
parents: 27598
diff changeset
    61
  \item @{command "find_theorems"}~@{text criteria} retrieves facts
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    62
  from the theory or proof context matching all of given search
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    63
  criteria.  The criterion @{text "name: p"} selects all theorems
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    64
  whose fully qualified name matches pattern @{text p}, which may
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    65
  contain ``@{text "*"}'' wildcards.  The criteria @{text intro},
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    66
  @{text elim}, and @{text dest} select theorems that match the
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    67
  current goal as introduction, elimination or destruction rules,
29896
kleing
parents: 29894
diff changeset
    68
  respectively.  The criterion @{text "solves"} returns all rules
29893
defab1c6a6b5 FindTheorems solves: update documentation (by Timothy Bourke)
kleing
parents: 28779
diff changeset
    69
  that would directly solve the current goal.  The criterion
defab1c6a6b5 FindTheorems solves: update documentation (by Timothy Bourke)
kleing
parents: 28779
diff changeset
    70
  @{text "simp: t"} selects all rewrite rules whose left-hand side
defab1c6a6b5 FindTheorems solves: update documentation (by Timothy Bourke)
kleing
parents: 28779
diff changeset
    71
  matches the given term.  The criterion term @{text t} selects all
defab1c6a6b5 FindTheorems solves: update documentation (by Timothy Bourke)
kleing
parents: 28779
diff changeset
    72
  theorems that contain the pattern @{text t} -- as usual, patterns
defab1c6a6b5 FindTheorems solves: update documentation (by Timothy Bourke)
kleing
parents: 28779
diff changeset
    73
  may contain occurrences of the dummy ``@{text _}'', schematic
defab1c6a6b5 FindTheorems solves: update documentation (by Timothy Bourke)
kleing
parents: 28779
diff changeset
    74
  variables, and type constraints.
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    75
  
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    76
  Criteria can be preceded by ``@{text "-"}'' to select theorems that
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    77
  do \emph{not} match. Note that giving the empty list of criteria
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    78
  yields \emph{all} currently known facts.  An optional limit for the
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    79
  number of printed facts may be given; the default is 40.  By
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    80
  default, duplicates are removed from the search result. Use
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    81
  @{text with_dups} to display duplicates.
29894
e0e3aa62d9d3 find_consts: documentation. (by Timothy Bourke)
kleing
parents: 29893
diff changeset
    82
e0e3aa62d9d3 find_consts: documentation. (by Timothy Bourke)
kleing
parents: 29893
diff changeset
    83
  \item @{command "find_consts"}~@{text criteria} prints all constants
e0e3aa62d9d3 find_consts: documentation. (by Timothy Bourke)
kleing
parents: 29893
diff changeset
    84
  whose type meets all of the given criteria. The criterion @{text
e0e3aa62d9d3 find_consts: documentation. (by Timothy Bourke)
kleing
parents: 29893
diff changeset
    85
  "strict: ty"} is met by any type that matches the type pattern
e0e3aa62d9d3 find_consts: documentation. (by Timothy Bourke)
kleing
parents: 29893
diff changeset
    86
  @{text ty}.  Patterns may contain both the dummy type ``@{text _}''
e0e3aa62d9d3 find_consts: documentation. (by Timothy Bourke)
kleing
parents: 29893
diff changeset
    87
  and sort constraints. The criterion @{text ty} is similar, but it
e0e3aa62d9d3 find_consts: documentation. (by Timothy Bourke)
kleing
parents: 29893
diff changeset
    88
  also matches against subtypes. The criterion @{text "name: p"} and
e0e3aa62d9d3 find_consts: documentation. (by Timothy Bourke)
kleing
parents: 29893
diff changeset
    89
  the prefix ``@{text "-"}'' function as described for @{command
e0e3aa62d9d3 find_consts: documentation. (by Timothy Bourke)
kleing
parents: 29893
diff changeset
    90
  "find_theorems"}.
e0e3aa62d9d3 find_consts: documentation. (by Timothy Bourke)
kleing
parents: 29893
diff changeset
    91
28760
cbc435f7b16b unified use of declaration environment with IsarImplementation;
wenzelm
parents: 27598
diff changeset
    92
  \item @{command "thm_deps"}~@{text "a\<^sub>1 \<dots> a\<^sub>n"}
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    93
  visualizes dependencies of facts, using Isabelle's graph browser
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
    94
  tool (see also \cite{isabelle-sys}).
41624
237328506a42 Documented unused_thms
berghofe
parents: 40255
diff changeset
    95
53015
a1119cf551e8 standardized symbols via "isabelle update_sub_sup", excluding src/Pure and src/Tools/WWW_Find;
wenzelm
parents: 50213
diff changeset
    96
  \item @{command "unused_thms"}~@{text "A\<^sub>1 \<dots> A\<^sub>m - B\<^sub>1 \<dots> B\<^sub>n"}
a1119cf551e8 standardized symbols via "isabelle update_sub_sup", excluding src/Pure and src/Tools/WWW_Find;
wenzelm
parents: 50213
diff changeset
    97
  displays all unused theorems in theories @{text "B\<^sub>1 \<dots> B\<^sub>n"}
a1119cf551e8 standardized symbols via "isabelle update_sub_sup", excluding src/Pure and src/Tools/WWW_Find;
wenzelm
parents: 50213
diff changeset
    98
  or their parents, but not in @{text "A\<^sub>1 \<dots> A\<^sub>m"} or their parents.
41624
237328506a42 Documented unused_thms
berghofe
parents: 40255
diff changeset
    99
  If @{text n} is @{text 0}, the end of the range of theories
237328506a42 Documented unused_thms
berghofe
parents: 40255
diff changeset
   100
  defaults to the current theory. If no range is specified,
237328506a42 Documented unused_thms
berghofe
parents: 40255
diff changeset
   101
  only the unused theorems in the current theory are displayed.
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   102
  
28760
cbc435f7b16b unified use of declaration environment with IsarImplementation;
wenzelm
parents: 27598
diff changeset
   103
  \item @{command "print_facts"} prints all local facts of the
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   104
  current context, both named and unnamed ones.
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   105
  
28760
cbc435f7b16b unified use of declaration environment with IsarImplementation;
wenzelm
parents: 27598
diff changeset
   106
  \item @{command "print_binds"} prints all term abbreviations
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   107
  present in the context.
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   108
28760
cbc435f7b16b unified use of declaration environment with IsarImplementation;
wenzelm
parents: 27598
diff changeset
   109
  \end{description}
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   110
*}
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   111
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   112
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   113
section {* System commands *}
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   114
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   115
text {*
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   116
  \begin{matharray}{rcl}
28761
9ec4482c9201 updated/refined types of Isar language elements, removed special LaTeX macros;
wenzelm
parents: 28760
diff changeset
   117
    @{command_def "cd"}@{text "\<^sup>*"} & : & @{text "any \<rightarrow>"} \\
9ec4482c9201 updated/refined types of Isar language elements, removed special LaTeX macros;
wenzelm
parents: 28760
diff changeset
   118
    @{command_def "pwd"}@{text "\<^sup>*"} & : & @{text "any \<rightarrow>"} \\
9ec4482c9201 updated/refined types of Isar language elements, removed special LaTeX macros;
wenzelm
parents: 28760
diff changeset
   119
    @{command_def "use_thy"}@{text "\<^sup>*"} & : & @{text "any \<rightarrow>"} \\
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   120
  \end{matharray}
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   121
42596
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 41624
diff changeset
   122
  @{rail "
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 41624
diff changeset
   123
    (@@{command cd} | @@{command use_thy}) @{syntax name}
6c621a9d612a modernized rail diagrams using @{rail} antiquotation;
wenzelm
parents: 41624
diff changeset
   124
  "}
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   125
28760
cbc435f7b16b unified use of declaration environment with IsarImplementation;
wenzelm
parents: 27598
diff changeset
   126
  \begin{description}
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   127
28760
cbc435f7b16b unified use of declaration environment with IsarImplementation;
wenzelm
parents: 27598
diff changeset
   128
  \item @{command "cd"}~@{text path} changes the current directory
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   129
  of the Isabelle process.
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   130
28760
cbc435f7b16b unified use of declaration environment with IsarImplementation;
wenzelm
parents: 27598
diff changeset
   131
  \item @{command "pwd"} prints the current working directory.
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   132
28760
cbc435f7b16b unified use of declaration environment with IsarImplementation;
wenzelm
parents: 27598
diff changeset
   133
  \item @{command "use_thy"}~@{text A} preload theory @{text A}.
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   134
  These system commands are scarcely used when working interactively,
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   135
  since loading of theories is done automatically as required.
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   136
28760
cbc435f7b16b unified use of declaration environment with IsarImplementation;
wenzelm
parents: 27598
diff changeset
   137
  \end{description}
39836
a194f39cfcb4 note on Isabelle file specifications;
wenzelm
parents: 33515
diff changeset
   138
a194f39cfcb4 note on Isabelle file specifications;
wenzelm
parents: 33515
diff changeset
   139
  %FIXME proper place (!?)
a194f39cfcb4 note on Isabelle file specifications;
wenzelm
parents: 33515
diff changeset
   140
  Isabelle file specification may contain path variables (e.g.\
a194f39cfcb4 note on Isabelle file specifications;
wenzelm
parents: 33515
diff changeset
   141
  @{verbatim "$ISABELLE_HOME"}) that are expanded accordingly.  Note
47661
012a887997f3 USER_HOME settings variable points to cross-platform user home directory;
wenzelm
parents: 46279
diff changeset
   142
  that @{verbatim "~"} abbreviates @{verbatim "$USER_HOME"}, and
012a887997f3 USER_HOME settings variable points to cross-platform user home directory;
wenzelm
parents: 46279
diff changeset
   143
  @{verbatim "~~"} abbreviates @{verbatim "$ISABELLE_HOME"}.  The
012a887997f3 USER_HOME settings variable points to cross-platform user home directory;
wenzelm
parents: 46279
diff changeset
   144
  general syntax for path specifications follows POSIX conventions.
27056
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   145
*}
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   146
4bf8710b3242 moved stuff from pure.thy to Misc.thy;
wenzelm
parents:
diff changeset
   147
end