~ubuntu-branches/ubuntu/wily/coq-doc/wily

« back to all changes in this revision

Viewing changes to test-suite/success/Mod_strengthen.v

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Glondu, Stéphane Glondu, Samuel Mimram
  • Date: 2010-01-07 22:50:39 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100107225039-n3cq82589u0qt0s2
Tags: 8.2pl1-1
[ Stéphane Glondu ]
* New upstream release (Closes: #563669)
  - remove patches
* Packaging overhaul:
  - use git, advertise it in Vcs-* fields of debian/control
  - use debhelper 7 and dh with override
  - use source format 3.0 (quilt)
* debian/control:
  - set Maintainer to d-o-m, set Uploaders to Sam and myself
  - add Homepage field
  - bump Standards-Version to 3.8.3
* Register PDF documentation into doc-base
* Add debian/watch
* Update debian/copyright

[ Samuel Mimram ]
* Change coq-doc's description to mention that it provides documentation in
  pdf format, not postscript, closes: #543545.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Module Type Sub.
 
2
  Axiom Refl1 : forall x : nat, x = x.
 
3
  Axiom Refl2 : forall x : nat, x = x.
 
4
  Axiom Refl3 : forall x : nat, x = x.
 
5
  Inductive T : Set :=
 
6
      A : T.
 
7
End Sub.
 
8
 
 
9
Module Type Main.
 
10
  Declare Module M: Sub.
 
11
End Main.
 
12
 
 
13
 
 
14
Module A <: Main.
 
15
  Module M <: Sub.
 
16
    Lemma Refl1 : forall x : nat, x = x.
 
17
      intros; reflexivity.
 
18
    Qed.
 
19
    Axiom Refl2 : forall x : nat, x = x.
 
20
    Lemma Refl3 : forall x : nat, x = x.
 
21
      intros; reflexivity.
 
22
    Defined.
 
23
    Inductive T : Set :=
 
24
        A : T.
 
25
  End M.
 
26
End A.
 
27
 
 
28
 
 
29
 
 
30
(* first test *)
 
31
 
 
32
Module F (S: Sub).
 
33
  Module M := S.
 
34
End F.
 
35
 
 
36
Module B <: Main with Module M:=A.M := F A.M.
 
37
 
 
38
 
 
39
 
 
40
(* second test *)
 
41
 
 
42
Lemma r1 : (A.M.Refl1 = B.M.Refl1).
 
43
Proof.
 
44
  reflexivity.
 
45
Qed.
 
46
 
 
47
Lemma r2 : (A.M.Refl2 = B.M.Refl2).
 
48
Proof.
 
49
  reflexivity.
 
50
Qed.
 
51
 
 
52
Lemma r3 : (A.M.Refl3 = B.M.Refl3).
 
53
Proof.
 
54
  reflexivity.
 
55
Qed.
 
56
 
 
57
Lemma t : (A.M.T = B.M.T).
 
58
Proof.
 
59
  reflexivity.
 
60
Qed.
 
61
 
 
62
Lemma a : (A.M.A = B.M.A).
 
63
Proof.
 
64
  reflexivity.
 
65
Qed.
 
66
 
 
67