@julesh@mathstodon.xyz
@julesh@mathstodon.xyz avatar

julesh

@julesh@mathstodon.xyz

Applied category theorist
Games, learning, control, complex systems, diagrams, syntax
Affiliations: MSP Group / 20squares / CyberCat Institute

This profile is from a federated server and may be incomplete. Browse more on the original instance.

julesh, to random
@julesh@mathstodon.xyz avatar

70 years ago, the people who designed languages like Cobol, Algol and Fortran made the questionable choice that the semantics of an argument to a function is determined entirely by its position within an ordered list of arguments. Since their compilers had to run on a potato and grab arguments directly from registers it probably made sense at the time, but it's a language choice that's definitely overstayed its welcome by 50 years. Named arguments are better in every conceivable way, and so many languages that ought to know better are still beholden to the caveman languages.

Meanwhile, type theorists decided that their contexts are lists equipped with explicit commutativity, not bags - and category theorists characterising free symmetric monoidal categories did exactly the same thing. There is an obvious and totally reasonable way of making a selection of variables from a bag-like scope, namely, names. Is there an actually good reason to stick with argument lists, or have type theorists and category theorists also been hyptonised by Algol and Cobol?

julesh, to random
@julesh@mathstodon.xyz avatar

The fact that quantum algebra was originally developed without string diagrams is no less mind blowing to me than what mathematicians did in the Islamic Middle Ages without having algebraic notation

julesh, to random
@julesh@mathstodon.xyz avatar

With topological invariants of lax functors now en route to being understood, I think only one of my old grand challenge problems for applied category theory remains standing: How to talk about continuous time processes

You can definitely do it by mapping a monoid of time into your category (for example Toby Smithe does it a lot), but to me that feels like potentially not the right way to do it

Instead of composing a list of morphisms, I want to be able to integrate a bunch of infinitesimal morphisms along a path

julesh, to random
@julesh@mathstodon.xyz avatar

In our work on dependent optics we're following an idea of @bgavran that there's an extra hidden dimension: dependent lenses = morphisms of containers = natural transformations of polynomial functors are secretly connected components with respect to a lower dimension, and revealing it is very useful. But I was also just reminded by @zanzi that the 0-cells of this category are really functors so there's also another dimension upwards. This category is naturally 4-dimensional !!! 😰

julesh, to random
@julesh@mathstodon.xyz avatar

Why do we care about dependent optics?

  • We must pursue our white whale

  • There's a huge amount of theory done in parallel by David Spivak et al using polynomial functors and by us using optics which is transparently the same stuff, and we'd like to be able to unify it both for mathematical and sociological reasons

  • We would like to be able to solve obvious analogies like "lenses are to prisms as dependent lenses are to what?"

  • We would like to be able to talk about external/demonic choice of open games and other classes of cybernetic processes over categories which are topologically nontrivial, such as measurable spaces - what does it mean for a game's structure to change depending on an earlier state which is a point in a measurable space?

  • We would like to combine the denotational expressiveness of dependent leneses with the operational sensitivity of optics (see https://arxiv.org/abs/2209.09351), for example to talk about manifold learning (which is denotationally about dependent lenses over the category of differentiable manifolds with submersions as display maps) in a way that is aware of operational aspects; the long term goal is to be able to develop a static type theory for differentiable programming

  • Probably some other reasons that I forgot right now

julesh, to random
@julesh@mathstodon.xyz avatar

It's curious that the category Cat is only prevented from being an object of itself for set-theoretic reasons, there are no category-theoretic reasons preventing it. You might think that Cat can only be seen as an object of 2Cat, that you're forced to go up a dimension as well as up a universe size, but magically functor composition is strictly associative so Cat is still a perfectly good 1-category

julesh, to random
@julesh@mathstodon.xyz avatar

What the heck is really going on with foldl and foldr?

The first take is that folding is about the universal map from a free monoid (ie. lists) to some other monoid. That says you can fold something that's (1) a binary operation on a single set, (2) unital on both sides, and (3) associative, aka a monoid. In that case foldl and foldr are different implementations of the same function

I think the next step of abstraction is that foldl and foldr deal with left and right monoid actions (or possibly the other way round), which gives up (1), and weakens (2) and (3) while keeping them morally intact

But, like, foldl and foldr appear to work perfectly well with no associativity whatsoever. It doesn't even feel like a programming hack to me - left-folding or right-folding a non-associative operation over terms of a free monoid feels to me like a perfectly reasonable thing to do mathematically speaking. But I have no idea whether they have universal properties or if it's just a thing

I idly wonder, if you go from monoids to commutative monoids, ie. from lists to finite multisets, what happens to foldl and foldr? Intuitively I feel like left and right folds are no longer well defined, but why would imposing commutativity suddenly also require associativity as well?

julesh, to random
@julesh@mathstodon.xyz avatar

Today's hell journey: Basingstoke -🚍-> Reading -🚄-> London -🚄-> Glasgow

julesh, to random
@julesh@mathstodon.xyz avatar

Knives are cutlery, forks are stabblery, spoons are scooplery

julesh, to random
@julesh@mathstodon.xyz avatar

Since last week I'm feeling my periodic inspiration to get some stuff written down. This inevitably leads to me getting bogged down in a bunch of details before putting it all aside again. But maybe this time is different.

julesh, to random
@julesh@mathstodon.xyz avatar

We've known about this for a couple of months but it finally hit the news today. Basically every university in the UK is incredibly financially dependent on scamming kids all over the world out of their families' life savings, sorry, "tuition fees”. Things are about to get really rough around here.

julesh, to random
@julesh@mathstodon.xyz avatar
julesh, to random
@julesh@mathstodon.xyz avatar
julesh, to random
@julesh@mathstodon.xyz avatar

Today's task: fighting Jekyll

julesh, to random
@julesh@mathstodon.xyz avatar

Just realised that the purely economic case for UBI is basically identical to the case for VCs, just on a different scale: when people can absorb risks, innovation happens

julesh, to random
@julesh@mathstodon.xyz avatar

Blind reviewing: author doesn't know who the reviewer is, reviewer knows who the author is (eg. most peer review)
Double blind reviewing: author doesn't know who the reviewer is, reviewer doesn't know who the author is (eg. some peer review)
Reverse blind reviewing: author knows who the reviewer is, reviewer doesn't know who the author is (eg. some assessment marking)

julesh, to random
@julesh@mathstodon.xyz avatar

I always thought that storm drains in the street mainly went down to the same sewer as your toilet. Turns out that's called a "combined sewer" and they exist, but most built since around the 30s have 2 completely separate sewer systems in parallel, with the one for "urban runoff" mainly just going into rivers. The more you know.

julesh, to random
@julesh@mathstodon.xyz avatar

My new catchphrase with grantwriting is "find the catnip", ie. the bit that's irresistible to the funder

julesh, to random
@julesh@mathstodon.xyz avatar

Things I instinctively feel:

  • no language has successfully isolated the true essence of OOP yet
  • the true essence of state machines is not state
  • monads are not the one true way of sequencing access to a state machine
  • one of the most important abstractions of programming is still waiting to be discovered
julesh, to random
@julesh@mathstodon.xyz avatar

Mario Román's PhD thesis, Monoidal Context Theory
https://mroman42.github.io/notes/papers/monoidal-context-theory.pdf
[156 page pdf download link]

julesh, to random
@julesh@mathstodon.xyz avatar

Haskell hot take: Prelude should make Float and Double non-instances of Eq, and then provide functions unsafeFloatEq and unsafeDoubleEq for those cases when you really do want to compare them for equality

julesh, to random
@julesh@mathstodon.xyz avatar

Apparently MS Word now uses AI to add alt text to images, so an extensive form game in my exam model solutions is now labelled "a diagram of a train"

julesh, to random
@julesh@mathstodon.xyz avatar

Watching an absolute spherical chonk of a pigeon sitting on a wire outside the window and suddenly wondering how do birbs balance?.... it sure doesn't look like it's actively balancing, it's twisting around preening itself with its beak and feet… but it's so chonky its centre of gravity surely isn't very low down... how do birbs break the laws of physics?

julesh, to random
@julesh@mathstodon.xyz avatar

Old people, not content with merely destroying the economy for young people, are now trying to actively murder young people

image/png

julesh, to random
@julesh@mathstodon.xyz avatar

It's not just imagination, Englandandwales really is a conservative religious country compared to Scotland

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • slotface
  • ngwrru68w68
  • everett
  • mdbf
  • modclub
  • rosin
  • osvaldo12
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • Youngstown
  • GTA5RPClips
  • InstantRegret
  • megavids
  • kavyap
  • ethstaker
  • tacticalgear
  • tester
  • cubers
  • Durango
  • normalnudes
  • khanakhh
  • Leos
  • anitta
  • cisconetworking
  • provamag3
  • lostlight
  • All magazines