1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 (* This file was automatically generated: do not edit *********************)
17 set "baseuri" "cic:/matita/CoRN-Decl/tactics/DiffTactics3".
21 (* $Id: DiffTactics3.v,v 1.1.1.1 2004/02/05 16:25:44 lionelm Exp $ *)
25 include "ftc/MoreFunSeries.ma".
27 include "ftc/Composition.ma".
29 include "tactics/DiffTactics2.ma".
34 | |- (Derivative ?X1 _) =>
35 let t := derivative_of X1 in
36 apply Derivative_wdr with t
40 inline "cic:/CoRN/tactics/DiffTactics3/symbPF.ind".
43 | ssum0 : nat->(nat->symbPF)->symbPF
44 | ssumx : (n:nat)((i:nat)(lt i n)->symbPF)->symbPF
45 | ssum : nat->nat->(nat->symbPF)->symbPF
48 inline "cic:/CoRN/tactics/DiffTactics3/symb_to_PartIR.con".
50 inline "cic:/CoRN/tactics/DiffTactics3/symbPF_deriv.con".
53 Ltac PartIR_to_symbPF f :=
55 | ([-C-]?X3) => constr:(sconst X3)
58 let t1 := PartIR_to_symbPF X3 with t2 := PartIR_to_symbPF X4 in
61 let t1 := PartIR_to_symbPF X3 in
64 let t1 := PartIR_to_symbPF X3 with t2 := PartIR_to_symbPF X4 in
67 let t1 := PartIR_to_symbPF X3 with t2 := PartIR_to_symbPF X4 in
70 let t := PartIR_to_symbPF X4 in
71 constr:(sscalmult X3 t)
73 let t1 := PartIR_to_symbPF X3 in
76 let t1 := PartIR_to_symbPF X3 in
79 let t1 := PartIR_to_symbPF X3 with t2 := PartIR_to_symbPF X4 in
82 let t1 := PartIR_to_symbPF X3 with t2 := PartIR_to_symbPF X4 in
87 | H:(Derivative ?X1 ?X2 t ?X4) |- _ =>
88 constr:(shyp X1 X2 t X4 H)
89 | H:(Diffble ?X1 ?X2 t) |- _ => constr:(shyp' X1 X2 t H)
95 Ltac Derivative_Help :=
97 | |- (Derivative ?X1 ?X2 ?X3 ?X4) =>
98 let r := PartIR_to_symbPF X3 in
99 (apply Derivative_wdr with (symbPF_deriv r);
100 [ unfold symbPF_deriv, symb_to_PartIR in |- *
101 | simpl in |- *; Deriv ])