~/talk

Is Sized Typing for Coq Practical?

Talkat ICFP 2023 · 2023-09-04..09-09· [functional-programming]
links:none on file
name:Yufeng Li
links:none on file
links:none on file
slides:none on file

Implementation of CIC^ sized type theory inside a Coq 8.12 kernel fork produces a full size-inference pipeline that emits difference constraints solved by Bellman-Ford O(V·C). Evaluation shows practical failure: compiling MSetList slows by 5.5×* with many constraint checks, worst cases reaching ~4,000 variables and 2,500 constraints (V·C ≈ 10 million) and contrived Nats6 taking >2 minutes. Conclusion: fully automatic, backward-compatible size inference is impractical; manual top-level annotations are a possible mitigation.

AI-written summary · about

  1. 0:00Size typing for Coq intro
  2. 1:05Coq needs termination checking
  3. 3:12What size types are
  4. 5:39Past size types in CIC
  5. 7:09Cic hat star goals
  6. 8:12Size typing pipeline
  7. 10:23Fixpoint typing rules
  8. 12:12Cumulativity and constraints
  9. 13:56Constraint satisfiability
  10. 15:42Constraint growth issues
  11. 17:06Impact on Coq library
  12. 18:56Why size typing impractical
  13. 19:38Future directions
  14. 20:45Paper details & Q&A
  15. 21:27Q&A
~/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.