| Who Cites smt terms? | |
| smt_terms | Def smt_terms(c) == < s.term | s |
| Thm* | |
| smt_term | Def t.term == 1of(2of(t)) |
|
Thm* | |
| smt |
Def smt() == Label |
| Thm* smt() | |
| term | Def Term == Tree(ts()) |
| Thm* Term | |
| col_map |
Def < f(x) | x |
| Thm* | |
| pi2 | Def 2of(t) == t.2 |
|
Thm* | |
| pi1 | Def 1of(t) == t.1 |
| Thm* | |
| ts | Def ts() == Label+Label+Label+Label+Label |
| Thm* ts() | |
| st | Def SimpleType == Tree(Label+Unit) |
| Thm* SimpleType | |
| tree | Def Tree(E) == rec(T.tree_con(E;T)) |
|
Thm* | |
| lbl |
Def Label == {p:Pattern| |
| Thm* Label | |
| col_member |
Def x |
| Thm* | |
| tree_con |
Def tree_con(E;T) == E+(T |
| Thm* | |
| ground_ptn |
Def ground_ptn(p)
== Case(p)
Case ptn_var(v) = >
false |
|
Thm* | |
| assert |
Def |
| Thm* | |
| ptn | Def Pattern == rec(T.ptn_con(T)) |
|
Thm* Pattern | |
| case_default | Def Default = > body(value,value) == body |
| band |
Def p |
| Thm* | |
| case_lbl_pair | Def Case ptn_pr( < x, y > ) = > body(x;y) cont(x1,z) == InjCase(x1; _. cont(z,z); x2. InjCase(x2; _. cont(z,z); x2@0. InjCase(x2@0; _. cont(z,z); x2@1. x2@1/x3,x2@2. body(x3;x2@2)))) |
| case_ptn_var |
Def Case ptn_var(x) = > body(x) cont(x1,z)
== ( |
| case | Def Case(value) body == body(value,value) |
| ptn_con |
Def ptn_con(T) == Atom+ |
| Thm* | |
| hd |
Def hd(l) == Case of l; nil |
|
Thm* | |
|
Thm* | |
| tl |
Def tl(l) == Case of l; nil |
|
Thm* | |
| case_inl | Def inl(x) = > body(x) cont(value,contvalue) == InjCase(value; x. body(x); _. cont(contvalue,contvalue)) |
| case_inr | Def inr(x) = > body(x) cont(value,contvalue) == InjCase(value; _. cont(contvalue,contvalue); x. body(x)) |
About: