diff options
| author | Guillaume Melquiond | 2015-07-30 09:53:30 +0200 |
|---|---|---|
| committer | Guillaume Melquiond | 2015-07-30 09:53:30 +0200 |
| commit | 35a743761478fffaaafd54368a5dcbcecd3133eb (patch) | |
| tree | 780dfbc729c05dcb50421a2a0d0b4585deceb0eb /doc/refman/Program.tex | |
| parent | a9f3607ae72517156301570a4ffa05908609b7e0 (diff) | |
Fix some broken Coq scripts in the documentation.
Diffstat (limited to 'doc/refman/Program.tex')
| -rw-r--r-- | doc/refman/Program.tex | 10 |
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. |
