What do you use categorical glueing/sconing/Freyd covers for? - MathOverflow most recent 30 from http://mathoverflow.net 2013-05-25T06:21:24Z http://mathoverflow.net/feeds/question/24717 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://mathoverflow.net/questions/24717/what-do-you-use-categorical-glueing-sconing-freyd-covers-for What do you use categorical glueing/sconing/Freyd covers for? Neel Krishnaswami 2010-05-15T09:43:24Z 2010-05-25T00:25:40Z <p>In the theory of programming languages and structural proof theory, one of the handiest techniques we have available is a method called "logical relations", in which you can prove properties of languages by taking the type structure of the language, and defining families of predicates or relations by induction on the type structure. </p> <p>For example, if you want to prove that all definable functions in a language halt, you start by giving a predicate $P_X$ picking out the terms of base type $X$ which halt. Then, at higher type (say $A \to B$) you define $P_{A \to B}$ to pick out those terms which halt, and which additionally take elements of $P_A$ to elements of $P_B$. (You need this extra strength because otherwise a term $t$ of type $A \to B$ may evaluate to a function value, which diverges when given an input.) Then you prove a theorem showing that every definable term is in the predicate, and there you go.</p> <p>This is a very natural technique, and I've often wondered where it shows up in the rest of mathematics. Recently, I learned that category theorists know it too, and call it by various names -- I listed the ones I was able to find in the question. Since (a) categories seem to serve as an interlingua for mathematics, and (b) lots of mathematicians hang out here, I figured I could ask: what other branches of mathematics has this technique been used in, and for what?</p> http://mathoverflow.net/questions/24717/what-do-you-use-categorical-glueing-sconing-freyd-covers-for/25571#25571 Answer by Paul Taylor for What do you use categorical glueing/sconing/Freyd covers for? Paul Taylor 2010-05-22T11:08:06Z 2010-05-23T07:34:36Z <p>This is a powerful technique that can prove consistency, conservativity (that a statement about a small system which is a theorem in a more expressive one was already a theorem of the smaller one) etc. Applied to programming languages, it can show that if the result of a program in its denotational semantics is a number (as opposed to undefined) then when you run the program it is guaranteed to terminate (maybe after the Sun has gone supernova) and return that number.</p> <p>It works by tying the syntax and the semantics together in lock-step, so that (maybe easy) observations about the semantic structure have direct consequences for the existence of a proof.</p> <p>See <a href="http://www.PaulTaylor.EU/prafm/html/s77" rel="nofollow"> Section 7.7</a> in my book "Practical Foundations of Mathematics" for one categorical treatment, although there is a vast literature in theoretical computer science about this.</p> <p>Of course, the construction uses structural recursion over the syntax. Amongst its consequences are consistency results. For anyone aware of Godel's incompleteness theorem, this should set some alarm bells ringing.</p> <p>The solution is that the semantic structure (often a Grothendieck topos) is logically much stronger than the syntactic one. If, for example, the latter is the logic of an elementary topos then the former must enjoy (some fragment of) the axiom-scheme of replacement.</p> <p>PS The actual categorical construction is extremely simple. The "lock-step" property has to be proved as a theorem for each type constructor (eg function-spaces) and is valid in many cases, although not higher order logic.</p> http://mathoverflow.net/questions/24717/what-do-you-use-categorical-glueing-sconing-freyd-covers-for/25827#25827 Answer by Mike Shulman for What do you use categorical glueing/sconing/Freyd covers for? Mike Shulman 2010-05-25T00:25:40Z 2010-05-25T00:25:40Z <p>I think the terminology "gluing" comes from the following example. Let X be a topological space, let U be an open subset of X, and let $K=X\setminus U$ be its complementary closed subset. Then the inclusions of U and K into X induce geometric morphisms $p:Sh(U)\to Sh(X)$ and $q:Sh(K)\to Sh(X)$. The composite $q^* p_* :Sh(U) \to Sh(K)$ is then left exact, and the "gluing construction" applied to it (i.e. the comma category $(Sh(K) / q^* p_* )$) recovers $Sh(X)$. In other words, the functor $q^* p_*$ tells you how to glue together $U$ and $K$ to get back $X$, and the comma category is what does the gluing. This generalizes to complementary open and closed subtoposes of any topos, not just of sheaves on a topological space.</p>