~/talk

Monadic typed tactic programming by reflection

Talkat TyDe 2019 · on Sunday, 2019-08-18· [compilers-and-language-design]
links:none on file
slides:none on file

Shallow embedding of Mtac is implemented entirely in Agda by reusing Agda reflection and quotations to represent tactic terms as Agda syntax; the implementation realizes 12 of 13 constructs (pattern matching, binders, local names, failure) with each nontrivial construct implemented in roughly ten lines and one recursive primitive left out. Key issues are universe/level management for quoted terms, alpha‑equivalence and unquote soundness assumptions, and some unproven coherence lemmas; a small demo runs in seconds.

AI-written summary · about

  1. 0:00Introduction
  2. 1:58What is Monadic
  3. 5:53Personal semantics
  4. 6:30Reflection
  5. 8:17Limitations
  6. 10:49Syntax
  7. 12:39Unification
  8. 15:45Extractions
  9. 16:25Proof
  10. 22:21Problems
~/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.