依存積型
#Fleeting_Notes
依存積型(dependnt product type)、パイ型(Π型)、依存関数型(dependent function type)
依存関数型(dependent function type)や、パイ型(Π-types)などいろいろ呼び方がある
表記1
$ \prod_{x:A}B(x)
$ B(x) : 依存型
$ \prod_{x:A}B(x) まで含めると依存関数型(dependent function type)
表記2
$ \Pi_{(x:A)} B(x)
ラムダ計算で表すと、λx.f(x)という文のようなもの
入力x : Aを受け取ってf(x) : B(x)という出力をする
形成規則(formation rule)
$ \frac{\Gamma, 𝑥:𝐴 \vdash 𝐵(x) \ \mathrm{type}}{Γ \vdash \Pi_{(x:A)} B(x)\ \mathrm{type}}\Pi.
導入規則(introduction rule)
$ \frac{\Gamma, x:A \vdash b(x) : B(x)}{\Gamma \vdash \lambda x.b(x) : \Pi_{(x:A)} B(x)}\Pi\text{-intro}.
除去規則(elimination rule)
$ \frac{\Gamma \vdash f : \Pi_{(x:A)} B(x) }{\Gamma, x:A\vdash f(x) : B(x)}\Pi\text{-elim}.
計算規則(computation rule)
$ \frac{\Gamma, x:A \vdash b(x) : B(x) }{\Gamma, x:A \vdash (\lambda y.b(y))(x)\ \dot{=}\ b(x) : B(x)}\Pi\text{-comp}.
β-簡約
$ \frac{\Gamma \vdash f : \Pi_{(x:A)} B(x)}{\Gamma \vdash \lambda x.f(x) \dot{=} f : \Pi_{(x:A)} B(x)}\Pi\text{-uniq}
η-変換
確認用
Q. 依存積型
関連
(論理) 全称量化
(集合) 積(product)
(型理論)
(圏論)
(ホモトピー) 断面の空間
依存対型
参考
『Introduction to Homotopy Type Theory』 P11-P12
Rijke, Egbert. Daily applications of the univalence axiom. . P13
メモ
アロー関数から依存関数空間型〈パイ型〉へ - 檜山正幸のキマイラ飼育記 (はてなBlog)
dependent product type in nLab
調査用
Google.icon 依存積型(日)
Google.icon Dependnt product type(英)
Wikipedia.icon
依存積型 - Wikipedia(日)
依存積型(検索) - Wikipedia(日)
Wikipedia.icon
Dependnt product type - Wikipedia(英)
Dependnt product type(検索) - Wikipedia(英)
#A×B