I know Coq. And I know type theory because it's the logic implemented in coq. And type theory is the internal logic of a topos. I read some books about category theory, because it's important for computer science. — Mephist
Maybe yes. I see sheaves as a comma category, basically. — Mephist
OK, I'll drop this topic. Probably nobody is interested.. — Mephist
Can you give me some references? — Mephist
Well, OK, but I don't know which point is the halfway... — Mephist
I'd like to understand what you mean when you say Prop is a subobject classifier; given that all I know is that a subobject classifier is {T,F} in elementary logic or defining a subset of a set. — fishfry
A sheaf, for example is defined only on the open sets of a manifold — fishfry
A sheaf, for example is defined only on the open sets of a manifold — fishfry
I was taking the fibers over the points; but sheaves are defined only over open sets. That's something I'm confused about at the moment. — fishfry
Yes, that's the central point of the whole story: open sets are "more important" than points. — Mephist
A subobject classifier is a pair of an object and an arrow {Omega, "true": T->Omega} with the following property: every monomorphism m: A->B in the category (in the topos) is the pullback of the morphism "true" along a unique morphism x:B->Omega. — Mephist
but earlier you didn't remember that you know that, and you were seduced by my example and didn't realize it was inaccurate — fishfry
That's what I mean by mathematical context. You are not being precise enough in your formulations, and that's making it harder for me to latch on to the ideas. — fishfry
Re comma categories. Funny story. I checked out a pdf book on categorical logic. In the table of contents they get to comma categories right away. In mathematically oriented category theory books, they get to them much later, and I have read the definition once but didn't understand enough to remember it. — fishfry
By the way, I saw an Awodey video. I started to read his book but it was too oriented to logic for my taste so I spend more time looking at Leinster. So you see even by inclination I have remained ignorant of categorical logic. But I see a thread. I know what right inverses are and that's basically fibers so I can get this. I just want to understand how that goes to propositions and proofs. — fishfry
That's the advantage of category theory in comparison with set theory: — Mephist
OK. I have to go now.. — Mephist
Yes but I haven't time right now to learn the category theory I'd need. I see a vertical thread of understanding from the idea of a fiber bundle over a manifold, to seeing how that idea generalizes to logic. You've pointed me in that direction several times. So it's not a matter of convincing me that your way is better. The only question is whether you want to explain this to me so I can understand it. I'm pretty close. Tell me the topological space, tell me the map from the open sets to some collection of algebraic structures, that represent propositions and proofs.
Right? A sheaf assigns to each open set of a topolgoical space, a data structure or algebraic object. Tell me the topological space, tell me the map, tell me which structures, represent propositions and proofs. I think that's a specific question we can meet halfway on. — fishfry
Certainly some sort of goals, but not necessarily physical ends. To a large extent it's curiosity about "what comes next?" — jgill
Or do you mean that the use of irrational numbers is conceptually inaccurate with respect to a first-principles analysis of physics? If the latter, as I said, I don't think that it matters for mathematics. — simeonz
I will then answer under the assumption that we are not questioning the efficiency of algebraic numbers as they are used in the design and analysis of numerical algorithms for daily and industrial use.I think that this is the more accurate representation of what I was saying. — Metaphysician Undercover
I am not saying that it necessarily has to be pure mind art, but it wouldn't change the assessment we make of the final product. Even if our improvements in the scientific method (the philosophy of mathematics) remove obstacles to its continuous development, it should not come at the cost of the numerical properties of the prescribed computations. Just as long as the scientific method produces a framework of computations and analysis for our varied conventional applications that conserves the known accuracy-complexity tradeoff, the improvement can venture in any desired direction. But exploring concepts and algorithms of computations whose conventional (daily and industrial) utility is inferior to the ones currently in use is not an option, no matter what methodological grounds we have for that.I don't agree with your conclusion though, because it requires that we make a complete separation between physics and mathematics. Suppose we assume such a separation. Mathematicians just dream up their axioms and principles for no apparent reasons, just because they are beautiful or something, so that the mathematical principles are somewhat arbitrary in this way, pure mind art. — Metaphysician Undercover
This is true. But mathematics is not focused only on fundamental physics. It serves economics, construction engineering, software design and electronics, government, etc. All those fields are served on equal footing by mathematics. Physics is undoubtedly the most fundamental of sciences. But that does not mean that mathematics is physics oriented. It serves any situation involving computing and conceptualizes theories that unify as many applications as feasible. If a given field requires specific axiomatic framework, it needs to engage the mathematical community deliberately and the other fields do not have to be impacted.They leave these principles lying out there, and the physicists pick and choose which ones they want to use. It's like a smorgasbord of tools lying on the table, which the physicists can choose from. That's a fine start, but we must respect the fact that the process is reciprocal. So once the physicists choose their preferred tools, and start using them, then these are the principles that the mathematicians are going to concentrate on improving and fine tuning. — Metaphysician Undercover
Yes, but this happened in times when people believed the earth was flat. How irrational numbers were originally conceived is irrelevant to their contemporary meaning.Evidence of this is the fact that the real numbers came from the use of rational numbers, and the use of geometrical principles which created irrational numbers. — Metaphysician Undercover
The way I interpret irrational numbers today is as a property of the process you use to compute approximate quantity when a diagonal, perimeter, the intersections, etc, of various objects of various shapes are involved. The question is not what best explains the underlying physics, but how can we compute economically and socially interesting factors - the amount of material necessary to manufacture a part in the desired shape, the heat transfer occurring at the surface of a container, the sliding resistance a material with a given shape has, etc. We are not investigating the underlying physics, or trying to achieve precision in excess of what we need, but merely seek an efficient method for computing values within the desired accuracy. Irrational numbers are our "design" of this method, not our "interpretation" of the objects involved. We can still investigate the physical fundamentals, but this is not a concern for our procedures.Mathematicians did not have to allow irrationals into their numerical principles, but they were being used, so the mathematicians felt compelled to incorporate them . — Metaphysician Undercover
Hmm... :chin: You want a topological space for classical logic. OK, a topological space is a set of all subsets of an "universal" set.
- The elements of the universal set are tuples of elements of our model (the things that we are speaking about: real numbers, for example).
- The subsets are our propositions: they represent the set of all tuples of elements for which the proposition is true (an example here: the proposition "3x + y = 6" is the set of (x,y) such that the equation is true).
- Inclusion between the subsets represents implication.
- Functions are represented in set theory as particular sets of pairs (surely I don't have to explain this to you).
- Relations are sets tuples of elements of our domain.
- There are some distinct points that correspond to the constants of the language.
- The set operations of Intersection, Union and Complement form a Boolean algebra on the subsets of the topology. ( no problem until here, I hope ). — Mephist
In mathematics, a topos (UK: /ˈtɒpɒs/, US: /ˈtoʊpoʊs, ˈtoʊpɒs/; plural topoi /ˈtoʊpɔɪ/ or /ˈtɒpɔɪ/, or toposes) is a category that behaves like the category of sheaves of sets on a topological space (or more generally: on a site). Topoi behave much like the category of sets and possess a notion of localization; they are a direct generalization of point-set topology.
A sheaf on a topological space is something that associates to every open set an object F( ), e.g. an abelian group. Elements of F( ) are usually called sections on U.
Hmm... :chin: You want a topological space for classical logic. OK, a topological space is a set of all subsets of an "universal" set. — Mephist
- The elements of the universal set are tuples of elements of our model (the things that we are speaking about: real numbers, for example). — Mephist
- The subsets are our propositions: they represent the set of all tuples of elements for which the proposition is true (an example here: the proposition "3x + y = 6" is the set of (x,y) such that the equation is true). — Mephist
Only in this case, what for is a topology needed? All subsets of this topology are both open and closed. This is a discrete topology (the most particular case of all). — Mephist
And then the main problem: what about quantifiers? (forall and exists).
You don't want category theory, right? The quantifiers are naturally defined as adjoint functors in category theory, but you said you want only set theory. :roll: so I should reformulate the condition of adjunction of categories in terms of set theory... at first sight it will be a definition that will have to include in itself the algebraic structure of... a category! ( I don't know how to do this :gasp: ) — Mephist
P.S. of course you cannot allow infinite expressions (such as "forall" is an infinite intersection...), since our language is made of strings of symbols. — Mephist
And then the subobject classifier is the usual set {"true", "false"} plus an evaluation function that for each proposition (subset) returns a value of the set {"true", "false"} — Mephist
What about sheaves? In this case sheaves are unnecessary too, because we are in a discrete topological space.. I don't know if this program would bring some useful insight really, even if I am able to figure out how to find an algebraic structure on our "topological space" that includes quantifiers :sad: — Mephist
I need at least the category of sets to be able to include logic, but sheaves are not really related to boolean logic, for what I know. — Mephist
.S. I forgot about proofs. Proofs in standard logic are not objects of the model (sets in our case), but it's only a partial order relation between our propositions determined by the rules of logic. Different situation in type theory, where they are represented as objects of our category - meaning: you cannot speak about proofs in standard logic; instead, you can speak about proofs in dependent type theory. And that's why the subobject classifier is not a simple set of values: you have to say not only if a proposition is true or false, but even what is it's proof. — Mephist
Mathematicians just dream up their axioms and principles for no apparent reasons, just because they are beautiful or something, so that the mathematical principles are somewhat arbitrary in this way, pure mind art. — Metaphysician Undercover
Mathematicians just dream up their axioms and principles for no apparent reasons, — Metaphysician Undercover
Lots of wiggle room in that "something." "Pure mind art" is good! :cool: — jgill
There are most definitely reasons. Penelope Maddy, the foremost authority on the philosophy of set theory, has a pair of papers, Believing the Axioms I and II, that describe the historical context and philosophical principles behind the adoption of the ZFC axioms. You might find these of interest. — fishfry
The scientists, engineers, and others who use the mathematics force the existence of conventions which form the artist's medium. Then the mathematicians work with the existing conventions, and those conventions are a pollution to the notion of "pure mind art". — Metaphysician Undercover
You said a while back, in a remark that started this convo, that you can do logic in a topos. I'm curious to understand that in straightforward terms. It doesn't seem that difficult once you know how the mathematical structures are set up — fishfry
Conventions" ? Can you be more specific? — jgill
Although the physical sciences have influenced quite a bit of mathematics, the intervention in the artistic process of mathematics as a medium that necessarily pollutes "pure mind art" is debatable. How does pure mind art make it to the public domain? Must it always involve sculpturing with one's bare hands? Or painting with colored oils that are extracted from plants? Or wait, for a novelist, does it entail writing out one's work with a pencil? — jgill
However, there is a way to "represent" all the the logical operations of set theory ONLY in terms of the objects and arrows of a category — Mephist
For example, many mathematical ideas are expressed as music, rhythm, harmony, etc.. This is a completely different way of expressing mathematical ideas, distinct from putting symbols and geometrical figures on paper — Metaphysician Undercover
You don't use symbols to express music? Well, one can play an instrument by ear I suppose. — jgill
In a topological space the complement of an open set U is closed but not usually open, so among the open sets the "negation" of U should be the interior of its complement. This has the consequence that the double negation of U is not necessarily equal to U. Thus, as observed first by Stone and Tarski, the algebra of open sets is not Boolean, but instead follows the rules of the intuitionistic propositional calculus.
Here's the explanation in straightforward terms: a topos is an "extension" of the category of sets.
( probably it should have been called "setos" :grin: ) — Mephist
First of all, then, you have to know how you can do logic in the category of sets. — Mephist
The category of sets is the category that has as objects ALL the sets and as arrows ALL the possible functions from any set to any set. — Mephist
We just know how to do logic in ZFC set theory ( :confused: or should I start from the standard first order logic in ZFC? ), so we could do exactly the same thing here, but there is a problem: there are no "elements" inside an object ( the sets are represented by objects, but objects in category theory are a primitive notion: they are defined axiomatically, and not by describing how to build them starting from elements ).
However, there is a way to "represent" all the the logical operations of set theory ONLY in terms of the objects and arrows of a category. Here's the mapping:
- The empty set is represented by the initial object of the category
- The singleton set (all singleton sets are isomorphic, so there is only one singleton set, up to isomorphism) represented by the terminal object of the category
- An element of an object A is represented by an arrow from the terminal object to A.
- The the cartesian product of two objects A and B (the set of all ordered pairs of elements (a,b)) is represented by the categorical product of A and B
- The disjoint union of two objects A and B (the set that contains all the elements of A plus all the elements of B) is represented by the categorical coproduct of A and B
- The set of all functions from A to B is represented by the categorical exponential of A and B (notice that the set of all functions from A to {1,2} is isomorphic to the set of all subsets of A)
.....
There is a way to represent EVERY operation in set theory in terms of an universal property ( https://en.wikipedia.org/wiki/Universal_property ) in category theory, and the two representations work exactly in the same way... except for a detail: we cannot distinguish isomorphic sets between each-other. Meaning: we can distinguish them using the language of set theory (meaning: the set { {}, {{}} } is different from the set { {}. {{},{}} } in set theory, but in terms of universal properties, all sets that contain two elements are indistinguishable: you cannot even say how many two-element sets there are.
The arrows, instead, are assumed (by the axiomatic definition of a category) to be all distinguishable from each-other. — Mephist
So, that's it! Category theory can be used to "represent" the operations used in ZFC set theory (except for this last limitation). — Mephist
OK, so what for is the "topos"? The point is that WE DON'T WANT TO ALLOW THE USE OF EVERY POSSIBLE UNIVERSAL PROPERTY. We are looking for the MINIMAL SET OF UNIVERSAL PROPERTIES that are enough to be able to represent the operations used in set theory. — Mephist
Well, it turns out that the minimal set is the following one:
(taken from Wikipedia: https://en.wikipedia.org/wiki/Topos ) — Mephist
A topos is a category that has the following two properties:
All limits taken over finite index categories exist.
Every object has a power object. This plays the role of the powerset in set theory.
"
There are a lot of equivalent definitions, but this is the simplest one that I found.
A topos is a category that contains the minimal set of universal properties necessary to encode all the operations required by the language of first order logic (including quantifiers). — Mephist
Now, the most important point: the derivations that you can produce using this limited set of constructions are not all the derivations of classical logic. And you can build A LOT of different categories with the property of being a topos, by adding different requirements to the basic set of requirements called "topos".
At the same way, you can say that a given mathematical object is a "group" by giving the minimal set of operations and properties that a group must have (you have to be able to take inverses, to form products and to distinguish an element called "unit"), but then there are a lot of different additional requirements that you can add to restrict the set of mathematical objects that match your requirements.
Well, if you want to recover classical logic, you have to use a topos with the additional requirements:
- there are exactly two arrows from the terminal object to the subobject classifier
- there is an initial object (in general, by definition, there is no equivalence of empty set in a topos)
- ... I don't remember now .... Just look at the properties of the category of Sets here: https://ncatlab.org/nlab/show/Set
The category of Sets is the topos that has the additional properties required to make the logic work as the standard classical logic.
And that was only the first question :cry:
I don't think I have time for everything, but we'll see. Sheaves will be for the next time!
P.S. I re-read this and just realized that the correspondence between categories and logic theories that I described is not correct: here's the right correspondence: https://ncatlab.org/nlab/show/internal+logic (ZFC is not even in the list, but higher order logic can be used as an extension of ZFC where even iteration over subsets is allowed, and the corresponding category is called ELEMENTARY topos) — Mephist
My latest understanding is that a topos is like a generalize universe of sets. You can have one kind of universe or a different kind of universe depending on the rules you adopt, but all set-theoretic universes fit into the topos concept.
In fact the category of sets IS a topos. That's very helpful. Sometimes the simplest examples are the ones to start with. — fishfry
You've said proofs and propositions are like fiber bundles or sections. And at one point you used the word "fibration," which is a very specific thing in topology. I was hoping you would either explain those remarks with laserlike clarity, as if you were writing an exam; or else agree that for whatever reason we can't do that. — fishfry
Likewise you claimed that the collection of n-tuples of real numbers with the discrete topology can be associated with propositions. You have my attention with that example, I just need to see the rest of it. — fishfry
I've read different points of view. For example the question arises, is the category of sets the same as the proper class of all sets? Well, not exactly. I've heard it expressed that the category of sets has "as many sets as you need" for any given application. But it's not exactly synonymous with the class of all sets. That's my understanding, anyway. — fishfry
Get involved in philosophical discussions about knowledge, truth, language, consciousness, science, politics, religion, logic and mathematics, art, history, and lots more. No ads, no clutter, and very little agreement — just fascinating conversations.