X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcontribs%2FLOGIC%2FInsert%2Fdefs.ma;h=a5c9b273ab099f68ce44d1dc5d58d640be423e8c;hb=add325fb02ab0e46a2c7bbffb2e9c980128f0f69;hp=7b72c5c7ce352110c85f9b92ea52d50e71e82f75;hpb=e0b576827e1d1dd243f304e68cda6b0c7cc21978;p=helm.git diff --git a/helm/software/matita/contribs/LOGIC/Insert/defs.ma b/helm/software/matita/contribs/LOGIC/Insert/defs.ma index 7b72c5c7c..a5c9b273a 100644 --- a/helm/software/matita/contribs/LOGIC/Insert/defs.ma +++ b/helm/software/matita/contribs/LOGIC/Insert/defs.ma @@ -17,10 +17,14 @@ set "baseuri" "cic:/matita/LOGIC/Insert/defs". (* INSERT RELATION FOR CONTEXTS *) +include "Lift/defs.ma". include "datatypes/Context.ma". -inductive Insert (S:Sequent): Nat \to Context \to Context \to Prop \def - | insert_zero: \forall P. Insert S zero P (abst P S) - | insert_succ: \forall P,Q,R,i. - Insert S i P Q \to Insert S (succ i) (abst P R) (abst Q R) +inductive Insert (p,q:Proof) (S:Sequent): + Nat \to Context \to Context \to Prop \def + | insert_zero: \forall P. Insert p q S zero P (abst P p q S) + | insert_succ: \forall P,Q,i. Insert p q S i P Q \to + \forall p1,p2. Lift i (succ zero) p1 p2 \to + \forall q1,q2. Lift i (succ zero) q1 q2 \to \forall R. + Insert p q S (succ i) (abst P p1 q1 R) (abst Q p2 q2 R) .