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.
david lewis :o
im dimly aware of his work on counterfactuals
reading about it a while back when i was working on this draft i never totally finished of a paper abt a counterfactual conditional thing
i was interpreting "nearest possible world" for a counterfactual as initiality in an under category
but it only kinda worked
Yes, David K. Lewis' book counterfactuals was the one I first read.(collection of papers online). He there analyses "If Kangaroos had no tails, they would topple over" as If In the closest world (to the actual world) where kangaroos have no tails they do topple over" then the sentence is true. For this he adds to normal modal logic a closeness relation (also a system of spheres that collect equally close worlds). This is very useful to analyze knowledge in a way that allows one to take account of epistemic black holes (the brain-in-a-vat example, in older days dreaming). But it also gives a very interesting analysis of causality, though that has been very much debated since then, and was clearly an inspiration to Judea Pearl's work. He also uses the same distance relation in Counterfactuals to give an interesting analysis of deontic logic, and one for denoting.
It is not difficult to understand counterfactuals if one maps things out on a paper.
But it would be good to find a category theoretic explanation of it.
yeah i saw the spheres thing
for the purposes i wanted, it seemed too... fuzzy? not qualitative enough?
i wanted to exhibit, like, the complex numbers as a counterfactual where has a root
...but the setup i used didn't actually manage to capture that one :\ because C is not initial under R, since it has nontrivial automorphisms that fix R
you have to equip it with a choice of either i or -i as the witness to the counterfactual for things to work
but i wasnt sure how you could generalize that
check it out if u want
(altho it is rly more model-theoretic than category-theoretic)
I am doubt that counterfactuals work that well with mathematical truths. They are better for empirical ones, which is what possible worlds model,
Modal logic using possible worlds tends to have problems with mathematical truths as they are all necessary, and so identical. Unless one adds impossible worlds to the mix.
i don't see what's wrong with mathematical counterfactuals
well, i mean
i'm not a philosopher, and i don't know whether Real Mathematical Truth is Genuinely Subject To Counterfactuals or anything like that
although i am rather suspicious of the idea that mathematical truth is necessary
depending on what you mean by "mathematical truth"
I wonder if work on Modal HoTT will get us there. In his book "Modal Homotopy Type Theory" David Corfield write:
The slogan here is that, where HoTT itself is the internal language of (∞,1)-toposes, modal HoTT is the internal language for collections of (∞,1)-toposes related by geometric morphisms
but more concretely, i mean, like
people have historically used counterfactual reasoning with great success in math all the time, before the advent of modern rigor—maybe afterward too, idk?—and that probably means something
think about imaginary numbers and infinitesimals
maybe i'm mistaken, but i had the impression that historically there was much more of a tendency to view math as something that investigated pre-existing objects in places where we now think of it as building new ones
Usually mathematical truths are meant to hold in all possible worlds.
But I guess if you are a constructivist, you may argue as Kaspner does in Logics and Falsifications that proofs are constructions that when verified lead to a mathematical truth. Then in the proof you can use counterfactuals regarding the proof, but not the final result.
(That book is very interesting but sadly he does not know about Category Theory, and so does not know which dualities to choose, and also a bit arbitrarily rejects topology as a model of constructive logic -- that can teach us something about our everyday use of language I should add.)
weird
anyway, is " has a square root" true in all possible worlds? :)
i'm being a little flippant
here, check this out image.png
[movie announcer voice] In a world... in which 2 = 0...
I (personally) think possible worlds are only coherent when formulated with respect to something which has the capability of “imagining”, more or less; like, the whole idea of another world being “possible” might not make any sense to begin with in “reality” (it might be the case that all truths are necessary) but only make sense with respect to something that can apprehend the current actual world somehow and then “construct” that possible world. Likewise with mathematical constructions!
well, if by "possible worlds" you mean "kripke semantics", then kripke semantics are just the (0, 1)-truncation of presheaves, and every presheaf category is coherent 🤭
The book "Logics and Falsifications" and Traffords Meaning in Dialogue argue that the Kripke semantics of constructive logic should be applied to proof construction. This could open the door to counterfactual readings in mathematics I guess. Because proof construction is empirical. Instead of thinking of a proof as stating a fact (e.g 2=-1) one should think of it rather as write that down, and through dialogue (internal or external) looking to see if it can answer all attacks. Negation in constructive logic is then seen as , that is a statement that a certain proof construction leads to an impossible proof. (Note: Trafford does incorporate work from Category Theory and Topos theory)
( @sarahzrf I don’t mean Kripke semantics but lol 😝)
informal mathematical statements can be made in an ambiguous context, so can have an ambiguous meaning. refining the context a statement is interpreted in/refining the meaning of a statement offers choices.
you might require that statements be interpreted in contexts you're comfortable with. you might be searching for a modal formal counterpart of some intuitive idea and so have some desiderata for what would count as an instance of that idea in a formal context.
in some contexts the things you thought you were talking about might furcate and so you have to choose a representative, or examine the diversity (cf commutative monoids -> braiding vs symmetry -> ....).
i think the meaning in dialogue approach can be viewed as reconciling and refining different interpretations of statements and their contents, and through that process negotiating the meaning of a shared language (though the meaning could end up very different from the ostensible goal, like "this means a fight is starting, time to get angry")
but i haven't actually gotten through the book
yes, that's the gist of it.
Trafford also develops the duality with co-constructive logic as a logic of refutation, and the interplay between construction and refutation attempts leads to the final proof.
I don't think something like "2 = 0" or "there is a square root of -1" are the kind of things that can be true or false. I think of them more as axioms you can investigate. The first one (together with some others) leads you to , while the second (together with some others) leads to . I wouldn't say either of these number systems is "true"... nor would I say it's "false". It's just a system one can investigate... and perhaps put to use.
I try to stick to using "true" as the answer to questions like "from these axioms and these deduction rules, can you deduce this formula?"
Reid Barton said:
[movie announcer voice] In a world... in which 2 = 0...
That's nothing. As John said, that's working with .
[movie announcer voice] In a world... in which 1 = 0...
And that's working with . <ducks>
I'm actually doing my masters thesis on David Lewis counterfactuals and sphere worlds. I'm investigating a way to talk about neighborhoods of worlds.
Pleasantly surprised to see them being talked about here. :smiley:
Very nice! There is the very detailed 2011 thesis by Kohei Kishida Generalized Topological Semantics for First-Order Modal Logic which looks at the difference between Kripke and Lewis semantics from a Category Theoretical point of view. I was reading that a 1½ years ago, when I knew a lot less. I need to get back to it. I think it looks mostly at the counterpart relation problem between them, but does not investigate Lewis' counterfactual relation based on adding a distance (similarity) relation to possible worlds. The PhD had an amazing team of reviewers: Nuel D, Belnap , Steve Awodey, Kenneth Manders and Robert Brandom !!!
oh does that do a thing w/ fibers
or does it generalize that
ahh generalizes i guess
here's a fun POV: depending on the details of your definitions, covering spaces are exactly locally constant sheaves
now if you think of sheaves as generalized bundles, of the base space of a bundle as the space of worlds, and of the fiber over a world as the space of individuals in that world—then this means that a locally constant sheaf is exactly one where, on a local scale, there is a coherent counterparthood isomorphism between spaces of individuals
you can even kinda see this in covering space theory!
in a trivial covering space for discrete , there is an obvious "counterpart" over each point of the base for any given point of the total space
just move around within the same copy of , leaving the coordinate unchanged
but if you consider the archetypal covering , there's no coherent way to assign a counterpart of a given point in R over some other point of the base S¹—you need to also prescribe which path you take between the points of the base, because counterparthood only works at a local scale, so you need all of the intermediate information given by a path
Yes, it's fun to imagine loops of possible worlds that take you back to the same situation but with the names of two people interchanged, or something like that.
;)
This is connected to how in physics identical particles are truly indistinguishable, and in the case of "anyons" in two dimensions the topology of braid traced out by a bunch of identical anyons is important for what happens. The space of n-element subsets of the plane has the n-strand braid group as its fundamental group.
This space of n-element subsets has an infinite-sheeted universal cover, which is the sort of thing you were talking about...
i imagine lifting to that is sort of like "remembering identities"?
Sorta. That's more correct in the usual 3d physics case where the space of n-element subsets of has the permutation group as its fundamental group.
Then the universal cover is "n-tuples of particles with known identities".
There are n! of these mapping to each n-tuple of points in .
So the projection of the covering map is "forgetting who is who".
so what does the universal cover of the 2d case look like?
In the 2d case, where you get a braid group as the fundamental group, it's not just about "who is who" but also "how they got there".
oooooh
What does it look like?
ha, i didnt mean that literally, but i wouldnt mind...
Well, a point in the universal cover is an n-tuple of labelled points with a homotopy class of paths from some chosen "standard" n-tuple of labelled points, like
1 2 3 4 5
sitting in a row.
This homotopy class of paths can be seen as a braid.
...right, points in the universal cover correspond to paths >.<
So one can draw nice pictures of individual points in the universal cover, as braids.
yeah, ive encountered the idea of the braid group as this particular before :)
But it's pretty hard to visualize the whole covering space in one go.
id imagine
what about for just two points? :thinking:
i guess that's still gonna be at least 4d :grimacing:
If you have 2 points, hold one fixed, and let the other roam, the universal cover will be the universal cover of the punctured plane, which is the usual infinite-sheeted "spiral staircase" thing you get for the Riemann surface of .
Here - it's on Wikipedia:
Riemann surface of logarithm function
yeah, as a covering
Right.
So that's not bad, but when you get more points it starts boggling the imagination.
But it's just more of the same stuff.
So I don't understand how this magically jumped from counterfactuals to covering spaces, but I suspect it might be secretly exactly the same step that causes lenses to appear in compositional game theory
:rofl:
sorry, i dont mean to laugh at you as much as at the fact that, given how math works, thats probably true
I thought a bunch about how lenses are "really" describing counterfactuals, and they're the same thing as morphisms between actually constant sheaves
if you scroll up, im the one who made the jump—it was here
sarahzrf said:
here's a fun POV: depending on the details of your definitions, covering spaces are exactly locally constant sheaves
the connecting line is topological semantics where a base space is a space of worlds & fibers are spaces of individuals
What's an "individual"? An epistemic agent?
"individual" as in the terminology of FOL—element of the domain of discourse
or, less rigidly, "one of the things that the quantifiers range over"
this being semantics for modal fol
Hm. Maybe it's the same, maybe it's not, not sure
btw @John Baez i just realized: do you care about these coverings for a reason at all similar to why you care about the spin group :o
just, thinking abt the idea of winding something around & that being different as you keep going around, reminds me of fluff ive heard about spinors
@Jules Hedges what do lenses have to do with counterfactuals & sheaves tho :thinking:
Soo. Start from game theory, game theory is counterfactuals all the way down: a player actually chooses some action because if they chose some other action then their payoff would be lower. All of the information you needed from that is encapsulated in the function from their moves to payoffs, which is the same as a costate in lenses, aka a continuation. Players actually build this function by counterfactual reasoning about what other players would do given different choices by themselves, and it turns out that this counterfactual reasoning is described by precomposition of the continuation with lenses
in the codomain there is ?
Yes
hmm
For lenses specifically (not for other optics, I have no idea how to generalise it), the object is like the constant sheaf on , and the category of lenses is equivalent to the full subcategory of constant sheaves (of sets on Set)
And I'm pretty sure the same idea goes through fine for morphisms between arbitrary sheaves
wait
do you mean "of sets on sets", rather than "of sets on Set"?
and you're aggregating sheaves on all possible base sets together into one category by a grothendieck construction or something?
Yes, exactly
so could we rephrase this as, say, this is the subcategory of whose objects are 2nd projections
No, the morphims are different to I think
are you sure?
No
if they are, maybe you're thinking of sheaves differently from how i am
It's a function between the bases plus an ordinary sheaf morphism backwards where one of them is a pullback-y thing
Jules Hedges said:
Soo. Start from game theory, game theory is counterfactuals all the way down: a player actually chooses some action because if they chose some other action then their payoff would be lower....
That makes a lot of sense. It also explains how David Lewis would have moved from his 1969 thesis Convention supervised by W.V.O. Quine to his later work on counterfactuals, 4 years later. In Convention Lewis gives a game theoretical grounding of Convention. The first few pages of examples make the thinking very clear. One has to be a bit patient to get over his analysis of convention in signaling, to the last part of the book where he ties this in to Convention in a full Language.
Jules Hedges said:
It's a function between the bases plus an ordinary sheaf morphism backwards where one of them is a pullback-y thing
Specifically: if is a sheaf on and is a sheaf on then a morphism should be a function and a sheaf morphism
oic
well that's equivalent to a morphism right
no wait hold on
oo is that based on something liek this https://ncatlab.org/nlab/show/morphism%20of%20schemes
sarahzrf said:
btw John Baez i just realized: do you care about these coverings for a reason at all similar to why you care about the spin group :o
Yes, it's the same. There's a long story here, of course.
So I learned this from David, he said it's based on morphisms of locally ringed spaces except you replace local rings with sets and also replace spaces with sets
setted sets
Yes, exactly
ssdjkdkls
Which turns out to be the same again as the category of polynomial endofunctors, another non obvious equivalence, that's teh subject of David's new preprint
aka. what functional programmers call containers
Everything is everything else in disguise
hey, you dont have to tell me about functional programming
I like functional programming intuitions :-)
I like to say "settled sets" instead of "setted sets".
I remember! Me and David and Brendan and Eliana were in the MIT common room talking about this and wandering what to call them, and I asked on twitter and you came up with that
Yes, I keep saying the same things. :-)
ok i think i get the counterfactual thing
What's "the counterfactual thing"?
That is, the specific thing to be gotten....
... I want to get it too.
is the idea like—naïvely, if you had a simulation of the other player, you could fiddle with that arbitrarily to figure out your move, so you could write your strategy as a function from the other player's strategy to a choice of move—except that would lead to infinite regress, so instead your strategy is something that is required to be able to operate on a bit more general of a class of approximations to some notion of "your opponent's strategy"?
and that's, in fact, an optic?
yep
you know, i wonder if you could formulate this internally to the topos of trees instead :thinking:
and require that strategies be contractive
or something
I did wondering about working in the topos of trees to try to get a delayed trace on open games that gives infinite repetition
youve seen the synthetic guarded domain theory paper?
well, i posted it in that other thread, but dunno if that means you looked at it ;)
I saw a couple of talks about it years ago
cool
It's quite far down my todo list, probably past the event horizon, I don't expect to get to it basically ever
lol
:thinking:
you think maybe^?
is the type of opponent strategies, is the type of player strategies
is the type of player moves, is the type of opponent moves
those should really be \blacktriangleright but i changed them back because zulip is turning \blacktriangleright into an emoji
Counterfactuals: "If Kangaroos had no tails they would topple over" = In the closest possible worlds where kangaroos have no tail they topple over. (That's how Lewis starts his book counterfactuals).
"if two equaled zero then all integers would be either zero or one" = in the minimal quotient of where , we have
;)
Tailless kangaroos are a bit easier to imagine. There are video of cases on YouTube too :-)
i dunno, i find pretty easy to think about :)
@Jules Hedges yeah you get some kind of simple delayed feedback type thing with the definition i suggested above
i think
like... you should be able to define a player strategy by a löb recursion thing
you have a |>S_P as your delayed self-reference, and you need to define an S_P, which you can do by accepting a |>S_O and providing an X
you can distribute |> over → and turn |>S_O into |>|>S_P → |>Y
then you can shove your delayed self-reference into another layer of |>, pass it to your opponent strategy, and get out a |>Y, their move
if we decide that we'll use constant sets for moves X and Y, then we can extract |>X → X and |>Y → Y, so then we can see what move they would make
and then we can decide on our X
errr sorry so to be precise this is how you can get a strategy out of any Y → X
The key picture from the book Counterfactuals is the one below. The central dot represents the actual world, the spheres around it, group worlds in equivalent classes related to a similarity distance to the actual world (worlds where I wake up 2 minutes later are intuitively closer to worlds where pig s fly). Propositions are spaces of possible worlds. Take ψ: Kangaroos have no tails Φ: Kangaroos topple over. In the illustration that would make the sentence "if kangaroos had not tails they would topple over true" since all the closest ψ worlds are Φ worlds (that is the grayed out space)
Counterfactuals illustration
Yeah, you've basically got ordinary logic with these two extra connectives (see note below).
1) The box connective is described above. Reiterating though it basically reads: "if it were the case that \phi, then it would be the case that \psi".
For instance "if the bullet had struck the heart, the patient would have died".
2) The diamond connective is written the same except with a diamond instead of a box. It reads: "if it were the case that \phi, then it might be the case that \psi"
For instance: "If the the bullet had struck the lungs, the patient might've died".
Sphere models give us a way of formalizing which worlds are closer or further than others to our own. Formally this is done by talking about nested sets of worlds. Some remarks about this are that:
Note: Lewis actually develops a lot of different connectives and modalities in his book to do variations of the same thing but ultimately they're all equivalent to these two connectives
sarahzrf said:
Jules Hedges yeah you get some kind of simple delayed feedback type thing with the definition i suggested above
The definition you wrote looks like game semantics to me
i was just using informal language to describe constructing an expression
where
löb constructs fixed points by guarded recursion, (|>A → A) → A
f : Y → X
extract : |>Y → Y
K is the K rule for |>, K : |>(A → B) → |>A → |>B
next destroys information, next : A → |>A
@sarahzrf I posted a few resources on impossible worlds in Philosophy of Mathematics that are of relevant to the problem of mathematical counterfactuals.