fixing parsing
This commit is contained in:
parent
0aa49cfe9b
commit
333534a8d1
8 changed files with 95 additions and 47 deletions
|
@ -1,11 +1,9 @@
|
|||
# draft of presentation
|
||||
|
||||
## sappho short
|
||||
# sappho short
|
||||
- sappho types intro
|
||||
- a quick look at msph and spho
|
||||
|
||||
|
||||
### The types
|
||||
## The types
|
||||
|
||||
We take a look at the grammar for sappho types
|
||||
|
||||
|
@ -15,7 +13,7 @@ s, t ::= s | t (disjunction, a.k.a. union)
|
|||
| s => t (implication)
|
||||
| s -> t (arrow, a.k.a. function)
|
||||
| forall x . t (forall, polymorphic)
|
||||
| box t (box, c.f. modular logic)
|
||||
| box t (box, c.f. modal logic)
|
||||
| a [t..] (type operator application)
|
||||
| x (variable)
|
||||
| n (nominal)
|
||||
|
@ -30,7 +28,7 @@ n ∈ nominal
|
|||
a ∈ opname
|
||||
```
|
||||
|
||||
The type `t <: s` would be expressive sugar for `box (t => s)`
|
||||
The type `t <: s` would be syntactic sugar for `box (t => s)`
|
||||
|
||||
### msph and spho
|
||||
|
||||
|
@ -60,7 +58,7 @@ Thoughts
|
|||
* maybe eventually add a basic term language and interpreter
|
||||
* can we use external software/libraries for proof search?
|
||||
|
||||
## interpretation of types
|
||||
# interpretation of types
|
||||
- example programs in `msph`
|
||||
- unified syntax for types and bounded polymorphism
|
||||
- example: self typing
|
||||
|
@ -75,7 +73,8 @@ Check formalities.md.
|
|||
- simple rules
|
||||
- type constructor rules
|
||||
- recursion and cyclic proofs
|
||||
* next steps?
|
||||
|
||||
# next steps?
|
||||
- formals:
|
||||
- formulate theorems
|
||||
- if we use semantic subtyping, isn't it enough to
|
||||
|
@ -85,3 +84,4 @@ Check formalities.md.
|
|||
- simple rules, should be fairly simple
|
||||
- type constructors, straightforward hopefully
|
||||
- recursion and cyclic proofs... `¯\_(ツ)_/¯`
|
||||
- describe use of language with type system (interpretation of types)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue