aboutsummaryrefslogtreecommitdiff
path: root/doc/refman/Program.tex
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2015-08-05 21:57:15 +0200
committerPierre-Marie Pédrot2015-08-05 21:57:15 +0200
commit2bb05717bde540332aa814a59da3745f2097dedf (patch)
tree86f5753cb84e300e13e9bda8fb8c3835bd66b41a /doc/refman/Program.tex
parente76ab0ec81040cbe99f616e8457bdc26cc6dceb6 (diff)
parentdda6d8f639c912597d5bf9e4f1d8c2c118b8dc48 (diff)
Merge branch 'v8.5'
Diffstat (limited to 'doc/refman/Program.tex')
-rw-r--r--doc/refman/Program.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/refman/Program.tex b/doc/refman/Program.tex
index 76bcaaae67..8e078e9814 100644
--- a/doc/refman/Program.tex
+++ b/doc/refman/Program.tex
@@ -42,20 +42,20 @@ operation (see Section~\ref{Caseexpr}).
generalized by the corresponding equality. As an example,
the expression:
-\begin{coq_example*}
+\begin{verbatim}
match x with
| 0 => t
| S n => u
end.
-\end{coq_example*}
+\end{verbatim}
will be first rewritten to:
-\begin{coq_example*}
+\begin{verbatim}
(match x as y return (x = y -> _) with
| 0 => fun H : x = 0 -> t
| S n => fun H : x = S n -> u
end) (eq_refl n).
-\end{coq_example*}
-
+\end{verbatim}
+
This permits to get the proper equalities in the context of proof
obligations inside clauses, without which reasoning is very limited.