X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fhelp%2FC%2Fsec_terms.xml;h=11b06b21cab7269c8bd3bd2867ed8bc48b31f1c5;hb=aebd5af5c7d3e422813159d81fde05b6a9778765;hp=c50e590b0636ecbdc9132e17da5d2383372e2d26;hpb=9efaf66294d18446b7cd960f9ed4203799073e62;p=helm.git
diff --git a/helm/software/matita/help/C/sec_terms.xml b/helm/software/matita/help/C/sec_terms.xml
index c50e590b0..11b06b21c 100644
--- a/helm/software/matita/help/C/sec_terms.xml
+++ b/helm/software/matita/help/C/sec_terms.xml
@@ -26,78 +26,90 @@
Terms & co.
Lexical conventions
-
-
+
id
- &id;
+ &id;
::=
- â©â©any sequence of letters, underscores or valid XML digits prefixed by a latin letter ([a-zA-Z]) and post-fixed by a possible empty sequence of decorators ([?'`])âªâª
+ â©â©any sequence of letters, underscores or valid XML digits prefixed by a latin letter ([a-zA-Z]) and post-fixed by a possible empty sequence of decorators ([?'`])âªâª
-
+
nat
- &nat;
+ &nat;
::=
- â©â©any sequence of valid XML digits
+ â©â©any sequence of valid XML digitsâªâª
-
+
char
- &char;
+ &char;
::=
[a-zA-Z0-9_-]
-
+
uri-step
- &uri-step;
+ &uri-step;
::=
&char;[&char;]â¦
-
+
uri
- &uri;
+ &uri;
::=
[cic:/|theory:/]&uri-step;[/&uri-step;]â¦.&id;[.&id;]â¦[#xpointer(&nat;/&nat;[/&nat;]â¦)]
-
Terms
+
+
+
+
-
+
Terms
- &term;
+ &term;
::=
&sterm;
simple or delimited term
@@ -141,11 +153,10 @@
|
- let
- [co]rec
- &id; [&id;|(&id;[,&term;]⦠:&term;)]⦠[on &nat;]
- [: &term;]
- â &term;
+
+ let
+ [co]rec
+ &rec_def;
(co)recursive definitions
@@ -153,10 +164,7 @@
- [and
- [&id;|(&id;[,&term;]⦠:&term;)]⦠[on &nat;]
- [: &term;]
- â &term;]â¦
+ [and &rec_def;]â¦
@@ -174,16 +182,34 @@
â¦
user provided notation
+
+ &rec_def;
+ ::=
+
+ &id; [&id;|(&id;[,&term;]⦠:&term;)]â¦
+
+
+
+
+
+
+
+ [on &nat;]
+ [: &term;]
+ â &term;]
+
+
+
-
+
Simple terms
- &sterm;
+ &sterm;
::=
(&term;)
@@ -252,11 +278,9 @@
[
- &match_pattern; â &term;
- [
- |
- &match_pattern; â &term;
- ]â¦]
+ &match_branch;[|&match_branch;]â¦
+ ]
+
@@ -275,12 +299,12 @@
-
+
Arguments
- &args;
+ &args;
::=
_[: &term;]
@@ -307,16 +331,8 @@
(&id;[,&id;]â¦[: &term;])
-
-
-
-
-
- Miscellaneous arguments
-
-
- &args2;
+ &args2;
::=
&id;
@@ -331,12 +347,18 @@
-
+
Pattern matching
+
+ &match_branch;
+ ::=
+ &match_pattern; â &term;
+
+
- &match_pattern;
+ &match_pattern;
::=
&id;
0-ary constructor
@@ -478,5 +500,95 @@
+
+ Tactic arguments
+ This section documents the syntax of some recurring arguments for
+ tactics.
+
+
+ intros-spec
+
+ intros-spec
+
+
+
+ &intros-spec;
+ ::=
+ [&nat;] [([&id;]â¦)]
+
+
+
+
+ The natural number is the number of new hypotheses to be introduced. The list of identifiers gives the name for the first hypotheses.
+
+
+
+ pattern
+
+ pattern
+
+
+
+ &pattern;
+ ::=
+ &TODO;
+
+
+
+
+ &TODO;
+
+
+
+ reduction-kind
+ Reduction kinds are normalization functions that transform a term
+ to a convertible but simpler one. Each reduction kind can be used both
+ as a tactic argument and as a stand-alone tactic.
+
+ reduction-kind
+
+
+
+ &reduction-kind;
+ ::=
+ demodulate
+
+
+
+ |
+ normalize
+ Computes the βδιζ-normal form
+
+
+
+ |
+ reduce
+ Computes the βδιζ-normal form
+
+
+
+ |
+ simplify
+ Computes a form supposed to be simpler
+
+
+
+ |
+ unfold [&sterm;]
+ δ-reduces the constant or variable if specified, or that
+ in head position
+
+
+
+ |
+ whd
+ Computes the βδιζ-weak-head normal form
+
+
+
+
+
+
+