X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fhelp%2FC%2Fsec_terms.xml;h=3cae2f84c1866ad13d858e14eb32953176c38c13;hb=6beaf573e5639ddba6b55488e44aa6d4f298b052;hp=d521ac87060a6a2e0a462fd8ae079e2235184696;hpb=48aa99d1d9659e55d68ab3ef50b10bc6165eee03;p=helm.git
diff --git a/helm/software/matita/help/C/sec_terms.xml b/helm/software/matita/help/C/sec_terms.xml
index d521ac870..3cae2f84c 100644
--- a/helm/software/matita/help/C/sec_terms.xml
+++ b/helm/software/matita/help/C/sec_terms.xml
@@ -26,6 +26,18 @@
Terms & co.
Lexical conventions
+
+ qstring
+
+
+
+ &qstring;
+ ::=
+ "â©â©any sequence of characters excluded "âªâª"
+
+
+
+
id
@@ -186,7 +198,7 @@
&rec_def;
::=
- &id; [&id;|(&id;[,&term;]⦠:&term;)]â¦
+ &id; [&id;|_|(&id;[,&id;]⦠:&term;)]â¦
@@ -194,7 +206,7 @@
- [on &nat;]
+ [on &id;]
[: &term;]
â &term;]
@@ -273,7 +285,7 @@
|
match &term;
- [ in &term; ]
+ [ in &id; ]
[ return &term; ]
with
@@ -375,6 +387,18 @@
(&id; &id; [&id;]â¦)
n-ary constructor (binds the n arguments)
+
+
+ |
+ &id; &id; [&id;]â¦
+ n-ary constructor (binds the n arguments)
+
+
+
+ |
+ _
+ any remaining constructor (ignoring its arguments)
+
@@ -405,6 +429,11 @@
f must be defined by means of tactics.
Notice that the command is equivalent to theorem f: T â t.
+
+ letrec &TODO;
+ &TODO;
+ &TODO;
+
[inductive|coinductive] &id; [&args2;]⦠: &term; â [|] [&id;:&term;] [| &id;:&term;]â¦
[with &id; : &term; â [|] [&id;:&term;] [| &id;:&term;]â¦]â¦
@@ -545,7 +574,7 @@
|
- in match &term;
+ in match &path;
[in
[&id;[: &path;]]â¦
[⢠&path;]]
@@ -561,7 +590,7 @@
&path;
::=
- â©â©any &sterm; whithout occurrences of Set, Prop, CProp, Type, &id;, &uri; and user provided notation; however, % is now an additional production for &sterm;âªâª
+ â©â©any &sterm; without occurrences of Set, Prop, CProp, Type, &id;, &uri; and user provided notation; however, % is now an additional production for &sterm;âªâª
@@ -574,6 +603,26 @@
that can be represented by ?.
+ Warning: the format for a path for a match ⦠with
+ expression is restricted to: match &path;
+ with
+ [
+ _
+ â
+ &path;
+ | â¦
+ |
+ _
+ â
+ &path;
+ ]
+ Its semantics is the following: the n-th
+ "_
+ â
+ &path;" branch is matched against the n-th constructor of the
+ inductive data type. The head λ-abstractions of &path; are matched
+ against the corresponding constructor arguments.
+
For instance, the path
â_,_:?.(? ? % ?)â(? ? ? %)
locates at once the subterms
@@ -643,11 +692,6 @@
&reduction-kind;
::=
- demodulate
-
-
-
- |
normalize
Computes the βδιζ-normal form
@@ -680,6 +724,36 @@
+
+
+ auto-params
+ &TODO;
+
+ reduction-kind
+
+
+
+ &autoparams;
+ ::=
+ depth=&nat;
+ &TODO;
+
+
+
+ |
+ width=&nat;
+ &TODO;
+
+
+
+ |
+ &TODO;
+ &TODO;
+
+
+
+
+