Skip to content
Snippets Groups Projects
Commit 74c14093 authored by Hans-Jörg's avatar Hans-Jörg
Browse files

Fix example for onepoint proof rule

Addresses #40
parent 8339601d
No related branches found
No related tags found
No related merge requests found
Pipeline #23743 passed
......@@ -23,6 +23,7 @@ Clarifications and corrected errors:
omitted if the list is empty.
\item Fix mistake in proof grammar. It now uses the \texttt{context\_annotation}
non-terminal in the rule for the \texttt{anchor} command.
\item Fix the example of \proofRule{onepoint}.
\end{itemize}
\subsection*{0.3 --- \DTMdisplaydate{2023}{02}{10}{-1}}
......
......@@ -1227,7 +1227,7 @@ An application of the \proofRule{onepoint} rule on the term $(\forall x, y.\, x
\rightarrow (f\,x)\land (f\,y))$ look like this:
\begin{AletheVerb}
(anchor :step t3 :args ((:= y x)))
(anchor :step t3 :args ((x S) (:= (y S) x)))
(step t3.t1 (cl (= x y)) :rule refl)
(step t3.t2 (cl (= (= x y) (= x x)))
:rule cong :premises (t3.t1))
......@@ -1242,7 +1242,7 @@ An application of the \proofRule{onepoint} rule on the term $(\forall x, y.\, x
(step t3 (cl (=
(forall ((x S) (y S)) (=> (= x y) (and (f x) (f y))))
(forall ((x S)) (=> (= x x) (and (f x) (f x))))))
:rule qnt_simplify)
:rule onepoint)
\end{AletheVerb}
\end{RuleExample}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment