doc-src/TutorialI/Types/numerics.tex
changeset 13983 afc0dadddaa4
parent 13979 4c3a638828b9
child 13996 a994b92ab1ea
equal deleted inserted replaced
13982:8abae6b7084c 13983:afc0dadddaa4
   455 \isa{2 * 10\isacharcircum6}, but at present no special simplification
   455 \isa{2 * 10\isacharcircum6}, but at present no special simplification
   456 is performed.
   456 is performed.
   457 
   457 
   458 
   458 
   459 \begin{warn}
   459 \begin{warn}
   460 Type \isa{real} is only available in the logic HOL-Real, which
   460 Type \isa{real} is only available in the logic HOL-Complex, which
   461 is  HOL extended with a definitional development of the real
   461 is  HOL extended with a definitional development of the real and complex
   462 numbers.  Base your theory upon theory
   462 numbers.  Base your theory upon theory
   463 \thydx{Real}, not the usual \isa{Main}.%
   463 \thydx{Complex_Main}, not the usual \isa{Main}.%
   464 \index{real numbers|)}\index{*real (type)|)}
   464 \index{real numbers|)}\index{*real (type)|)}
   465 Launch Isabelle using the command 
   465 Launch Isabelle using the command 
   466 \begin{verbatim}
   466 \begin{verbatim}
   467 Isabelle -l HOL-Real
   467 Isabelle -l HOL-Complex
   468 \end{verbatim}
   468 \end{verbatim}
   469 \end{warn}
   469 \end{warn}
   470 
   470 
   471 Also distributed with Isabelle is HOL-Hyperreal,
   471 Also available in HOL-Complex is the
   472 whose theory \isa{Hyperreal} defines the type \tydx{hypreal} of 
   472 theory \isa{Hyperreal}, which define the type \tydx{hypreal} of 
   473 \rmindex{non-standard reals}.  These
   473 \rmindex{non-standard reals}.  These
   474 \textbf{hyperreals} include infinitesimals, which represent infinitely
   474 \textbf{hyperreals} include infinitesimals, which represent infinitely
   475 small and infinitely large quantities; they facilitate proofs
   475 small and infinitely large quantities; they facilitate proofs
   476 about limits, differentiation and integration~\cite{fleuriot-jcm}.  The
   476 about limits, differentiation and integration~\cite{fleuriot-jcm}.  The
   477 development defines an infinitely large number, \isa{omega} and an
   477 development defines an infinitely large number, \isa{omega} and an