| 18537 |      1 | %
 | 
|  |      2 | \begin{isabellebody}%
 | 
|  |      3 | \def\isabellecontext{logic}%
 | 
|  |      4 | %
 | 
|  |      5 | \isadelimtheory
 | 
|  |      6 | \isanewline
 | 
|  |      7 | \isanewline
 | 
|  |      8 | \isanewline
 | 
|  |      9 | %
 | 
|  |     10 | \endisadelimtheory
 | 
|  |     11 | %
 | 
|  |     12 | \isatagtheory
 | 
|  |     13 | \isacommand{theory}\isamarkupfalse%
 | 
|  |     14 | \ logic\ \isakeyword{imports}\ base\ \isakeyword{begin}%
 | 
|  |     15 | \endisatagtheory
 | 
|  |     16 | {\isafoldtheory}%
 | 
|  |     17 | %
 | 
|  |     18 | \isadelimtheory
 | 
|  |     19 | %
 | 
|  |     20 | \endisadelimtheory
 | 
|  |     21 | %
 | 
|  |     22 | \isamarkupchapter{Pure logic%
 | 
|  |     23 | }
 | 
|  |     24 | \isamarkuptrue%
 | 
|  |     25 | %
 | 
|  |     26 | \isamarkupsection{Syntax%
 | 
|  |     27 | }
 | 
|  |     28 | \isamarkuptrue%
 | 
|  |     29 | %
 | 
|  |     30 | \isamarkupsubsection{Simply-typed lambda calculus%
 | 
|  |     31 | }
 | 
|  |     32 | \isamarkuptrue%
 | 
|  |     33 | %
 | 
|  |     34 | \begin{isamarkuptext}%
 | 
|  |     35 | FIXME
 | 
|  |     36 | 
 | 
|  |     37 | \glossary{Type}{FIXME}
 | 
|  |     38 | \glossary{Term}{FIXME}%
 | 
|  |     39 | \end{isamarkuptext}%
 | 
|  |     40 | \isamarkuptrue%
 | 
|  |     41 | %
 | 
|  |     42 | \isamarkupsubsection{The order-sorted algebra of types%
 | 
|  |     43 | }
 | 
|  |     44 | \isamarkuptrue%
 | 
|  |     45 | %
 | 
|  |     46 | \begin{isamarkuptext}%
 | 
|  |     47 | FIXME
 | 
|  |     48 | 
 | 
|  |     49 | \glossary{Type constructor}{FIXME}
 | 
|  |     50 | 
 | 
|  |     51 | \glossary{Type class}{FIXME}
 | 
|  |     52 | 
 | 
|  |     53 | \glossary{Type arity}{FIXME}
 | 
|  |     54 | 
 | 
|  |     55 | \glossary{Sort}{FIXME}%
 | 
|  |     56 | \end{isamarkuptext}%
 | 
|  |     57 | \isamarkuptrue%
 | 
|  |     58 | %
 | 
|  |     59 | \isamarkupsubsection{Type-inference and schematic polymorphism%
 | 
|  |     60 | }
 | 
|  |     61 | \isamarkuptrue%
 | 
|  |     62 | %
 | 
|  |     63 | \begin{isamarkuptext}%
 | 
|  |     64 | FIXME
 | 
|  |     65 | 
 | 
|  |     66 | \glossary{Schematic polymorphism}{FIXME}
 | 
|  |     67 | 
 | 
|  |     68 | \glossary{Type variable}{FIXME}%
 | 
|  |     69 | \end{isamarkuptext}%
 | 
|  |     70 | \isamarkuptrue%
 | 
|  |     71 | %
 | 
|  |     72 | \isamarkupsection{Theory%
 | 
|  |     73 | }
 | 
|  |     74 | \isamarkuptrue%
 | 
|  |     75 | %
 | 
|  |     76 | \begin{isamarkuptext}%
 | 
|  |     77 | FIXME
 | 
|  |     78 | 
 | 
|  |     79 | \glossary{Constant}{Essentially a \seeglossary{fixed variable} of the
 | 
|  |     80 | theory context, but slightly more flexible since it may be used at
 | 
|  |     81 | different type-instances, due to \seeglossary{schematic
 | 
|  |     82 | polymorphism.}}%
 | 
|  |     83 | \end{isamarkuptext}%
 | 
|  |     84 | \isamarkuptrue%
 | 
|  |     85 | %
 | 
|  |     86 | \isamarkupsection{Deduction%
 | 
|  |     87 | }
 | 
|  |     88 | \isamarkuptrue%
 | 
|  |     89 | %
 | 
|  |     90 | \begin{isamarkuptext}%
 | 
|  |     91 | FIXME
 | 
|  |     92 | 
 | 
|  |     93 | \glossary{Proposition}{A \seeglossary{term} of \seeglossary{type}
 | 
|  |     94 | \isa{prop}.  Internally, there is nothing special about
 | 
|  |     95 | propositions apart from their type, but the concrete syntax enforces a
 | 
|  |     96 | clear distinction.  Propositions are structured via implication \isa{A\ {\isasymLongrightarrow}\ B} or universal quantification \isa{{\isasymAnd}x{\isachardot}\ B\ x} --- anything
 | 
|  |     97 | else is considered atomic.  The canonical form for propositions is
 | 
|  |     98 | that of a \seeglossary{Hereditary Harrop Formula}.}
 | 
|  |     99 | 
 | 
|  |    100 | \glossary{Theorem}{A proven proposition within a certain theory and
 | 
|  |    101 | proof context, formally \isa{{\isasymGamma}\ {\isasymturnstile}\isactrlsub {\isasymTheta}\ {\isasymphi}}; both contexts are
 | 
|  |    102 | rarely spelled out explicitly.  Theorems are usually normalized
 | 
|  |    103 | according to the \seeglossary{HHF} format.}
 | 
|  |    104 | 
 | 
|  |    105 | \glossary{Fact}{Sometimes used interchangably for
 | 
|  |    106 | \seeglossary{theorem}.  Strictly speaking, a list of theorems,
 | 
|  |    107 | essentially an extra-logical conjunction.  Facts emerge either as
 | 
|  |    108 | local assumptions, or as results of local goal statements --- both may
 | 
|  |    109 | be simultaneous, hence the list representation.}
 | 
|  |    110 | 
 | 
|  |    111 | \glossary{Schematic variable}{FIXME}
 | 
|  |    112 | 
 | 
|  |    113 | \glossary{Fixed variable}{A variable that is bound within a certain
 | 
|  |    114 | proof context; an arbitrary-but-fixed entity within a portion of proof
 | 
|  |    115 | text.}
 | 
|  |    116 | 
 | 
|  |    117 | \glossary{Free variable}{Synonymous for \seeglossary{fixed variable}.}
 | 
|  |    118 | 
 | 
|  |    119 | \glossary{Bound variable}{FIXME}
 | 
|  |    120 | 
 | 
|  |    121 | \glossary{Variable}{See \seeglossary{schematic variable},
 | 
|  |    122 | \seeglossary{fixed variable}, \seeglossary{bound variable}, or
 | 
|  |    123 | \seeglossary{type variable}.  The distinguishing feature of different
 | 
|  |    124 | variables is their binding scope.}%
 | 
|  |    125 | \end{isamarkuptext}%
 | 
|  |    126 | \isamarkuptrue%
 | 
|  |    127 | %
 | 
|  |    128 | \isamarkupsubsection{Primitive inferences%
 | 
|  |    129 | }
 | 
|  |    130 | \isamarkuptrue%
 | 
|  |    131 | %
 | 
|  |    132 | \begin{isamarkuptext}%
 | 
|  |    133 | FIXME%
 | 
|  |    134 | \end{isamarkuptext}%
 | 
|  |    135 | \isamarkuptrue%
 | 
|  |    136 | %
 | 
|  |    137 | \isamarkupsubsection{Higher-order resolution%
 | 
|  |    138 | }
 | 
|  |    139 | \isamarkuptrue%
 | 
|  |    140 | %
 | 
|  |    141 | \begin{isamarkuptext}%
 | 
|  |    142 | FIXME
 | 
|  |    143 | 
 | 
|  |    144 | \glossary{Hereditary Harrop Formula}{The set of propositions in HHF
 | 
|  |    145 | format is defined inductively as \isa{H\ {\isacharequal}\ {\isacharparenleft}{\isasymAnd}x\isactrlsup {\isacharasterisk}{\isachardot}\ H\isactrlsup {\isacharasterisk}\ {\isasymLongrightarrow}\ A{\isacharparenright}}, for variables \isa{x} and atomic propositions \isa{A}.
 | 
|  |    146 | Any proposition may be put into HHF form by normalizing with the rule
 | 
|  |    147 | \isa{{\isacharparenleft}A\ {\isasymLongrightarrow}\ {\isacharparenleft}{\isasymAnd}x{\isachardot}\ B\ x{\isacharparenright}{\isacharparenright}\ {\isasymequiv}\ {\isacharparenleft}{\isasymAnd}x{\isachardot}\ A\ {\isasymLongrightarrow}\ B\ x{\isacharparenright}}.  In Isabelle, the outermost
 | 
|  |    148 | quantifier prefix is represented via \seeglossary{schematic
 | 
|  |    149 | variables}, such that the top-level structure is merely that of a
 | 
|  |    150 | \seeglossary{Horn Clause}}.
 | 
|  |    151 | 
 | 
|  |    152 | \glossary{HHF}{See \seeglossary{Hereditary Harrop Formula}.}%
 | 
|  |    153 | \end{isamarkuptext}%
 | 
|  |    154 | \isamarkuptrue%
 | 
|  |    155 | %
 | 
|  |    156 | \isamarkupsubsection{Equational reasoning%
 | 
|  |    157 | }
 | 
|  |    158 | \isamarkuptrue%
 | 
|  |    159 | %
 | 
|  |    160 | \begin{isamarkuptext}%
 | 
|  |    161 | FIXME%
 | 
|  |    162 | \end{isamarkuptext}%
 | 
|  |    163 | \isamarkuptrue%
 | 
|  |    164 | %
 | 
|  |    165 | \isamarkupsection{Proof terms%
 | 
|  |    166 | }
 | 
|  |    167 | \isamarkuptrue%
 | 
|  |    168 | %
 | 
|  |    169 | \begin{isamarkuptext}%
 | 
|  |    170 | FIXME%
 | 
|  |    171 | \end{isamarkuptext}%
 | 
|  |    172 | \isamarkuptrue%
 | 
|  |    173 | %
 | 
|  |    174 | \isadelimtheory
 | 
|  |    175 | %
 | 
|  |    176 | \endisadelimtheory
 | 
|  |    177 | %
 | 
|  |    178 | \isatagtheory
 | 
|  |    179 | \isacommand{end}\isamarkupfalse%
 | 
|  |    180 | %
 | 
|  |    181 | \endisatagtheory
 | 
|  |    182 | {\isafoldtheory}%
 | 
|  |    183 | %
 | 
|  |    184 | \isadelimtheory
 | 
|  |    185 | %
 | 
|  |    186 | \endisadelimtheory
 | 
|  |    187 | \isanewline
 | 
|  |    188 | \end{isabellebody}%
 | 
|  |    189 | %%% Local Variables:
 | 
|  |    190 | %%% mode: latex
 | 
|  |    191 | %%% TeX-master: "root"
 | 
|  |    192 | %%% End:
 |