X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcontribs%2FRELATIONAL%2FNLE%2Finv.ma;h=649a5b8a4cd4b6f6044aaf998a4e8942d4919d60;hb=d9824956d9132109ed5f23380a0a1f9c5181d18a;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..649a5b8a4 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 - ] +theorem nle_inv_succ_1: ∀x,y. x < y → + ∃z. y = succ z ∧ x ≤ z. + 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 - ] +theorem nle_inv_succ_succ: ∀x,y. x < succ y → x ≤ y. + 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 - ] +theorem nle_inv_succ_zero: ∀x. x < zero → False. + 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 - ]. +theorem nle_inv_zero_2: ∀x. x ≤ zero → x = zero. + 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 - ]. +theorem nle_inv_succ_2: ∀y,x. x ≤ succ y → + x = zero ∨ ∃z. x = succ z ∧ z ≤ y. + intros; inversion H; clear H; intros; destruct; + autobatch depth = 4. qed.