型別理論與形式證明筆記

出自Tan Kian-ting的維基
於 2024年7月3日 (三) 01:39 由 Tankianting討論 | 貢獻 所做的修訂
跳至導覽 跳至搜尋


第2章:簡單型別lambda運算(simple typed lambda calculus)

2.2 simple type 簡單型別

型別變數 type variable:用希臘字母表示。

:所有簡單型別,定義如下:

  1. 型別變數:,表達基本型別,比如list, nat等
  2. 箭頭型別:解析失敗 (MathML 使用 SVG 或 PNG 備用 (建議用於現代瀏覽器與輔助工具):從伺服器 "https://wikimedia.org/api/rest_v1/" 收到無效的回應 ("Math extension cannot connect to Restbase.")。): {\textstyle \alpha,\tau \in {\mathbb{T}} \Rightarrow (\alpha \arrow \tau) \in {\mathbb{T}}}

箭頭是右結合的,和函數的apply代入不同。比較