| 1 |
\documentclass[11pt]{report} |
| 2 |
|
| 3 |
\usepackage[mathletters]{ucs} |
| 4 |
\usepackage[utf8x]{inputenc} |
| 5 |
\usepackage[T1]{fontenc} |
| 6 |
\usepackage{fullpage} |
| 7 |
\usepackage{amsfonts} |
| 8 |
\usepackage{amssymb} |
| 9 |
\usepackage{url} |
| 10 |
\usepackage[color]{../../lib/rocq-runtime/tools/coqdoc/coqdoc} |
| 11 |
|
| 12 |
\input{../common/version} |
| 13 |
\input{../common/title} |
| 14 |
\input{../common/macros} |
| 15 |
|
| 16 |
\begin{document} |
| 17 |
|
| 18 |
\coverpage{The standard library}% |
| 19 |
{\ } |
| 20 |
{This material is distributed under the terms of the GNU Lesser |
| 21 |
General Public License Version 2.1.} |
| 22 |
|
| 23 |
\tableofcontents |
| 24 |
|
| 25 |
\newpage |
| 26 |
% \section*{The \Coq\ standard library} |
| 27 |
|
| 28 |
This document is a short description of the \Coq\ standard library. |
| 29 |
This library comes with the system as a complement of the core library |
| 30 |
(the {\bf Init} library ; see the Reference Manual for a description |
| 31 |
of this library). It provides a set of modules directly available |
| 32 |
through the \verb!Require! command. |
| 33 |
|
| 34 |
The standard library is composed of the following subdirectories: |
| 35 |
\begin{description} |
| 36 |
\item[Logic] Classical logic and dependent equality |
| 37 |
\item[Bool] Booleans (basic functions and results) |
| 38 |
\item[Arith] Basic Peano arithmetic |
| 39 |
\item[ZArith] Basic integer arithmetic |
| 40 |
\item[Reals] Classical Real Numbers and Analysis |
| 41 |
\item[Lists] Monomorphic and polymorphic lists (basic functions and |
| 42 |
results), Streams (infinite sequences defined |
| 43 |
with co-inductive types) |
| 44 |
\item[Sets] Sets (classical, constructive, finite, infinite, power set, |
| 45 |
etc.) |
| 46 |
\item[Relations] Relations (definitions and basic results). |
| 47 |
\item[Sorting] Sorted list (basic definitions and heapsort |
| 48 |
correctness). |
| 49 |
\item[Wellfounded] Well-founded relations (basic results). |
| 50 |
\item[Program] Tactics to deal with dependently-typed programs and |
| 51 |
their proofs. |
| 52 |
\item[Classes] Standard type class instances on relations and |
| 53 |
Coq part of the setoid rewriting tactic. |
| 54 |
\end{description} |
| 55 |
|
| 56 |
|
| 57 |
Each of these subdirectories contains a set of modules, whose |
| 58 |
specifications (\gallina{} files) have |
| 59 |
been roughly, and automatically, pasted in the following pages. There |
| 60 |
is also a version of this document in HTML format on the WWW, which |
| 61 |
you can access from the \Coq\ home page at |
| 62 |
\texttt{http://coq.inria.fr/library}. |
| 63 |
|
| 64 |
\input{Library.coqdoc} |
| 65 |
|
| 66 |
\end{document} |