Category Theory
Zulip Server
Archive

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.


Stream: theory: category theory

Topic: Bi-Heyting algebras


view this post on Zulip John Baez (Mar 31 2020 at 06:31):

This is an interesting quick intro to bi-Heyting algebras and "bi-intuitionistic logic":

It has a good name for the new connective that shows up when there's a left adjoint to disjunction: "unless".

view this post on Zulip Mike Shulman (Mar 31 2020 at 13:33):

I don't like "unless" for the left adjoint of disjunction. The most direct logical interpretation of "P unless Q" is ¬QP\neg Q \to P (or ¬PQ\neg P \to Q), which in classical logic is equivalent to PQP\vee Q itself, not to its left adjoint. In classical logic the left adjoint of disjunction is "and not", which is very different from "unless".

(BTW, in intuitionistic logic ¬QP\neg Q \to P and ¬PQ\neg P \to Q are not equivalent to each other or to PQP\vee Q, but in linear logic ¬QP\neg Q \multimap P and ¬PQ\neg P \multimap Q are equivalent to each other and to the multiplicative disjunction $$P\parr Q$$. So "unless" is actually a good name for $$\parr$$. I learned this from Toby Bartels.)

view this post on Zulip Dan Doel (Mar 31 2020 at 13:51):

Oh, that's nice. I was thinking a while back that explaining par as being more like 'exclusive or' might make some sense, but it's not great as a name, and 'unless' is a nicer way of connoting the same sort of thing.

view this post on Zulip Dan Doel (Mar 31 2020 at 13:58):

It might just be a better name for 'exclusive or,' too. :)

view this post on Zulip Mike Shulman (Mar 31 2020 at 15:29):

I don't think "unless" has an exclusivity connotation. Toby did have a nice suggestion of "exclusive and" for the additive conjunction though!

view this post on Zulip Henry Story (Apr 10 2020 at 19:02):

This 2016 article "Structuring Co-Constructive Logic for Proofs and Refutations" is related to the topic of Bi-Heyting Algebras.
James Trafford argues that by combining constructive and co-constructive logics (by relating but not identifying a topos and a complement-topos), one can get to an model of a dialogue between proofs and refutations.
Some interesting concepts that come up are duals to Topoi and co-exponentials.

The author is very good at combining the logic and the philosophical sides which helps me at least understand what is at stake. His book "Meaning in Dialogue" has a huge list of references on the debate on that topic.

  1. In a footnote James Trafford points out that the reviewers suggested that the phrase "bi-intuitionistic logic" may have been more appropriate.
  2. In an older paper from 2015 Co-Constructive Proofs and Refutations he actually makes the parallel with bi-Heyting algebras. (he does here too, indeed he defines both heating and co-heyting algebras)

view this post on Zulip Henry Story (Apr 11 2020 at 14:36):

I guess nobody here was mislead, but Trafford does cite a few important papers and books that assume that the internal logic of any elementary topos is intuitionistic. Whereas one can have paraconsistent topoi too, he argues here https://twitter.com/bblfish/status/1248981894408044546

@DavidCorfield8 That it is possible to construct a topos whose internal logic is paraconsistent is indeed what surprised me! https://link.springer.com/article/10.1007/s11787-016-0138-z https://twitter.com/bblfish/status/1248981894408044546/photo/1

- The 🐟‍‍ BabelFish (@bblfish)

view this post on Zulip John Baez (Apr 11 2020 at 16:48):

From a brief glance at the abstract it looks like this paper just does a sort of obvious thing: turn the topos upside down.

view this post on Zulip Matteo Capucci (he/him) (Apr 11 2020 at 18:01):

Uh that's cool!

view this post on Zulip Henry Story (Apr 11 2020 at 18:10):

John Baez said:

From a brief glance at the abstract it looks like this paper just does a sort of obvious thing: turn the topos upside down.

As a amateur, from a distance, I would have expected one gets the same thing back if one turned it upside down. (I guess I was thinking of a lattice)
Dualities are weird: You turn algebras upside down and you get logics of states and observation (OO programming) and modal logic instead of equations. Here it looks like one turns Topos upside down and one gets a Popperian constructive logic of falsification (see Dual Intuitionistic Logic and a Variety of Negations: The Logic of Scientific Research. Or when combining the two one gets a way of explaining dialogical logic of proofs and refutations.
It's a helpful mind bender.

view this post on Zulip John Baez (Apr 11 2020 at 18:54):

Henry Story said:

As a amateur, from a distance, I would have expected one gets the same thing back if one turned it upside down.

The whole point of intuitionistic logic is that it doesn't look the same turned upside down! Negation does not give an isomorphism between a Heyting algebra, and its opposite, the way it is for a Boolean algebra. In other words, if you draw a Heyting algebra and turn the picture upside down, what you get is not usually a picture of a Heyting algebra. But if you do this to a Boolean algebra, you get a Boolean algebra, and in fact an identical-looking Boolean algebra.

What does this mean? It means that in classical logic saying "X is true" is exactly the same as saying "¬P\neg P is false". But intuitionistic logic these are different.

view this post on Zulip John Baez (Apr 11 2020 at 18:56):

If you turn a Heyting algebra upside down, you get a co-Heyting algebra. This describes a kind of paraconsistent logic.

view this post on Zulip Henry Story (Apr 12 2020 at 05:59):

Indeed I just finished Trafford's article.
The argument from Dual Intuitionistic Logic and a Variety of Negations: The Logic of Scientific Research by Shramko argues convincingly that intuitionism is the logic of mathematics because well maths is constructive. There is no Platonic heaven where one can go to look at the forms of mathematics. All one has is proofs. (one may wonder about geometry though, which was the mathematics Plato actually thought of). On the other hand experimental science as argued by Popper can build theories, but only disprove them. So Shramko argues that a falsificationist logic is what is needed, and that is he argues what paraconsistent logic found in co-Heyting algebras gives one.
Trafford goes into more detail as to what a proof is drawing on the founders of intuitionistic logic. In mathematics a proof is a process that leads from a conjecture to a theorem. (I hope I am using the right words) The act of building a proof and showing that it does not collapse into false ⊥, is what gives it the status of a theorem. If a proof collapses into ⊥ then one has not disproved what one set out to prove, as there may be another proof of the conjecture which works. Hence we don't have ¬¬p = p.
If one tries to find a logic that is both intuitionistic and paraconsistent one gets classical logic.
Trafford wants to apply the ideas of conjecture and theorems from intuitionistic logic to the constructive refutation space: one can by symmetry distinguish conjectures and theorems: which would be those that don't end up at ⊤ ← p, because from there one could refute anything.
He then shows how one could do proofs in a Topos and refutations a complement Topos and bring the final theorems together in a boolean logic Topos which combines elements from both.

I don't see in these papers a worked out example with real life use cases. This should be feasible here... What kind of propositions should appear on each side? If one does not have a way to falsify mathematical statements, then these could only be proved on the constructive side. I guess empirical statements would be worked out in the refutation logic side. The ~ operator allows one to bring statements from one side to the other. So mathematical theorems (proved conjectures) can be brought to the refutation logic side as statements that can never be refuted. Similarly a statement that can clearly be refuted can be given in the constructive side as statements that are false.

But I am looking for more detailed working out of this as a game.

The book Immanent Reasoning or Equality in Action gives a very clearly worked out game semantics for Constructive Type Theory with dependent types, which requires thinking of two players: one putting forward a thesis and the other trying to disprove it. But it does not give an interesting example of proofs of material statements (empirical ones), even though it discusses those. (The authors have read Trafford's work that appeared a year or so before, and discuss elements of it).

view this post on Zulip Henry Story (Apr 12 2020 at 05:59):

it would be interesting to understand what other uses for co-Heyting algebras there are.

view this post on Zulip Henry Story (Apr 12 2020 at 09:26):

I asked a question on Stack Exchange regarding co-exponentials which appear in complement Topoi, as I would like to get my head around them.
https://math.stackexchange.com/questions/3621660/example-of-co-exponential

view this post on Zulip Matteo Capucci (he/him) (Apr 12 2020 at 10:30):

This is very illuminating: theorems are not disproved by failed proofs, and theories are not confirmed by successful experiments. It puts math and science in a cool duality.
It'd be nice to see if one could combine probability and paraconsistent logic to get a 'falsifiability calculus' which lets you reason quantitatively about experiments

view this post on Zulip Morgan Rogers (he/him) (Apr 12 2020 at 10:34):

Given that the success of experiments is measured using statistics, one would hope that such a theory shouldn't be too complicated to build.

view this post on Zulip Henry Story (Apr 12 2020 at 18:34):

In Meaning in Dialogue there is an interesting comment on type theory which should be relevant to HoTT and that continues the discussion above on Bi-Heyting algebras relationship to falsificationism. I can't evaluate it for myself, but the thought that one may want to complement proof objects for types with refutation objects is in any case very interesting. P 159 of Meaning in Action

view this post on Zulip Dan Doel (Apr 12 2020 at 18:44):

Something like that is developed pretty thoroughly in Compiling with Classical Connectives. It has calculi with all the dual connectives of linear logic, but it's not actually linear (I think). Instead the duality corresponds to 'polarity' and instead of exponentials that weaken the structural rules, there are polarity shifts that mediate between evaluation strategies.

view this post on Zulip Dan Doel (Apr 12 2020 at 18:46):

I don't know if 'refutation objects' are the best way to think about the duals in that setting, though.

view this post on Zulip Dan Doel (Apr 12 2020 at 18:56):

I've been wondering if some adaptation of this would be a more appropriate than linear logic for an application like in Linear Logic for Constructive Mathematics. It seemed like that wasn't strictly interested in linearity (since the chu construction given supports a bunch of extra rules more like affine logic), but in having a richer set of connectives to make sense of stronger notions of refutation.

view this post on Zulip Henry Story (Apr 12 2020 at 19:23):

Trafford has some critique of Linear Logic in Meaning in Action (to do with some lack of symmetry), but to understand it I think one really needs to understand his book (which I have not finished) and also have a good understanding of Linear Logic.

view this post on Zulip Henry Story (Apr 13 2020 at 07:47):

Argh! In Meaning and Dialogue p165 onwards Trafford first gives a definition of a subject classifier, then of a Topos, then later p.167 of a Complement Classifier leading to a complement Topos. The definitions look identical (I can't tell if the differences are just different ways of saying the same thing). The distinction is not thematized at least. He refers to the article Complement-Topoi and Dual Intuitionistic Logic from 2010, which is very similar and also does not make the difference clear. The only difference is that in one case an arrow is labelled true and in the other false. But that is just a label right?

view this post on Zulip Henry Story (Apr 13 2020 at 08:14):

I get a feeling that one can only distinguish these two by comparing them. Something like this
1) arbitrarily choose a true:1Ωtrue: 1 \to \Omega as your subobject classifier. Add that to your category with finite limits and colimits and exponentials and you get a Topos. From this you can the define false:1Ωfalse: 1 \to \Omega as shown on a pullback from 0.
2) given 1) now choose false:1Ωfalse: 1 \to \Omega from above, as your subobject classifier, which you now call a complement subobject classifier. Add that to your category with finite limits and colimits and exponentials and you get what you call a complement topos.
Since the choice of 1 is arbitrary, so is 2. So what is a topos and complement topos, depends on the initial choice.
A Complement Topos is thus indexical on the choice of the initial Topos.
Is that right or have I just misunderstood something?

view this post on Zulip Morgan Rogers (he/him) (Apr 13 2020 at 09:46):

The generic subobject :1Ω\top: 1 \to \Omega isn't arbitrary; it isn't just a label in general. It just happens that in the category of sets the subobject classifier is a Boolean algebra with only two elements, so you can complement it and get an isomorphic structure.

view this post on Zulip Morgan Rogers (he/him) (Apr 13 2020 at 09:53):

For example, take the natural numbers (including 0) with addition as a one-object category. Presheaves on this form a topos, and its subobject classifier is the object of ideals of N\mathbb{N}, which are indexed by the natural numbers with an extra element added for the empty ideal, which I'll call \infty; the action of N\mathbb{N} on this set is, perhaps surprisingly by subtraction; the only fixed points are the ideal generated by 00 and the empty ideal \infty.
Morphisms 1Ω1 \to \Omega are precisely fixed points; the former is \top and the latter is \bot. I'll leave you to check that these are not interchangeable.

view this post on Zulip John Baez (Apr 13 2020 at 16:48):

arbitrarily choose a true:1Ωtrue: 1 \to \Omega as your subobject classifier.

You can't "arbitrarily choose" true: 1Ω1 \to \Omega" as your subobject classifier. A subobject classifier has to classify subobjects - see the definition. A category with finite limits either has a subobject classifier or it doesn't. If it does, this subobject classifier is unique (up to isomorphism). In short, you don't get to choose it.

view this post on Zulip Henry Story (Apr 13 2020 at 18:36):

Yes, my confusion came from only thinking of the category SetSet. There I could not see how the two elements of Ω\Omega could be distinguished other than artificially, let alone ordered. The ordering is explained in the 2015 paper From (paraconsistent) topos logic to Universal (topos) Logic. It also gives a few other topoï of which the graph topos. This article, cited by "Meaning in Dialogue" numerous times, looks at 5 widely accepted slogans on Topoï, and uses complement-topos to correct some excesses of them, as I understand (having just reached p10).

view this post on Zulip Nathanael Arkor (Apr 13 2020 at 18:40):

This is obviously off-topic, but @Henry Story: why the diaeresis on "topoi"?

view this post on Zulip Henry Story (Apr 13 2020 at 18:42):

I have heard someone famous say that topoï sounds a bit pompous, but I think it sounds a lot nicer than toposes, which makes anyone pronouncing them sound like they are slurring. :cant_talk: <- that's the best emoticon for slurring I could find.

view this post on Zulip Nathanael Arkor (Apr 13 2020 at 18:50):

I mean: why "topoï" and not "topoi"?

view this post on Zulip Reid Barton (Apr 13 2020 at 19:29):

topoï is the French spelling--otherwise it'd be pronouned like "to-pwah". In English the diaresis is a bit odd.

view this post on Zulip Joachim Kock (Apr 13 2020 at 19:36):

The funny thing is that the Greek plural is pronounced 'topi'! I don't think many category-theorist would be willing to follow that. (Personally I am happy with 'toposes'.)

view this post on Zulip John Baez (Apr 13 2020 at 19:46):

Henry Story said:

Yes, my confusion came from only thinking of the category Set\mathsf{Set}. There I could not see how the two elements of Ω\Omega could be distinguished other than artificially, let alone ordered.

Even in the category Set\mathsf{Set} (like any other topos), the subobject classifier is determined uniquely (up to canonical isomorphism) by the fact that it is the subobject classifier. The subobject classifier is not just the object Ω\Omega, it's that object and the morphism true:1Ω\mathrm{true} : 1 \to \Omega.

Furthermore the partial ordering on the subobject classifier is also determined.

view this post on Zulip John Baez (Apr 13 2020 at 19:49):

Of course it doesn't matter what you call the two elements of the subobject classifier Ω\Omega for Set\mathsf{Set}; that's what "up to canonical isomorphism" entails. We could call them "true" and "false", or switch their names and call them "false" and "true". But if I start using "false" to mean "true" and vice versa, you can easily discover that fact, e.g. by asking me "is πR\pi \in \mathbb{R} a rational number"?

view this post on Zulip Henry Story (Apr 13 2020 at 19:54):

I guess the question in Set\mathsf{Set} is does it matter which f:1Ωf: 1 \to \Omega I choose? There are two such functions. Can they be distinguished? Set\mathsf{Set} may be special here, which would explain my confusion.

view this post on Zulip John Baez (Apr 13 2020 at 19:58):

Since every function from a 1-element set to a 2-element set is uniquely isomorphic to any other function from any other 1-element set to any other 2-element set - they all "look alike" - any one of them can serve as a subobject classifier in Set\mathsf{Set}.

view this post on Zulip John Baez (Apr 13 2020 at 19:58):

Here I'm acting like you know what it means for two functions to be isomorphic.

view this post on Zulip John Baez (Apr 13 2020 at 20:01):

It may freak out beginners to hear someone say "two morphisms are isomorphic", but it makes sense because morphisms in a category are objects in that category's arrow category.

view this post on Zulip John Baez (Apr 13 2020 at 20:02):

So, we can talk about two functions being isomorphic, and what you're noticing is that all functions from 1-element sets to n-element sets are isomorphic. (Here I'm fixing n.)

view this post on Zulip John Baez (Apr 13 2020 at 20:03):

Not all functions from 2-element sets to n-element sets are isomorphic!

view this post on Zulip Henry Story (Apr 13 2020 at 20:05):

I need to look a bit away from Set\mathsf{Set} towards something that is purely intuitionistic and purely co-intutionistic. It looks like topolology is one good place to look there. (I don't think I know much about topology, though I am quite at home with modal logic, which has I believe topological models).

view this post on Zulip John Baez (Apr 13 2020 at 20:06):

I think everybody thinks the topos of graphs is the simplest example to help people break free from their set-based intuitions.

view this post on Zulip John Baez (Apr 13 2020 at 20:06):

You can draw everything.

view this post on Zulip Henry Story (Apr 13 2020 at 20:07):

That should be for me too, as RDF is also all about graphs :-) I have 15 years experience using those. The semantic web then builds a Regular Logic out of them. (see Knowledge Representation in Bicategories of Relations). Though I think there the claim is that it is a subset of first order logic, so I guess the subobject classifier will also be classical.

view this post on Zulip John Baez (Apr 13 2020 at 20:17):

I don't know what you mean by "classical", but the subobject classifier for graph is not a boolean algebra. That's why it's good for breaking one of ones boolean habits.

view this post on Zulip John Baez (Apr 13 2020 at 20:25):

A vertex can just be "in" or "out" of a subgraph, but for edges it gets more interesting.

view this post on Zulip Henry Story (Apr 13 2020 at 20:28):

yes. I was trying to find where in my experience I had used graphs a lot. The Semantic Web talks of RDF Graphs. And those really can be expressed as s,t:AVs,t: A \to V, where AA are triples of Nodes=URILiteralNodes = URI | Literal such as (subject,relation,object)(subject,relation,object) and VV are nodes. ss choose the first element of the triple and tt last element.

view this post on Zulip Henry Story (Apr 13 2020 at 20:34):

It's just that the functorial semantics that is given for those, as expressed in the bicategories of relations article is a subset of first order logic, so I'd expect to find a subobject classifier that was boolean at that level.

view this post on Zulip Henry Story (Apr 13 2020 at 20:39):

But the other place I can draw on is programming with a functional language like Scala, which has a more complex deep structure, but the type system is usually explained as being constructive. Which is why the dual of a constructive logic is intriguing.

view this post on Zulip Henry Story (Apr 13 2020 at 20:47):

It made me wonder all the various forms of testing (e.g. unit testing) developed for a program are related to co-intuitionistic logic of falsification based on co-heyting algebras. (To bring this discussion back to the topic of this thread)

view this post on Zulip Henry Story (Apr 13 2020 at 21:40):

Nice title The Evil Twin: The Basics of Complement-Toposes published 2016.

view this post on Zulip Christian Williams (Apr 13 2020 at 21:44):

Sorry, but did someone give an intuition for how to think about the left adjoint to disjunction?

view this post on Zulip Henry Story (Apr 13 2020 at 21:51):

@Christian Williams
I asked a question on Stack-Exchange on co-implication, but I have no answers yet. I have not read the mail at the top of this thread yet, as I thought I should get some background first. Perhaps if I thought of this in terms of adjunctions it would be easier...

view this post on Zulip Christian Williams (Apr 13 2020 at 21:54):

Okay, yes I've been looking at it. I think after the phrase "<<adjoint>> relations" they start making \subset more concrete.

view this post on Zulip Christian Williams (Apr 13 2020 at 21:57):

In the same way
you can construct \supset as a supremum: a⊃b = ⋁{C:C∧a ≤ b},
you can construct \subset as an infimum a⊂b = ⋀{C:a ≤ b∨C} .

view this post on Zulip Dan Doel (Apr 13 2020 at 21:58):

It probably depends on the setting. For instance in the Compiling with Classical Connectives I mentioned earlier, I think it might have that (I'd have to check) and it's related to the fact that there are two versions of negation in the system, corresponding to two different notions of what a continuation is.

One way of conceiving of a continuation is as a function that never returns, and that is built out of the right adjoint to conjunction. Another is that it is a captured stack frame, built out of several projections, and I think that is the one that would be left adjoint to disjunction.

view this post on Zulip Dan Doel (Apr 13 2020 at 21:58):

But that all might be meaningless to you, depending on your background. :)

view this post on Zulip Christian Williams (Apr 13 2020 at 22:00):

Yes, I'm sure depends on context, until you see enough to have a more broad perspective. What's a captured stack frame?

view this post on Zulip Dan Doel (Apr 13 2020 at 22:01):

I think the hand waving programming intuition is that it is a way of encoding an early exit path. because AEBA-E → B is the same as AE+BA → E+B, and the latter is a model of an exceptional return.

view this post on Zulip John Baez (Apr 13 2020 at 22:03):

All that stuff is meaningless to me, thanks to my background.

view this post on Zulip John Baez (Apr 13 2020 at 22:03):

This is a lot easier for me:

Christian Williams said:

In the same way
you can construct \supset as a supremum: a⊃b = ⋁{C:C∧a ≤ b},
you can construct \subset as an infimum a⊂b = ⋀{C:a ≤ b∨C} .

view this post on Zulip Christian Williams (Apr 13 2020 at 22:07):

They go into lots of examples later on that post, but it looks like they leave the working out \subset to the reader.

view this post on Zulip John Baez (Apr 13 2020 at 22:07):

So let me think about the boolean algebra of subsets of a set: then a⊂b is the intersection of all sets CC such that bCb \cup C contains aa.

view this post on Zulip John Baez (Apr 13 2020 at 22:08):

So CC has to contain everything in aa that bb doesn't.

view this post on Zulip John Baez (Apr 13 2020 at 22:08):

And that's all it needs to contain.

view this post on Zulip Dan Doel (Apr 13 2020 at 22:08):

I think in a boolean algebra AB=A¬BA - B = A ∧ ¬B.

view this post on Zulip John Baez (Apr 13 2020 at 22:08):

So that's what it is: it's aa intersect the complement of bb.

view this post on Zulip John Baez (Apr 13 2020 at 22:09):

Yeah, like Dan just said. But I derived it. :upside_down:

view this post on Zulip Christian Williams (Apr 13 2020 at 22:10):

Ah, of course. Thanks.

view this post on Zulip John Baez (Apr 13 2020 at 22:12):

This is why much earlier in this thread I quoted someone who called this operation "unless", reading a⊂b as "a unless b".

view this post on Zulip John Baez (Apr 13 2020 at 22:12):

Mike Shulman didn't like that.

view this post on Zulip John Baez (Apr 13 2020 at 22:13):

This way of thinking of it, as a∧¬b, is only right for boolean algebras.

view this post on Zulip Dan Doel (Apr 13 2020 at 22:13):

Is 'unless' even a good reading in a Boolean algebra? I'm unsure.

view this post on Zulip John Baez (Apr 13 2020 at 22:14):

And even in that case maybe a∧¬b should be called "a but not b", instead of "a unless b".

view this post on Zulip John Baez (Apr 13 2020 at 22:14):

I find "a unless b" to be a pretty nice shortening of "a but not b", but I guess our everyday use of "unless" is pretty flexible.

view this post on Zulip John Baez (Apr 13 2020 at 22:14):

Probably it's bad to say "unless" here!

view this post on Zulip John Baez (Apr 13 2020 at 22:15):

Yeah, I think it's misleading. "But not" or "and not" is a lot clearer.

view this post on Zulip Dan Doel (Apr 13 2020 at 22:16):

Oh, I see. I wasn't thinking of that reading.

view this post on Zulip Henry Story (Apr 13 2020 at 22:16):

Does that help make sense of the Co-exponential diagram ?
I guess A,B:BBAA\ni_{A,B}: B \to B_A \oplus A we have (B -A) + A ?

view this post on Zulip John Baez (Apr 13 2020 at 22:16):

The main problem with "and not" is that it won't be correct in the nonboolean case.

view this post on Zulip Dan Doel (Apr 13 2020 at 22:16):

Like, 'b' could be a modifier of 'a', and you'll only agree to 'a' if 'b' is not involved.

view this post on Zulip Dan Doel (Apr 13 2020 at 22:16):

I'll have a slice of cake unless it has chocolate frosting.

view this post on Zulip John Baez (Apr 13 2020 at 22:17):

Right, that's what I was thinking of.

view this post on Zulip John Baez (Apr 13 2020 at 22:17):

I really want some phrase that means exactly the same thing in everyday language as "and not", but doesn't use those exact words.

view this post on Zulip John Baez (Apr 13 2020 at 22:17):

"But not" is halfway there.

view this post on Zulip John Baez (Apr 13 2020 at 22:18):

I'll have a slice of cake but not with chocolate frosting.

view this post on Zulip Dan Doel (Apr 13 2020 at 22:19):

This form of unless needs to be a quantifier or something, though. :slight_smile:

view this post on Zulip Christian Williams (Apr 13 2020 at 22:22):

So evaluation for a Boolean algebra A(AB)BA\wedge (A\supset B) \to B is modus ponens.
Now for coevaluation... you get AB(AB)A\to B\vee (A\subset B), which is AB(A¬B)A\leq B\vee (A\wedge \neg B).

view this post on Zulip Christian Williams (Apr 13 2020 at 22:23):

That's what this A,B\ni_{A{,}B} is.

view this post on Zulip Christian Williams (Apr 13 2020 at 22:24):

In a Boolean algebra this isn't very illuminating... do we know an example of a category with this left adjoint, rather than a preorder? I guess they're not called bi-Heyting categories, because Heyting category has a different meaning.

view this post on Zulip Dan Doel (Apr 13 2020 at 22:26):

I have a vague recollection there's some theorem that you can only have preorders like this in classical mathematics.

view this post on Zulip Dan Doel (Apr 13 2020 at 22:28):

I don't recall the details, though. There may be size conditions or something.

view this post on Zulip Dan Doel (Apr 13 2020 at 22:29):

I would look for 'bicartesian closed'.

view this post on Zulip Dan Doel (Apr 13 2020 at 22:30):

https://ncatlab.org/nlab/show/bicartesian+closed+category

view this post on Zulip Henry Story (Apr 13 2020 at 22:33):

They are also called Brouwerian or co-Heyting Algebras. But if you put co-Heyting with Heyting together you get classical logic.

view this post on Zulip Dan Doel (Apr 13 2020 at 22:47):

I think a proof sketch may be: C(A,B)C(A,B+0)C(AB,0)C(A,B) \simeq C(A,B+0) \simeq C(A-B,0), but 0 must be a strict initial object in a bicartesian closed category, so ABA-B is also an initial object.

view this post on Zulip Henry Story (Apr 13 2020 at 22:48):

Trying the Popperian falsificationist view on this.
A: Money on Account
B: Payment with Debit Card
C: Banking system working
Co-exponential diagram
so BAB_A would be worlds where I pay with debit card but don't have money on account.

view this post on Zulip Henry Story (Apr 13 2020 at 22:52):

That example does not make sense. The problem I find is that one has to keep thinking of negating the propositions.

view this post on Zulip Henry Story (Apr 13 2020 at 23:04):

Does this example work better?
B: Money on my Account
C: Banking system working
A: Payment with debit card
Then BAB_A is money on account but can't pay with debit card. That would make sense that I can then move up to C.

view this post on Zulip Henry Story (Apr 13 2020 at 23:09):

The idea is that one should be able to dualise the reasoning positively, I think. So that :BBAA\ni: B \to B_A \oplus A turns into ϵ:BAAB\epsilon: B^A \otimes A \to B
So positively given f:BAf: B^A a function from a proof of payment to a proof of money on account and a:Aa: A a proof of payment I can get a proof of money on account.

view this post on Zulip Dan Doel (Apr 13 2020 at 23:15):

If this is intuitionistic logic turned backwards, one should think about judgments like AΣA ⊢ Σ right? Where ΣΣ is a disjunction of competing explanations for the single item AA? Then you have, e.g. AA being 'transaction failed', BB being 'out of money' and CC being 'banking system broken', and AB,CA ⊢ B,C. Then moving to ABCA-B ⊢ C indicates that if you rule out BB as an explanation for AA, then CC is the only remaining explanation.

view this post on Zulip Dan Doel (Apr 13 2020 at 23:17):

I'm sure I have money, so the banking system must be broken.

view this post on Zulip Henry Story (Apr 13 2020 at 23:21):

yes. definitely looks like we're narrowing in on the example there. Btw you need to reverse the turnstile in the co-intuitionistic reasoning :-)

view this post on Zulip sarahzrf (Apr 13 2020 at 23:22):

Dan Doel said:

I've been wondering if some adaptation of this would be a more appropriate than linear logic for an application like in Linear Logic for Constructive Mathematics. It seemed like that wasn't strictly interested in linearity (since the chu construction given supports a bunch of extra rules more like affine logic), but in having a richer set of connectives to make sense of stronger notions of refutation.

i dunno, i think linear logic definitely has a strong tie to that stuff

view this post on Zulip sarahzrf (Apr 13 2020 at 23:23):

or at least affine

view this post on Zulip sarahzrf (Apr 13 2020 at 23:24):

to be precise, i think notions of like "continuation" or "covalue" or "dual type" are extremely at home in linear logic

view this post on Zulip sarahzrf (Apr 13 2020 at 23:25):

and i think that's sort of a computational way of looking at "refutation as a positive notion"

view this post on Zulip John Baez (Apr 13 2020 at 23:25):

Henry Story: They are also called Brouwerian or co-Heyting Algebras. But if you put co-Heyting with Heyting together you get classical logic.

If by "classical logic" you mean a boolean algebra, this is not true. This thread started out with me asking for bi-Heyting algebras that aren't boolean, and people found a truckload of them! Namely:

The term "classical logic" is rather vague, so I'd avoid using it when trying to state precise results.

view this post on Zulip sarahzrf (Apr 13 2020 at 23:26):

hmm

view this post on Zulip Dan Doel (Apr 13 2020 at 23:26):

What is the connection with 'used at most once'?

view this post on Zulip sarahzrf (Apr 13 2020 at 23:27):

give me a second, i have some reasoning for this c:

view this post on Zulip Dan Doel (Apr 13 2020 at 23:28):

It seems like limiting the structure of things induces these dual connectives, but that limitation doesn't need to be linearity of occurrence, it can be other notions.

view this post on Zulip Dan Doel (Apr 13 2020 at 23:30):

And there might be limitations that make more sense for constructive mathematics than linearity. Or maybe not, but it's a thought I've had.

view this post on Zulip sarahzrf (Apr 13 2020 at 23:30):

i mean like

view this post on Zulip Henry Story (Apr 13 2020 at 23:30):

John Baez said:

If by "classical logic" you mean a boolean algebra, this is not true. This thread started out with me asking for bi-Heyting algebras that aren't boolean, and people found a truckload of them!

Ah I wrote that because the papers I am reading seem to say there are proofs that these collapse into boolean algebras, and they speak of classical logic. I should try to find a quote...

view this post on Zulip sarahzrf (Apr 13 2020 at 23:30):

intuitionistic linear logic is a thing, and it doesnt have duality

view this post on Zulip sarahzrf (Apr 13 2020 at 23:30):

speaking of which, "intuitionistic linear logic" is such a dumb name for it 🤬

view this post on Zulip sarahzrf (Apr 13 2020 at 23:33):

anyway ugh im having trouble articulating my vague sense of the connection between single-use and continuations

view this post on Zulip sarahzrf (Apr 13 2020 at 23:33):

well, they need to go together to keep nice normalization properties anyway

view this post on Zulip John Baez (Apr 13 2020 at 23:33):

Henry Story said:

Ah I wrote that because the papers I am reading seem to say there are proofs that these collapse into boolean algebras.

They either don't really say that, or they're wrong.

gives the examples of Bi-Heyting algebras that aren't boolean algebras that I just mentioned.

view this post on Zulip sarahzrf (Apr 13 2020 at 23:34):

otherwise you get the good old Cont (P + ¬P)

view this post on Zulip Dan Doel (Apr 13 2020 at 23:34):

You haven't read Compiling with Classical Continuations, because they show how to resolve the confluence problems, if that's what you're talking about.

view this post on Zulip sarahzrf (Apr 13 2020 at 23:34):

you're right, i haven't!

view this post on Zulip Dan Doel (Apr 13 2020 at 23:34):

The choice of an evaluation order resolves the ambiguity in classical logic.

view this post on Zulip sarahzrf (Apr 13 2020 at 23:35):

i dunno if that's what i'm talking about, though

view this post on Zulip sarahzrf (Apr 13 2020 at 23:35):

i don't just mean ambiguity, i mean like

view this post on Zulip sarahzrf (Apr 13 2020 at 23:35):

the fact that you can implement LEM if you have continuations

view this post on Zulip sarahzrf (Apr 13 2020 at 23:35):

this is a blatant violation of some kind of normalization

view this post on Zulip sarahzrf (Apr 13 2020 at 23:36):

unless your opsem is uncomputable

view this post on Zulip Henry Story (Apr 13 2020 at 23:36):

Good night. way too late here!

view this post on Zulip sarahzrf (Apr 13 2020 at 23:37):

if you want to get really concrete, i mean—

view this post on Zulip sarahzrf (Apr 13 2020 at 23:38):

actually wait now im thinking im mischaracterizing, hmm can't quite remember...

view this post on Zulip sarahzrf (Apr 13 2020 at 23:38):

maybe the thing you really lose is some sort of substitutivity...

view this post on Zulip Dan Doel (Apr 13 2020 at 23:40):

I mean, I agree there are good reasons for having linearity with continuations. I just don't know if those reasons translate to any benefit for constructive mathematics.

view this post on Zulip sarahzrf (Apr 13 2020 at 23:41):

...how about the traditional reasoning for why that one irrationality proof is unconstructive?

view this post on Zulip sarahzrf (Apr 13 2020 at 23:43):

wait, where did i see that reasoning

view this post on Zulip sarahzrf (Apr 13 2020 at 23:43):

maybe it isn't traditional?

view this post on Zulip sarahzrf (Apr 13 2020 at 23:46):

aha! it was in the slides for "linear logic for constructive math" http://home.sandiego.edu/~shulman/papers/lcm-bloomington-talk.pdf

view this post on Zulip sarahzrf (Apr 13 2020 at 23:46):

i thought i'd seen it associated with that paper but "irrational" doesnt appear in it...

view this post on Zulip sarahzrf (Apr 13 2020 at 23:47):

but i feel like i've seen this line of reasoning before somewhere else too...

view this post on Zulip Dan Doel (Apr 14 2020 at 00:00):

Well, that makes some sense, but it doesn't mean some other system couldn't also make sense.

view this post on Zulip Dan Doel (Apr 14 2020 at 00:01):

Like, you cannot directly compare these systems. ¬¬P¬¬P is not something that makes sense in Compiling with Classical Connectives. It is ill formed.

view this post on Zulip Dan Doel (Apr 14 2020 at 00:02):

P¬PP ∨ ¬P is also not well formed.

view this post on Zulip Dan Doel (Apr 14 2020 at 00:05):

It's possible the system isn't normalizing, though. I'm not clear on that aspect.

view this post on Zulip Dan Doel (Apr 14 2020 at 00:26):

Anyhow, I don't know. Maybe that argument makes something more like linearity make more sense for constructivity. Maybe 'evaluation order' really isn't something you want to think about. But it's possible that 'evaluation order' has some broader interpretation.

view this post on Zulip sarahzrf (Apr 14 2020 at 00:33):

augh cwcc does look very interesting but i am just not in the headspace to read it rn

view this post on Zulip Gershom (Apr 14 2020 at 00:49):

Dan Doel said:

I mean, I agree there are good reasons for having linearity with continuations. I just don't know if those reasons translate to any benefit for constructive mathematics.

well there's the stuff with krivine's "classical realizability" and more generally the whole idea of "proof mining" where you take classical proofs (traditionally topological convergency stuff) then "run them through the translation/realization with continuations" box and extract algorithms that tell you, uh... stuff..

view this post on Zulip John Baez (Apr 14 2020 at 01:12):

sarahzrf said:

...how about the traditional reasoning for why that one irrationality proof is unconstructive?

Which irrationality proof is that? Some people mistakenly think the classic proof that 2\sqrt{2} is irrational is nonconstructive, but they're mixed up.

Hmm, even Wikipedia, which I linked to, calls this a "proof by contradiction", but it's technically not: even intuitionists allow you to prove ¬P\neg P by assuming PP and using this to show ¬P\neg P.

view this post on Zulip John Baez (Apr 14 2020 at 01:18):

Probably nobody here is confused about this, but if anyone who has friends or relatives who are confused they should get them to read this:

view this post on Zulip sarahzrf (Apr 14 2020 at 01:20):

im thinking maybe it isnt "traditional" after all :sweat_smile:

view this post on Zulip sarahzrf (Apr 14 2020 at 01:20):

this and the next page http://home.sandiego.edu/~shulman/papers/lcm-bloomington-talk.pdf#Navigation18

view this post on Zulip sarahzrf (Apr 14 2020 at 01:23):

fun story about that link: i once started harping on roughly that point to someone, she told me that it reminded her of andrej bauer, i was like "nahhh i think it's just a pretty common point to make for people into constructive math" and then she linked me that article and i was like "oh, wait, right, i have indeed actually read this,"

view this post on Zulip Reid Barton (Apr 14 2020 at 02:46):

Just to clarify, a "complement-topos" really is just the same thing as a topos, right? I found the article I looked at rather confusing.

view this post on Zulip Dan Doel (Apr 14 2020 at 02:59):

@Gershom Just because you don't have linear continuations doesn't mean you don't have continuations. The question is whether the linearity is actually necessary, or if some other structural discipline is as good or better. There might be other ways to decompose arguments in a classical-looking way without actually being classical or linear. I am familiar with the observation that linearity makes continuations constructive because you're required to actually use them with a single value. I think I was aware of that point a while before that paper, since some folks I knew through Haskell were thinking about it.

My takeaway from classical realizability is that you can (probably) view all mathematics as having computational underpinnings, but what a classical proof is computing is not the plain reading of the theorem. A constructive proof of r:R....∃ r:ℝ. ... tells you how to compute a real number. A classical proof tells you how to compute a way of winning an argument against anyone who says you don't have a real number, or something like that. Sometimes you can do that by actually computing a number, but it's not necessary.

Some of this even shows up in constructive schools, though, I think, and the realizability toposes that model them. If you follow Markov, you're in the effective topos, and R is the computable reals. If you follow Brouwer, you're in a different setting where the object R has non-computable numbers, and Brouwer uses these in his counter-examples and such. But proofs of existence must be computable, because those are like sections 1R1 → ℝ, which must come with computable realizers. So, the 'creating subjects' are allowed more freedom in how they can come up with values of a type, but proofs are limited.

Then I think that classical realizability might be more like when proofs are also allowed this additional freedom, so that even a section 1R1 → ℝ is no longer required to give a method of computing a real.

view this post on Zulip sarahzrf (Apr 14 2020 at 05:31):

i have to say i have been fascinated for a while by the dynamic of an interaction between a fixed program and an indeterminate environment and/or creating subject

view this post on Zulip sarahzrf (Apr 14 2020 at 05:32):

i cant remember whether it predates that one time you posted about a brouwerian objection to markov's principle but im pretty sure it helped either way :)

view this post on Zulip Henry Story (Apr 14 2020 at 11:48):

Christian Williams said:

So evaluation for a Boolean algebra A(AB)BA\wedge (A\supset B) \to B is modus ponens.
Now for coevaluation... you get AB(AB)A\to B\vee (A\subset B), which is AB(A¬B)A\leq B\vee (A\wedge \neg B).

I used your above remark to provide a first tentative but detailed answer to the question on StackExchange Examples of co-implication
I still don't feel comfortable about the interpretation of BAB_A.

view this post on Zulip Henry Story (Apr 14 2020 at 16:35):

In a short 2015 paper Co-Constructive logics for Proofs and Refutations starts by keeping constructive and co-constructive logics seperate. This I think makes it easier to understand what is going on.

In constructive logic we have Γα\Gamma \vdash \alpha meaning that if all formula in Γ\Gamma are accepted then we must accept α\alpha. If we accept that sequent, yet also refute α\alpha, then we'd be obliged to refute one of the premises in Γ\Gamma. In co-constructive logic we want to have Γα\Gamma \dashv \alpha means that if Γ\Gamma is refuted then so α\alpha is too. Here we want to make sure that refutation is transmitted (just as in constructive logic we need to proove that all the premises are true) so we are looking for all of Γ\Gamma's formulas to be refuted (not completely sure about this yet!).

Co-constructive logic is thus a logic of refutation. Imagine you are trying to refute someone: you win if you can prove them wrong, so false is good! In both cases the formulas are to be understood as types. The witnesses to the formulas in the case of constructive logic are elements of the type, which can also be thought of as proofs. On the other hand, in the co-constructive world witnesses are refutations of the type. Perhaps one can think of them as being part of the shadow of the type?

view this post on Zulip Henry Story (Apr 14 2020 at 17:44):

I think I am reading things the wrong way around. I should have stopped at if we refute α\alpha then we must also refute Γ\Gamma, which means we can choose one of the elements of Γ\Gamma to refute. Otherwise the following rule from Structuring Co-constructive Logic for Proofs and Refutations would not make sense

ΔΔα(Weak-R)\dfrac{\Delta \dashv } {\Delta \dashv \alpha} \textsf{(Weak-R)}

It would not make sense that if all of Δ\Delta is refuted that one can deduce a new arbitrary refutation. On the other hand if from nothing one can refute Δ\Delta then certainly one can refute it also given some refuted α\alpha.
Similarly the following shows that one must interpreted the left side disjunctively.

ΔβΔ,αβ(Weak-L)\dfrac{\Delta \dashv \beta} {\Delta, \alpha \dashv \beta} \textsf{(Weak-L)}

view this post on Zulip Henry Story (Apr 14 2020 at 19:16):

Ok, I am happy with my answer for how to think of co-constructive logics on Stack Exchange: Examples of co-Implication :-)
I start very simply from a basic constructive sequent, in order to show that by falsifying the conclusion one is led straight to co-constructive logic. Then I give an example about paying with a credit card in constructive logic using exponentials and turn it around to explain co-implication (aka. co-exponentials). This actually nicely shows the advantage of falsification based thinking. It fits nicely together.

view this post on Zulip Henry Story (Apr 14 2020 at 20:33):

There is something that reminds me of probability in co-exponentials. If one reads ABA \leftarrow B as a refutation of A that does not depend on one of B, is that not similar to thinking of A given B? Especially as in probability any number can be thought of as a probability of a refutation as much as one of truth. No idea if the rest of the structure even gets close to working on this.

view this post on Zulip Amar Hadzihasanovic (Apr 15 2020 at 09:30):

Just for fun, I was reminded of Jean-Yves Girard's comment on “co-implication”, in his signature style:

If there is a category-theoretic solution, one is liable to provide a legible category. And not to formulate the adjunction rules – say – of a professed «subtraction» – the typical connective of the category-theoretic bricoleurs – supposedly acting like implication, but on the left. Hence, one must provide a concrete category, or at least a translation into a system already having a non-degenerate category-theoretic interpretation. What the experts in «subtraction» carefully avoid doing... with good reasons.

view this post on Zulip Amar Hadzihasanovic (Apr 15 2020 at 09:32):

(This is in a section entitled Loch Ness categories)

view this post on Zulip Matteo Capucci (he/him) (Apr 15 2020 at 19:39):

Uh that's cool!

view this post on Zulip Henry Story (Apr 22 2020 at 15:45):

I think I finally feel comfortable with my answer on examples for co-exponentials on Math Stack exchange. :relieved:

view this post on Zulip Henry Story (Apr 23 2020 at 21:39):

John Baez said:

I don't know what you mean by "classical", but the subobject classifier for graph is not a boolean algebra. That's why it's good for breaking one of ones boolean habits.

I found this nice article A Guided Tour in the Topos of Graphs. Sadly it does not develop the complement intutionistic version of it. Nor does it give good clues as to what kind of logic comes from it, and where it would best be used.
It is cited by the article Complement-Topoi and Dual Intuitionistic Logic which is very nice as it starts from Topoi to get to the inference rules of intuitionistic and complement intuitionistic logic, which feels like solid very ground to start from.
It gets very confusing otherwise: Logicians seem to have decades long debates on which rules are really dual to the intuitionistic ones. I have seen philosophers and logicians unacquainted with CT getting lost in those debates. So I'll now take this as my starting point.

view this post on Zulip Pastel Raschke (Apr 24 2020 at 07:27):

Screenshot_20200424-082619_MuPDF_mini.png

view this post on Zulip Pastel Raschke (Apr 24 2020 at 07:32):

trafford, meaning in dialogue

view this post on Zulip Pastel Raschke (Apr 24 2020 at 07:35):

this seems.... very incorrect. f_T is equal to t in the first diagram, is it not? if it's not a commutative diagram, what is it?

view this post on Zulip Henry Story (Apr 24 2020 at 07:48):

This is perhaps more cleanly explained in Complement-Topoi and Dual Intuitionistic Logic by Luis Estrada-González, which is where Trafford gets it from (and cites him).
I myself (but I am not good enough to judge) feel that there has to be a relation between the true and false in the topoi and complement topoi. But Estrada-Gonzalez seems to say it's only a question of naming. Indeed he builds a whole argument on that in The Evil Twin: The Basics of Complement-Toposes. That reasoning really needs to be checked by compotent Category Theorists.

view this post on Zulip Henry Story (Apr 24 2020 at 07:52):

The process is as follows (I think). Select a morphism true:1Ωtrue: 1 \to \Omega in the right category as your subject classifier. From that you can define false as a pullback, ¬\lnot and the other connectives For the complement-topos select a morphism false:1Ωfalse: 1 \to \Omega and following the process you can then define true as a pullback to 0, ¬\lnot and the dual connectives

view this post on Zulip Henry Story (Apr 24 2020 at 08:03):

Each choice gives rise to clearly different but dual logics. So there must be a way to relate them. If not then the philosophical implications drawn by Gonzalez seem to follow. What does seem to follow in any case is that the same category can have more than one internal language. Do they perhaps always come in pairs? (That would not be surprising as Category Theory lends itself so well to dualities)

view this post on Zulip Henry Story (Apr 24 2020 at 08:19):

if you start with true:1Ωtrue: 1 \to \Omega you get a subobject classifier that for every object gives you its subobjects that can be seen as a Heyting algebra with arrows pointing to \top. If you choose false:1Ωfalse: 1 \to \Omega you get a subject classifier that for every object in that category gives its subobjects that form a co-Heyting algebra where the arrows are pointing to \bot.

view this post on Zulip Henry Story (Apr 24 2020 at 08:21):

Could it be that there is only one Ω\Omega and one true,false:1Ωtrue, false: 1 \to \Omega up to isomorphism, and the question is which way you look at the arrows between the subobjects, creates the Heyting or co-Heyting algebra?

view this post on Zulip Henry Story (Apr 24 2020 at 08:52):

Perhaps @David Spivak who is developing the Topos Institute can help us here :-)

view this post on Zulip Pastel Raschke (Apr 24 2020 at 08:59):

you don't have a choice of mono classifier, and pullbacks are defined from the cospan, not the other way around.

i believe this is defining f_T as the classifying map of the unique map 0 -> 1 (which i believe is monic due to every X -> 0 making X initial so any parallel pair is equal), which is unique and then forms a pullback by virtue of the mono classifier.

negation is then defined as the classifying map of f_T (which i believe is monic due to every X -> 1 being unique &c).

i believe this is a consistent development.

view this post on Zulip Pastel Raschke (Apr 24 2020 at 09:09):

the problem here is that renaming is only changing your translation of syntax to the same heyting algebra, and i'm not sure that helps you figure out how to combine what you consider a subobject classifier and a 'complement classifier', or the topoi thereof, in the way that you want.

view this post on Zulip Pastel Raschke (Apr 24 2020 at 09:18):

Screenshot_20200424-101809_MuPDF_mini.png

view this post on Zulip Pastel Raschke (Apr 24 2020 at 09:23):

this is incorrect; as john baez has pointed out several times, bi-heyting algebras, categories, topoi are not boolean. for myself, i believe it does not mean anything for a topos to "also have a complement classifier", as the complement classifier is the subobject classifier.

view this post on Zulip Pastel Raschke (Apr 24 2020 at 09:38):

i believe what this proof is demonstrating is that when subobjects in a topos are complemented, the topos is boolean. what this suggests to me is that what you want to hold your interacting heyting+brouwer logic is not a topos.

view this post on Zulip Henry Story (Apr 24 2020 at 10:05):

I think he defines the subobject classifier as the function 1Ω1 \to \Omega that fits the characteristic morphism pullback.
Since via a pullback to 0 one can get false, then one can also get another subobject classifier that seems to fit the same diagram.
He then writes in "Complement Topoi and dual intuitionistic Logic":

Let ϕϵψ\phi \Vdash_\epsilon \psi denote that whenever the morphism ϕ\phi is the same morphism as true in ϵ\epsilon

So for the above false one can create the dual C\Vdash_C

Let ϕCψ\phi \Vdash_C \psi denote that whenever the morphism ϕ\phi is the same morphism as false in CC

Each of these subobjects classifies any objects into its subobjects, and the relations between these subobjects gives rise to a heyting-lattice in the case of true and a co-heyting lattice in the case of false. These I guess are Opposite categories (turn the arrows around and you get the other). So the two generated categories are separate, no?

I wonder why this would not be the right way to interpret the coexistence of heyting and co-heyting in a topos.

view this post on Zulip Henry Story (Apr 24 2020 at 10:10):

Trafford does not want to put those two lattices together. Just map propositions from one to the other, so that if in a dialogue Proponent asserts AA, then Opponent can assert AoA^o in the refutation lattice.

view this post on Zulip Henry Story (Apr 24 2020 at 10:25):

Pastel Raschke said:

i believe what this proof is demonstrating is that when subobjects in a topos are complemented, the topos is boolean. what this suggests to me is that what you want to hold your interacting heyting+brouwer logic is not a topos.

Are you saying that the counter examples of bi-heyting algebras that are not boolean put forward by @John Baez which you mention above (and which I have not yet studied) can not live in a topos?

view this post on Zulip Pastel Raschke (Apr 24 2020 at 12:08):

the mono classifier 1 -> TV of a topos selects truth in the heyting algebra of the TV, and is unique up to isomorphism. the TV of a topos is a heyting algebra, not a co-heyting algebra.

the TV of a bi-heyting topos has a co-heyting algebra, but its operations are not preserved by inverse image functor (i assume that's the appropriate notion of topos morphism).

via classifying 0 -> 1 one obtains the mono 1 -> TV that selects false, and classifying that gives the negation TV -> TV. false is not a mono classifier. it is not even a mono classifier when the topos is boolean.

in a boolean topos, every mono i into x has a complement ī, which is a mono ī such that i ∩ ī = 0 and i ∪ ī = 1. the complement is a mono, and it is classified by the mono classifier, which selects truth.

i am not sure why you would want to interpret brouwer logic into a topos. coimplication matches coexponentials/co(cartesian closure), coapplying covalues to cofunctions in covariables :^), not the exponentials of a topos. but i don't understand the idea of a quotient coclassifier in a cotopos, or if the opposite of a topos is the right category for first-order brouwer logic.

polarity and adjunctions and duploids tend to be a good framework for theories that collapse into degeneracy when you interpret them naively.

what does degenerate: a category that is cartesian closed and cocartesian coclosed
what does not degenerate: a bi-heyting algebra, which is not a boolean algebra

view this post on Zulip Henry Story (Apr 24 2020 at 13:46):

Pastel Raschke said:

i am not sure why you would want to interpret brouwer logic into a topos. coimplication matches coexponentials/co(cartesian closure), coapplying covalues to cofunctions in covariables :^), not the exponentials of a topos. but i don't understand the idea of a quotient coclassifier in a cotopos, or if the opposite of a topos is the right category for first-order brouwer logic.

Gonzalez does give a reason for this in Complement Topoi and Dual Intutionistic Logic which looks strong. He writes quoting the book Inconsistent Mathematics

Mortensen’s argument for developing an inconsistency-tolerant approach to category theory does not rest on a sophisticated philosophical position, but in that given that every topological space gives a topos (the category of pre- sheaves on the space), mathematically

(. . . ) specifying a topological space by its closed sets is as natural as specifying it by its open sets. So it would seem odd that topos theory should be associated with open sets rather than closed sets. Yet this is what would be the case if open set logic were the natural propositional logic of toposes. At any rate, there should be a simple ‘topological’ transformation of the theory of toposes, which stands to closed sets and their logic [i.e. inconsistency-tolerant], as topos theory does to open sets and intuitionism. [11, p. 102)

It looks like the heyting and co-heyting are really dual. Is it as simple as that they are just live in opposite categories. Do we have that much secured? I guess the product, sum, (co-)exponential, appear in the (co-)heyting algebra categories. I was actually wondering about that yesterday.

It can't quite tell if one is meant to find a complement topos in the same category, or of one is meant to search for a separate complement-Topos category, in which all those constructions are meant to hold. I guess if one found the category that fits the topological closed sets should tell us what is meant to be done.

view this post on Zulip Morgan Rogers (he/him) (Apr 24 2020 at 13:59):

Pastel Raschke said:

via classifying 0 -> 1 one obtains the mono 1 -> TV that selects false, and classifying that gives the negation TV -> TV. false is not a mono classifier. it is not even a mono classifier when the topos is boolean.

On the contrary, it is a mono classifier if and only if the topos is Boolean, so that negation is an isomorphism (then every mono ABA \hookrightarrow B is the pullback of :1Ω\bot: 1 \to \Omega along the morphism BΩB \to \Omega classifying the complement of AA).
If the negation (pseudo-complement) operation is a monomorphism, then the morphism "false" classifies pseudo-complements of subobjects: subobjects of BB of the form ¬A\neg A (or A0A \rightarrow 0). I don't know just by looking if there are cases where ¬:ΩΩ\neg: \Omega \to \Omega is a mono but not an iso; if there are then this is the context in which complements could be interesting to study.

view this post on Zulip Pastel Raschke (Apr 24 2020 at 14:13):

i was thinking about it more and came back to correct myself, thanks for the explanation

view this post on Zulip Pastel Raschke (Apr 24 2020 at 14:22):

one of the necessary and sufficient conditions on toposes to be boolean, from nlab:

The maps ⊤,⊥:1→Ω are a coproduct cone (so in particular, Ω≅1+1, and in fact this is enough, because the map [⊤,⊥]:1+1→Ω is always a monomorphism, and any monic endomorphism of Ω is an automorphism).

no idea how to derive that last statement personally.

view this post on Zulip Morgan Rogers (he/him) (Apr 24 2020 at 14:24):

The end of that quoted statement would indeed imply that there is only a pseudo-complement classifier when the topos is Boolean.

view this post on Zulip Henry Story (Apr 24 2020 at 16:36):

From the 1995 Book Inconsistent Mathematics whose chapter 11 gives a category theoretic interpretation of top and complement topoi:

An (elementary) complement-topos is a category with initial and terminal objects, pullbacks, pushouts, exponentiation, and a complement classifier. It is clear that, if E is it complement-topos and E' is the category obtained by renaming F as T and each χf\overline{\chi}_f as χf\chi_f then E' is a topos; since initial and terminal objects, pull- backs, pushouts and exponents are prior category-theoretic notions independent of classifiers. This enables a dualisation of all topos constructions substituting F for T and χf\overline{\chi}_f for χf\chi_f ...

The duality theorem states that complement topos and topos are the same other than renaming.

And in conclusion:

It hardly bears saying that a complement-topos really is a topos, it is just a matter of how one understands the notion of a subobject classifier. This can be masked by the usual terminology of :1Ω\top : 1 \to \Omega, rather than F as we have. There are various natural paraconsistent propositional logics arising from the E\mathcal{E}-semantics of complement-toposes, and thus from toposes. The bias toward intuitionism is at least not justified by these structural aspects of a topos, since it depends on how they are interpreted.

view this post on Zulip Henry Story (Apr 24 2020 at 16:56):

The authors end with this remark before moving on to closed set sheaves

We conclude this section by raising the question of whether there is a construction internal to topos theory (rather than dualising 'outside' the topos as we have) which also yields paraconsistent logic. This seems not unreasonable.

view this post on Zulip Morgan Rogers (he/him) (Apr 24 2020 at 16:57):

I have to be frank, it sounds like their entire argument is based on a misunderstanding of what the subobject classifier is, and notably of the fact that the subobject classifier is also a categorical notion just as initial and terminal objects etc are.
One can get co-Heyting algebras by reversing the order in the subobject lattices, but the idea that that's somehow equivalent to a renaming is a misconception. The bias towards wanting the order to coincide with the direction of the arrows in the topos seems like a perfectly natural one. One conclusion might be that a better setting for paraconsistent logic is in the co-Heyting algebras of quotient objects in a cotopos.

view this post on Zulip Henry Story (Apr 24 2020 at 16:59):

Are there other references for these concepts "co-Heyting algebras of quotient objects in a cotopos"?

view this post on Zulip Morgan Rogers (he/him) (Apr 24 2020 at 17:12):

I don't know, but I can be more precise if you like!
By cotopos I mean the categorical dual of a topos, with all of the arrows reversed. This means that I still have finite limits and colimits, but I have co-exponentials (satisfying the dual property of exponentials) and a "quotient co-classifier" (an object \mho equipped with an epimorphism :0\bot: \mho \to 0, where 00 is the initial object, such that any epimorphism with domain XX is the pushout of \bot along a unique classifying morphism X\mho \to X).

view this post on Zulip Morgan Rogers (he/him) (Apr 24 2020 at 17:14):

Since the epimorphisms in such a cotopos correspond to monomorphisms in the dual topos, the quotient lattices in the cotopos will be exactly the subobject lattices in the topos, but with the ordering (in the direction of the arrows) reversed.

view this post on Zulip Morgan Rogers (he/him) (Apr 24 2020 at 17:18):

Cotoposes aren't much studied in their own right ("why study Set^op when I can study Set?") but they are indispensible for elementary topos theory, in the first instance due to fact that the dual of a topos is monadic over that topos, and this is used to show that the topos having finite limits also endows it with finite colimits.

view this post on Zulip Henry Story (Apr 24 2020 at 17:20):

"why study Set^op when I can study Set?"

Yes, then one finds out that co-algebras are dual of algebras but open up completely new worlds!

view this post on Zulip Henry Story (Apr 24 2020 at 17:24):

So it looks like they were onto something, but failed to see that they were working in the opposite category.

view this post on Zulip Henry Story (Apr 24 2020 at 17:27):

What is weird is that in their diagrams they use exponentials but should have needed co-exponentials.

view this post on Zulip Henry Story (Apr 24 2020 at 17:29):

It would be very interesting to find non-trivial useful dual to a topos that is not that difficult to understand (for me) where one could look at that and see if it makes sense. What would the dual to a graph topos be?

view this post on Zulip Henry Story (Apr 24 2020 at 17:48):

Is there a relation between closed set topology and a dual topos?

view this post on Zulip sarahzrf (Apr 24 2020 at 18:01):

or maybe they were just working in the opposite lattices period

view this post on Zulip sarahzrf (Apr 24 2020 at 18:02):

and not the opposite category at all

view this post on Zulip Henry Story (Apr 24 2020 at 18:13):

Indeed it seems to me that turning the Heyting lattice around seems to be the minimal step needed to get to closed set topology or co-constructive logic. I wonder why they thought that it was necessary to do so at the Topos level. I guess their point would be in return why privilege open set over closed set topology? If one starts with open sets one needs to do an dualisation to get to closed. I guess they are trying to find a way to get to closed in one step.

view this post on Zulip John Baez (Apr 24 2020 at 18:53):

Henry Story said:

Are you saying that the counter examples of bi-heyting algebras that are not boolean put forward by John Baez which you mention above (and which I have not yet studied) can not live in a topos?

A bunch of them do live in a topos: as I said, the lattice of subobjects of any presheaf topos is a bi-Heyting algebra, and rarely is it boolean. For example the lattice of subgraphs of any graph (in the category theorist's sense of graph) is bi-Heyting.

This is why there's an nLab article bi-Heyting topos.

view this post on Zulip Henry Story (Apr 24 2020 at 20:57):

It looks like I may have had an AA \to \bot experience reading these papers on complement topoi then.

view this post on Zulip John Baez (Apr 24 2020 at 23:44):

Pastel Raschke said:

Screenshot_20200424-101809_MuPDF_mini.png

this is incorrect; as john baez has pointed out several times, bi-heyting algebras, categories, topoi are not boolean. for myself, i believe it does not mean anything for a topos to "also have a complement classifier", as the complement classifier is the subobject classifier.

Yes, Theorem 59 here is false. Where did it come from? I wouldn't trust this paper, given such an important mistake.

(In general you should be a bit suspicious of people who state theorems but don't prove them.)

view this post on Zulip Pastel Raschke (Apr 25 2020 at 07:19):

this is james trafford's book about inferentialism, meaning in dialogue. the proof attempt was the following paragraph.

view this post on Zulip Henry Story (Apr 25 2020 at 08:44):

The picture of the attempted proof that Category that is a topos has a complement Topos is boolean (my rendition) is here.

view this post on Zulip Henry Story (Apr 25 2020 at 08:46):

IF the proof does works but clashes with the existence of bi-heyting algebras it could well be that the definition of a complement topos is wrong, and that it should be based on co-exponentials and not exponentials. (so the problem with the proof would be prior to the proof)

view this post on Zulip Henry Story (Apr 25 2020 at 09:02):

I guess that Set should have a co-exponential, so it should be possible (for me to see) what happens when one turns the diagrams of a Topos around there.

view this post on Zulip Henry Story (Apr 25 2020 at 09:36):

I''ll look to see what a complement topos looks like in Setop\mathsf{Set}^{op} the category of complete boolean algebras according to this. But that would be a completely different concept of complement topos than the one they were trying to get at. If it did manage to capture complement sets, or for the ordering to go from \top to \bot as in co-heyting algebras it would be interesting though.

view this post on Zulip sarahzrf (Apr 25 2020 at 14:48):

complete atomic boolean algebras i think

view this post on Zulip sarahzrf (Apr 25 2020 at 14:48):

but also iirc if a category is both cartesian closed and cocartesian coclosed then it must be a proset

view this post on Zulip sarahzrf (Apr 25 2020 at 14:49):

https://ncatlab.org/nlab/show/cocartesian+closed+category

view this post on Zulip sarahzrf (Apr 25 2020 at 14:49):

image.png

view this post on Zulip Henry Story (Apr 25 2020 at 16:01):

Morgan Rogers said:

I don't know, but I can be more precise if you like!
By cotopos I mean the categorical dual of a topos, with all of the arrows reversed. This means that I still have finite limits and colimits, but I have co-exponentials (satisfying the dual property of exponentials) and a "quotient co-classifier" (an object \mho equipped with an epimorphism :0\bot: \mho \to 0, where 00 is the initial object, such that any epimorphism with domain XX is the pushout of \bot along a unique classifying morphism X\mho \to X).

I drew this up in this diagram.
ComplementTopos.jpg
I also drew up a simple example on the boolean topos to show how it works.
BA-Topos.jpg

view this post on Zulip Henry Story (Apr 25 2020 at 16:05):

I have been playing with simple examples of this co-topos in Setop\mathsf{Set^{op}} and indeed it seems to classify the atomic boolean algebra lattices from larger to smaller which is what one would need to then get the co-Heyting algebra.

view this post on Zulip Henry Story (Apr 25 2020 at 21:37):

Does the terminal object in BA\mathsf{BA} the category of atomic boolean algebras which is just {} \{ \emptyset \} have any special properties that could explain why it can turn inverse \top and \bot in the following co-topos?
Top.jpg
BA-Top.jpg

view this post on Zulip Henry Story (Apr 26 2020 at 08:34):

I have been working on dualising the Conjunction classifier in a Topos
This I think gives a co-product disjunction co-classifier in a co-Topos co-product.jpg
Which I illustrated in the atomic boolean algebra category Co-product-BA.jpg
I am not yet sure if I have the 0 and 1 are well chosen (in the BA diagram) or if they should be switched.
The disjunction co-classifier should be saying that if either of the disjuncts is refuted, then the conjunct in the topos in the opposite category to which it corresponds is "false".

view this post on Zulip Henry Story (Apr 26 2020 at 21:38):

I am trying to find a use of co-exponentials in the definitions of the operators in the complement topos, which has led me to read up on Goldblatt's Topoi: the categorical analysis of Logic.

view this post on Zulip Henry Story (Apr 26 2020 at 21:41):

The idea of a complement topos as the topos as seen in the opposite category does seem to be the thing that the authors on complement topoi discussed above were getting at. But for some reason they did not look at the dual category, and so tried to speak of it from the side of the topos category. As a result their concept looked very much like a Topos, and as they admit could not be distinguished from it. The intuitions that the complement topoi is what is behind co-Heyting algebras and co-constructive logic would then be correct.

view this post on Zulip Henry Story (Apr 27 2020 at 18:58):

Mhh, the product above in CABA is not a boolean algebra. It's a bit tricky working out what products and co-products in a boolean algebra are.... I asked on Stack Exchange. Perhaps I'll be able to answer that myself with more thought.