Not signed in (Sign In)

Not signed in

Want to take part in these discussions? Sign in if you have an account, or apply for one below

  • Sign in using OpenID

Site Tag Cloud

2-category 2-category-theory abelian-categories adjoint algebra algebraic algebraic-geometry algebraic-topology analysis analytic-geometry arithmetic arithmetic-geometry book bundles calculus categorical categories category category-theory chern-weil-theory cohesion cohesive-homotopy-type-theory cohomology colimits combinatorics complex complex-geometry computable-mathematics computer-science constructive cosmology deformation-theory descent diagrams differential differential-cohomology differential-equations differential-geometry digraphs duality elliptic-cohomology enriched fibration foundation foundations functional-analysis functor gauge-theory gebra geometric-quantization geometry graph graphs gravity grothendieck group group-theory harmonic-analysis higher higher-algebra higher-category-theory higher-differential-geometry higher-geometry higher-lie-theory higher-topos-theory homological homological-algebra homotopy homotopy-theory homotopy-type-theory index-theory integration integration-theory k-theory lie-theory limits linear linear-algebra locale localization logic mathematics measure-theory modal modal-logic model model-category-theory monad monads monoidal monoidal-category-theory morphism motives motivic-cohomology nforum nlab noncommutative noncommutative-geometry number-theory of operads operator operator-algebra order-theory pages pasting philosophy physics pro-object probability probability-theory quantization quantum quantum-field quantum-field-theory quantum-mechanics quantum-physics quantum-theory question representation representation-theory riemannian-geometry scheme schemes set set-theory sheaf sheaves simplicial space spin-geometry stable-homotopy-theory stack string string-theory superalgebra supergeometry svg symplectic-geometry synthetic-differential-geometry terminology theory topology topos topos-theory tqft type type-theory universal variational-calculus

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome to nForum
If you want to take part in these discussions either sign in now (if you have an account), apply for one now (if you don't).
  1. I mentioned here that I had made a stub for bipartite graph, and alluded to the fact that there was a small mistake in the original definition which Thomas Holder corrected. For the record, the original definition I wrote was

    A bipartite graph is a graph GG equipped with a 2-coloring of its vertices, i.e., equipped with a graph homomorphism f:GK 2f : G \to K_2.

    and then we had this discussion on the page:

    Thomas: This is really what you want ? Normally, being bipartite is property of a graph not a structure. As you define it it amounts to being an object in Grph/K 2Grph/K_2. This might be an (étendue) topos, presumably equivalent to the slice over K 2K_2 of the topos of involutory directed graphs, cf. a related construction in Lawvere 1986 .

    Noam: That’s a good point. I am changing “equipped with a 2-coloring” to “can be 2-colored”, which suggests the property reading (but presumably doesn’t entirely rule out the possibility of a structure reading). Thanks for the reference to Lawvere!

    I recently found a question on mathoverflow about “the category of hypergraphs as a topos”, and got to thinking about whether the original definition that I had sloppily suggested for bipartite graphs actually is a good way of defining hypergraphs. Specifically, as explained at hypergraph (and on Wikipedia), any hypergraph can be canonically transformed into a 2-colored graph and vice versa (so long as we admit hypergraphs with empty hyperedges, or alternatively we assume that graphs have no isolated white vertices). But that suggests defining the category of hypergraphs precisely as the slice category Grph/K 2Grph/K_2 that Thomas mentions above. I believe this is equivalent to the category of hypergraphs Oliver Kullman sketches in that mathoverflow question: a morphism between 2-colored graphs sends black vertices (= hypervertices) to black vertices and white vertices (= hyperedges) to white vertices, while preserving the incidence relation between them.

    Do people agree?

  2. …but the terminal object in this slice category is just a 2-colored K 2K_2, i.e., the hypergraph consisting of one hyperedge incident to one hypervertex, which is different from what Kullmann suggested in the comments. I’m not exactly sure what he meant by “the usual commutativity condition”. If (V,E,h:EP(V))(V,E,h : E \to P(V)) and (V,E,h:EP(V))(V',E',h' : E' \to P(V')) are hypergraphs in that formulation, then I think the right notion of homomorphism is a pair (a:VV,b:EE)(a : V \to V', b : E \to E') together with a 2-cell P(a)hhbP(a) \circ h \Rightarrow h' \circ b rather than an equation. That translates the condition that f:HHf : H \to H' is a hypergraph homomorphism if vev \in e implies f(v)f(e)f(v) \in f(e) for all v,eHv,e \in H.

    • CommentRowNumber3.
    • CommentAuthorThomas Holder
    • CommentTimeSep 26th 2015
    • (edited Sep 26th 2015)

    If you take as vertice set of the terminal object V={*}V=\{\ast\} and as hyper edge label set E={,{*}}E=\{\empty,\{\ast\}\} then Kullmann’s assigment function is h=id 2 *h=id_{2^\ast} i.e. id K 2id_{K_2} = the terminal object of Grph/K 2Grph/K_2, no !?

    Concerning the MO discussion, I have a hunch that the category Kullmann had in mind isn’t really a topos. At some point the question comes up whether a corollary in what I think must be the Carboni-Johnstone paper on Artin glueing is erroneous. Now in that paper some of the claims were indeed wrong but I don’t think the characterization in that corollary was among those because the elephant still believes in that result. Thus your remark on the morphisms is probably on the right track.

    To elaborate on the last part. The relevant category seems to be the Artin gluing of F:SetSetF:Set\to Set with FF the finite power set functor i.e the suggested hypergraph category is SetFSet\downarrow F. The proposed terminal object is (1 𝒜,F(1 𝒜),id:F(1 𝒜)F(1 𝒜))( 1_\mathcal{A},F(1_\mathcal{A}),id:F(1_\mathcal{A})\to{F(1_\mathcal{A})}) with 𝒜=Set\mathcal{A}=Set hence ({*},{,{*}},id {,{*}})(\{\ast\},\{\empty,\{\ast\}\},id_{\{\empty,\{\ast\}\}}). This gives a topos iff FF preserves pullbacks (elephant I, pp.82,177).

    • CommentRowNumber4.
    • CommentAuthorNoam_Zeilberger
    • CommentTimeSep 26th 2015
    • (edited Sep 26th 2015)

    Seen as a 2-colored graph, the terminal object id K 2id_{K_2} of Grph/K 2Grph/K_2 is just the K 2K_2 graph with one vertex colored black and one colored white. So viewing it as a hypergraph, it has only one hyperedge, rather than two. As a 2-colored graph, the hypergraph that Kullmann describes is the union of this one together with an isolated white vertex.

    Just to clarify what I wrote above, by asking for a 2-cell P(a)hhbP(a)\circ h \Rightarrow h'\circ b I meant that for every hyperedge eEe \in E, there is an inclusion P(a)(h(e))h(b(e))P(a)(h(e)) \subseteq h'(b(e)) (i.e., for all eEe \in E and vh(e)v \in h(e), we have a(v)h(b(e))a(v) \in h'(b(e))). I believe with that definition the category is equivalent to Grph/K 2Grph/K_2, but I have to check that.

    Asking for an equality and in particular for the reverse inclusion P(a)hhbP(a)\circ h \supseteq h'\circ b would demand that for every hyperedge e=b(e)e' = b(e) which is in the image of the homomorphism, all of the hypervertices vv' which are incident to ee' are also in the image of the homomorphism v.v=a(v)\exists v.v' = a(v). That condition doesn’t make sense to me as part of the definition of a hypergraph homomorphism, but I will try to find an actual definition somewhere in the literature.

    • CommentRowNumber5.
    • CommentAuthorThomas Holder
    • CommentTimeSep 26th 2015
    • (edited Sep 27th 2015)

    Apparently, I was seduced by the superficial ressemblance between the respective objects. I have no good intuition concerning the hyper-edges or the coloring. But would you agree with the rest, namely that FF is the right functor but the resulting category SetFSet\downarrow F is only a quasi-topos, in any case not a topos !? That seems to me the conclusion of the variuos comments on MO.

    I think that the morphisms in SetFSet\downarrow F are nevertheless bound to yield some reasonable notion of map.

    [add-corr.: as Todd points out below (#7) there is a result in Johnstone-Lack-Sobocinski that says that F\mathcal{B}\downarrow F is a quasitopos for F:𝒜F:\mathcal{A}\to\mathcal{B} between two quasitoposes iff FF preserves pullbacks. Hence SetFSet\downarrow F is not even a quasitopos (cf. #6).]

    • CommentRowNumber6.
    • CommentAuthorTodd_Trimble
    • CommentTimeSep 26th 2015
    • (edited Sep 26th 2015)

    I wish I were following this discussion better, because it sounds interesting. But regarding some points: in the alleged Artin-gluing construction, I am strongly doubtful that the finite-power-set functor preserves pullbacks. A short back-of-envelope calculation indicates that the fiber product of the map !:P fin(X)P fin1\exists !: P_{fin}(X) \to P_{fin} 1 with itself (where !:X1!: X \to 1 is the unique map, and the covariant finite power set functor P finP_{fin} on morphisms f:ABf: A \to B is defined by direct image P fin(f)=fP_{fin}(f) = \exists f) is of size (2 n1) 2+1(2^n - 1)^2 + 1 if XX is of finite size nn. Which is a far cry from the size of P fin(X 2)P_{fin}(X^2), which is 2 n 22^{n^2}.

    I believe what is true though is that P finP_{fin} is a taut functor: preserves inverse images of subobjects. The fact that the full power set functor is taut plays an important role in Paul Taylor’s theory of recursion and well-foundedness.

    Furthermore, consonant with what Mike said in that MO discussion, my instinct is that the category of hypergraphs (as defined in that discussion) is more likely to be a quasitopos. Most categories of graphs that I am familiar with, e.g., sets equipped with a symmetric relation, are in fact quasitoposes. (A somewhat idle musing here is that Artin gluing along a taut functor between toposes is a quasitopos: perhaps that is already known? That would be neat.)

    The last comment by Noam puts me in mind of the distinction between morphisms of P finP_{fin}-coalgebras (which are like simulations) and merely colax morphisms which merely preserve the relation \prec defined by a coalgebra structure, as briefly discussed here. But I should check up on that – just throwing it out there for now.

    Edited: Sorry, Thomas; I hadn’t noticed that you had meanwhile commented. I was in the middle of chauffering my daughter to her dance classes.

    • CommentRowNumber7.
    • CommentAuthorTodd_Trimble
    • CommentTimeSep 26th 2015

    It seems my idle musing was quite wrong, as shown by theorem 13 here.

    • CommentRowNumber8.
    • CommentAuthorThomas Holder
    • CommentTimeSep 26th 2015

    ad #6: you probably haven’t missed much and still answered most of my questions anyway. Why so shy with your back-of-the-envelope-calculation ? Doesn’t the same example work for full PP as well?

    I have added the Johnstone-Lack-Sobocinski paper at Artin gluing.

    • CommentRowNumber9.
    • CommentAuthorNoam_Zeilberger
    • CommentTimeSep 27th 2015
    • (edited Sep 27th 2015)

    There’s a definition of hypergraph homomorphism in Relations and Graphs by Schmidt & Ströhlein, and it’s essentially the one I had in mind. They define a hypergraph as a heterogenous relation HE×VH \subseteq E \times V (describing “incidence” between hyperedges and hypervertices), and a homomorphism (HE×V)(HE×V)(H \subseteq E\times V) \to (H' \subseteq E'\times V') as a pair of functions f e:EEf_e : E \to E', f v:VVf_v : V \to V' which preserve the incidence relation, i.e., eHve\,H\,v implies f e(e)Hf v(v)f_e(e)\,H'\,f_v(v). They define this as a generalization of the case of homogenous relations, which they call “1-graphs” and I believe correspond to “directed loop graphs” in the terminology of {graph} (no multiple edges, but loops are okay). Re: Thomas #5 and Todd #6, the homogenous case would indeed correspond to a colax morphism of coalgebras for the powerset monad. How would you translate that to the heterogenous case? I think one way to describe it is as the category of elements of the functor (× op;P):Set op×Set opCat(\times^\op ; P) : Set^{op} \times Set^{op} \to Cat, where P:Set opCatP : Set^{op} \to Cat sends a set to its partial order of subsets. (By the way, I don’t see a good motivation for restricting hyperedges to be incident to a finite number of hypervertices, as suggested in the mathoverflow question; if you do that then you should also restrict hypervertices to be incident to a finite number of hyperedges, to preserve the perfect edge/vertex duality of hypergraphs.)

    Getting back to my claim that this category (call it \mathcal{H}) is equivalent to Grph/K 2Grph/K_2, I see one issue is what exactly we mean by “GrphGrph”. I was thinking of it as the category of “pseudographs” in the sense of {graph}, but now I realize that for hypergraphs in \mathcal{H}, the corresponding 2-colored graphs are all simple graphs, i.e., any pair of a white vertex and a black vertex can be incident at most once. (Note that 2-coloring a pseudograph forces it to be loop-free, but it could still contain multiple edges.) So, now I’ll claim that SimpGrph/K 2\mathcal{H} \equiv SimpGrph/K_2, but I’m also interested in how to generalize this to the case of 2-colored pseudographs. I guess we should replace relations by spans?

    • CommentRowNumber10.
    • CommentAuthorNoam_Zeilberger
    • CommentTimeSep 27th 2015
    • (edited Sep 27th 2015)

    So to flesh that out, hypergraphs allowing “multiple incidences” could be modelled by the functor category Set Set^{\mathcal{B}}, where =XRY\mathcal{B} = X \leftarrow R \rightarrow Y is the walking span. Likewise, pseudographs can be modelled by the functor category Set 𝒫Set^{\mathcal{P}}, where 𝒫\mathcal{P} is the walking “quiver equipped with an involution exchanging source and target”, i.e., 𝒫\mathcal{P} has two objects X 1,X 0X_1,X_0 and two parallel arrows s,t:X 1X 0s,t : X_1 \to X_0, together with an arrow i:X 1X 1i : X_1 \to X_1 such that i 2=idi^2 = id and si=ts\circ i = t. The K 2K_2 graph lives in Set 𝒫Set^{\mathcal{P}}, and can be defined by

    X 1=X 0=2,s=id,t=¬,i=¬X_1 = X_0 = 2, \quad s = id, t = \neg, i = \neg

    Then my conjecture is that Set Set^{\mathcal{B}} is equivalent to the slice category Set 𝒫/K 2Set^{\mathcal{P}}/K_2.

    • CommentRowNumber11.
    • CommentAuthorThomas Holder
    • CommentTimeSep 28th 2015

    Regarding Set 𝒫/K 2Set^\mathcal{P}/K_2: that is the category I had in mind in the passage that you quote in (#1).

    I imagine that SimpGrphSimpGrph is rather badly behaved as category e.g. it seems to lack a terminal object !? So slicing is already an improvement - on the other hand it seems to me that you have to deduce all categorical properties of SimpGrph/K 2SimpGrph/K_2 by foot now. So isn’t this just a high brow way to restate the fact that 2-colored graphs correspond to hypergraphs !?

    My point in (#5) was that SetFSet\downarrow F should be canonically related to Grph/K 2Grph/K_2 assuming this to be HypGrphHypGrph, not that it was HypGrphHypGrph. A point that I still consider worth thinking about if one takes FF the full covariant powerset functor provided you like the objects in SetFSet\downarrow F as hypergraphs.

    By the way, I think that ’directed loop graphs’ are just the ¬¬\neg\neg-separated quivers described here.

    A last suggestion, it might be well worthwhile looking if there already exists in the literature a species of hypergraphs.

  3. I imagine that SimpGrphSimpGrph is rather badly behaved as category e.g. it seems to lack a terminal object

    That’s right – luckily, it looks like we can actually get by with the larger category of “loop graphs”, i.e., symmetric relations, which I believe is cartesian closed. The terminal object in LoopGrphLoopGrph is the equality relation on 1, corresponding to the one vertex loop. Moreover, K 2K_2 lives inside (as the disequality relation on 2), and taking the slice LoopGrph/K 2LoopGrph/K_2 still recovers the category of “simple hypergraphs” = heterogenous relations, owing to the fact that 2-coloring a graph rules out the possibility of loops.

    So isn’t this just a high brow way to restate the fact that 2-colored graphs correspond to hypergraphs !?

    With this starting point I think that the equivalence has more punch: slicing into disequality takes you from symmetric relations to heterogenous relations.

    • CommentRowNumber13.
    • CommentAuthorThomas Holder
    • CommentTimeOct 1st 2015
    • (edited Oct 1st 2015)

    Your remark on slicing into inequality gives an interesting point of view!

    I see at category of simple graphs that LoopgrphLoopgrph happens to be a quasitopos (cf. Todd in #6) and hence so is Loopgrph/K 2Loopgrph/K_2. This suggests that it corresponds to Sep ¬¬(Set 𝒫/K 2)Sep_{\neg\neg}(Set^\mathcal{P}/K_2) assuming this to be a way to ’separate’ graphs.

    It would be now interesting to see how Lawvere’s construction fits in. He takes as “B-partite graphs” those EBE\to B in Set Δ 1 op/BSet^{\Delta_1^{op}}/B such the pullback (in Set Δ 1 opSet^{\Delta_1^{op}}) along EB\flat E\to B yields (EB)\flat(E\to B). He claims that this yields the quivers as petit topos from the slice over the loop. But to what would his topos of K 2K_2-partite graphs correspond to ? Set 𝒫/K 2Set^\mathcal{P}/K_2 as well !? It is kind of interesting to see how natural concepts of graphs are apparently related to his petit-gros story!

  4. So before I saw your comments I went ahead and filled out the article some more. Coming back to #1, I believe the conclusion of this discussion is that hypergraphs should not be defined as 2-colored graphs, but rather that the classical equivalence can be expressed as an equivalence of categories. A very natural way of defining a hypergraph is simply as a span, and then hypergraphs can be organized as a presheaf category Set *Set^{\bullet\leftarrow * \rightarrow \circ}. I see that this is exactly what James Cranch suggested in an answer to the original MO question, but then got tripped up by the finiteness condition. As I said earlier, I don’t understand the motivation for this condition, and in some situations I am interested in it is false.

    I don’t know if anyone has worked out some hypergraph theory using spans, but I think it could be interesting. As I mentioned, the book by Schmidt & Ströhlein takes a relational approach.

    I see at category of simple graphs that LoopgrphLoopgrph happens to be a quasitopos (cf. Todd in #6) and hence so is Loopgrph/K 2Loopgrph/K_2. This suggests that it corresponds to Sep ¬¬(Set 𝒫/K 2)Sep_{\neg\neg}(Set^\mathcal{P}/K_2) assuming this to be a way to ’separate’ graphs.

    I believe that’s right, and that the equivalent category SimpHGrpSimpHGrp corresponds to Sep ¬¬(Set *)Sep_{\neg\neg}(Set^{\bullet\leftarrow * \rightarrow \circ}).

    I will have to look back to the article by Lawvere to understand your second comment.

    • CommentRowNumber15.
    • CommentAuthorThomas Holder
    • CommentTimeOct 1st 2015

    Sorry, that the last part sounded so cryptic, unfortunately the passage in the Lawvere paper will be very dense, too. As you were using more exotic type of graphs, it occurred to me that after all it might be possible to squeeze hypergraphs out of reflexive graphs as well. Such a result would be primarily interesting for Lawvere’s enterprise - and the resulting construction presumably much more involved than your construction.

    Concerning the finiteness condition: it seems to be rather common in combinatorics that people demand uniform (finite) cardinalities of the hyper-edge sets e.g. Bollobás in his combinatorics book defines only r-uniform hypergraphs. So this particular form might be caused by some intended application.

    • CommentRowNumber16.
    • CommentAuthorThomas Holder
    • CommentTimeOct 6th 2015
    • (edited Oct 8th 2015)

    For finger practice, I have computed Set 𝒞 op/K 2Set^{\mathcal{C}^{op}}/K_2 via the formula Set 𝒞 op/K 2Set ( 𝒞K 2) opSet^{\mathcal{C}^{op}}/K_2\cong Set^{(\int_\mathcal{C}K_2)^{op}}. Here 𝒞K 2\int_\mathcal{C}K_2 is the category of elements and I use as blueprint for quivers with an involution the category 𝒞\mathcal{C} with underlying diagram [0][1][0]\rightrightarrows [1]\circlearrowleft . For 𝒞K 2\int_\mathcal{C}K_2 , this yields the following underlying diagram with the obvious compositions * * * *\ast\substack{\nearrow\\ \searrow}\substack{\ast \\ \downarrow\uparrow \\ \ast}\substack{\nwarrow\\ \swarrow}\ast . This is equivalent to the walking cospan ***\ast\rightarrow\ast\leftarrow\ast. Hence Set 𝒞 op/K 2Set (***) opSet *** Set^{\mathcal{C}^{op}}/K_2\cong Set^{(\ast\rightarrow\ast\leftarrow\ast)^{op}}\cong Set^{\ast\leftarrow\ast\rightarrow\ast} as you said.

    [addendum: incidentally, the argument works for the generic arc K:=Hom 𝒟(,[1])K:=Hom_\mathcal{D}(-,[1]) in 𝒟\mathcal{D} , the diagram category [0][1][0]\rightrightarrows [1] underlying quivers, as well with the same result: 𝒟K=***\int_\mathcal{D}K =\ast\rightarrow\ast\leftarrow\ast hence Set 𝒟 op/KSet ***Set^{\mathcal{D}^{op}}/K\cong Set^{\ast\leftarrow\ast\rightarrow\ast} . ]

  5. Nice proof!

    • CommentRowNumber18.
    • CommentAuthorThomas Holder
    • CommentTimeMay 17th 2016

    I’ve added a remark to hypergraph that Set Set^{\bullet\leftarrow\bullet\rightarrow\bullet} is spatial and scattered. I hope I got the subtoposes right though!

    • CommentRowNumber19.
    • CommentAuthorThomas Holder
    • CommentTimeAug 10th 2016
    • (edited Aug 10th 2016)

    I’ve added an Artin gluing analysis of Set Set^{\bullet\leftarrow\bullet\rightarrow\bullet} with fringe functor :Set×SetSet\sqcap\colon Set\times Set\to Set and (X,Y)X×Y(X,Y)\mapsto X\times Y at hypergraph yielding an adjoint string: j j !j *j *:Set𝔾𝕝()j^\circ\dashv j_!\dashv j^\ast \dashv j_\ast \colon Set\to \mathbb{Gl}(\sqcap). It would be nice if somebody could take a look at the last adjunction j j !j^\circ\dashv j_! since it is done mostly by hand without checking all the details.

    • CommentRowNumber20.
    • CommentAuthorMike Shulman
    • CommentTimeAug 10th 2016

    Looks reasonable to me.

    • CommentRowNumber21.
    • CommentAuthorThomas Holder
    • CommentTimeAug 10th 2016

    Thanks ! I probably got a bit mystified by the Artin gluing. If one thinks of the hypergraphs simply as a presheaf topos this is a rather straightforward ΠΔΓB\Pi\dashv\Delta\dashv\Gamma\dashv B string.