X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcontribs%2FLOGIC%2FInsert%2Finv.ma;h=9053183f969ab3f25f78849be9adb553d916111a;hb=cf5540f056d6d4fa1612e08d41253d1d009f5d44;hp=b612858a316477650866ec4a88c087de5629868e;hpb=72a05c70f5ab9dabb704f1dc334920b10a8f4bb9;p=helm.git diff --git a/matita/contribs/LOGIC/Insert/inv.ma b/matita/contribs/LOGIC/Insert/inv.ma index b612858a3..9053183f9 100644 --- a/matita/contribs/LOGIC/Insert/inv.ma +++ b/matita/contribs/LOGIC/Insert/inv.ma @@ -20,18 +20,18 @@ 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,17 +39,17 @@ 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 ].