~/talk

Towards general white-box automation: a typeclass-guided context cleaner

Talkat CoqPL 2025 · on Saturday, 2025-01-25· [developer-experience]
links:none on file
slides:none on file

Built a small Ltac2 clarifier called cdestruct that uses typeclass-guided hints to run only safe, non‑backtracking context cleanup: case splits, injection/discriminate, substitution, cbn, and proposition replacement driven by typeclass instances and gated options. The core is ~50 lines; it solves dependent‑map lemmas end‑to‑end without unsafe steps by copying and simplifying blocked obligations. Discrimination‑tree lookup and lack of a proper simplifier cause performance limits; injection is reimplemented to respect opacity. The code sits inside a project and isn’t yet a standalone repo.

AI-written summary · about

  1. 0:00White-box automation intro
  2. 1:27Automation trade-offs
  3. 3:58Limitations of tactics
  4. 7:26General proof search architecture
  5. 8:50Designing clarifier CDstruct
  6. 11:16Typeclass hints and trees
  7. 14:26Practical lessons
  8. 15:49Future challenges
  9. 17:13Q&A: Forward reasoning
  10. 20:03Q&A: Hint integration
~/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.