doc-src/IsarRef/conversion.tex
changeset 13042 d8a345d9e067
parent 13041 6faccf7d0f25
child 13048 8b2eb3b78cc3
equal deleted inserted replaced
13041:6faccf7d0f25 13042:d8a345d9e067
   186  Goalw [\(def@1\), \(\dots\)] "\(\phi\)";
   186  Goalw [\(def@1\), \(\dots\)] "\(\phi\)";
   187 \end{ttbox}
   187 \end{ttbox}
   188 This may be replaced by using the $unfold$ proof method explicitly.
   188 This may be replaced by using the $unfold$ proof method explicitly.
   189 \begin{matharray}{l}
   189 \begin{matharray}{l}
   190 \LEMMA{name}{\texttt"{\phi}\texttt"} \\
   190 \LEMMA{name}{\texttt"{\phi}\texttt"} \\
   191 \quad \APPLY{unfold~def@1~\dots} \\
   191 \quad \APPLY{(unfold~def@1~\dots)} \\
   192 \end{matharray}
   192 \end{matharray}
   193 
   193 
   194 
   194 
   195 \subsubsection{Deriving rules}
   195 \subsubsection{Deriving rules}
   196 
   196 
   222 new concept.  In that case, the general scheme for deriving rules may be
   222 new concept.  In that case, the general scheme for deriving rules may be
   223 greatly simplified, using one of the standard automated proof tools, such as
   223 greatly simplified, using one of the standard automated proof tools, such as
   224 $simp$, $blast$, or $auto$.  This could work as follows:
   224 $simp$, $blast$, or $auto$.  This could work as follows:
   225 \begin{matharray}{l}
   225 \begin{matharray}{l}
   226   \LEMMA{}{\texttt"{\phi@1 \Imp \dots \Imp \psi}\texttt"} \\
   226   \LEMMA{}{\texttt"{\phi@1 \Imp \dots \Imp \psi}\texttt"} \\
   227   \quad \BYY{unfold~defs}{blast} \\
   227   \quad \BYY{(unfold~defs)}{blast} \\
   228 \end{matharray}
   228 \end{matharray}
   229 Note that classic Isabelle would support this form only in the special case
   229 Note that classic Isabelle would support this form only in the special case
   230 where $\phi@1$, \dots are atomic statements (when using the standard
   230 where $\phi@1$, \dots are atomic statements (when using the standard
   231 \texttt{Goal} command).  Otherwise the special treatment of rules would be
   231 \texttt{Goal} command).  Otherwise the special treatment of rules would be
   232 applied, disturbing this simple setup.
   232 applied, disturbing this simple setup.
   263 initial refinement step turn it into internal object-logic form using the
   263 initial refinement step turn it into internal object-logic form using the
   264 $atomize$ method indicated below.  The remaining script is unchanged.
   264 $atomize$ method indicated below.  The remaining script is unchanged.
   265 
   265 
   266 \begin{matharray}{l}
   266 \begin{matharray}{l}
   267   \LEMMA{name}{\texttt"{\All{\vec x}\vec\phi \Imp \psi}\texttt"} \\
   267   \LEMMA{name}{\texttt"{\All{\vec x}\vec\phi \Imp \psi}\texttt"} \\
   268   \quad \APPLY{atomize~(full)} \\
   268   \quad \APPLY{(atomize~(full))} \\
   269   \quad \APPLY{meth@1} \\
   269   \quad \APPLY{meth@1} \\
   270   \qquad \vdots \\
   270   \qquad \vdots \\
   271   \quad \DONE \\
   271   \quad \DONE \\
   272 \end{matharray}
   272 \end{matharray}
   273 
   273