Skip to content

Commit e7d2854

Browse files
authored
Merge pull request #103 from math-comp/typos
typos
2 parents c0aae8f + 942f219 commit e7d2854

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

tex/ch0.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ \chapter*{Introduction}
2020
non-standard presentation of \Coq{}, putting upfront the formalization
2121
choices and the proof style that are the pillars of the library.
2222

23-
This books targets two classes of public. On the one hand, newcomers,
23+
This book targets two classes of public. On the one hand, newcomers,
2424
even the more mathematically inclined ones, %may
2525
find a soft
2626
introduction to the programming
@@ -123,7 +123,7 @@ \subsection*{Part 2: \parttwoname{}}
123123
Such solutions typically involve notions and theorems that
124124
are part of the \mcbMC{} library. By programming type inference
125125
one can hence teach \Coq{} the contents of the library. The system
126-
is then able to reconstruct the non-trivial missing pieces of information,
126+
is then able to reconstruct non-trivial missing pieces of information,
127127
as the informed reader typically does when reading a mathematical text.
128128

129129
Formalized knowledge is organized by means of interfaces (in the spirit of
@@ -178,7 +178,7 @@ \subsection*{Conventions}
178178
\sum_(0 <= i < n.+2) i = (n.+1 * n.+2) %/ 2
179179
\end{coqout}
180180

181-
Names of components one can \C{Require} in \Coq{} are written
181+
Names of library components one can \C{Require} in \Coq{} are written
182182
like \lib{ssreflect} or \lib{fintype}.
183183

184184
\subsection*{Running examples in the \Coq{} system}
@@ -200,8 +200,8 @@ \subsection*{Running examples in the \Coq{} system}
200200
alternative approaches to integrate \Coq{} in their preferred programming
201201
environment. For instance, there exist special extensions of \Coq{} for the
202202
popular \texttt{Emacs} programming editor (known as \texttt{Proof General})
203-
and for the \texttt{Eclipse} programming environment
204-
(known as \texttt{coqoon}). These extensions and similar projects can easily
203+
and for the \texttt{Visual Studio Code} programming environment
204+
(known as \texttt{vscoq}). These extensions and similar projects can easily
205205
be found by a search on the Internet.
206206

207207
When starting a \Coq{} session, a few commands must be sent to the \Coq{}

tex/chProofs.tex

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ \subsubsection{Rewriting many identities in one go}
11221122
of the arguments of the product being zero. And \C{(n1 - n2 == 0)}
11231123
means \C{(n1 <= n2)}.
11241124

1125-
The first step is performed using the following equation:
1125+
The first step is performed using the following equation:\label{leqE}
11261126

11271127
\begin{coq}{name=LeqDef}{}
11281128
Lemma leqE m n : (m <= n) = (m - n == 0).
@@ -1853,7 +1853,7 @@ \subsection{Proofs by induction}\label{ssec:ind}
18531853

18541854
Here \C{P} is quantified exactly as \C{n} is, but its type is a bit more
18551855
complex and deserves an explanation. As we have seen in the first
1856-
chapter, the \C{->} denotes the type of functions; hence \C{P} is a\marginpar{There is a problem with the \C{-} macro when the first character is -, which cancels the space that precedes it}
1856+
chapter, the ~\C{->} denotes the type of functions; hence \C{P} is a
18571857
function from \C{nat} to \C{Prop}. Recall that \C{Prop} is the type
18581858
of \emph{propositions}, i.e., something we may want to prove. In the
18591859
light of that, \C{P} is a function producing a proposition out of a natural
@@ -2178,9 +2178,7 @@ \section{Rewrite, a Swiss army knife}\label{sec:rewrite}
21782178
Another form of simplification that is often needed is the
21792179
unfolding of a definition.
21802180
For example, the lemma \C{leqE} that we used in
2181-
\marginpar{When reading the text, I thought that \C{leqE} did exist. I
2182-
think we should avoid misleading readers like that.}
2183-
the proof of \C{leq_mul2l} back in section~\ref{sec:multirew}
2181+
the proof of \C{leq_mul2l} back in page~\pageref{leqE}
21842182
does not exist in the library, and there is no name associated to this
21852183
equation. It is simply the definition of \C{leq}, and we actually do
21862184
not need to state a lemma in order to relate

0 commit comments

Comments
 (0)