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 "nat/plus.ma".
17 ndefinition thesis0: ∀A:Type.Type ≝ λA. A → A.
19 ndefinition thesis: ∀A:Type.Type ≝ λA. ?.
23 ntheorem foo: ∀A:Type.thesis A.#A;#x;napply x;
26 ntheorem goo: ∀A:Type.A → A. #A; napply (foo ?);
31 ndefinition Q: Prop ≝ NP.
33 nlet rec nzero (n:nat) : nat ≝
38 ntheorem nzero_ok: nzero (S (S O)) = O.
42 ninductive nnat: Type ≝
44 | nS: mat → mat → nnat
49 nlet rec nnzero (n:nnat) : nnat ≝
53 and nmzero (m:mat) : nnat ≝
57 (* testare anche i record e le ricorsioni/coricorsioni/(co)induttivi MUTUI *)
60 nrecord pair: Type ≝ { l: pair; r: pair }.