diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-01-13 11:46:38 +0100 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-01-13 11:46:38 +0100 |
commit | 9231bd58d1675d25be4af35b9c2a3204b5269069 (patch) | |
tree | 79916c898c35ad07906e5a7ef833f25010f20224 /doc/refman | |
parent | 013e161b7362aefb6a7a9117999e415cce3db9c2 (diff) |
More documentation of the Local Definitions and Axioms.
Diffstat (limited to 'doc/refman')
-rw-r--r-- | doc/refman/RefMan-gal.tex | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/refman/RefMan-gal.tex b/doc/refman/RefMan-gal.tex index 63440f4de..68a2e5dac 100644 --- a/doc/refman/RefMan-gal.tex +++ b/doc/refman/RefMan-gal.tex @@ -782,6 +782,12 @@ a postulate. {\term$_n$} {\tt )}.}\\ Adds $n$ blocks of parameters with different specifications. +\item {\tt Local Axiom {\ident} : {\term}.}\\ +\comindex{Local Axiom} + Such axioms are never made accessible through their unqualified name by + {\tt Import} and its variants (see \ref{Import}). You have to explicitly + give their fully qualified name to refer to them. + \item \comindex{Conjecture} {\tt Conjecture {\ident} :{\term}.}\\ Is equivalent to {\tt Axiom {\ident} : {\term}}. @@ -801,7 +807,8 @@ current section (see Section~\ref{Section} for a description of the section mechanism). When the current section is closed, name {\ident} will be unknown and every object using this variable will be explicitly parametrized (the variable is {\em discharged}). Using the {\tt -Variable} command out of any section is equivalent to using {\tt Parameter}. +Variable} command out of any section is equivalent to using {\tt +Local Parameter}. \begin{ErrMsgs} \item \errindex{{\ident} already exists} @@ -879,7 +886,7 @@ environment, provided that {\term} is well-typed. {\tt fun}\,{\binder$_1$} {\ldots} {\binder$_n$}\,{\tt =>}\,{\term$_2$}\,% {\tt .} -\item {\tt Local Definition} {\ident} := {\term}\\ +\item {\tt Local Definition {\ident} := {\term}.}\\ \comindex{Local Definition} Such definitions are never made accessible through their unqualified name by {\tt Import} and its variants (see \ref{Import}). You have to explicitly @@ -906,7 +913,9 @@ environment of the current section. The name {\ident} disappears when the current section is eventually closed, and, all persistent objects (such as theorems) defined within the section and depending on {\ident} are prefixed by the let-in definition -{\tt let {\ident} := {\term} in}. +{\tt let {\ident} := {\term} in}. Using the {\tt +Let} command out of any section is equivalent to using {\tt +Local Definition}. \begin{ErrMsgs} \item \errindex{{\ident} already exists} |