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

« back to all changes in this revision

Viewing changes to test-suite/bugs/closed/shouldsucceed/38.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 Import Setoid.
 
2
 
 
3
Variable A : Set.
 
4
 
 
5
Inductive liste : Set :=
 
6
| vide : liste
 
7
| c : A -> liste -> liste.
 
8
 
 
9
Inductive e : A -> liste -> Prop := 
 
10
| ec : forall (x : A) (l : liste), e x (c x l)
 
11
| ee : forall (x y : A) (l : liste), e x l -> e x (c y l).
 
12
 
 
13
Definition same := fun (l m : liste) => forall (x : A), e x l <-> e x m.
 
14
 
 
15
Definition same_refl (x:liste) : (same x x).
 
16
  unfold same; split; intros; trivial.
 
17
Save.
 
18
 
 
19
Goal forall (x:liste), (same x x).
 
20
  intro.
 
21
  apply (same_refl x).
 
22
Qed.