Rule. Dependent types I › The product of a family of types › Introduction [01DV]

The introduction rule states that given A and B as above and x:A\vdash u[x]:B[x], we may form \lambda x\mathpunct {.}{u[x]}:{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}}{B[x]}:

\frac { x:A\vdash u[x]:B[x] }{ \lambda x\mathpunct {.}{u[x]}:{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}}{B[x]} }

Recall that the premises concerning A and B are implicitly part of the rule above, and omitted only by convention. A further notational convention that we are already employing is to omit A and B from the \lambda -term itself; the most explicit notation for the rule above, which is how you should read it(!), would be something like the following:

\frac { A~\mathit {type}\quad x:A\vdash B[x]~\mathit {type}\quad x:A\vdash u[x]:B[x] }{ \mathsf {lam}(A; x\mathpunct {.}B[x]; x\mathpunct {.}u[x]) :{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}}{B[x]} }