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

« back to all changes in this revision

Viewing changes to theories/Init/Notations.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
(************************************************************************)
 
2
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
 
3
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
 
4
(*   \VV/  **************************************************************)
 
5
(*    //   *      This file is distributed under the terms of the       *)
 
6
(*         *       GNU Lesser General Public License Version 2.1        *)
 
7
(************************************************************************)
 
8
 
 
9
(*i $Id: Notations.v 11073 2008-06-08 20:24:51Z herbelin $ i*)
 
10
 
 
11
(** These are the notations whose level and associativity are imposed by Coq *)
 
12
 
 
13
(** Notations for propositional connectives *)
 
14
 
 
15
Reserved Notation "x <-> y" (at level 95, no associativity).
 
16
Reserved Notation "x /\ y" (at level 80, right associativity).
 
17
Reserved Notation "x \/ y" (at level 85, right associativity).
 
18
Reserved Notation "~ x" (at level 75, right associativity).
 
19
 
 
20
(** Notations for equality and inequalities *)
 
21
 
 
22
Reserved Notation "x = y  :>  T"
 
23
(at level 70, y at next level, no associativity).
 
24
Reserved Notation "x = y" (at level 70, no associativity).
 
25
Reserved Notation "x = y = z"
 
26
(at level 70, no associativity, y at next level).
 
27
 
 
28
Reserved Notation "x <> y  :>  T"
 
29
(at level 70, y at next level, no associativity).
 
30
Reserved Notation "x <> y" (at level 70, no associativity).
 
31
 
 
32
Reserved Notation "x <= y" (at level 70, no associativity).
 
33
Reserved Notation "x < y" (at level 70, no associativity).
 
34
Reserved Notation "x >= y" (at level 70, no associativity).
 
35
Reserved Notation "x > y" (at level 70, no associativity).
 
36
 
 
37
Reserved Notation "x <= y <= z" (at level 70, y at next level).
 
38
Reserved Notation "x <= y < z" (at level 70, y at next level).
 
39
Reserved Notation "x < y < z" (at level 70, y at next level).
 
40
Reserved Notation "x < y <= z" (at level 70, y at next level).
 
41
 
 
42
(** Arithmetical notations (also used for type constructors) *)
 
43
 
 
44
Reserved Notation "x + y" (at level 50, left associativity).
 
45
Reserved Notation "x - y" (at level 50, left associativity).
 
46
Reserved Notation "x * y" (at level 40, left associativity).
 
47
Reserved Notation "x / y" (at level 40, left associativity).
 
48
Reserved Notation "- x" (at level 35, right associativity).
 
49
Reserved Notation "/ x" (at level 35, right associativity).
 
50
Reserved Notation "x ^ y" (at level 30, right associativity).
 
51
 
 
52
(** Notations for booleans *)
 
53
 
 
54
Reserved Notation "x || y" (at level 50, left associativity).
 
55
Reserved Notation "x && y" (at level 40, left associativity).
 
56
 
 
57
(** Notations for pairs *)
 
58
 
 
59
Reserved Notation "( x , y , .. , z )" (at level 0).
 
60
 
 
61
(** Notation "{ x }" is reserved and has a special status as component
 
62
    of other notations such as "{ A } + { B }" and "A + { B }" (which
 
63
    are at the same level than "x + y");
 
64
    "{ x }" is at level 0 to factor with "{ x : A | P }" *)
 
65
 
 
66
Reserved Notation "{ x }" (at level 0, x at level 99).
 
67
 
 
68
(** Notations for sigma-types or subsets *)
 
69
 
 
70
Reserved Notation "{ x  |  P }" (at level 0, x at level 99).
 
71
Reserved Notation "{ x  |  P  &  Q }" (at level 0, x at level 99).
 
72
 
 
73
Reserved Notation "{ x : A  |  P }" (at level 0, x at level 99).
 
74
Reserved Notation "{ x : A  |  P  &  Q }" (at level 0, x at level 99).
 
75
 
 
76
Reserved Notation "{ x : A  &  P }" (at level 0, x at level 99).
 
77
Reserved Notation "{ x : A  &  P  &  Q }" (at level 0, x at level 99).
 
78
 
 
79
Delimit Scope type_scope with type.
 
80
Delimit Scope core_scope with core.
 
81
 
 
82
Open Scope core_scope.
 
83
Open Scope type_scope.