doc-src/TutorialI/Misc/appendix.thy
author nipkow
Mon, 29 Jan 2001 19:24:17 +0100
changeset 10994 9429f2e7d16a
child 12332 aea72a834c85
permissions -rw-r--r--
*** empty log message ***
nipkow@10994
     1
(*<*)
nipkow@10994
     2
theory appendix = Main:;
nipkow@10994
     3
(*>*)
nipkow@10994
     4
nipkow@10994
     5
text{*
nipkow@10994
     6
\begin{table}[htbp]
nipkow@10994
     7
\begin{center}
nipkow@10994
     8
\begin{tabular}{lll}
nipkow@10994
     9
Constant & Type & Syntax \\
nipkow@10994
    10
\hline
nipkow@10994
    11
@{term 0} & @{text "'a::zero"} \\
nipkow@10994
    12
@{text"+"} & @{text "('a::plus) \<Rightarrow> 'a \<Rightarrow> 'a"} & (infixl 65) \\
nipkow@10994
    13
@{text"-"} & @{text "('a::minus) \<Rightarrow> 'a \<Rightarrow> 'a"} &  (infixl 65) \\
nipkow@10994
    14
@{text"-"} & @{text "('a::minus) \<Rightarrow> 'a"} \\
nipkow@10994
    15
@{text"*"} & @{text "('a::times) \<Rightarrow> 'a \<Rightarrow> 'a"} & (infixl 70) \\
nipkow@10994
    16
@{text div} & @{text "('a::div) \<Rightarrow> 'a \<Rightarrow> 'a"} & (infixl 70) \\
nipkow@10994
    17
@{text mod} & @{text "('a::div) \<Rightarrow> 'a \<Rightarrow> 'a"} & (infixl 70) \\
nipkow@10994
    18
@{text dvd} & @{text "('a::times) \<Rightarrow> 'a \<Rightarrow> bool"} & (infixl 50) \\
nipkow@10994
    19
@{text"/"}  & @{text "('a::inverse) \<Rightarrow> 'a \<Rightarrow> 'a"} & (infixl 70) \\
nipkow@10994
    20
@{text"^"} & @{text "('a::power) \<Rightarrow> nat \<Rightarrow> 'a"} & (infixr 80) \\
nipkow@10994
    21
@{term abs} &  @{text "('a::minus) \<Rightarrow> 'a"} & ${\mid} x {\mid}$\\
nipkow@10994
    22
@{text"\<le>"} & @{text "('a::ord) \<Rightarrow> 'a \<Rightarrow> bool"} & (infixl 50) \\
nipkow@10994
    23
@{text"<"} & @{text "('a::ord) \<Rightarrow> 'a \<Rightarrow> bool"} & (infixl 50) \\
nipkow@10994
    24
@{term min} &  @{text "('a::ord) \<Rightarrow> 'a \<Rightarrow> 'a"} \\
nipkow@10994
    25
@{term max} &  @{text "('a::ord) \<Rightarrow> 'a \<Rightarrow> 'a"} \\
nipkow@10994
    26
@{term Least} & @{text "('a::ord \<Rightarrow> bool) \<Rightarrow> 'a"} &
nipkow@10994
    27
@{text LEAST}$~x.~P$
nipkow@10994
    28
\end{tabular}
nipkow@10994
    29
\caption{Overloaded Constants in HOL}
nipkow@10994
    30
\label{tab:overloading}
nipkow@10994
    31
\end{center}
nipkow@10994
    32
\end{table}
nipkow@10994
    33
*}
nipkow@10994
    34
nipkow@10994
    35
(*<*)
nipkow@10994
    36
end
nipkow@10994
    37
(*>*)