]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/tests/ng_commands.ma
The backward compatible management of aliases for NG is now fully completed.
[helm.git] / helm / software / matita / tests / ng_commands.ma
index dfe92269e4cf081692637219c498d37d1b2e7b13..86226fb02204aaf3110869b082c4946aa8d36108 100644 (file)
@@ -16,34 +16,30 @@ include "nat/plus.ma".
 
 ndefinition thesis0: ∀A:Type.Type ≝ λA. A → A.
 
-alias id "thesis0" = "cic:/matita/tests/ng_commands/thesis0.con".
-
 ndefinition thesis: ∀A:Type.Type ≝ λA. ?.
  napply (A → A);
 nqed.
 
-alias id "thesis" = "cic:/matita/tests/ng_commands/thesis.con".
-
 ntheorem foo: ∀A:Type.thesis A.#A;#x;napply x;
 nqed.
 
-alias id "foo" = "cic:/matita/tests/ng_commands/foo.con".
-
 ntheorem goo: ∀A:Type.A → A. #A; napply (foo ?);
 nqed.
 
-naxiom P: Prop.
-
-alias id "P" = "cic:/matita/tests/ng_commands/P.con".
+naxiom NP: Prop.
 
-ndefinition Q: Prop ≝ P.
+ndefinition Q: Prop ≝ NP.
 
-(*
 nlet rec nzero (n:nat) : nat ≝
  match n with
   [ O ⇒ O
   | S m ⇒ nzero m].
 
+ntheorem nzero_ok: nzero (S (S O)) = O.
+ napply (refl_eq ? O);
+nqed.
+
+(*
 ninductive nnat: Type ≝
    nO: nnat
  | nS: nnat → nnat. *)
\ No newline at end of file