X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcontribs%2FRELATIONAL%2FNLE%2Finv.ma;h=af2fa812bd058a3c9582c7122fd6a1e8161b4573;hb=3e094922bf3fec6975fdbe6feceb509eaafe0563;hp=bc878009c2ac3b3129b814fc1ef39ad067815397;hpb=00e0c1d5cff8d5b5588185e1a70352a2e7a1a8e9;p=helm.git diff --git a/helm/software/matita/contribs/RELATIONAL/NLE/inv.ma b/helm/software/matita/contribs/RELATIONAL/NLE/inv.ma index bc878009c..af2fa812b 100644 --- a/helm/software/matita/contribs/RELATIONAL/NLE/inv.ma +++ b/helm/software/matita/contribs/RELATIONAL/NLE/inv.ma @@ -12,43 +12,29 @@ (* *) (**************************************************************************) -set "baseuri" "cic:/matita/RELATIONAL/NLE/inv". + include "NLE/defs.ma". theorem nle_inv_succ_1: \forall x,y. x < y \to \exists z. y = succ z \land x <= z. - intros. inversion H; clear H; intros; subst; - [ destruct H - | destruct H2. clear H2. subst. auto - ] + intros. inversion H; clear H; intros; destruct. autobatch. qed. theorem nle_inv_succ_succ: \forall x,y. x < succ y \to x <= y. - intros. inversion H; clear H; intros; subst; - [ destruct H - | destruct H2. destruct H3. clear H2 H3. subst. auto - ] + intros. inversion H; clear H; intros; destruct. autobatch. qed. theorem nle_inv_succ_zero: \forall x. x < zero \to False. - intros. inversion H; clear H; intros; subst; - [ destruct H - | destruct H3 - ] + intros. inversion H; clear H; intros; destruct. qed. theorem nle_inv_zero_2: \forall x. x <= zero \to x = zero. - intros. inversion H; clear H; intros; subst; - [ auto - | destruct H3 - ]. + intros. inversion H; clear H; intros; destruct. autobatch. qed. theorem nle_inv_succ_2: \forall y,x. x <= succ y \to x = zero \lor \exists z. x = succ z \land z <= y. - intros. inversion H; clear H; intros; subst; - [ auto - | destruct H3. clear H3. subst. auto depth = 4 - ]. + intros. inversion H; clear H; intros; destruct; + autobatch depth = 4. qed.