SlideShare a Scribd company logo
Dialectica Categories Surprising Application:
                          mapping cardinal invariants

                                             Valeria de Paiva

                                            Rearden Commerce
                                          University of Birmingham


                                               March, 2012




Valeria de Paiva (Rearden Commerce University of Birmingham )        March, 2012   1 / 46
Outline


  Outline


   1   Dialectica Categories

   2   Computational Complexity

   3   Cardinal characteristics

   4   Structure of PV

   5   More Dialecticas




Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   2 / 46
Dialectica Categories


  Introduction



   I’m a logician professionally, but I feel like an outsider in this conference.
   Some times being an outsider is a good thing.
   I reckon that mathematicians should try some more of it,
   especially with different kinds of mathematics.

          “There are two ways to do great mathematics. The first way is to
          be smarter than everybody else. The second way is to be stupider
          than everybody else – but persistent."             – Raoul Bott




Valeria de Paiva (Rearden Commerce University of Birmingham )       March, 2012   3 / 46
Dialectica Categories


  A little bit of personal history...


   Some twenty years ago I finished my PhD thesis "The Dialectica
   Categories" in Cambridge. My supervisor was Dr Martin Hyland.




Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   4 / 46
Dialectica Categories


  Dialectica categories came from Gödel’s Dialectica
  Interpretation




   The interpretation is named after the Swiss journal Dialectica where it
   appeared in a special volume dedicated to Paul Bernays 70th birthday in
   1958.
   I was originally trying to provide an internal categorical model of the
   Dialectica Interpretation. The categories I came up with proved (also) to
   be a model of Linear Logic...


Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   5 / 46
Dialectica Categories


  Dialectica categories are models of Linear Logic




   Linear Logic was created by Girard (1987) as a proof-theoretic tool: the
   dualities of classical logic plus the constructive content of proofs of
   intuitionistic logic.
   Linear Logic: a tool for semantics of Computing.




Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   6 / 46
Dialectica Categories


  Dialectica Interpretation: motivations...


   For Gödel (in 1958) the interpretation was a way of proving consistency of
   arithmetic. Aim: liberalized version of Hilbert’s programme – to justify
   classical systems in terms of notions as intuitively clear as possible.
   Since Hilbert’s finitist methods are not enough (Gödel’s incompleteness theorem and experience with consistency

   proofs) must admit some abstract notions. G’s approach: computable (or primitive recursive) functionals of finite

   type.


   For me (in 1988) an internal way of modelling Dialectica that turned out to
   produce models of Linear Logic instead of models of Intuitionistic Logic,
   which were expected...
   For Blass (in 1995) a way of connecting work of Votjáš in Set Theory with
   mine and his own work on Linear Logic and cardinalities of the continuum.



Valeria de Paiva (Rearden Commerce University of Birmingham )                                  March, 2012       7 / 46
Dialectica Categories


  Dialectica categories: useful for proving what...?




   Blass (1995) Dialectica categories as a tool for proving inequalities between
   nearly countable cardinals.
   Questions and Answers – A Category Arising in Linear Logic, Complexity
   Theory, and Set Theory in Advances in Linear Logic (ed. J.-Y. Girard, Y.
   Lafont, and L. Regnier) London Math. Soc. Lecture Notes 222 (1995).
   Also Propositional connectives and the set theory of the continuum (1995)
   and the survey Nearly Countable Cardinals.

Valeria de Paiva (Rearden Commerce University of Birmingham )    March, 2012   8 / 46
Dialectica Categories


  Questions and Answers: The short story


   Blass realized that my category for modelling Linear Logic was also used by
   Peter Votjáš for set theory, more specifically for proving inequalities
   between cardinal invariants and wrote Questions and Answers – A Category
   Arising in Linear Logic, Complexity Theory, and Set Theory (1995).
   When we discussed the issue in 1994/95 I simply did not read the sections
   of the paper on Set Theory. or Computational Complexity.
   Two years ago I learnt from Samuel about his and Charles work using
   Blass/Votjáš’ ideas and got interested in understanding the cardinal
   invariants connections.
   Late last year we decided that a short visit would be a good way forward.
   This is a visit to start a collaboration. Hence I will be talking about old
   results...


Valeria de Paiva (Rearden Commerce University of Birmingham )    March, 2012   9 / 46
Dialectica Categories


  Questions and Answers: The categories GSets and PV
  Is this simply a coincidence?



   The second dialectica category in my thesis GSets (for Girard’s sets) is the
   dual of GT the Galois-Tukey connections category in Votjáš work.
   Blass calls this category PV.
   The objects of PV are triples A = (U, X, α) where U, X are sets and
   α ⊆ U × X is a binary relation, which we usually write as uαx or α(u, x).
                             +
   Blass writes it as (A− , A , A) but I get confused by the plus and minus signs.

   Two conditions on objects in PV (not the case in GSets):
   1. U, X are sets of cardinality at most |R|.
   2. The condition in Moore, Hrusák and Dzamonja (MHD) holds:

                                  ∀u ∈ U ∃x ∈ X such that α(u, x)

    and
                                  ∀x ∈ X∃u ∈ U such that ¬α(u, x)

Valeria de Paiva (Rearden Commerce University of Birmingham )                        March, 2012   10 / 46
Dialectica Categories


  Questions and Answers: The category PV
   In Category Theory morphisms are more important than objects.
   Given objects A = (U, X, α) and B = (V, Y, β)
   a map from A to B in GSets is a pair of functions f : U → V and
   F : Y → X such that α(u, F y) implies β(f u, y).
   Usually I write maps as

          U       α         X
                              6

      f           ⇓             F             ∀u ∈ U, ∀y ∈ Y α(u, F y) implies β(f u, y)
          ?
          V       β         Y
   But a map in PV satisfies the dual condition that is β(f u, y) → α(u, F y).
   Trust set-theorists to create morphisms A → B where the relations go in
   the opposite direction!...
Valeria de Paiva (Rearden Commerce University of Birmingham )              March, 2012   11 / 46
Computational Complexity


  Can we give some intuition for these morphisms?



   Blass makes the case for thinking of problems in computational complexity.
   Intuitively an object of GSets or PV

                                                  (U, X, α)

   can be seen as representing a problem.
   The elements of U are instances of the problem, while the elements of X
   are possible answers to the problem instances.
   The relation α say whether the answer is correct for that instance of the
   problem or not.




Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   12 / 46
Computational Complexity


  Which problems?

   A decision problem is given by a set of instances of the problem, together
   with a set of positive instances.
   The problem is to determine, given an instance whether it is a positive one
   or not.
   Examples:
   1. Instances are graphs and positive instances are 3-colorable graphs;
   2. Instances are Boolean formulas and positive instances are satisfiable
   formulas.
   A many-one reduction from one decision problem to another is a map
   sending instances of the former to instances of the latter, in such a way
   that an instance of the former is positive if and only its image is positive.
   An algorithm computing a reduction plus an algorithm solving the latter
   decision problem can be combined in an algorithm solving the former.


Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   13 / 46
Computational Complexity


  Computational Complexity 101

   A search problem is given by a set of instances of the problem, a set of
   witnesses and a binary relation between them.
   The problem is to find, given an instance, some witness related to it.
   The 3-way colorability decision problem (given a graph is it 3-way
   colorable?) can be transformed into the 3-way coloring search problem:
   Given a graph find me one 3-way coloring of it.
   Examples:
   1. Instances are graphs, witnesses are 3-valued functions on the vertices of
   the graph and the binary relation relates a graph to its proper 3-way
   colorings
   2. Instances are Boolean formulas, witnesses are truth assignments and the
   binary relation is the satisfiability relation.
   Note that we can think of an object of PV as a search problem, the set of
   instances is the set U , the set of witnesses the set X.

Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   14 / 46
Computational Complexity


  Computational Complexity 101



   A many-one reduction from one search problem to another is a map
   sending instances of the former to instances of the latter, in such a way
   that an instance of the former is positive if and only its image is positive.
   An algorithm computing a reduction plus an algorithm solving the latter
   decision problem can be combined in an algorithm solving the former.
   We can think of morphisms in PV as reductions of problems.
   If this intuition is useful, great, if not, carry on thinking simply of sets and
   a relation and complicated notion of how to map triples to other triples.




Valeria de Paiva (Rearden Commerce University of Birmingham )      March, 2012   15 / 46
Computational Complexity


  Questions and Answers

   Objects in PV are only certain objects of GSets, as they have to satisfy the
   two extra conditions. What happens to the structure of the category when
   we restrict ourselves to this subcategory?
   Fact: GSets has products and coproducts, as well as a terminal and an
   initial object.
   Given objects of PV, A = (U, X, α) and B = (V, Y, β)
   the product A × B in GSets is the object (U × V, X + Y, choice)
   where choice : U × V × (X + Y ) → 2 is the relation sending
   (u, v, (x, 0)) to α(u, x) and (u, v, (y, 1)) to β(v, y).
   The terminal object is T = (1, 0, e) where e is the empty relation,
   e : 1 × 0 → 2 on the empty set.


Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   16 / 46
Computational Complexity


  Questions and Answers



   Similarly the coproduct of A and B in GSets is the object
   (U + V, X × Y, choice)
   where choice : U + V × (X × Y ) → 2 is the relation sending
   ((u, 0), x, y) to α(u, x) and ((v, 1), x, y) to β(v, y)
   The initial object is 0 = (0, 1, e) where e : 0 × 1 → 2 is the empty relation.
   Now if the basic sets all U, V, X, Y have cardinality up to |R| then
   (co-)products will do the same.
   But the MHD condition is a different story.




Valeria de Paiva (Rearden Commerce University of Birmingham )    March, 2012   17 / 46
Computational Complexity


  The structure of PV


   Note that neither T or 0 are objects in PV,
   as they don’t satisfy the MHD condition.

   ∀u ∈ U, ∃x ∈ X such that α(u, x) and ∀x ∈ X∃u ∈ U such that ¬α(u, x)

   To satisfy the MHD condition neither U nor X can be empty.
   Also the object I = (1, 1, id) is not an object of PV, as it satisfies the first
   half of the MHD condition, but not the second. And the object
   ⊥ = (1, 1, ¬id) satisfies neither of the halves.
   The constants of Linear Logic do not fare too well in PV.




Valeria de Paiva (Rearden Commerce University of Birmingham )    March, 2012   18 / 46
Computational Complexity


  The structure of PV




   Back to morphisms of PV, the use that is made of the category in
   applications is simply of the pre-order induced by the morphisms.

   It is somewhat perverse that here, in contrast to usual categorical logic,

                       A ≤ B ⇐⇒ There is a morphism from B to A




Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   19 / 46
Computational Complexity


  Examples of objects in PV



   1. The object (N, N, =) where n is related to m iff n = m.
   To show MHD is satisfied we need to know that ∀n ∈ N∃m ∈ N(n = m),
   can take m = n. But also that ∀m ∈ N∃k ∈ N such that ¬(m = k). Here
   we can take k = suc(m).
   2. The object (N, N, ≤) where n is related to m iff n ≤ m.
   3. The object (R, R, =) where r1 and r2 are related iff r1 = r2 , same
   argument as 1 but equality of reals is logically much more complicated.
   4. The objects (2, 2, =) and (2, 2, =) with usual equality.




Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   20 / 46
Computational Complexity


  What about GSets?


   GSets is a category for categorical logic, we have:

                       A ≤ B ⇐⇒ There is a morphism from A to B

   Examples of objects in GSets:
   “Truth-value" constants of Linear Logic as discussed T , 0, ⊥ and I.
   All the PV objects are in GSets. Components of objects such as U, X are
   not bound above by the cardinality of R.
   Also the object 2 of Sets plays an important role in GSets, as our relations
   α are maps into 2, but the objects of the form (2, 2, α) have played no
   major role in GSets so far.



Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   21 / 46
Cardinal characteristics


  What have Set Theorists done with PV?
  Cardinal Characteristics of the Continuum




   Blass: “One of Set Theory’s first and most important contributions to
   mathematics was the distinction between different infinite cardinalities,
   especially countable infinity and non-countable one."
   Write N for the natural numbers and ω for the cardinality of N.
   Similarly R for the reals and 2ω for their cardinality.
   All the cardinal characteristics considered will be smaller or equal to the
   cardinality of the reals.
   They are of little interest if the Continuum Hypothesis holds, as then there
   are no cardinalities between the cardinality of the integers ω and the
   cardinality of the reals 2ω .
   But if the continuum hypothesis does NOT hold there are many interesting
   connections (in general in the form of inequalities) between various
   characteristics that Votjáš discusses.

Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   22 / 46
Cardinal characteristics


  Cardinals from Analysis
   I recall the main definitions that Blass uses in Questions and Answers and
   his main “theorem":
       - If X and Y are two subsets of N we say that X splits Y if both
         X ∩ Y and Y  X are infinite.
       - The splitting number s is the smallest cardinality of any family S of
         subsets of N such that every infinite subset of N is split by some
         element of S.
   Recall the Bolzano-Weierstrass Theorem: Any bounded sequence of
   real numbers (xn )n∈N has a convergent subsequence, (xn )n∈A .
   One can extend the theorem to say:
   For any countably bounded many sequences of real numbers
   xk = (xkn )n∈N there is a single infinite set A ⊆ N such that the
   subsequences indexed by A, (xkn )n∈A all converge.
   If one tries to extend the result for uncountably many sequences s above is
   the first cardinal for which the analogous result fail.
Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   23 / 46
Cardinal characteristics


  Cardinals from Analysis




       - If f and g are functions N → N, we say that f dominates g if for all
         except finitely many n’s in N, f (n) ≤ g(n).
       - The dominating number d is the smallest cardinality of any family D
         contained in NN such that every g in NN is dominated by some f in D.
       - The bounding number b is the smallest cardinality of any family
         B ⊆ NN such that no single g dominates all the members of B.




Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   24 / 46
Cardinal characteristics


  Connecting Cardinals to the Category


   Blass “theorems” : We have the following inequalities

                                              ω ≤ s ≤ d ≤ 2ω


                                          ω ≤ b ≤ r ≤ rσ ≤ 2ω


                                                       b≤d
   The proofs of these inequalities use the category of Galois-Tukey
   connections and the idea of a "norm" of an object of PV.
   (and a tiny bit of structure of the category...)



Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   25 / 46
Cardinal characteristics


  The structure of the category PV


   Given an object A = (U, X, α) of PV its "norm" ||A|| is the smallest
   cardinality of any set Z ⊆ X sufficient to contain at least one correct
   answer for every question in U .
   Blass again: “It is an empirical fact that proofs between cardinal
   characteristics of the continuum usually proceed by representing the
   characteristics as norms of objects in PV and then exhibiting explicit
   morphisms between those objects.”
   One of the aims of our proposed collaboration is to explain this empirical
   fact, preferably using categorical tools.
   Haven’t done it, yet. So will try to explain some of the easy instances.



Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   26 / 46
Structure of PV


  The structure of PV
   Proposition[Rangel] The object (R, R, =) is maximal amongst objects of
   PV.
   Given any object A = (U, X, α) of PV we know both U and X have
   cardinality small than |R|. In particular this means that there is an injective
   function ϕ : U → R. (let ψ be its left inverse, i.e ψ(ϕu) = u)
   Since α is a relation α ⊆ U × X over non-empty sets, if one accepts the
   Axiom of Choice, then for each such α there is a map f : U → X such
   that for all u in U , uαf (u).
   Need a map Φ : R → X such that
           U          α        X
                                 6

         ϕ            ⇑           Φ              ∀u ∈ U, ∀r ∈ R (ϕu = r) → α(u, Φr)
             ?
           R         =          R
Valeria de Paiva (Rearden Commerce University of Birmingham )            March, 2012   27 / 46
Structure of PV


  The structure of PV
  Axiom of Choice is essential

   Given cardinality fn ϕ : U → R, let ψ be its left inverse, ψ(ϕu) = u, for all
   u ∈ U . Need a map Φ : R → X such that
           U          α        X
                                 6

         ϕ            ⇑           Φ              ∀u ∈ U, ∀r ∈ R (ϕu = r) → α(u, Φr)
             ?
           R         =          R
   Let u and r be such that ϕu = r and define Φ as ψ ◦ f .
   Since ϕu = r can apply Φ to both sides to obtain Φ(ϕ(u)) = Φ(r).
   Substituting Φ’s definition get f (ψ(ϕu))) = Φ(r). As ψ is left inverse of ϕ
   (ψ(ϕu) = u) get f u = Φ(r).
   Now the definition of f says for all u in U uαf u, which is uαΦr holds, as
   desired. (Note that we did not need the cardinality function for X.)
Valeria de Paiva (Rearden Commerce University of Birmingham )            March, 2012   28 / 46
Structure of PV


  Fun meeting somewhere else




Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   29 / 46
Structure of PV


  The structure of PV

   Proposition[Rangel] The object (R, R, =) is minimal amongst objects of
   PV.
   This time we use the cardinality function ϕ : X → R for X. We want a
   map in PV of the shape:


           R         =         R
                                 6

         Φ           ⇑            ϕ              ∀r ∈ R, ∀x ∈ X α(Φr, x) → (r = ϕx)
             ?
           U         α         X
   Now using Choice again, given the relation α ⊆ U × X we can fix a
   function g : X → U such that for any x in X g(x) is such that ¬g(x)αx.

Valeria de Paiva (Rearden Commerce University of Birmingham )            March, 2012   30 / 46
Structure of PV


  The structure of PV
  Axiom of Choice is essential

   Given cardinality fn ϕ : X → R, let ψ : R → X be its left inverse,
   ψ(ϕx) = x, for all x ∈ X. Need a map Φ : R → U such that
          R         =         R
                                6

        Φ           ⇑            ϕ             ∀r ∈ R, ∀x ∈ X α(Φr, x) → ¬(ϕx = r)
            ?
        U      α      X
   Exactly the same argument goes through. Let r and x be such that
   ϕx = r and define Φ as ψ ◦ g.
   Since ϕx = r can apply Φ to both sides to obtain Φ(ϕ(x)) = Φ(r).
   Substituting Φ’s definition get g(ψ(ϕx))) = Φ(r). As ψ is left inverse of ϕ,
   (ψ(ϕx) = x) get gx = Φ(r).
   But the definition of g says for all x in X ¬gxαx, which is ¬α(Φr, x)
   holds. Not quite the desired, unless you’re happy with RAA.
Valeria de Paiva (Rearden Commerce University of Birmingham )          March, 2012   31 / 46
Structure of PV


  More structure of GSets


   Given objects A and B of GSets we can consider their tensor products.
   Actually two different notions of tensor products were considered in GSets,
   but only one has an associated internal-hom.
   (Blass considered also a mixture of the two tensor products of GSets, that
   he calls a sequential tensor product.)
   Having a tensor product with associated internal hom means that we have
   an equation like:

                                 A ⊗ B → C ⇐⇒ A → (B → C)
   Can we do the same for PV? Would it be useful?
   The point is to check that the extra conditions on PV objects are satisfied.



Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   32 / 46
Structure of PV


  Tensor Products in GSets

   Given objects A and B of GSets we can consider a preliminary tensor
   product, which simply takes products in each coordinate. Write this as
   A B = (U × V, X × Y, α × β) This is an intuitive construction to
   perform, but it does not provide us with an adjunction.
   To "internalize" the notion of map between problems, we need to consider
   the collection of all maps from U to V , V U , the collection of all maps from
   Y to X, X Y and we need to make sure that a pair f : U → V and
   F : Y → X in that set, satisfies our dialectica (or co-dialectica) condition:

                  ∀u ∈ U, y ∈ Y, α(u, F y) ≤ β(f u, y) (respectively ≥)
   This give us an object (V U × X Y , U × Y, eval) where
   eval : V U × X Y × (U × Y ) → 2 is the map that evaluates f, F on the pair
   u, y and checks the implication between relations.


Valeria de Paiva (Rearden Commerce University of Birmingham )      March, 2012   33 / 46
Structure of PV


  More structure in GSets



   By reverse engineering from the desired adjunction, we obtain the ‘right’
   tensor product in the category.
   The tensor product of A and B is the object (U × V, Y U × X V , prod),
   where prod : (U × V ) × (Y U × X V ) → 2 is the relation that first evaluates
   a pair (ϕ, ψ) in Y U × X V on pairs (u, v) and then checks the
   (co)-dialectica condition.
   Blass discusses a mixture of the two tensor products, which hasn’t showed
   up in the work on Linear Logic, but which was apparently useful in Set
   Theory.




Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   34 / 46
Structure of PV


  An easy theorem of GSets/PV...


   Because it’s fun, let us calculate that the reverse engineering worked...

                            A ⊗ B → C if and only if A → [B → C]

                  U × V α ⊗ βX V × Y U                                  U     α      X
                                             6                                        6

                    f           ⇓              (g1 , g2 )                     ⇓
                        ?                                               ?
                                                                    V
                     W          γ          Z                    W       × Y Zβ → γ V × Z




Valeria de Paiva (Rearden Commerce University of Birmingham )                     March, 2012   35 / 46
More Dialecticas


  More Original Dialectica Categories


   My thesis has four chapters, four main definitions and four main theorems.
   The first two chapters are about the “original" dialectica categories.
   Theorem (V de Paiva, 1987)
   If C is a ccc with stable, disjoint coproducts, then Dial(C) has products,
   tensor products, units and a linear function space (1, ×, ⊗, I, →) and
   Dial(C) is symmetric monoidal closed.

   This means that Dial(C) models Intuitionistic Linear Logic (ILL)
   without modalities. How to get modalities? Need to define a special
   comonad and lots of work to prove theorem 2...




Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   36 / 46
More Dialecticas


  Original Dialectica Categories

   !A must satisfy !A →!A⊗!A, !A ⊗ B →!A, !A → A and !A →!!A,
   together with several equations relating them.
   The point is to define a comonad such that its coalgebras are commutative
   comonoids and the coalgebra and the comonoid structure interact nicely.
   Theorem (V de Paiva, 1987)
   Given C a cartesian closed category with free monoids (satisfying certain
   conditions), we can define a comonad T on Dial(C) such that its Kleisli
   category Dial(C)T is cartesian closed.

   Define T by saying A = (U, X, α) goes to (U, X ∗ , α∗ ) where X ∗ is the free
   commutative monoid on X and α∗ is the multiset version of α.
   Loads of calculations prove that the linear logic modalitiy ! is well-defined
   and we obtain a full model of ILL and IL, a posteriori of CLL.
   Construction generalized in many ways, cf. dePaiva, TAC, 2006.

Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   37 / 46
More Dialecticas


  What is the point of (these) Dialectica categories?


   First, the construction ends up as a model of Linear Logic, instead of
   constructive logic.This allows us to see where the assumptions in Godel’s
   argument are used (Dialectica still a bit mysterious...)
   It justifies linear logic in terms of a more traditional logic tool and
   conversely explains the more traditional work in terms of a ‘modern’ (linear,
   resource conscious) decomposition of concerns.
   Theorems(87/89): Dialectica categories provide models of linear logic as
   well as an internal representation of the dialectica interpretation. Modeling
   the exponential ! is hard, first model to do it. Still (one of) the best ones.




Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   38 / 46
More Dialecticas


  Dialectica categories: 20 years later...

   It is pretty: produces models of Intuitionistic and classical linear logic and
   special connectives that allow us to get back to usual logic.
   Extended it in a number of directions:
   a robust proof can be pushed in many ways...

   used in CS as a model of Petri nets (more than 3 phds),
   it has a non-commutative version for Lambek calculus (linguistics),
   it has been used as a model of state (with Correa and Hausler, Reddy ind.)
   Also in Categorical Logic: generic models (with Schalk04) of Linear Logic,
   Dialectica interp of Linear Logic and Games (Shirahata and Oliveira)
   fibrational versions (B. Biering and P. Hofstra).
   Most recently and exciting:
   Formalization of partial compilers: correctness of MapReduce in MS .net
   frameworks via DryadLINQ, “The Compiler Forest", M. Budiu, J. Galenson,
   G. Plotkin 2011.

Valeria de Paiva (Rearden Commerce University of Birmingham )     March, 2012   39 / 46
More Dialecticas


  Conclusions

   Introduced you to dialectica categories GSets/PV.
   Hinted at Blass and Votjáš use of them for mapping cardinal invariants.
   Uses for Categorical Proof Theory very different from uses in Set Theory
   for cardinal invariants.
   Showed one easy, but essential , theorem in categorical logic.
   But haven’t even started looking at Parametrized Diamond Principles...
   Haven’t even started talking about "lax topological systems" in the sense
   of Vickers, a different connection to Topology.

   Believe it is not a simple coincidence that dialectica categories are useful in
   these disparate areas.
   We’re starting our collaboration, so hopefully real "new" theorems will
   come up.


Valeria de Paiva (Rearden Commerce University of Birmingham )    March, 2012   40 / 46
More Dialecticas


  More Conclusions...


   Working in interdisciplinary areas is hard, but rewarding.
   The frontier between logic, computing, linguistics and categories is a fun
   place to be.
   Mathematics teaches you a way of thinking, more than specific theorems.
   Fall in love with your ideas and enjoy talking to many about them...

   Thanks Samuel, Marcelo and all locals for this lovely meeting.
   Thanks to Charles and Samuel for mentioning my work in connection to
   their stuff on parametrized Diamond principles and MHD’s work...
   and thanks Samuel, Andreas and Thierry for all the effort to bring me here.




Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   41 / 46
More Dialecticas


  References

   Categorical Semantics of Linear Logic for All, Manuscript.
   Dialectica and Chu constructions: Cousins?Theory and Applications of
   Categories, Vol. 17, 2006, No. 7, pp 127-152.
   A Dialectica Model of State. (with Correa and Haeusler). In CATS’96,
   Melbourne, Australia, Jan 1996.
   Full Intuitionistic Linear Logic (extended abstract). (with Martin Hyland).
   Annals of Pure and Applied Logic, 64(3), pp.273-291, 1993.
   Thesis TR: The Dialectica Categories
   http://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-213.html

   A Dialectica-like Model of Linear Logic.In Proceedings of CTCS,
   Manchester, UK, September 1989. LNCS 389
   The Dialectica Categories. In Proc of Categories in Computer Science and
   Logic, Boulder, CO, 1987. Contemporary Mathematics, vol 92, American
   Mathematical Society, 1989
   all available from http://www.cs.bham.ac.uk/~vdp/publications/papers.html


Valeria de Paiva (Rearden Commerce University of Birmingham )                  March, 2012   42 / 46
More Dialecticas


  Functional Interpretations and Gödel’s Dialectica

          Starting with Gödel’s Dialectica interpretation(1958) a series of
          "translation functions" between theories
          Avigad and Feferman on the Handbook of Proof Theory:
                   This approach usually follows Gödel’s original example: first,
                   one reduces a classical theory C to a variant I based on
                   intuitionistic logic; then one reduces the theory I to a
                   quantifier-free functional theory F.

          Examples of functional interpretations:
              Kleene’s realizability
              Kreisel’s modified realizability
              Kreisel’s No-CounterExample interpretation
              Dialectica interpretation
              Diller-Nahm interpretation, etc...

Valeria de Paiva (Rearden Commerce University of Birmingham )     March, 2012   43 / 46
More Dialecticas


  Gödel’s Dialectica Interpretation
   For each formula A of HA we associate a formula of the form
   AD = ∃u∀xAD (u, x) (where AD is a quantifier-free formula of Gödel’s
   system T) inductively as follows: when Aat is an atomic formula, then its
   interpretation is itself.
   Assume we have already defined AD = ∃u∀x.AD (u, x) and
   B D = ∃v∀y.BD (v, y).
   We then define:
          (A ∧ B)D = ∃u, v∀x, y.(AD ∧ BD )
          (A → B)D = ∃f : U → V, F : U × X → Y, ∀u, y.
          ( AD (u, F (u, y)) → BD (f u; y))
          (∀zA)D (z) = ∃f : Z → U ∀z, x.AD (z, f (z), x)
          (∃zA)D (z) = ∃z, u∀x.AD (z, u, x)
   The intuition here is that if u realizes ∃u∀x.AD (u, x) then f (u) realizes
   ∃v∀y.BD (v, y) and at the same time, if y is a counterexample to
   ∃v∀y.BD (v, y), then F (u, y) is a counterexample to ∀x.AD (u, x).
Valeria de Paiva (Rearden Commerce University of Birmingham )    March, 2012   44 / 46
More Dialecticas


  Where is my category theory?




Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   45 / 46
More Dialecticas


  Where is my category theory?




Valeria de Paiva (Rearden Commerce University of Birmingham )   March, 2012   46 / 46

More Related Content

PDF
Dialectica Categories... and Lax Topological Spaces?
PDF
Dialectica Categories Surprising Application: Cardinalities of the Continuum
PDF
Dialectica Categories: the mathematical version
PDF
Pure Algebra to Applied AI: a personal journey
PDF
Negation in the Ecumenical System
PDF
Relevant Dialectica Categories
PDF
Dialectica Categories and Petri Nets
PDF
Going Without: a modality and its role
Dialectica Categories... and Lax Topological Spaces?
Dialectica Categories Surprising Application: Cardinalities of the Continuum
Dialectica Categories: the mathematical version
Pure Algebra to Applied AI: a personal journey
Negation in the Ecumenical System
Relevant Dialectica Categories
Dialectica Categories and Petri Nets
Going Without: a modality and its role

What's hot (20)

PDF
Category Theory for All (NASSLLI 2012)
PDF
Going Without: a modality and its role
PDF
Dialectica Categories and Petri Nets
PDF
Tensor-based Models of Natural Language Semantics
PDF
Constructive Modalities
PDF
Constructive Modalities
PDF
Dialectica Categories for the Lambek Calculus
PDF
Modal Type Theory
PDF
Constructive Modal and Linear Logics
PDF
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
PDF
Dialectica Categories: the Relevant version, Valeria de Paiva
PDF
Dialectica Comonads
PDF
Categorical Explicit Substitutions
PDF
Game Semantics Intuitions
PDF
Compositional Distributional Models of Meaning
PDF
Dialectica Categories for the Lambek Calculus
PDF
Categorical Semantics for Explicit Substitutions
PDF
Propositional Equality, Identity Types and Reversible Rewriting Sequences as ...
PDF
Intuitionistic Modal Logic: fifteen years later
PDF
Logics of Context and Modal Type Theories
Category Theory for All (NASSLLI 2012)
Going Without: a modality and its role
Dialectica Categories and Petri Nets
Tensor-based Models of Natural Language Semantics
Constructive Modalities
Constructive Modalities
Dialectica Categories for the Lambek Calculus
Modal Type Theory
Constructive Modal and Linear Logics
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Dialectica Categories: the Relevant version, Valeria de Paiva
Dialectica Comonads
Categorical Explicit Substitutions
Game Semantics Intuitions
Compositional Distributional Models of Meaning
Dialectica Categories for the Lambek Calculus
Categorical Semantics for Explicit Substitutions
Propositional Equality, Identity Types and Reversible Rewriting Sequences as ...
Intuitionistic Modal Logic: fifteen years later
Logics of Context and Modal Type Theories
Ad

Viewers also liked (20)

PDF
Partial Compilers
PDF
Contexts 4 quantification (CommonSense2013)
PPTX
MSc_thesis
PDF
Paola Zizzi
PDF
On the Computational Complexity of Intuitionistic Hybrid Modal Logic
PDF
Vectorial types, non-determinism and probabilistic systems: Towards a computa...
PDF
Thesis presentation
PDF
Lean Logic for Lean Times: Entailment and Contradiction Revisited
PDF
Portuguese Linguistic Tools: What, Why and How
PDF
Lecture 2: Computational Semantics
PDF
Aggregate Programming through a Soft Modal Logic
PDF
Labelled Variables in Logic Programming: Foundations
PPTX
Theory Generation for Security Protocols
PDF
Lean Logic for Lean Times: Varieties of Natural Logic
PDF
Seeing is Correcting:Linked Open Data for Portuguese
PPTX
Junkbots and computational thinking
PDF
Semantics and Computational Semantics
PDF
Logics and Ontologies for Portuguese Understanding
PDF
Python for Image Understanding: Deep Learning with Convolutional Neural Nets
Partial Compilers
Contexts 4 quantification (CommonSense2013)
MSc_thesis
Paola Zizzi
On the Computational Complexity of Intuitionistic Hybrid Modal Logic
Vectorial types, non-determinism and probabilistic systems: Towards a computa...
Thesis presentation
Lean Logic for Lean Times: Entailment and Contradiction Revisited
Portuguese Linguistic Tools: What, Why and How
Lecture 2: Computational Semantics
Aggregate Programming through a Soft Modal Logic
Labelled Variables in Logic Programming: Foundations
Theory Generation for Security Protocols
Lean Logic for Lean Times: Varieties of Natural Logic
Seeing is Correcting:Linked Open Data for Portuguese
Junkbots and computational thinking
Semantics and Computational Semantics
Logics and Ontologies for Portuguese Understanding
Python for Image Understanding: Deep Learning with Convolutional Neural Nets
Ad

Similar to Dialectica Categories Surprising Application: mapping cardinal invariants (20)

PDF
Dialectica Categories and Cardinalities of the Continuum (March2014)
PDF
Dialectica Categories Revisited
PDF
A Dialectica Model of Relevant Type Theory
PDF
Categorical Proof Theory for Everyone
PDF
Edwardian Proofs as futuristic Programs for Personal Assistants
PDF
Fibrational Versions of Dialectica Categories
PDF
Dialectica and Kolmogorov Problems
PDF
Who's afraid of Categorical models?
PPT
Apmp brazil oct 2017
PDF
Edwardian Proofs as Futuristic Programs
PPT
Apmp brazil oct 2017
PDF
Dialectica Categorical Constructions
PDF
Dialectica Comonoids
PPTX
Rme 2011 presentation quadratics
PDF
Constructive Modal and Linear Logics
PDF
Sierpinska
PDF
Landmarks in representation theory Gruson C.
PDF
Why (categorical) representation theory?
PPTX
The logic(s) of informal proofs (tyumen, western siberia 2019)
PDF
RossellaMarrano_vagueness
Dialectica Categories and Cardinalities of the Continuum (March2014)
Dialectica Categories Revisited
A Dialectica Model of Relevant Type Theory
Categorical Proof Theory for Everyone
Edwardian Proofs as futuristic Programs for Personal Assistants
Fibrational Versions of Dialectica Categories
Dialectica and Kolmogorov Problems
Who's afraid of Categorical models?
Apmp brazil oct 2017
Edwardian Proofs as Futuristic Programs
Apmp brazil oct 2017
Dialectica Categorical Constructions
Dialectica Comonoids
Rme 2011 presentation quadratics
Constructive Modal and Linear Logics
Sierpinska
Landmarks in representation theory Gruson C.
Why (categorical) representation theory?
The logic(s) of informal proofs (tyumen, western siberia 2019)
RossellaMarrano_vagueness

More from Valeria de Paiva (16)

PDF
Logic & Representation 2021
PDF
PLN para Tod@s
PDF
Networked Mathematics: NLP tools for Better Science
PDF
Going Without: a modality and its role
PDF
Problemas de Kolmogorov-Veloso
PDF
Natural Language Inference: for Humans and Machines
PDF
Dialectica Petri Nets
PDF
The importance of Being Erneast: Open datasets in Portuguese
PDF
Semantics and Reasoning for NLP, AI and ACT
PDF
NLCS 2013 opening slides
PDF
Logic and Probabilistic Methods for Dialog
PDF
Gender Gap in Computing 2014
PDF
Categorical Semantics for Explicit Substitutions
PDF
Dialectica and Kolmogorov Problems
PDF
Linear Logic and Constructive Mathematics, after Shulman
PDF
Dialectica amongst friends
Logic & Representation 2021
PLN para Tod@s
Networked Mathematics: NLP tools for Better Science
Going Without: a modality and its role
Problemas de Kolmogorov-Veloso
Natural Language Inference: for Humans and Machines
Dialectica Petri Nets
The importance of Being Erneast: Open datasets in Portuguese
Semantics and Reasoning for NLP, AI and ACT
NLCS 2013 opening slides
Logic and Probabilistic Methods for Dialog
Gender Gap in Computing 2014
Categorical Semantics for Explicit Substitutions
Dialectica and Kolmogorov Problems
Linear Logic and Constructive Mathematics, after Shulman
Dialectica amongst friends

Recently uploaded (20)

PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
August Patch Tuesday
PPTX
1. Introduction to Computer Programming.pptx
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
Getting started with AI Agents and Multi-Agent Systems
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
Architecture types and enterprise applications.pdf
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Hybrid model detection and classification of lung cancer
PDF
Enhancing emotion recognition model for a student engagement use case through...
NewMind AI Weekly Chronicles – August ’25 Week III
observCloud-Native Containerability and monitoring.pptx
A comparative study of natural language inference in Swahili using monolingua...
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Group 1 Presentation -Planning and Decision Making .pptx
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Final SEM Unit 1 for mit wpu at pune .pptx
Hindi spoken digit analysis for native and non-native speakers
DP Operators-handbook-extract for the Mautical Institute
WOOl fibre morphology and structure.pdf for textiles
August Patch Tuesday
1. Introduction to Computer Programming.pptx
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Getting started with AI Agents and Multi-Agent Systems
OMC Textile Division Presentation 2021.pptx
A contest of sentiment analysis: k-nearest neighbor versus neural network
Architecture types and enterprise applications.pdf
Zenith AI: Advanced Artificial Intelligence
Hybrid model detection and classification of lung cancer
Enhancing emotion recognition model for a student engagement use case through...

Dialectica Categories Surprising Application: mapping cardinal invariants

  • 1. Dialectica Categories Surprising Application: mapping cardinal invariants Valeria de Paiva Rearden Commerce University of Birmingham March, 2012 Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 1 / 46
  • 2. Outline Outline 1 Dialectica Categories 2 Computational Complexity 3 Cardinal characteristics 4 Structure of PV 5 More Dialecticas Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 2 / 46
  • 3. Dialectica Categories Introduction I’m a logician professionally, but I feel like an outsider in this conference. Some times being an outsider is a good thing. I reckon that mathematicians should try some more of it, especially with different kinds of mathematics. “There are two ways to do great mathematics. The first way is to be smarter than everybody else. The second way is to be stupider than everybody else – but persistent." – Raoul Bott Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 3 / 46
  • 4. Dialectica Categories A little bit of personal history... Some twenty years ago I finished my PhD thesis "The Dialectica Categories" in Cambridge. My supervisor was Dr Martin Hyland. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 4 / 46
  • 5. Dialectica Categories Dialectica categories came from Gödel’s Dialectica Interpretation The interpretation is named after the Swiss journal Dialectica where it appeared in a special volume dedicated to Paul Bernays 70th birthday in 1958. I was originally trying to provide an internal categorical model of the Dialectica Interpretation. The categories I came up with proved (also) to be a model of Linear Logic... Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 5 / 46
  • 6. Dialectica Categories Dialectica categories are models of Linear Logic Linear Logic was created by Girard (1987) as a proof-theoretic tool: the dualities of classical logic plus the constructive content of proofs of intuitionistic logic. Linear Logic: a tool for semantics of Computing. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 6 / 46
  • 7. Dialectica Categories Dialectica Interpretation: motivations... For Gödel (in 1958) the interpretation was a way of proving consistency of arithmetic. Aim: liberalized version of Hilbert’s programme – to justify classical systems in terms of notions as intuitively clear as possible. Since Hilbert’s finitist methods are not enough (Gödel’s incompleteness theorem and experience with consistency proofs) must admit some abstract notions. G’s approach: computable (or primitive recursive) functionals of finite type. For me (in 1988) an internal way of modelling Dialectica that turned out to produce models of Linear Logic instead of models of Intuitionistic Logic, which were expected... For Blass (in 1995) a way of connecting work of Votjáš in Set Theory with mine and his own work on Linear Logic and cardinalities of the continuum. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 7 / 46
  • 8. Dialectica Categories Dialectica categories: useful for proving what...? Blass (1995) Dialectica categories as a tool for proving inequalities between nearly countable cardinals. Questions and Answers – A Category Arising in Linear Logic, Complexity Theory, and Set Theory in Advances in Linear Logic (ed. J.-Y. Girard, Y. Lafont, and L. Regnier) London Math. Soc. Lecture Notes 222 (1995). Also Propositional connectives and the set theory of the continuum (1995) and the survey Nearly Countable Cardinals. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 8 / 46
  • 9. Dialectica Categories Questions and Answers: The short story Blass realized that my category for modelling Linear Logic was also used by Peter Votjáš for set theory, more specifically for proving inequalities between cardinal invariants and wrote Questions and Answers – A Category Arising in Linear Logic, Complexity Theory, and Set Theory (1995). When we discussed the issue in 1994/95 I simply did not read the sections of the paper on Set Theory. or Computational Complexity. Two years ago I learnt from Samuel about his and Charles work using Blass/Votjáš’ ideas and got interested in understanding the cardinal invariants connections. Late last year we decided that a short visit would be a good way forward. This is a visit to start a collaboration. Hence I will be talking about old results... Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 9 / 46
  • 10. Dialectica Categories Questions and Answers: The categories GSets and PV Is this simply a coincidence? The second dialectica category in my thesis GSets (for Girard’s sets) is the dual of GT the Galois-Tukey connections category in Votjáš work. Blass calls this category PV. The objects of PV are triples A = (U, X, α) where U, X are sets and α ⊆ U × X is a binary relation, which we usually write as uαx or α(u, x). + Blass writes it as (A− , A , A) but I get confused by the plus and minus signs. Two conditions on objects in PV (not the case in GSets): 1. U, X are sets of cardinality at most |R|. 2. The condition in Moore, Hrusák and Dzamonja (MHD) holds: ∀u ∈ U ∃x ∈ X such that α(u, x) and ∀x ∈ X∃u ∈ U such that ¬α(u, x) Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 10 / 46
  • 11. Dialectica Categories Questions and Answers: The category PV In Category Theory morphisms are more important than objects. Given objects A = (U, X, α) and B = (V, Y, β) a map from A to B in GSets is a pair of functions f : U → V and F : Y → X such that α(u, F y) implies β(f u, y). Usually I write maps as U α X 6 f ⇓ F ∀u ∈ U, ∀y ∈ Y α(u, F y) implies β(f u, y) ? V β Y But a map in PV satisfies the dual condition that is β(f u, y) → α(u, F y). Trust set-theorists to create morphisms A → B where the relations go in the opposite direction!... Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 11 / 46
  • 12. Computational Complexity Can we give some intuition for these morphisms? Blass makes the case for thinking of problems in computational complexity. Intuitively an object of GSets or PV (U, X, α) can be seen as representing a problem. The elements of U are instances of the problem, while the elements of X are possible answers to the problem instances. The relation α say whether the answer is correct for that instance of the problem or not. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 12 / 46
  • 13. Computational Complexity Which problems? A decision problem is given by a set of instances of the problem, together with a set of positive instances. The problem is to determine, given an instance whether it is a positive one or not. Examples: 1. Instances are graphs and positive instances are 3-colorable graphs; 2. Instances are Boolean formulas and positive instances are satisfiable formulas. A many-one reduction from one decision problem to another is a map sending instances of the former to instances of the latter, in such a way that an instance of the former is positive if and only its image is positive. An algorithm computing a reduction plus an algorithm solving the latter decision problem can be combined in an algorithm solving the former. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 13 / 46
  • 14. Computational Complexity Computational Complexity 101 A search problem is given by a set of instances of the problem, a set of witnesses and a binary relation between them. The problem is to find, given an instance, some witness related to it. The 3-way colorability decision problem (given a graph is it 3-way colorable?) can be transformed into the 3-way coloring search problem: Given a graph find me one 3-way coloring of it. Examples: 1. Instances are graphs, witnesses are 3-valued functions on the vertices of the graph and the binary relation relates a graph to its proper 3-way colorings 2. Instances are Boolean formulas, witnesses are truth assignments and the binary relation is the satisfiability relation. Note that we can think of an object of PV as a search problem, the set of instances is the set U , the set of witnesses the set X. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 14 / 46
  • 15. Computational Complexity Computational Complexity 101 A many-one reduction from one search problem to another is a map sending instances of the former to instances of the latter, in such a way that an instance of the former is positive if and only its image is positive. An algorithm computing a reduction plus an algorithm solving the latter decision problem can be combined in an algorithm solving the former. We can think of morphisms in PV as reductions of problems. If this intuition is useful, great, if not, carry on thinking simply of sets and a relation and complicated notion of how to map triples to other triples. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 15 / 46
  • 16. Computational Complexity Questions and Answers Objects in PV are only certain objects of GSets, as they have to satisfy the two extra conditions. What happens to the structure of the category when we restrict ourselves to this subcategory? Fact: GSets has products and coproducts, as well as a terminal and an initial object. Given objects of PV, A = (U, X, α) and B = (V, Y, β) the product A × B in GSets is the object (U × V, X + Y, choice) where choice : U × V × (X + Y ) → 2 is the relation sending (u, v, (x, 0)) to α(u, x) and (u, v, (y, 1)) to β(v, y). The terminal object is T = (1, 0, e) where e is the empty relation, e : 1 × 0 → 2 on the empty set. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 16 / 46
  • 17. Computational Complexity Questions and Answers Similarly the coproduct of A and B in GSets is the object (U + V, X × Y, choice) where choice : U + V × (X × Y ) → 2 is the relation sending ((u, 0), x, y) to α(u, x) and ((v, 1), x, y) to β(v, y) The initial object is 0 = (0, 1, e) where e : 0 × 1 → 2 is the empty relation. Now if the basic sets all U, V, X, Y have cardinality up to |R| then (co-)products will do the same. But the MHD condition is a different story. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 17 / 46
  • 18. Computational Complexity The structure of PV Note that neither T or 0 are objects in PV, as they don’t satisfy the MHD condition. ∀u ∈ U, ∃x ∈ X such that α(u, x) and ∀x ∈ X∃u ∈ U such that ¬α(u, x) To satisfy the MHD condition neither U nor X can be empty. Also the object I = (1, 1, id) is not an object of PV, as it satisfies the first half of the MHD condition, but not the second. And the object ⊥ = (1, 1, ¬id) satisfies neither of the halves. The constants of Linear Logic do not fare too well in PV. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 18 / 46
  • 19. Computational Complexity The structure of PV Back to morphisms of PV, the use that is made of the category in applications is simply of the pre-order induced by the morphisms. It is somewhat perverse that here, in contrast to usual categorical logic, A ≤ B ⇐⇒ There is a morphism from B to A Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 19 / 46
  • 20. Computational Complexity Examples of objects in PV 1. The object (N, N, =) where n is related to m iff n = m. To show MHD is satisfied we need to know that ∀n ∈ N∃m ∈ N(n = m), can take m = n. But also that ∀m ∈ N∃k ∈ N such that ¬(m = k). Here we can take k = suc(m). 2. The object (N, N, ≤) where n is related to m iff n ≤ m. 3. The object (R, R, =) where r1 and r2 are related iff r1 = r2 , same argument as 1 but equality of reals is logically much more complicated. 4. The objects (2, 2, =) and (2, 2, =) with usual equality. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 20 / 46
  • 21. Computational Complexity What about GSets? GSets is a category for categorical logic, we have: A ≤ B ⇐⇒ There is a morphism from A to B Examples of objects in GSets: “Truth-value" constants of Linear Logic as discussed T , 0, ⊥ and I. All the PV objects are in GSets. Components of objects such as U, X are not bound above by the cardinality of R. Also the object 2 of Sets plays an important role in GSets, as our relations α are maps into 2, but the objects of the form (2, 2, α) have played no major role in GSets so far. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 21 / 46
  • 22. Cardinal characteristics What have Set Theorists done with PV? Cardinal Characteristics of the Continuum Blass: “One of Set Theory’s first and most important contributions to mathematics was the distinction between different infinite cardinalities, especially countable infinity and non-countable one." Write N for the natural numbers and ω for the cardinality of N. Similarly R for the reals and 2ω for their cardinality. All the cardinal characteristics considered will be smaller or equal to the cardinality of the reals. They are of little interest if the Continuum Hypothesis holds, as then there are no cardinalities between the cardinality of the integers ω and the cardinality of the reals 2ω . But if the continuum hypothesis does NOT hold there are many interesting connections (in general in the form of inequalities) between various characteristics that Votjáš discusses. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 22 / 46
  • 23. Cardinal characteristics Cardinals from Analysis I recall the main definitions that Blass uses in Questions and Answers and his main “theorem": - If X and Y are two subsets of N we say that X splits Y if both X ∩ Y and Y X are infinite. - The splitting number s is the smallest cardinality of any family S of subsets of N such that every infinite subset of N is split by some element of S. Recall the Bolzano-Weierstrass Theorem: Any bounded sequence of real numbers (xn )n∈N has a convergent subsequence, (xn )n∈A . One can extend the theorem to say: For any countably bounded many sequences of real numbers xk = (xkn )n∈N there is a single infinite set A ⊆ N such that the subsequences indexed by A, (xkn )n∈A all converge. If one tries to extend the result for uncountably many sequences s above is the first cardinal for which the analogous result fail. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 23 / 46
  • 24. Cardinal characteristics Cardinals from Analysis - If f and g are functions N → N, we say that f dominates g if for all except finitely many n’s in N, f (n) ≤ g(n). - The dominating number d is the smallest cardinality of any family D contained in NN such that every g in NN is dominated by some f in D. - The bounding number b is the smallest cardinality of any family B ⊆ NN such that no single g dominates all the members of B. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 24 / 46
  • 25. Cardinal characteristics Connecting Cardinals to the Category Blass “theorems” : We have the following inequalities ω ≤ s ≤ d ≤ 2ω ω ≤ b ≤ r ≤ rσ ≤ 2ω b≤d The proofs of these inequalities use the category of Galois-Tukey connections and the idea of a "norm" of an object of PV. (and a tiny bit of structure of the category...) Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 25 / 46
  • 26. Cardinal characteristics The structure of the category PV Given an object A = (U, X, α) of PV its "norm" ||A|| is the smallest cardinality of any set Z ⊆ X sufficient to contain at least one correct answer for every question in U . Blass again: “It is an empirical fact that proofs between cardinal characteristics of the continuum usually proceed by representing the characteristics as norms of objects in PV and then exhibiting explicit morphisms between those objects.” One of the aims of our proposed collaboration is to explain this empirical fact, preferably using categorical tools. Haven’t done it, yet. So will try to explain some of the easy instances. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 26 / 46
  • 27. Structure of PV The structure of PV Proposition[Rangel] The object (R, R, =) is maximal amongst objects of PV. Given any object A = (U, X, α) of PV we know both U and X have cardinality small than |R|. In particular this means that there is an injective function ϕ : U → R. (let ψ be its left inverse, i.e ψ(ϕu) = u) Since α is a relation α ⊆ U × X over non-empty sets, if one accepts the Axiom of Choice, then for each such α there is a map f : U → X such that for all u in U , uαf (u). Need a map Φ : R → X such that U α X 6 ϕ ⇑ Φ ∀u ∈ U, ∀r ∈ R (ϕu = r) → α(u, Φr) ? R = R Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 27 / 46
  • 28. Structure of PV The structure of PV Axiom of Choice is essential Given cardinality fn ϕ : U → R, let ψ be its left inverse, ψ(ϕu) = u, for all u ∈ U . Need a map Φ : R → X such that U α X 6 ϕ ⇑ Φ ∀u ∈ U, ∀r ∈ R (ϕu = r) → α(u, Φr) ? R = R Let u and r be such that ϕu = r and define Φ as ψ ◦ f . Since ϕu = r can apply Φ to both sides to obtain Φ(ϕ(u)) = Φ(r). Substituting Φ’s definition get f (ψ(ϕu))) = Φ(r). As ψ is left inverse of ϕ (ψ(ϕu) = u) get f u = Φ(r). Now the definition of f says for all u in U uαf u, which is uαΦr holds, as desired. (Note that we did not need the cardinality function for X.) Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 28 / 46
  • 29. Structure of PV Fun meeting somewhere else Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 29 / 46
  • 30. Structure of PV The structure of PV Proposition[Rangel] The object (R, R, =) is minimal amongst objects of PV. This time we use the cardinality function ϕ : X → R for X. We want a map in PV of the shape: R = R 6 Φ ⇑ ϕ ∀r ∈ R, ∀x ∈ X α(Φr, x) → (r = ϕx) ? U α X Now using Choice again, given the relation α ⊆ U × X we can fix a function g : X → U such that for any x in X g(x) is such that ¬g(x)αx. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 30 / 46
  • 31. Structure of PV The structure of PV Axiom of Choice is essential Given cardinality fn ϕ : X → R, let ψ : R → X be its left inverse, ψ(ϕx) = x, for all x ∈ X. Need a map Φ : R → U such that R = R 6 Φ ⇑ ϕ ∀r ∈ R, ∀x ∈ X α(Φr, x) → ¬(ϕx = r) ? U α X Exactly the same argument goes through. Let r and x be such that ϕx = r and define Φ as ψ ◦ g. Since ϕx = r can apply Φ to both sides to obtain Φ(ϕ(x)) = Φ(r). Substituting Φ’s definition get g(ψ(ϕx))) = Φ(r). As ψ is left inverse of ϕ, (ψ(ϕx) = x) get gx = Φ(r). But the definition of g says for all x in X ¬gxαx, which is ¬α(Φr, x) holds. Not quite the desired, unless you’re happy with RAA. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 31 / 46
  • 32. Structure of PV More structure of GSets Given objects A and B of GSets we can consider their tensor products. Actually two different notions of tensor products were considered in GSets, but only one has an associated internal-hom. (Blass considered also a mixture of the two tensor products of GSets, that he calls a sequential tensor product.) Having a tensor product with associated internal hom means that we have an equation like: A ⊗ B → C ⇐⇒ A → (B → C) Can we do the same for PV? Would it be useful? The point is to check that the extra conditions on PV objects are satisfied. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 32 / 46
  • 33. Structure of PV Tensor Products in GSets Given objects A and B of GSets we can consider a preliminary tensor product, which simply takes products in each coordinate. Write this as A B = (U × V, X × Y, α × β) This is an intuitive construction to perform, but it does not provide us with an adjunction. To "internalize" the notion of map between problems, we need to consider the collection of all maps from U to V , V U , the collection of all maps from Y to X, X Y and we need to make sure that a pair f : U → V and F : Y → X in that set, satisfies our dialectica (or co-dialectica) condition: ∀u ∈ U, y ∈ Y, α(u, F y) ≤ β(f u, y) (respectively ≥) This give us an object (V U × X Y , U × Y, eval) where eval : V U × X Y × (U × Y ) → 2 is the map that evaluates f, F on the pair u, y and checks the implication between relations. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 33 / 46
  • 34. Structure of PV More structure in GSets By reverse engineering from the desired adjunction, we obtain the ‘right’ tensor product in the category. The tensor product of A and B is the object (U × V, Y U × X V , prod), where prod : (U × V ) × (Y U × X V ) → 2 is the relation that first evaluates a pair (ϕ, ψ) in Y U × X V on pairs (u, v) and then checks the (co)-dialectica condition. Blass discusses a mixture of the two tensor products, which hasn’t showed up in the work on Linear Logic, but which was apparently useful in Set Theory. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 34 / 46
  • 35. Structure of PV An easy theorem of GSets/PV... Because it’s fun, let us calculate that the reverse engineering worked... A ⊗ B → C if and only if A → [B → C] U × V α ⊗ βX V × Y U U α X 6 6 f ⇓ (g1 , g2 ) ⇓ ? ? V W γ Z W × Y Zβ → γ V × Z Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 35 / 46
  • 36. More Dialecticas More Original Dialectica Categories My thesis has four chapters, four main definitions and four main theorems. The first two chapters are about the “original" dialectica categories. Theorem (V de Paiva, 1987) If C is a ccc with stable, disjoint coproducts, then Dial(C) has products, tensor products, units and a linear function space (1, ×, ⊗, I, →) and Dial(C) is symmetric monoidal closed. This means that Dial(C) models Intuitionistic Linear Logic (ILL) without modalities. How to get modalities? Need to define a special comonad and lots of work to prove theorem 2... Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 36 / 46
  • 37. More Dialecticas Original Dialectica Categories !A must satisfy !A →!A⊗!A, !A ⊗ B →!A, !A → A and !A →!!A, together with several equations relating them. The point is to define a comonad such that its coalgebras are commutative comonoids and the coalgebra and the comonoid structure interact nicely. Theorem (V de Paiva, 1987) Given C a cartesian closed category with free monoids (satisfying certain conditions), we can define a comonad T on Dial(C) such that its Kleisli category Dial(C)T is cartesian closed. Define T by saying A = (U, X, α) goes to (U, X ∗ , α∗ ) where X ∗ is the free commutative monoid on X and α∗ is the multiset version of α. Loads of calculations prove that the linear logic modalitiy ! is well-defined and we obtain a full model of ILL and IL, a posteriori of CLL. Construction generalized in many ways, cf. dePaiva, TAC, 2006. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 37 / 46
  • 38. More Dialecticas What is the point of (these) Dialectica categories? First, the construction ends up as a model of Linear Logic, instead of constructive logic.This allows us to see where the assumptions in Godel’s argument are used (Dialectica still a bit mysterious...) It justifies linear logic in terms of a more traditional logic tool and conversely explains the more traditional work in terms of a ‘modern’ (linear, resource conscious) decomposition of concerns. Theorems(87/89): Dialectica categories provide models of linear logic as well as an internal representation of the dialectica interpretation. Modeling the exponential ! is hard, first model to do it. Still (one of) the best ones. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 38 / 46
  • 39. More Dialecticas Dialectica categories: 20 years later... It is pretty: produces models of Intuitionistic and classical linear logic and special connectives that allow us to get back to usual logic. Extended it in a number of directions: a robust proof can be pushed in many ways... used in CS as a model of Petri nets (more than 3 phds), it has a non-commutative version for Lambek calculus (linguistics), it has been used as a model of state (with Correa and Hausler, Reddy ind.) Also in Categorical Logic: generic models (with Schalk04) of Linear Logic, Dialectica interp of Linear Logic and Games (Shirahata and Oliveira) fibrational versions (B. Biering and P. Hofstra). Most recently and exciting: Formalization of partial compilers: correctness of MapReduce in MS .net frameworks via DryadLINQ, “The Compiler Forest", M. Budiu, J. Galenson, G. Plotkin 2011. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 39 / 46
  • 40. More Dialecticas Conclusions Introduced you to dialectica categories GSets/PV. Hinted at Blass and Votjáš use of them for mapping cardinal invariants. Uses for Categorical Proof Theory very different from uses in Set Theory for cardinal invariants. Showed one easy, but essential , theorem in categorical logic. But haven’t even started looking at Parametrized Diamond Principles... Haven’t even started talking about "lax topological systems" in the sense of Vickers, a different connection to Topology. Believe it is not a simple coincidence that dialectica categories are useful in these disparate areas. We’re starting our collaboration, so hopefully real "new" theorems will come up. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 40 / 46
  • 41. More Dialecticas More Conclusions... Working in interdisciplinary areas is hard, but rewarding. The frontier between logic, computing, linguistics and categories is a fun place to be. Mathematics teaches you a way of thinking, more than specific theorems. Fall in love with your ideas and enjoy talking to many about them... Thanks Samuel, Marcelo and all locals for this lovely meeting. Thanks to Charles and Samuel for mentioning my work in connection to their stuff on parametrized Diamond principles and MHD’s work... and thanks Samuel, Andreas and Thierry for all the effort to bring me here. Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 41 / 46
  • 42. More Dialecticas References Categorical Semantics of Linear Logic for All, Manuscript. Dialectica and Chu constructions: Cousins?Theory and Applications of Categories, Vol. 17, 2006, No. 7, pp 127-152. A Dialectica Model of State. (with Correa and Haeusler). In CATS’96, Melbourne, Australia, Jan 1996. Full Intuitionistic Linear Logic (extended abstract). (with Martin Hyland). Annals of Pure and Applied Logic, 64(3), pp.273-291, 1993. Thesis TR: The Dialectica Categories http://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-213.html A Dialectica-like Model of Linear Logic.In Proceedings of CTCS, Manchester, UK, September 1989. LNCS 389 The Dialectica Categories. In Proc of Categories in Computer Science and Logic, Boulder, CO, 1987. Contemporary Mathematics, vol 92, American Mathematical Society, 1989 all available from http://www.cs.bham.ac.uk/~vdp/publications/papers.html Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 42 / 46
  • 43. More Dialecticas Functional Interpretations and Gödel’s Dialectica Starting with Gödel’s Dialectica interpretation(1958) a series of "translation functions" between theories Avigad and Feferman on the Handbook of Proof Theory: This approach usually follows Gödel’s original example: first, one reduces a classical theory C to a variant I based on intuitionistic logic; then one reduces the theory I to a quantifier-free functional theory F. Examples of functional interpretations: Kleene’s realizability Kreisel’s modified realizability Kreisel’s No-CounterExample interpretation Dialectica interpretation Diller-Nahm interpretation, etc... Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 43 / 46
  • 44. More Dialecticas Gödel’s Dialectica Interpretation For each formula A of HA we associate a formula of the form AD = ∃u∀xAD (u, x) (where AD is a quantifier-free formula of Gödel’s system T) inductively as follows: when Aat is an atomic formula, then its interpretation is itself. Assume we have already defined AD = ∃u∀x.AD (u, x) and B D = ∃v∀y.BD (v, y). We then define: (A ∧ B)D = ∃u, v∀x, y.(AD ∧ BD ) (A → B)D = ∃f : U → V, F : U × X → Y, ∀u, y. ( AD (u, F (u, y)) → BD (f u; y)) (∀zA)D (z) = ∃f : Z → U ∀z, x.AD (z, f (z), x) (∃zA)D (z) = ∃z, u∀x.AD (z, u, x) The intuition here is that if u realizes ∃u∀x.AD (u, x) then f (u) realizes ∃v∀y.BD (v, y) and at the same time, if y is a counterexample to ∃v∀y.BD (v, y), then F (u, y) is a counterexample to ∀x.AD (u, x). Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 44 / 46
  • 45. More Dialecticas Where is my category theory? Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 45 / 46
  • 46. More Dialecticas Where is my category theory? Valeria de Paiva (Rearden Commerce University of Birmingham ) March, 2012 46 / 46