~/talk

Quantitative program reasoning in Granule via graded modal types

Talkat Code Mesh LDN 2019 · 2019-11-07..11-08· [compilers-and-language-design]
slides:none on file

Granule implements a functional language combining linear, indexed and graded modal types with a working REPL and typechecker that uses an automated theorem prover backend (Z3/CVC4). Types express exact usage counts (naturals and intervals like 0..1), let a value’s type determine how many times a function is called (replicate 5), and tie vector lengths to behavior. A security lattice (e.g. private/public lattice) enforces data-leak prevention. Implementation works for the demos but complex constraints can hit solver timeouts; source is on GitHub.

AI-written summary · about

  1. 0:00Start
  2. 3:46Protocol of Interaction
  3. 4:29Linear Logic
  4. 15:55Graded Modality
  5. 23:27Index Types
  6. 26:53Dependent Types
  7. 38:42Privacy Example
  8. 41:12Syntax Errors
  9. 44:00Graded Monad
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.