请输入您要查询的字词:

 

单词 A12DependentFunctionTypesPitypes
释义

A.1.2 Dependent function types (Π-types)


We introduce a primitive constant cΠ, but writecΠ(A,λx.B) as (x:A)B. Judgments concerningsuch expressions and expressions of the form λx.b are introduced by the following rules:

  • if ΓA:𝒰n and Γ,x:AB:𝒰n, then Γ(x:A)B:𝒰n

  • if Γ,x:Ab:B then Γ(λx.b):((x:A)B)

  • if Γg:(x:A)B and Γt:A then Γg(t):B[t/x]

If x does not occur freely in B, we abbreviate (x:A)B as the non-dependent function typeAB and derive the following rule:

  • if Γg:AB and Γt:A then Γg(t):B

Using non-dependent function types and leaving implicit the context Γ, the rules above can be written in the following alternative style that we use in the rest of this section of the appendix.

  • if A:𝒰n and B:A𝒰n, then (x:A)B(x):𝒰n

  • if x:Ab:B then λx.b:(x:A)B(x)

  • if g:(x:A)B(x) and t:A then g(t):B(t)

随便看

 

数学辞典收录了18232条数学词条,基本涵盖了常用数学知识及数学英语单词词组的翻译及用法,是数学学习的有利工具。

 

Copyright © 2000-2023 Newdu.com.com All Rights Reserved
更新时间:2025/5/4 9:20:27