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

« back to all changes in this revision

Viewing changes to test-suite/success/Case7.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
Inductive List (A : Set) : Set :=
 
2
  | Nil : List A
 
3
  | Cons : A -> List A -> List A.
 
4
 
 
5
Inductive Empty (A : Set) : List A -> Prop :=
 
6
    intro_Empty : Empty A (Nil A).
 
7
 
 
8
Parameter
 
9
  inv_Empty : forall (A : Set) (a : A) (x : List A), ~ Empty A (Cons A a x).
 
10
 
 
11
 
 
12
Type
 
13
  (fun (A : Set) (l : List A) =>
 
14
   match l return (Empty A l \/ ~ Empty A l) with
 
15
   | Nil => or_introl (~ Empty A (Nil A)) (intro_Empty A)
 
16
   | Cons a y as b => or_intror (Empty A b) (inv_Empty A a y)
 
17
   end).