~/talk

Graded Monoids for Dependently Typed Array Programming

Talkat ARRAY 2026 · on Tuesday, 2026-06-16· [functional-programming]
links:none on file
slides:none on file

Defines graded monoids as indexing algebras that let a single fold compute both values and index metadata, proven by a monoid-homomorphism that lifts to an algebra homomorphism; implements catamorphic and psychomorphism recursion schemes over lists so folds produce a sigma with a cost grade and data, demonstrated on CSV parsing that accepts 5 elements in 14 steps and rejects 9 blanks, and runs as Lean 4 elaboration-time parsing on a 4,433-row file (works interactively but is impractical for TB-scale IO).

AI-written summary · about

  1. 0:00Graded monoids in array programming
  2. 1:16Graded monoids over folds
  3. 2:20Catamorphisms for parsing
  4. 4:27CSV example with graded monoids
  5. 6:58Index algebras correctness
  6. 8:22Shapely types refinements
  7. 10:51Recursion schemes intermission
  8. 11:35Parsing in Lean runtime
  9. 13:03Compile-time parsing for shapely types
  10. 14:50Free semiring extensions
  11. 15:33Takeaways and future work
  12. 16:17Summary and closing
  13. 16:48Q&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.