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

« back to all changes in this revision

Viewing changes to test-suite/bugs/closed/shouldsucceed/1634.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
Require Export Relation_Definitions.
 
2
Require Export Setoid.
 
3
 
 
4
Variable A : Type.
 
5
Variable S : A -> Type.
 
6
Variable Seq : forall {a:A}, relation (S a).
 
7
 
 
8
Hypothesis Seq_refl : forall {a:A} (x : S a), Seq x x.
 
9
Hypothesis Seq_sym : forall {a:A} (x y : S a), Seq x y -> Seq y x.
 
10
Hypothesis Seq_trans : forall {a:A} (x y z : S a), Seq x y -> Seq y z ->
 
11
Seq x z.
 
12
 
 
13
Add Parametric Relation a : (S a) Seq
 
14
 reflexivity proved by Seq_refl
 
15
 symmetry proved by Seq_sym
 
16
 transitivity proved by Seq_trans
 
17
 as S_Setoid.
 
18
 
 
19
Goal forall (a : A) (x y : S a), Seq x y -> Seq x y.
 
20
  intros a x y H.
 
21
  setoid_replace x with y. 
 
22
  reflexivity.
 
23
  trivial.
 
24
Qed.