merging informal description with bnf
This commit is contained in:
parent
5b63add070
commit
626d87804f
3 changed files with 2884 additions and 2876 deletions
5176
out/Stlc.md
5176
out/Stlc.md
File diff suppressed because it is too large
Load diff
544
out/StlcProp.md
544
out/StlcProp.md
File diff suppressed because it is too large
Load diff
|
@ -57,7 +57,9 @@ numbers as a base type.
|
||||||
|
|
||||||
Here is the syntax of types in BNF.
|
Here is the syntax of types in BNF.
|
||||||
|
|
||||||
A, B, C ::= A ⇒ B | 𝔹
|
A, B, C ::=
|
||||||
|
A ⇒ B -- functions
|
||||||
|
𝔹 -- booleans
|
||||||
|
|
||||||
And here it is formalised in Agda.
|
And here it is formalised in Agda.
|
||||||
|
|
||||||
|
@ -89,6 +91,8 @@ correspond to introduction rules and deconstructors to eliminators.
|
||||||
|
|
||||||
Here is the syntax of terms in BNF.
|
Here is the syntax of terms in BNF.
|
||||||
|
|
||||||
|
L, M, N ::= ` x | λ[ x ∶ A ] N
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue