From 9ef9dee20a757c8bbf0aad2eb51e4c809281b371 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Fri, 9 Jun 2006 15:54:19 +0000 Subject: [PATCH] More documentation committed. --- helm/software/matita/help/C/matita.xml | 3 + helm/software/matita/help/C/sec_tactics.xml | 61 ++++++++++---- helm/software/matita/help/C/sec_terms.xml | 90 +++++++++++++++++++++ 3 files changed, 137 insertions(+), 17 deletions(-) diff --git a/helm/software/matita/help/C/matita.xml b/helm/software/matita/help/C/matita.xml index 7b3b3d30c..cdb5108c8 100644 --- a/helm/software/matita/help/C/matita.xml +++ b/helm/software/matita/help/C/matita.xml @@ -33,6 +33,9 @@ args"> args2"> sterm"> + intros-spec"> + pattern"> + reduction-kind"> ]> diff --git a/helm/software/matita/help/C/sec_tactics.xml b/helm/software/matita/help/C/sec_tactics.xml index 01d9ea63e..90c7f4975 100644 --- a/helm/software/matita/help/C/sec_tactics.xml +++ b/helm/software/matita/help/C/sec_tactics.xml @@ -188,7 +188,7 @@ - <emphasis role="bold">change</emphasis> <pattern> <emphasis role="bold">with</emphasis> &sterm; + <emphasis role="bold">change</emphasis> &pattern; <emphasis role="bold">with</emphasis> &sterm; change change patt with t @@ -312,7 +312,7 @@ - <emphasis role="bold">decompose</emphasis> &id; [&id;]… [<intros_spec>] + <emphasis role="bold">decompose</emphasis> &id; [&id;]… &intros-spec; decompose decompose ??? @@ -338,6 +338,33 @@ + + <emphasis role="bold">demodulation</emphasis> &pattern; + demodulation + demodulation patt + + + + Pre-conditions: + + None. + + + + Action: + + &TODO; + + + + New sequents to prove: + + None. + + + + + <emphasis role="bold">discriminate</emphasis> &sterm; discriminate @@ -368,7 +395,7 @@ its constructor takes no arguments. - <emphasis role="bold">elim</emphasis> &sterm; [<emphasis role="bold">using</emphasis> &sterm;] [<intros_spec>] + <emphasis role="bold">elim</emphasis> &sterm; [<emphasis role="bold">using</emphasis> &sterm;] &intros-spec; elim elim t using th hyps @@ -405,7 +432,7 @@ its constructor takes no arguments. - <emphasis role="bold">elimType</emphasis> &sterm; [<emphasis role="bold">using</emphasis> &sterm;] [<intros_spec>] + <emphasis role="bold">elimType</emphasis> &sterm; [<emphasis role="bold">using</emphasis> &sterm;] &intros-spec; elimType elimType T using th hyps @@ -518,7 +545,7 @@ its constructor takes no arguments. - <emphasis role="bold">fold</emphasis> <reduction_kind> &sterm; <pattern> + <emphasis role="bold">fold</emphasis> &reduction-kind; &sterm; &pattern; fold fold red t patt @@ -580,7 +607,7 @@ its constructor takes no arguments. - <emphasis role="bold">fwd</emphasis> &id; [<ident list>] + <emphasis role="bold">fwd</emphasis> &id; [<emphasis role="bold">(</emphasis>[&id;]…<emphasis role="bold">)</emphasis>] fwd fwd ...TODO @@ -607,7 +634,7 @@ its constructor takes no arguments. - <emphasis role="bold">generalize</emphasis> <pattern> [<emphasis role="bold">as</emphasis> &id;] + <emphasis role="bold">generalize</emphasis> &pattern; [<emphasis role="bold">as</emphasis> &id;] generalize generalize patt as H @@ -734,7 +761,7 @@ its constructor takes no arguments. - <emphasis role="bold">intros</emphasis> <intros_spec> + <emphasis role="bold">intros</emphasis> &intros-spec; intros intros hyps @@ -806,7 +833,7 @@ its constructor takes no arguments. - <emphasis role="bold">lapply</emphasis> [<emphasis role="bold">depth=</emphasis>&nat;] &sterm; [<emphasis role="bold">to</emphasis> <term list>] [<emphasis role="bold">using</emphasis> &id;] + <emphasis role="bold">lapply</emphasis> [<emphasis role="bold">depth=</emphasis>&nat;] &sterm; [<emphasis role="bold">to</emphasis> &sterm; [&sterm;]…] [<emphasis role="bold">using</emphasis> &id;] lapply lapply ??? @@ -892,7 +919,7 @@ its constructor takes no arguments. - <emphasis role="bold">normalize</emphasis> <pattern> + <emphasis role="bold">normalize</emphasis> &pattern; normalize normalize patt @@ -920,7 +947,7 @@ its constructor takes no arguments. - <emphasis role="bold">paramodulation</emphasis> <pattern> + <emphasis role="bold">paramodulation</emphasis> &pattern; paramodulation paramodulation patt @@ -947,7 +974,7 @@ its constructor takes no arguments. - <emphasis role="bold">reduce</emphasis> <pattern> + <emphasis role="bold">reduce</emphasis> &pattern; reduce reduce patt @@ -1004,7 +1031,7 @@ its constructor takes no arguments. - <emphasis role="bold">replace</emphasis> <pattern> <emphasis role="bold">with</emphasis> &sterm; + <emphasis role="bold">replace</emphasis> &pattern; <emphasis role="bold">with</emphasis> &sterm; change change patt with t @@ -1036,7 +1063,7 @@ its constructor takes no arguments. - <emphasis role="bold">rewrite</emphasis> [<emphasis role="bold"><</emphasis>|<emphasis role="bold">></emphasis>] &sterm; <pattern> + <emphasis role="bold">rewrite</emphasis> [<emphasis role="bold"><</emphasis>|<emphasis role="bold">></emphasis>] &sterm; &pattern; rewrite rewrite dir p patt @@ -1133,7 +1160,7 @@ its constructor takes no arguments. - <emphasis role="bold">simplify</emphasis> <pattern> + <emphasis role="bold">simplify</emphasis> &pattern; simplify simplify patt @@ -1250,7 +1277,7 @@ the current sequent to prove. - <emphasis role="bold">unfold</emphasis> [&sterm;] <pattern> + <emphasis role="bold">unfold</emphasis> [&sterm;] &pattern; unfold unfold t patt @@ -1282,7 +1309,7 @@ the current sequent to prove. - <emphasis role="bold">whd</emphasis> <pattern> + <emphasis role="bold">whd</emphasis> &pattern; whd whd patt diff --git a/helm/software/matita/help/C/sec_terms.xml b/helm/software/matita/help/C/sec_terms.xml index c50e590b0..d2594c718 100644 --- a/helm/software/matita/help/C/sec_terms.xml +++ b/helm/software/matita/help/C/sec_terms.xml @@ -478,5 +478,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 specified, or that + in head position if none is specified + + + + | + whd + Computes the βδιζ-weak-head normal form + + + +
+
+
+ -- 2.39.2