Skip to content

Commit

Permalink
Small correction (doc)
Browse files Browse the repository at this point in the history
  • Loading branch information
Casteran committed Dec 4, 2023
1 parent b576512 commit 9acc61a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/chapter-primrec.tex
Original file line number Diff line number Diff line change
Expand Up @@ -865,9 +865,11 @@ \subsection{Looking for a contradiction}
$\texttt{Ack}\,x\,y\leq \texttt{Ack}\,n\,(\texttt{max}\,x\,y)$ holds.
Thus, our impossibility proof is just a sequence of easy small steps.

\begin{todo}
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.
\end{todo}
\begin{remark}
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}.
Thus the proof script is correct, but the three last sub-goals are not correctly displayed, since
they do not show how the inequalities $2\leq x$ and $m \leq x$ could be inferred by \texttt{lia}.
\end{remark}

\input{movies/snippets/AckNotPR/AckNotPR}

Expand Down

0 comments on commit 9acc61a

Please sign in to comment.