]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/RELATIONAL/NLE/inv.ma
- we bypassed another false conjecture :) ...
[helm.git] / matita / matita / contribs / RELATIONAL / NLE / inv.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/defs.ma".
18
19 theorem nle_inv_succ_1: ∀x,y. x < y → 
20                         ∃z. y = succ z ∧ x ≤ z.
21  intros; inversion H; clear H; intros; destruct. autobatch.
22 qed.
23
24 theorem nle_inv_succ_succ: ∀x,y. x < succ y → x ≤ y.
25  intros; inversion H; clear H; intros; destruct. autobatch.
26 qed.
27
28 theorem nle_inv_succ_zero: ∀x. x < zero → False.
29  intros. inversion H; clear H; intros; destruct.
30 qed.
31
32 theorem nle_inv_zero_2: ∀x. x ≤ zero → x = zero.
33  intros; inversion H; clear H; intros; destruct. autobatch.
34 qed.
35
36 theorem nle_inv_succ_2: ∀y,x. x ≤ succ y →
37                         x = zero ∨ ∃z. x = succ z ∧ z ≤ y.
38  intros; inversion H; clear H; intros; destruct;
39  autobatch depth = 4.
40 qed.