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 *********************)
19 (* $Id: DiffTactics3.v,v 1.1.1.1 2004/02/05 16:25:44 lionelm Exp $ *)
23 include "ftc/MoreFunSeries.ma".
25 include "ftc/Composition.ma".
27 include "tactics/DiffTactics2.ma".
32 | |- (Derivative ?X1 _) =>
33 let t := derivative_of X1 in
34 apply Derivative_wdr with t
38 inline procedural "cic:/CoRN/tactics/DiffTactics3/symbPF.ind".
41 | ssum0 : nat->(nat->symbPF)->symbPF
42 | ssumx : (n:nat)((i:nat)(lt i n)->symbPF)->symbPF
43 | ssum : nat->nat->(nat->symbPF)->symbPF
46 inline procedural "cic:/CoRN/tactics/DiffTactics3/symb_to_PartIR.con" as definition.
48 inline procedural "cic:/CoRN/tactics/DiffTactics3/symbPF_deriv.con" as definition.
51 Ltac PartIR_to_symbPF f :=
53 | ([-C-]?X3) => constr:(sconst X3)
56 let t1 := PartIR_to_symbPF X3 with t2 := PartIR_to_symbPF X4 in
59 let t1 := PartIR_to_symbPF X3 in
62 let t1 := PartIR_to_symbPF X3 with t2 := PartIR_to_symbPF X4 in
65 let t1 := PartIR_to_symbPF X3 with t2 := PartIR_to_symbPF X4 in
68 let t := PartIR_to_symbPF X4 in
69 constr:(sscalmult X3 t)
71 let t1 := PartIR_to_symbPF X3 in
74 let t1 := PartIR_to_symbPF X3 in
77 let t1 := PartIR_to_symbPF X3 with t2 := PartIR_to_symbPF X4 in
80 let t1 := PartIR_to_symbPF X3 with t2 := PartIR_to_symbPF X4 in
85 | H:(Derivative ?X1 ?X2 t ?X4) |- _ =>
86 constr:(shyp X1 X2 t X4 H)
87 | H:(Diffble ?X1 ?X2 t) |- _ => constr:(shyp' X1 X2 t H)
93 Ltac Derivative_Help :=
95 | |- (Derivative ?X1 ?X2 ?X3 ?X4) =>
96 let r := PartIR_to_symbPF X3 in
97 (apply Derivative_wdr with (symbPF_deriv r);
98 [ unfold symbPF_deriv, symb_to_PartIR in |- *
99 | simpl in |- *; Deriv ])