Skip to content

Commit 2a64a6b

Browse files
committed
add note of Automatic synthesis of typed Λ-programs on term algebras
1 parent ad97308 commit 2a64a6b

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Automatic synthesis of typed Λ-programs on term algebras
3+
date: 2025-11-05
4+
tags:
5+
- programming_language_theory
6+
---
7+
8+
## Introduction and summary
9+
10+
代数和$\Lambda$系统地双向对应。
11+
12+
基于Church encoding,Curry-Church的类型还是太局限了,哥德尔在之后发展了有限类型函数理论。
13+
14+
等到Girard提出了二阶类型理论才有一个足够强大的lambda-calculus来表达自由代数。
15+
16+
Curry–Howard同构意味着类型与逻辑之间的一致性。
17+
18+
## Heterogeneous algebras
19+
20+
### Basic definitions
21+
22+
代数是载体和运算组成的二元组。
23+
24+
只有一个载体的代数是`homogeneous algebra`,有多个载体的被称为`heterogeneous algebra`
25+
26+
### Term algebras
27+
28+
项代数中的一致就是形式完全一致,运算符号,参数格式和对应位置的参数都相同。
29+
30+
生成元: 不是任何基本运算的输出的元素。也就是参数。
31+
32+
### Data systems and data structures
33+
34+
data system: 没有载体既包含参数,又包含非参数,并且只有有限的载体和基础预算的代数。其中的载体被称作数据结构,数据结构也有参数的和非参数的。

0 commit comments

Comments
 (0)