| Who Cites dec? | |
| dec | Def dec() == Label |
| Thm* dec() | |
| st | Def SimpleType == Tree(Label+Unit) |
| Thm* SimpleType | |
| lbl | Def Label == {p:Pattern| |
| Thm* Label | |
| assert | Def |
| Thm* | |
| col | Def Collection(T) == T |
| Thm* | |
| col_member | Def x |
| Thm* | |
| dec_lbl | Def t.lbl == 1of(t) |
| Thm* | |
| dec_typ | Def t.typ == 2of(t) |
| Thm* | |
| eq_lbl | Def l1 = |
| Thm* | |
| mk_dec | Def mk_dec(lbl, typ) == < lbl,typ > |
| Thm* | |
| pi1 | Def 1of(t) == t.1 |
| Thm* | |
| pi2 | Def 2of(t) == t.2 |
| Thm* | |
| ground_ptn | Def ground_ptn(p) == Case(p) Case ptn_var(v) = > false |
| Thm* | |
| 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 | Def Case(value) body == body(value,value) |
| eq_atom | Def x= |
| Thm* | |
| case_ptn_var | Def Case ptn_var(x) = > body(x) cont(x1,z) == ( |
| eq_int | Def i= |
| Thm* | |
| case_ptn_int | Def Case ptn_int(x) = > body(x) cont(x1,z) == ( |
| case_ptn_atom | Def Case ptn_atom(x) = > body(x) cont(x1,z) == InjCase(x1; x2. body(x2); _. cont(z,z)) |
| ptn | Def Pattern == rec(T.ptn_con(T)) |
| Thm* Pattern | |
| tree | Def Tree(E) == rec(T.tree_con(E;T)) |
| 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)) |
| ptn_con | Def ptn_con(T) == Atom+ |
| Thm* | |
| tree_con | Def tree_con(E;T) == E+(T |
| Thm* |
About: