You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.
So I quickly searched through the pdf of Polynomial Functors - a general theory of interaction and could not find a mention of power sets, which are what Kripke Polynomial functors are as defined by Bart Jacobs in his introductory book on coalgebras. The Kleisli category of the Powerset monad is equivalent to Rel the category of Sets and Relations, which I am particularly interested in.
I gather the book is not finished, as the course is not finished yet either. So it could be that it will show up. Just wondering what the status of that functor is.
I think powerset is not polynomial, since it's the functor -- an exponential! @David Spivak and @Tim Hosgood recently wrote a paper about Dirichlet polynomials though, which are 'polynomials' where basis and exponent are inverted, afair. There's also another paper with David Jaz Myers about such polynomials
What instead is a polynomial is the finite powerset functor, i.e. the functor that sends a set to its set of finite subsets. It is polynomials because can be expressed as (where is the -th symmetric group), or, more succinctly, as
This topic was moved here from #general > the Topos Institute is open! by Matteo Capucci (he/him)
Don't you also need to quotient by permutations? I'd expect the polynomial you gave to be for lists.
James Wood said:
Don't you also need to quotient by permutations? I'd expect the polynomial you gave to be for lists.
Of course! :face_palm: I edited the message
I think for Rel all I need is . So that's fine. I guess I have all I need.
Mind you it looks like Poly is pretty powerful.
"Basically you can recover any category within the category of polynomial functors" min 21 of the second course from the Topos institute and also the end of chapter 1 of the book.
The dynamic aspect of poly is particularly exciting. I am writing a web server that is built on actors. So I am thinking poly should work here...
Henry Story said:
I think for Rel all I need is . So that's fine. I guess I have all I need.
I'm skeptical of this, because unless is finite! The cat of relations you get is quite small in comparison, since every relation there is relating a finite number of elements
for programming, finite sets is quite a lot! I mean if finite is more than the particles in the universe then I think I can live with that. Is there a place where I would need more?
Henry Story said:
"Basically you can recover any category within the category of polynomial functors" min 21 of the second course from the Topos institute and also the end of chapter 1 of the book.
Is this a reference to Uustalu's (and someone else I can't remember right now!) observation that some comonads in poly recover small cats? Beware that you recover a different category of small cats, since morphisms turn out to be cofunctors. Indeed I don't like to call them cats since they don't transform like cats :)
Henry Story said:
for programming, finite sets is quite a lot! I mean if finite is more than the particles in the universe then I think I can live with that.
sure, you're free to use as little infinity as you like, but is a pre-existing, infinitary object so I was commenting on the equivalence :)
Henry Story said:
Is there a place where I would need more?
geometry is pretty enamoured with infinity :)
Don't coalgebras give one access to infinity? I saw @Thorsten Altenkirch present conatural numbers with Agda. These start from infinity and go down. Also I think I saw papers such as On coalgebra of real numbers. (I guess both of those only use polynomial functors)
Here is a very nice introduction on coinductive proofs of equality using Cubical Agda by @taooftypes . One can prove that an equality of streams is a stream of equalities in 2 copattern matches that mirror inductive proofs. https://www.youtube.com/watch?v=-fhaZvgDaZk
- The 🐟 BabelFish (@bblfish)Well they seem to allow for real exponents on p19 of the Poly book
Solutions to exercises 2.6 has this to say
Henry Story said:
Don't coalgebras give one access to infinity? I saw Thorsten Altenkirch present conatural numbers with Agda. These start from infinity and go down. Also I think I saw papers such as On coalgebra of real numbers. (I guess both of those only use polynomial functors)
yeah most infinities we deal with are actually 'finitary', in the sense that they can be described with finite means. in fact, all infinities are such, in a sense, since anything which requires infinitely many symbols to be defined cannot be defined by a mortal mathematician!
that's why i'm very at ease with infinity -- it's just a convenient short hand (as every mathematical concept, after all)
Matteo Capucci (he/him) said:
Henry Story said:
Don't coalgebras give one access to infinity? I saw Thorsten Altenkirch present conatural numbers with Agda. These start from infinity and go down. Also I think I saw papers such as On coalgebra of real numbers. (I guess both of those only use polynomial functors)
yeah most infinities we deal with are actually 'finitary', in the sense that they can be described with finite means. in fact, all infinities are such, in a sense, since anything which requires infinitely many symbols to be defined cannot be defined by a mortal mathematician!
that's why i'm very at ease with infinity -- it's just a convenient short hand (as every mathematical concept, after all)
This is a confusion between metalevel (the language we use) and object level (the things we speak about). We speak about infinite objects that is what we mean even though we always use finite means to speak about them. Don't confuse the levels!
Henry Story said:
Don't coalgebras give one access to infinity? I saw Thorsten Altenkirch present conatural numbers with Agda. These start from infinity and go down. Also I think I saw papers such as On coalgebra of real numbers. (I guess both of those only use polynomial functors)
Thank you for mentioning the clip. Yes terminal coalgebras are usually infinte objects, we get infinite trees instead of finite trees. However, you also get infinite Objects using just the mundane function type and indeed Streams over A are equivalent to functions from Nat to A. In my view the function type itself is 'coinductive' because it is defined by its destructor (application). Hence this is maybe no surprise.
What I like about the cubical approach is that it makes type theory more symmetric. In conventional type theory you can use recursion and pattern matching to reason about inductive types but you are left with nothing when it goes to coinductive types. Indeed even functional extensionality is not provable. However, in cubical type theory not only functional extensionality is provable but also we can reason about other coinductive types using copattern matching and corecursion.
The balance of the universe is restored. :-)
Thorsten Altenkirch said:
Matteo Capucci (he/him) said:
Henry Story said:
Don't coalgebras give one access to infinity? I saw Thorsten Altenkirch present conatural numbers with Agda. These start from infinity and go down. Also I think I saw papers such as On coalgebra of real numbers. (I guess both of those only use polynomial functors)
yeah most infinities we deal with are actually 'finitary', in the sense that they can be described with finite means. in fact, all infinities are such, in a sense, since anything which requires infinitely many symbols to be defined cannot be defined by a mortal mathematician!
that's why i'm very at ease with infinity -- it's just a convenient short hand (as every mathematical concept, after all)This is a confusion between metalevel (the language we use) and object level (the things we speak about). We speak about infinite objects that is what we mean even though we always use finite means to speak about them. Don't confuse the levels!
I'm aware :)
conatural numbers are really quite mind boggling idea. I'd be surprised if one could not use those to prove the existence of God too, a theme being discussed over in philosophy. :grinning_face_with_smiling_eyes:
If conatural numbers prove the existence of god, then natural numbers prove the existence of dog.
Matteo Capucci (he/him) said:
What instead is a polynomial is the finite powerset functor, i.e. the functor that sends a set to its set of finite subsets. It is polynomials because can be expressed as (where is the -th symmetric group), or, more succinctly, as
Do you have any references for this?
Looks like finite multisets to me. But to do better is gnarly and not so obviously of value.
Yes indeed, it should be finite multisets. And someone remarked that it should be analytical and not polynomial.