doc-src/Ref/introduction.tex
changeset 9231 8812a07d52ee
parent 8908 25f2bdc02123
child 9695 ec7d7f877712
equal deleted inserted replaced
9230:17ae63f82ad8 9231:8812a07d52ee
   299 \end{ttdescription}
   299 \end{ttdescription}
   300 
   300 
   301 
   301 
   302 \subsection{Eta-contraction before printing}
   302 \subsection{Eta-contraction before printing}
   303 \begin{ttbox} 
   303 \begin{ttbox} 
   304 eta_contract: bool ref \hfill{\bf initially false}
   304 eta_contract: bool ref
   305 \end{ttbox}
   305 \end{ttbox}
   306 The {\bf $\eta$-contraction law} asserts $(\lambda x.f(x))\equiv f$,
   306 The {\bf $\eta$-contraction law} asserts $(\lambda x.f(x))\equiv f$,
   307 provided $x$ is not free in ~$f$.  It asserts {\bf extensionality} of
   307 provided $x$ is not free in ~$f$.  It asserts {\bf extensionality} of
   308 functions: $f\equiv g$ if $f(x)\equiv g(x)$ for all~$x$.  Higher-order
   308 functions: $f\equiv g$ if $f(x)\equiv g(x)$ for all~$x$.  Higher-order
   309 unification frequently puts terms into a fully $\eta$-expanded form.  For
   309 unification frequently puts terms into a fully $\eta$-expanded form.  For