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 set "baseuri" "cic:/matita/tests/continuationals".
16 include "../legacy/coq.ma".
18 alias id "nat" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1)".
19 alias id "S" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1/2)".
20 alias id "trans_equal" = "cic:/Coq/Init/Logic/trans_equal.con".
21 alias id "refl_equal" = "cic:/Coq/Init/Logic/eq.ind#xpointer(1/1/1)".
22 alias id "Z" = "cic:/Coq/ZArith/BinInt/Z.ind#xpointer(1/1)".
24 theorem semicolon: \forall p:Prop.p\to p\land p.
25 intros (p); split; assumption.
28 theorem branch:\forall x:nat.x=x.
35 theorem pos:\forall x:Z.x=x.
43 theorem dot:\forall x:Z.x=x.
46 reflexivity. reflexivity. reflexivity.
49 theorem dot_slice:\forall x:Z.x=x.
52 [ elim x. reflexivity. reflexivity. reflexivity;
57 theorem focus:\forall x:Z.x=x.
65 theorem skip:\forall x:nat.x=x.
68 [ 2: apply (refl_equal nat x);
74 theorem skip_focus:\forall x:nat.x=x.
77 [ focus 18; apply (refl_equal nat x); unfocus;