X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcontribs%2FLOGIC%2FInsert%2Finv.ma;h=df5ca04f32d6a2534207bea61361f96245dfb9b4;hb=e880d6eab5e1700f4a625ddcd7d0fa8f0cce2dcc;hp=229b9cc336b6f7b950c4d0657433b5da80bba344;hpb=e0b576827e1d1dd243f304e68cda6b0c7cc21978;p=helm.git diff --git a/helm/software/matita/contribs/LOGIC/Insert/inv.ma b/helm/software/matita/contribs/LOGIC/Insert/inv.ma index 229b9cc33..df5ca04f3 100644 --- a/helm/software/matita/contribs/LOGIC/Insert/inv.ma +++ b/helm/software/matita/contribs/LOGIC/Insert/inv.ma @@ -12,26 +12,26 @@ (* *) (**************************************************************************) -set "baseuri" "cic:/matita/LOGIC/Insert/inv". + (* *) include "Insert/defs.ma". - +(* theorem insert_inv_zero: \forall S,P,Q. Insert S zero P Q \to Q = abst P S. - intros; inversion H; clear H; intros; subst; autobatch. + intros; inversion H; clear H; intros; destruct; autobatch. qed. theorem insert_inv_succ: \forall S,Q1,Q2,i. Insert S (succ i) Q1 Q2 \to \exists P1,P2,R. Insert S i P1 P2 \land Q1 = abst P1 R \land Q2 = abst P2 R. - intros; inversion H; clear H; intros; subst; autobatch depth = 6 size = 8. + intros; inversion H; clear H; intros; destruct; autobatch depth = 6 size = 8. qed. theorem insert_inv_leaf_1: \forall Q,S,i. Insert S i leaf Q \to i = zero \land Q = S. - intros. inversion H; clear H; intros; subst. autobatch. + intros. inversion H; clear H; intros; destruct. autobatch. qed. theorem insert_inv_abst_1: \forall P,Q,R,S,i. Insert S i (abst P R) Q \to @@ -39,18 +39,19 @@ theorem insert_inv_abst_1: \forall P,Q,R,S,i. Insert S i (abst P R) Q \to \exists n, c1. i = succ n \land Q = abst c1 R \land Insert S n P c1. - intros. inversion H; clear H; intros; subst; autobatch depth = 6 size = 8. + intros. inversion H; clear H; intros; destruct; autobatch depth = 6 size = 8. qed. theorem insert_inv_leaf_2: \forall P,S,i. Insert S i P leaf \to False. - intros. inversion H; clear H; intros; subst. + intros. inversion H; clear H; intros; destruct. qed. theorem insert_inv_abst_2: \forall P,i. \forall R,S:Sequent. Insert S i P R \to i = zero \land P = leaf \land R = S. - intros. inversion H; clear H; intros; subst; + intros. inversion H; clear H; intros; destruct; [ autobatch | clear H1. lapply linear insert_inv_leaf_2 to H. decompose ]. qed. +*)