X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcontribs%2FRELATIONAL%2FNLE%2Forder.ma;h=473ac601d889d34fa47e01e64742d21ae1b7c3f1;hb=d9824956d9132109ed5f23380a0a1f9c5181d18a;hp=6918bbc0f95ad6610a93b4e8896382c9712b385d;hpb=5c1b44dfefa085fbb56e23047652d3650be9d855;p=helm.git diff --git a/helm/software/matita/contribs/RELATIONAL/NLE/order.ma b/helm/software/matita/contribs/RELATIONAL/NLE/order.ma index 6918bbc0f..473ac601d 100644 --- a/helm/software/matita/contribs/RELATIONAL/NLE/order.ma +++ b/helm/software/matita/contribs/RELATIONAL/NLE/order.ma @@ -16,37 +16,36 @@ include "NLE/inv.ma". -theorem nle_refl: \forall x. x <= x. +theorem nle_refl: ∀x. x ≤ x. intros; elim x; clear x; autobatch. qed. -theorem nle_trans: \forall x,y. x <= y \to - \forall z. y <= z \to x <= z. - intros 3. elim H; clear H x y; +theorem nle_trans: ∀x,y. x ≤ y → ∀z. y ≤ z → x ≤ z. + intros 3; elim H; clear H x y; [ autobatch | lapply linear nle_inv_succ_1 to H3. decompose. destruct. autobatch ]. qed. -theorem nle_false: \forall x,y. x <= y \to y < x \to False. +theorem nle_false: ∀x,y. x ≤ y → y < x → False. intros 3; elim H; clear H x y; autobatch. qed. -theorem nle_irrefl: \forall x. x < x \to False. +theorem nle_irrefl: ∀x. x < x → False. intros. autobatch. qed. -theorem nle_irrefl_ei: \forall x, z. z <= x \to z = succ x \to False. - intros 3. elim H; clear H x z; destruct. autobatch. +theorem nle_irrefl_ei: ∀x, z. z ≤ x → z = succ x → False. + intros 3; elim H; clear H x z; destruct; autobatch. qed. -theorem nle_irrefl_smart: \forall x. x < x \to False. +theorem nle_irrefl_smart: ∀x. x < x → False. intros 1. elim x; clear x; autobatch. qed. -theorem nle_lt_or_eq: \forall y, x. x <= y \to x < y \lor x = y. - intros. elim H; clear H x y; +theorem nle_lt_or_eq: ∀y, x. x ≤ y → x < y ∨ x = y. + intros; elim H; clear H x y; [ elim n; clear n | decompose ]; autobatch.