X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fhelp%2FC%2Fsec_terms.xml;h=11b06b21cab7269c8bd3bd2867ed8bc48b31f1c5;hb=648d1495bb71b72169bc67c78071600b82a5bfda;hp=d2594c718ba2c35d753c3e4c9c6a1edb1ab04039;hpb=3beaf3083a6677e1ea8228e618f385bef67b7f15;p=helm.git diff --git a/matita/help/C/sec_terms.xml b/matita/help/C/sec_terms.xml index d2594c718..11b06b21c 100644 --- a/matita/help/C/sec_terms.xml +++ b/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 @@ -485,12 +507,12 @@ intros-spec -
+
intros-spec - &intros-spec; + &intros-spec; ::= [&nat;] [([&id;]…)] @@ -502,12 +524,12 @@ pattern -
+
pattern - &pattern; + &pattern; ::= &TODO; @@ -522,12 +544,12 @@ 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; + &reduction-kind; ::= demodulate @@ -553,8 +575,8 @@ | unfold [&sterm;] - δ-reduces the constant or variable specified, or that - in head position if none is specified + δ-reduces the constant or variable if specified, or that + in head position