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 "arithmetics/nat.ma".
16 include "ground_2/notation/constructors/infinity_0.ma".
18 (* NATURAL NUMBERS WITH INFINITY ********************************************)
20 (* the type of natural numbers with infinity *)
21 inductive ynat: Type[0] ≝
28 interpretation "ynat infinity" 'Infinity = Y.
30 (* Inversion lemmas *********************************************************)
32 lemma yinj_inj: ∀m,n. yinj m = yinj n → m = n.