]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/RELATIONAL/NLE/props.ma
propagating the arithmetics library, partial commit
[helm.git] / matita / matita / contribs / RELATIONAL / NLE / props.ma
1 (**************************************************************************)
2 (*       ___                                                              *)
3 (*      ||M||                                                             *)
4 (*      ||A||       A project by Andrea Asperti                           *)
5 (*      ||T||                                                             *)
6 (*      ||I||       Developers:                                           *)
7 (*      ||T||         The HELM team.                                      *)
8 (*      ||A||         http://helm.cs.unibo.it                             *)
9 (*      \   /                                                             *)
10 (*       \ /        This file is distributed under the terms of the       *)
11 (*        v         GNU General Public License Version 2                  *)
12 (*                                                                        *)
13 (**************************************************************************)
14
15
16
17 include "NLE/order.ma".
18
19 theorem nle_trans_succ: ∀x,y. x ≤ y → x ≤ succ y.
20  intros; elim H; clear H x y; autobatch.
21 qed.
22
23 theorem nle_gt_or_le: ∀x, y. y > x ∨ y ≤ x.
24  intros 2; elim y; clear y;
25  [ autobatch
26  | decompose;
27    [ lapply linear nle_inv_succ_1 to H1
28    | lapply linear nle_lt_or_eq to H1
29    ]; decompose; destruct; autobatch depth = 4
30  ].
31 qed.