iconLogo
Published:2026/1/2 22:20:36

最強モナド爆誕!計算を最強に💖

超要約: 計算をもっと柔軟にする新技術!ビジネスにも役立つよ🌟

ギャル的キラキラポイント✨

● 既存の計算モデルを、もっとすご~く拡張するよ! ● AIとかクラウドとか、色んな分野で使えるから、めっちゃ未来🚀 ● 開発が楽になったり、新しいサービス作れるかも💖

詳細解説

背景: モナド(monad)っていう、計算のやり方を整理するスゴい概念があるんだけど、それをさらにパワーアップさせる研究だよ!特定の計算にしか対応してなかったのを、もっと色んな計算に対応できるようにするんだって✨

方法: 「dicodensity monads」っていう新しい概念を開発したんだって! 難しい言葉だけど、計算を柔軟にするための新しい道具って思ってて💖既存のモナドとも仲良くできるから、色んなシステムで使えるみたい。

続きは「らくらく論文」アプリで

Strong Dinatural Transformations and Generalised Codensity Monads

Maciej Pir\'og / Filip Sieczkowski

We introduce dicodensity monads: a generalisation of pointwise codensity monads generated by functors to monads generated by mixed-variant bifunctors. Our construction is based on the notion of strong dinaturality (also known as Barr dinaturality), and is inspired by denotational models of certain types in polymorphic lambda calculi - in particular, a form of continuation monads with universally quantified variables, such as the Church encoding of the list monad in System F. Extending some previous results on Cayley-style representations, we provide a set of sufficient conditions to establish an isomorphism between a monad and the dicodensity monad for a given bifunctor. Then, we focus on the class of monads obtained by instantiating our construction with hom-functors and, more generally, bifunctors given by objects of homomorphisms (that is, internalised hom-sets between Eilenberg--Moore algebras). This gives us, for example, novel presentations of monads generated by different kinds of semirings and other theories used to model ordered nondeterministic computations.

cs / cs.LO / cs.PL