lib/ProofGeneral/pgip_isar.xml
author aspinall
Fri, 30 Sep 2005 17:52:18 +0200
changeset 17738 9c7fc0d5cf84
parent 17730 643f0f4293ae
child 17740 fc385ce6187d
permissions -rw-r--r--
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15133
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
     1
<!-- Title:      Pure/pgip_isar.xml
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
     2
     ID:         $Id$
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
     3
     Author:     David Aspinall, University of Edinburgh
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
     4
		 Christoph Lüth, University of Bremen
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
     5
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
     6
This file contains the configuration messages which configure 
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
     7
PGIP interfaces for Isabelle/Isar, in particular, explaining
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
     8
internal types of objects and operations available on them.
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
     9
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    10
See http://proofgeneral.inf.ed.ac.uk/kit for more details.
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    11
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    12
This file is a contributed part of the Isabelle Distribution.
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    13
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    14
STATUS: incomplete and experimental.
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    15
-->
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    16
17730
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    17
<displayconfig>
17738
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    18
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    19
  <!-- basic prover information and pointers to documentation -->
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    20
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    21
  <welcomemsg>Welcome to Isabelle/Isar 2005.</welcomemsg>
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    22
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    23
  <helpdoc name="Isabelle/HOL Tutorial" 
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    24
	   descr="A gentle introduction to Isabelle/HOL"
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    25
           url="http://isabelle.in.tum.de/dist/Isabelle/doc/tutorial.pdf"
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    26
  >tutorial</helpdoc>
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    27
  <helpdoc name="Isabelle HOL Logic Reference" 
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    28
	   descr="The Isabelle HOL Logic in detail"
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    29
           url="http://isabelle.in.tum.de/dist/Isabelle/doc/logics-HOL.pdf"
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    30
  >logics-HOL</helpdoc>
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    31
  <helpdoc name="Isar Tutorial" 
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    32
	   descr="An Introduction to the Isar proof language"
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    33
           url="http://isabelle.in.tum.de/dist/Isabelle/doc/isar-overview.pdf"
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    34
  >isar-overview</helpdoc>
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    35
  <helpdoc name="Isabelle/Isar Reference" 
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    36
	   descr="Reference Manual for Isabelle/Isar"
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    37
           url="http://isabelle.in.tum.de/dist/Isabelle/doc/isar-ref.pdf"
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    38
  >isar-ref</helpdoc>
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    39
  <helpdoc name="Isabelle Reference manual"
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    40
	   descr="Reference Manual for Isabelle"
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    41
           url="http://isabelle.in.tum.de/dist/Isabelle/doc/ref.pdf"
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    42
  >ref</helpdoc>
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    43
  <helpdoc name="Isabelle System manual"
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    44
	   descr="System Manual: interfaces, output, building logics."
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    45
           url="http://isabelle.in.tum.de/dist/Isabelle/doc/system.pdf"
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    46
  >system</helpdoc>
9c7fc0d5cf84 Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents: 17730
diff changeset
    47
15133
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    48
  <!-- objtypes -->
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    49
  <objtype name="toplevel" descr="top-level context (PGIP internal)">
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    50
  <contains objtype="theory"/>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    51
  </objtype>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    52
  <objtype name="theory" descr="Isabelle theory">
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    53
  <contains objtype="theorem"/>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    54
  <contains objtype="theory"/>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    55
  </objtype>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    56
  <objtype name="theorem" descr="Isabelle theorem">
17730
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    57
    <hasprefs prefcategory="Theorem attributes">
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    58
      <haspref name="thm-kind" descr="Theorem kind">
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    59
	<pgipchoice>
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    60
	  <pgipconst name="Theorem">theorem</pgipconst>
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    61
	  <pgipconst name="Lemma">lemma</pgipconst>
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    62
	  <pgipconst name="Corollary">corollary</pgipconst>
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    63
	</pgipchoice>
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    64
      </haspref>
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    65
      <haspref name="thm-simp" descr="Include in simplifier set">
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    66
	<pgipbool/>
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    67
      </haspref>
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    68
      <haspref name="thm-intro" descr="Flag as introduction rule">
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    69
	<pgipbool/>
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    70
      </haspref>
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    71
      <haspref name="thm-elim" descr="Flag as elimination rule">
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    72
	<pgipbool/>
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    73
      </haspref>
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    74
      <haspref name="thm-dest" descr="Flag as destruction rule">
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    75
	<pgipbool/>
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    76
      </haspref>
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
    77
    </hasprefs>
15133
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    78
  </objtype>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    79
  <objtype name="term"      descr="Isabelle term">
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    80
    <icon>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    81
      R0lGODlhJgAgAIQAAP////r6+uDg4Nra2tnZ2fn5+WFhYUJCQkFBQWBgYMnO
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    82
      91xq6K208wsg3XiD7OTm+0FR5CY54Pb29t3d3dfX119fX/T09NbW1tjY2AAA
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    83
      AAAAAAAAAAAAAAAAAAAAAAAAACH+FUNyZWF0ZWQgd2l0aCBUaGUgR0lNUAAh
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    84
      +QQBCgAfACwAAAAAJgAgAAAFnCAgjmRpnqgYCAPhvnAsz7BQAIJxIHzv/8Cg
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    85
      LyHA6YTI5I8IWLVo0Gjtlqpar9istqRYLBTbMIDRaDDEW7IZrVWf2VYGw1F2
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    86
      yBkP+KnM77/1Jm6AcWV/gyeChyiJioGFjYiPkCWMkyKVlpiTmpBqEJYlEWUR
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    87
      XgugDBCjDnmgrZMSExQUUrQ0NgADFUq7SUy5vMBATBYDFxi1yFMAIQA7
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    88
    </icon>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    89
  </objtype>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    90
  <objtype name="type"      descr="Isabelle type">
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    91
    <icon>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    92
      R0lGODlhJgAgAIQAAP////r6+uDg4Nra2tnZ2fn5+WFhYUJCQkFBQWBgYOTm
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    93
      +62080FR5Asg3SY54Fxq6MnO95Kc73iD7Pb29t3d3dfX119fX/T09NbW1tjY
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    94
      2AAAAAAAAAAAAAAAAAAAAAAAACH+FUNyZWF0ZWQgd2l0aCBUaGUgR0lNUAAh
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    95
      +QQBCgAfACwAAAAAJgAgAAAFsyAgjmRpnqgYCAPhvnAsz7BQAIJxIHzv/8Cg
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    96
      LyHA6YTI5I8IWLVo0Gjtlqpar9istqRYeL9exbaqYDTOaPRijFI40vDGmm16
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    97
      NB74NwOPh9C5DWIidn9VERIkb4UpEYIiZ4tZkJFWEA0MlFYLd5lVmw+dKZ8k
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    98
      fqEim4GnoKYAlndiDIisAG9ppawSaauzALkNsrzBwsPEIxMUFRVSyzQ2AAMW
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
    99
      StJJTNDT10BMFwMYGczfUwAhADs=
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   100
    </icon>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   101
  </objtype>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   102
  <objtype name="thmset"    descr="Set of Isabelle theorems">
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   103
    <contains objtype="theorem"/>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   104
  </objtype>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   105
<!-- possible objtypes not yet supported:
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   106
  <objtype name="oopsgoal"  descr="Abandoned proof"></objtype>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   107
  <objtype name="sorrygoal" descr="Postponed proof"></objtype>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   108
  <objtype name="proof"	    descr="Completed proof"></objtype>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   109
  <objtype name="method"    descr="Isar method or proof step"></objtype>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   110
-->
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   111
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   112
  <!-- object operations -->
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   113
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   114
  <opn name="add to simpset">
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   115
    <opsrc>theorem</opsrc>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   116
    <optrg></optrg>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   117
    <opcmd>declare %1 [simp]</opcmd>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   118
  </opn>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   119
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   120
  <opn name="remove from simpset">
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   121
    <opsrc>theorem</opsrc>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   122
    <optrg></optrg>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   123
    <opcmd>declare %1 [simp del]</opcmd>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   124
  </opn>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   125
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   126
  <opn name="instantiatevar">
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   127
    <opsrc>theorem term</opsrc>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   128
    <optrg>theorem</optrg>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   129
    <opcmd>%1 [OF %2]</opcmd>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   130
  </opn>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   131
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   132
  <!-- interactive operations -->
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   133
  <!-- da: this isn't really a good example.  
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   134
       Isar doesn't have cterms, the "term" command just checks & prints
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   135
       a term in the current context. -->
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   136
  <opn name="checkterm">
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   137
    <inputform>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   138
      <field name="term"><pgipstring/><prompt>Input a term:</prompt></field>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   139
    </inputform>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   140
    <opsrc></opsrc>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   141
    <optrg>term</optrg>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   142
    <opcmd>term %term</opcmd>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   143
  </opn>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   144
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   145
  <!-- proof operations -->
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   146
  <opn name="applyrule">
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   147
    <opsrc>ruleset</opsrc>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   148
    <opcmd>apply (rule %1)</opcmd>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   149
  </opn>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   150
  <opn name="applyerule">
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   151
    <opsrc>ruleset</opsrc>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   152
    <opcmd>apply (erule %1)</opcmd>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   153
  </opn>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   154
  <opn name="applydrule">
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   155
    <opsrc>ruleset</opsrc>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   156
    <opcmd>apply (drule %1)</opcmd>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   157
  </opn>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   158
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   159
  <!-- introduce new goal -->
17730
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
   160
  <!-- [FIXME: ideally need to generalise substitution for options? in pgipchoice] -->
15133
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   161
  <opn name="openlemma">
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   162
    <inputform>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   163
      <field name="name"><pgipstring/><prompt>Input a name:</prompt></field>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   164
      <field name="term"><pgipstring/><prompt>Input a term:</prompt></field>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   165
      <field name="attributes">
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   166
	<pgipchoice>
15193
4ed712d3551f Fix for schema changes in pgiptype
aspinall
parents: 15133
diff changeset
   167
	<pgipconst name="none"></pgipconst>
4ed712d3551f Fix for schema changes in pgiptype
aspinall
parents: 15133
diff changeset
   168
	<pgipconst name="use in global simplifier context">[simp]</pgipconst>
15133
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   169
	</pgipchoice>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   170
	<prompt>Attributes:</prompt></field>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   171
    </inputform>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   172
    <opsrc></opsrc>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   173
    <opcmd>lemma %attributes %name : "%term"</opcmd>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   174
  </opn>
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   175
17730
643f0f4293ae Fix for guiconfig -> displayconfig element rename
aspinall
parents: 15193
diff changeset
   176
</displayconfig>
15133
87c074aad007 Experimental pgip_isar.xml file
aspinall
parents:
diff changeset
   177