X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fhelp%2FC%2Fsec_terms.xml;h=8e680bb7cb7e83d9133383cd6eb6b3590d1c0e4c;hb=8f699ab265e380a2d1ab7dba0ee5e8ba5556a84a;hp=a1353b2f021aac59be2fe0896c2fbd827ab2795d;hpb=ddc80515997a3f56085c6234d4db326141e189aa;p=helm.git diff --git a/matita/matita/help/C/sec_terms.xml b/matita/matita/help/C/sec_terms.xml index a1353b2f0..8e680bb7c 100644 --- a/matita/matita/help/C/sec_terms.xml +++ b/matita/matita/help/C/sec_terms.xml @@ -524,13 +524,15 @@ P. Otherwise an interactive proof is started. P can be omitted only if the proof is not interactive. + A warning is raised if the name of the theorem cannot be obtained by mangling the name of the constants in its thesis. Notice that the command is equivalent to definition f: T ≝ t. + + + <emphasis role="bold">corollary</emphasis> &id;[<emphasis role="bold">:</emphasis> &term;] [<emphasis role="bold">≝</emphasis> &term;] + corollary + corollary f: T ≝ t + Same as theorem f: T ≝ t <emphasis role="bold">lemma</emphasis> &id;[<emphasis role="bold">:</emphasis> &term;] [<emphasis role="bold">≝</emphasis> &term;] @@ -551,11 +559,12 @@ fact f: T ≝ t Same as theorem f: T ≝ t - - <emphasis role="bold">remark</emphasis> &id;[<emphasis role="bold">:</emphasis> &term;] [<emphasis role="bold">≝</emphasis> &term;] - remark - remark f: T ≝ t - Same as theorem f: T ≝ t + + <emphasis role="bold">example</emphasis> &id;[<emphasis role="bold">:</emphasis> &term;] [<emphasis role="bold">≝</emphasis> &term;] + example + example f: T ≝ t + Same as theorem f: T ≝ t, but the example + is not indexed nor used by automation. @@ -564,6 +573,7 @@ This section documents the syntax of some recurring arguments for tactics. + pattern @@ -590,18 +601,18 @@ &pattern; ::= - in + { [&id;[: &path;]]… - [⊢ &path;]] + [⊢ &path;]]} simple pattern | - in match &path; + {match &path; [in [&id;[: &path;]]… - [⊢ &path;]] + [⊢ &path;]]} full pattern @@ -657,7 +668,7 @@ A simple pattern extends paths to locate subterms in a whole sequent. In particular, the pattern - in H: p K: q ⊢ r locates at once all the subterms + { H: p K: q ⊢ r } locates at once all the subterms located by the pattern r in the conclusion of the sequent and by the patterns p and q in the hypotheses H @@ -684,11 +695,11 @@ A full pattern can always be replaced by a simple pattern, often at the cost of increased verbosity or decreased readability. Example: the pattern - ⊢ in match x+y in ∀_,_:?.(? ? % ?) + { match x+y in ⊢ ∀_,_:?.(? ? % ?) } locates only the first occurrence of x+y in the sequent x,y: nat ⊢ ∀z,w:nat. (x+y) * (z+w) = z * (x+y) + w * (x+y). The corresponding simple pattern - is ⊢ ∀_,_:?.(? ? (? % ?) ?). + is { ⊢ ∀_,_:?.(? ? (? % ?) ?) }. Every tactic that acts on subterms of the selected sequents have a pattern argument for uniformity. To automatically generate a simple @@ -716,27 +727,16 @@ &reduction-kind; ::= - normalize - 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 + normalize [nodelta] + Computes the βδιζ-normal form. If nodelta + is specified, δ-expansions are not performed. | - whd - Computes the βδιζ-weak-head normal form + whd [nodelta] + Computes the βδιζ-weak-head normal form. If nodelta + is specified, δ-expansions are not performed. @@ -815,6 +815,7 @@ +