TGViewer
PONV Daily PONV Daily @daily_ponv · 734 subscribers
Post #1746 1.02K
Intrinsically Correct Algorithms and Recursive Coalgebras
Cass Alexandru, Henning Urbat, Thorsten Wißmann

Recursive coalgebras provide an elegant categorical tool for modelling recursive algorithms and analysing their termination and correctness. By considering coalgebras over categories of suitably indexed families, the correctness of the corresponding algorithms follows intrinsically just from the type of the computed maps. However, proving recursivity of the underlying coalgebras is non-trivial, and proofs are typically ad hoc. This layer of complexity impedes the formalization of coalgebraically defined recursive algorithms in proof assistants. We introduce a framework for constructing coalgebras which are intrinsically recursive in the sense that the type of the coalgebra guarantees recursivity from the outset. Our approach is based on the novel concept of a well-founded functor on a category of families indexed by a well-founded relation. We show as our main result that every coalgebra for a well-founded functor is recursive, and demonstrate that well-known techniques for proving recursivity and termination such as ranking functions are subsumed by this abstract setup

https://dl.acm.org/doi/abs/10.1145/3808309
Proceedings of the ACM on Programming Languages Intrinsically Correct Algorithms and Recursive Coalgebras | Proceedings of the ACM on Programming Languages Recursive coalgebras provide an elegant categorical tool for modelling recursive algorithms and analysing their termination and correctness. By considering coalgebras over categories of suitably indexed families, the correctness of the corresponding ...
  • 🔥 1
  • 🌭 1
More from @daily_ponv
  1. Sep 14, 2026Tracking Redexes in the Lambda Calculus Jean-Jacques Lévy Residuals of redexes keep track…
  2. Sep 10, 2026Reference counting as a computational interpretation of linear logic Jawahar Chirimar, Car…
  3. Sep 6, 2026После лекции про System T меня расспрашивали про доказательства непротиворечивости и теоре…
  4. Sep 5, 2026https://dl.acm.org/doi/epdf/10.1145/2544173.2509546 Carbin, Misailovic, Rinard, [2013] "Ve…
  5. Aug 13, 2026Low-Level Software Security for Compiler Developers https://llsoftsec.github.io/llsoftsecb…
  6. Aug 1, 2026People in the know say it's a daily-worth material, https://youtu.be/FTmmG3Dx8HA
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →