From b2213b9fbc56461ef47b971686edbba82a9658bf Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Wed, 6 Jun 2007 09:07:33 +0000 Subject: [PATCH] added doc for compose --- matita/help/C/sec_tactics.xml | 52 ++++++++++++++++++++++++++++++ matita/help/C/tactics_quickref.xml | 5 +++ 2 files changed, 57 insertions(+) diff --git a/matita/help/C/sec_tactics.xml b/matita/help/C/sec_tactics.xml index e03dece5b..0fabbbf7c 100644 --- a/matita/help/C/sec_tactics.xml +++ b/matita/help/C/sec_tactics.xml @@ -344,6 +344,58 @@ + + compose + compose + compose n t1 with t2 hyps + + + + Synopsis: + + compose [&nat;] &sterm; [with &sterm;] [&intros-spec;] + + + + Pre-conditions: + + + + + + Action: + + Composes t1 with t2 in every possible way + n times introducing generated terms + as if intros hyps was issued. + If t1:∀x:A.B[x] and + t2:∀x,y:A.B[x]→B[y]→C[x,y] it generates: + + + λx,y:A.t2 x y (t1 x) : ∀x,y:A.B[y]→C[x,y] + + + λx,y:A.λH:B[x].t2 x y H (t1 y) : ∀x,y:A.B[x]→C[x,y] + + + + + If t2 is omitted it composes + t1 + with every hypothesis that can be introduced. + n iterates the process. + + + + New sequents to prove: + + The same, but with more hypothesis eventually introduced + by the &intros-spec;. + + + + + change change diff --git a/matita/help/C/tactics_quickref.xml b/matita/help/C/tactics_quickref.xml index 70d42ac2b..119985dc4 100644 --- a/matita/help/C/tactics_quickref.xml +++ b/matita/help/C/tactics_quickref.xml @@ -57,6 +57,11 @@ | clearbody id + + + | + compose [&nat;] &sterm; [with &sterm;] [&intros-spec;] + | -- 2.39.2