]> matita.cs.unibo.it Git - helm.git/blob - matita/contribs/RELATIONAL-ARITHMETICS/nat_fwd.ma
99ec088f9ede59224af66ee0302a8f85d294fc2c
[helm.git] / matita / contribs / RELATIONAL-ARITHMETICS / nat_fwd.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 set "baseuri" "cic:/matita/RELATIONAL-ARITHMETICS/nat_fwd".
16
17 include "library/logic/equality.ma".
18 include "nat_defs.ma".
19
20 theorem eq_gen_O_S: \forall (P:Prop). \forall m2. O = S m2 \to P.
21  intros. discriminate H.
22 qed.
23
24 theorem eq_gen_S_O: \forall (P:Prop). \forall m1. S m1 = O \to P.
25  intros. discriminate H.
26 qed.
27
28 theorem eq_gen_S_S: \forall m1,m2. S m1 = S m2 \to m1 = m2.
29  intros. injection H. assumption.
30 qed.