1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 include "ground/arith/nat_succ_tri.ma".
16 include "ground/arith/nat_lt.ma".
18 (* STRICT ORDER FOR NON-NEGATIVE INTEGERS ***********************************)
20 (* Destructions with ntri ***************************************************)
23 lemma ntri_lt (A) (a1) (a2) (a3) (n1) (n2):
24 n1 < n2 → a1 = ntri A n1 n2 a1 a2 a3.
25 #A #a1 #a2 #a3 #n1 #n2 #H @(nlt_ind_alt … H) -H //
29 lemma ntri_gt (A) (a1) (a2) (a3) (n1) (n2):
30 n2 < n1 → a3 = ntri A n1 n2 a1 a2 a3.
31 #A #a1 #a2 #a3 #n1 #n2 #H @(nlt_ind_alt … H) -H //