doc-src/Sledgehammer/sledgehammer.tex
changeset 40060 5ef6747aa619
parent 40059 6ad9081665db
child 40073 f167beebb527
equal deleted inserted replaced
40059:6ad9081665db 40060:5ef6747aa619
   197 General or press the Emacs key sequence C-c C-a C-s.
   197 General or press the Emacs key sequence C-c C-a C-s.
   198 Either way, Sledgehammer produces the following output after a few seconds:
   198 Either way, Sledgehammer produces the following output after a few seconds:
   199 
   199 
   200 \prew
   200 \prew
   201 \slshape
   201 \slshape
   202 Sledgehammer: Prover ``\textit{e}'' for subgoal 1: \\
   202 Sledgehammer: ``\textit{e}'' for subgoal 1: \\
   203 $([a] = [b]) = (a = b)$ \\
   203 $([a] = [b]) = (a = b)$ \\
   204 Try this command: \textbf{by} (\textit{metis hd.simps}). \\
   204 Try this command: \textbf{by} (\textit{metis hd.simps}). \\
   205 To minimize the number of lemmas, try this: \\
   205 To minimize the number of lemmas, try this: \\
   206 \textbf{sledgehammer} \textit{minimize} [\textit{prover} = \textit{e}] (\textit{hd.simps}). \\[3\smallskipamount]
   206 \textbf{sledgehammer} \textit{minimize} [\textit{prover} = \textit{e}] (\textit{hd.simps}). \\[3\smallskipamount]
   207 %
   207 %
   208 Sledgehammer: Prover ``\textit{spass}'' for subgoal 1: \\
   208 Sledgehammer: ``\textit{spass}'' for subgoal 1: \\
   209 $([a] = [b]) = (a = b)$ \\
   209 $([a] = [b]) = (a = b)$ \\
   210 Try this command: \textbf{by} (\textit{metis insert\_Nil last\_ConsL}). \\
   210 Try this command: \textbf{by} (\textit{metis insert\_Nil last\_ConsL}). \\
   211 To minimize the number of lemmas, try this: \\
   211 To minimize the number of lemmas, try this: \\
   212 \textbf{sledgehammer} \textit{minimize} [\textit{prover} = \textit{spass}] (\textit{insert\_Nil last\_ConsL}). \\[3\smallskipamount]
   212 \textbf{sledgehammer} \textit{minimize} [\textit{prover} = \textit{spass}] (\textit{insert\_Nil last\_ConsL}). \\[3\smallskipamount]
   213 %
   213 %
   214 Sledgehammer: Prover ``\textit{remote\_vampire}'' for subgoal 1: \\
   214 Sledgehammer: ``\textit{remote\_vampire}'' for subgoal 1: \\
   215 $([a] = [b]) = (a = b)$ \\
   215 $([a] = [b]) = (a = b)$ \\
   216 Try this command: \textbf{by} (\textit{metis One\_nat\_def\_raw empty\_replicate} \\
   216 Try this command: \textbf{by} (\textit{metis One\_nat\_def\_raw empty\_replicate} \\
   217 \phantom{Try this command: \textbf{by} (\textit{metis~}}\textit{insert\_Nil last\_ConsL replicate\_Suc}). \\
   217 \phantom{Try this command: \textbf{by} (\textit{metis~}}\textit{insert\_Nil last\_ConsL replicate\_Suc}). \\
   218 To minimize the number of lemmas, try this: \\
   218 To minimize the number of lemmas, try this: \\
   219 \textbf{sledgehammer} \textit{minimize} [\textit{prover} = \textit{remote\_vampire}] \\
   219 \textbf{sledgehammer} \textit{minimize} [\textit{prover} = \textit{remote\_vampire}] \\
   220 \phantom{\textbf{sledgehammer}~}(\textit{One\_nat\_def\_raw empty\_replicate insert\_Nil} \\
   220 \phantom{\textbf{sledgehammer}~}(\textit{One\_nat\_def\_raw empty\_replicate insert\_Nil} \\
   221 \phantom{\textbf{sledgehammer}~(}\textit{last\_ConsL replicate\_Suc}).
   221 \phantom{\textbf{sledgehammer}~(}\textit{last\_ConsL replicate\_Suc}).
   222 \postw
   222 \postw
       
   223 %%% TODO: Mention SInE-E
   223 
   224 
   224 Sledgehammer ran E, SPASS, and the remote version of Vampire in parallel. If E
   225 Sledgehammer ran E, SPASS, and the remote version of Vampire in parallel. If E
   225 is not installed (\S\ref{installation}), you will see references to
   226 is not installed (\S\ref{installation}), you will see references to
   226 its remote American cousin \textit{remote\_e} instead of
   227 its remote American cousin \textit{remote\_e} instead of
   227 \textit{e}; and if SPASS is not installed, it will not appear in the output.
   228 \textit{e}; and if SPASS is not installed, it will not appear in the output.