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_tri.ma".
16 include "ground/arith/nat_succ.ma".
18 (* SUCCESSOR FOR NON-NEGATIVE INTEGERS **************************************)
20 (* Constructions with ntri **************************************************)
22 lemma ntri_zero_succ (A) (a1) (a2) (a3) (n):
23 a1 = ntri A (𝟎) (↑n) a1 a2 a3.
27 lemma ntri_succ_zero (A) (a1) (a2) (a3) (n):
28 a3 = ntri A (↑n) (𝟎) a1 a2 a3.
32 lemma ntri_succ_bi (A) (a1) (a2) (a3) (n1) (n2):
33 ntri A (n1) (n2) a1 a2 a3 = ntri A (↑n1) (↑n2) a1 a2 a3.
34 #A #a1 #a2 #a3 * [| #p1 ] * //