Skip to content

Commit 9acc61a

Browse files
committed
Small correction (doc)
1 parent b576512 commit 9acc61a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

doc/chapter-primrec.tex

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -865,9 +865,11 @@ \subsection{Looking for a contradiction}
865865
$\texttt{Ack}\,x\,y\leq \texttt{Ack}\,n\,(\texttt{max}\,x\,y)$ holds.
866866
Thus, our impossibility proof is just a sequence of easy small steps.
867867

868-
\begin{todo}
869-
Fix the display of the local definition of \texttt{x} in the following proof: \emph{Alectryon} prints a \emph{declaration} \texttt{x: nat}, but forgets to print the definition \texttt{x := Nat.max 2 m}, which is important to complete the proof.
870-
\end{todo}
868+
\begin{remark}
869+
In the following snippet, \emph{Alectryon}'s \texttt{Latex} generator prints the \emph{local definition} of $x$ (as the maximum of $2$ and $m$) as a simple \emph{declaration} \texttt{x: nat}.
870+
Thus the proof script is correct, but the three last sub-goals are not correctly displayed, since
871+
they do not show how the inequalities $2\leq x$ and $m \leq x$ could be inferred by \texttt{lia}.
872+
\end{remark}
871873

872874
\input{movies/snippets/AckNotPR/AckNotPR}
873875

0 commit comments

Comments
 (0)