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 internal-categories k-theory lie-theory limits linear linear-algebra locale localization logic mathematics measure measure-theory modal modal-logic model model-category-theory monad monads monoidal monoidal-category-theory morphism motives motivic-cohomology 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 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).
    • CommentRowNumber1.
    • CommentAuthorp_l_lumsdaine
    • CommentTimeOct 4th 2009
    I've just added the string diagram formulation to the "Adjunction" article (http://ncatlab.org/nlab/show/adjunction), and would be grateful for a bit of feedback:

    (a) Is this a useful sort of thing to add?

    (b) If so, any thoughts on what other articles would be enhanced by them? Now that I've worked out how to draw string diagrams and extract them to pngs, I might as well do a bunch more!

    A few obvious candidates:
    * "string diagram" itself
    * everything mentioned there, especially symmetric, braided etc. monoidal categories;
    * "monad"
    * (weak) higher variants of monads and adjunctions

    (c) Any comments on, or constructive criticism of, the diagrams? (Too big? Too small? Style?...)
    • CommentRowNumber2.
    • CommentAuthorTobyBartels
    • CommentTimeOct 4th 2009

    (a) Yes, thanks!

    (b) I can't think of any others; if people can, perhaps they should add them to string diagram!

    (c) Separating them by commas and periods, although gramatically sensible, looked a bit funky, so I changed those to bunches of spaces. (That is not very proper, but we can work out a good CSS version once people agree, if they do, that it looks nice this way.)

    • CommentRowNumber3.
    • CommentAuthorEric
    • CommentTimeOct 5th 2009

    I don't know anything about string diagrams (I should learn!) but it looks great.

    • CommentRowNumber4.
    • CommentAuthorp_l_lumsdaine
    • CommentTimeOct 8th 2009
    • (edited Oct 8th 2009)

    (c) Separating them by commas and periods, although gramatically sensible, looked a bit funky, so I changed those to bunches of spaces. (That is not very proper, but we can work out a good CSS version once people agree, if they do, that it looks nice this way.)

    Thanks! I agree that this looks better, and personally I prefer it --- visual clarity over strict grammatical correctness. On the other hand, the convention in published maths for dealing with this issue seems to favour grammatical correctness, in my experience, so I was following that originally; but if more established contributors don't mind the n-Lab breaking that convention, that seems good to me.

    • CommentRowNumber5.
    • CommentAuthorp_l_lumsdaine
    • CommentTimeOct 8th 2009

    OK... I have a few more diagrams ready to go; but I have just a few questions for more experienced users before I put them up.

    As far as I can see, once files have been uploaded, there's no way to delete, replace or rename them without an admin password --- is that right? So if I upload adjunction-unit.png and then realise it has a typo in, I have to upload the correct version as something adjunction-unit-v2.png, change the link in the article text, and leave the bad version gathering dust? (This is why I'm nervously asking these now, before uploading anything more.)

    Also, file naming comventions: there seem to be several different discussions on the forums/lab/cafe about this issue. The most recent I could find was the end of this thread, so I should name an image for the "monad" article something like monad > axioms unlabeled.png --- is that right?

    Thanks :-)

    • CommentRowNumber6.
    • CommentAuthorUrs
    • CommentTimeOct 8th 2009

    Yes, I think this is a genral design idea of the wiki: one never removes individual files, be it entries of whatever, but rather replaces them.

    Then, there is one big button somewhere in the admin interface which says CLEAN UP. Hitting that will make the software look for all orphaned files, those that have no links pointing to them. These then it will delete.

    So the analog of deleting here is removing all links to something.

    As yes, we never cleaned up. (Sort of the way I do it at home...)

    • CommentRowNumber7.
    • CommentAuthorp_l_lumsdaine
    • CommentTimeOct 8th 2009

    Yes, I think this is a genral design idea of the wiki: one never removes individual files, be it entries of whatever, but rather replaces them.

    I'm happy with that principle. But with articles, I can replace/edit the content, consigning the old version to a "history" page; I'd like to know if I can do a similar thing with uploaded files (as iirc one can on MediaWiki). I'm not so worried about what happens to the old version of an image, but I'd like to know if I can keep the current version always at adjunction-unit.png, rather than giving a new name for each revision and ending up with adjunction-unit-v7.5a(small).png or something...

    • CommentRowNumber8.
    • CommentAuthorTobyBartels
    • CommentTimeOct 8th 2009

    As far as I can tell, p l, you are right, both about what really happens, and about what would be nice instead.

    • CommentRowNumber9.
    • CommentAuthorTobyBartels
    • CommentTimeOct 8th 2009

    As for the title format

    monad > axioms unlabeled.png
    

    we never did start doing things that way, despite having a discussion that ended on that note. But perhaps we should; you can show us the way!

    • CommentRowNumber10.
    • CommentAuthorJonAwbrey
    • CommentTimeOct 8th 2009

    I think I saw something somewhere about deleting files … will look in a while …

    • CommentRowNumber11.
    • CommentAuthorAndrew Stacey
    • CommentTimeOct 8th 2009
    • (edited Oct 8th 2009)

    A quick look at the Instiki Instiki reveals that it is possible for users to delete files. The relevant information is at file uploads. But to save you the clicks, here's the proceedure:

    • CommentRowNumber12.
    • CommentAuthorAndrew Stacey
    • CommentTimeOct 8th 2009

    By the way, how are you drawing these diagrams? Can you convert them to SVGs instead of PNGs?

    • CommentRowNumber13.
    • CommentAuthorTobyBartels
    • CommentTimeOct 8th 2009

    According to those instructions, one still needs the system password to delete (a good thing, probably).

    Since files have individual authors, it would be reasonable if, whenever a user uploads a file, they are given the option of putting a password on that file; then that user (or anybody who knows that password) could delete that file. (One could also delete files with the system password, as now.) That solves the problem for users who upload files with typos.

    I expect that this would require a good deal of Instiki hacking, however!

    • CommentRowNumber14.
    • CommentAuthorp_l_lumsdaine
    • CommentTimeOct 9th 2009
    • (edited Oct 9th 2009)

    Thanks for all the help! Several replies below.

    Toby wrote:

    As for the title format monad > axioms unlabeled.png we never did start doing things that way, despite having a discussion that ended on that note. But perhaps we should; you can show us the way!

    I tried; unfortunately, when I try to save an edit containing the new link [[monad > axioms unlabeled.png:pic]], Instiki chokes, and I just get:

    Internal Error An application error occurred while processing your request.

    so for now I'm sticking with using hyphens as separators, and starting each filename with the name of the article it's from. This will lead to slight duplication, eg between "monoid-axioms-unlabeled" and "monad-axioms-unlabeled", but will hopefully keep relationships clear. I hope that's OK for the moment.

    Andrew wrote:

    A quick look at the Instiki Instiki reveals that it is possible for users to delete files. The relevant information is at file uploads.

    Toby wrote:

    According to those instructions, one still needs the system password to delete (a good thing, probably).

    Yep, those instructions were what I'd tried before, and as Toby said, it asked for an admin password. Manual versioning to replace typos should be fine now, anyway.

    Andrew wrote:

    By the way, how are you drawing these diagrams? Can you convert them to SVGs instead of PNGs?

    I'm drawing them in TikZ... so I know it should be possible to get them out as svg, but I'm currently having trouble with that. I get the same error the first writer describes here --- LaTeX chokes when I try to run it with the pgfsys-tex4ht.def driver.

    I'll keep poking around at that, though, and see if I can find anything. I'll also post the TikZ source to my userpage or something at some point.

    Anyhow, enough technical worrying for the moment... monad/monoid diagrams coming momentarily!

    • CommentRowNumber15.
    • CommentAuthorTobyBartels
    • CommentTimeOct 9th 2009
    • (edited Oct 9th 2009)

    monad > axioms unlabeled.png:pic

    Anything with a space in it gives me a 500 error.

    Then again, so does monad>axioms.png:pic; although monad--axioms.png:pic seems to work.

    • CommentRowNumber16.
    • CommentAuthorTobyBartels
    • CommentTimeOct 9th 2009

    I did my testing at Sandbox (doriath); Andrew might be interested in looking at what else I did there just now.

    • CommentRowNumber17.
    • CommentAuthorUrs
    • CommentTimeOct 9th 2009
    This comment is invalid XHTML+MathML+SVG; displaying source. <div> <p>By the way, concerning:</p> <blockquote> (a) Is this a useful sort of thing to add? </blockquote> <p>As Toby already said: Yes! It's great that you are doing this. Thanks!</p> </div>
    • CommentRowNumber18.
    • CommentAuthorAndrew Stacey
    • CommentTimeOct 9th 2009

    Oops! Apologies for missing that password requirement.

    One argument for not allowing users to delete files is that it would break rollbacks. If I upload a file and someone else deletes it then the page can't be rolled back to whatever I had it without me uploading the file again. Renaming has similar implications. This is one reason for using SVG over PNG.

    We're not particularly squashed for space on the server so having a load of stale files around isn't a huge problem, or even duplicates. Of course, whilst it's best to clean up then I think it reasonable that it be done by a Lab Elf.

    So here's a proposal for a system. Put a version number in each of your pictures (sillyPic_v1.png) and increment that each time. Then if we get pushed for space, or just feel like doing a bit of spring cleaning, we can easily see which pictures are replacements for others and simply delete all unneeded old ones (and for backward compatibility, make symlinks of the old to the newest version). If you like, you can let us know here if you think that there are files that could be deleted.

    Incidentally, if two diagrams truly are meant to be the same then I would make them the same file even if that violates the naming convention. Then you don't run the risk of updating one and forgetting to update the other.

    Looking at the script, the character set for valid filenames is [a-zA-Z0-9\-_\. ]. So spaces should work, but > won't. It's possible that deeper in the code there's something that excludes spaces (a string that wasn't quoted when it should be).

    That you use tikz is great. I agree that the tikz->SVG method using tex4ht is lousy. One of my plans for PHPLaTeX is to implement rudimentary tikz support. Send me some samples of your source code, if you would, or put them on your user page and mention it somewhere here.

    • CommentRowNumber19.
    • CommentAuthorDavid_Corfield
    • CommentTimeJul 18th 2012

    Added something about the more spherical Secret Blogging Seminar approach to string diagram.

    • CommentRowNumber20.
    • CommentAuthorUrs
    • CommentTimeJun 20th 2013

    have expanded the list of historical original articles at string diagram, following the current discussion on the CatTheory mailing list.

    If you are an expert on this history, please further edit/expand as need be!

    • CommentRowNumber21.
    • CommentAuthorDavid_Corfield
    • CommentTimeFeb 19th 2014

    Added a reference:

    Gray categories with duals and their diagrams

    John W. Barrett, Catherine Meusburger, Gregor Schaumann

    • CommentRowNumber22.
    • CommentAuthorUrs
    • CommentTimeFeb 19th 2014

    Thanks! I hope to find a free minute to look at it and talk to Catherine.

    (Only just arrived at the workshop. )

    • CommentRowNumber23.
    • CommentAuthorUrs
    • CommentTimeNov 9th 2014
    • (edited Nov 9th 2014)

    have added to the References at string diagram pointers to the higher dimensional “zoom complexes” introduced in

    with animated exposition in

    • CommentRowNumber24.
    • CommentAuthorUrs
    • CommentTimeNov 30th 2019

    Is there a standard/preferable term for string diagrams that evaluate to endomorphisms of the tensor unit?

    In Feynman diagram language these would be the “vacuum diagrams”. Maybe TQFT imagery has percolated sufficiently through the monoidal category theory community that one may assume this term to be understood also here?

    • CommentRowNumber25.
    • CommentAuthorDavid_Corfield
    • CommentTimeNov 30th 2019
    • (edited Nov 30th 2019)

    There’s mention of ‘loops’ but it seems informally, and just as components of diagrams.

    • CommentRowNumber26.
    • CommentAuthorMike Shulman
    • CommentTimeNov 30th 2019

    I’d probably say a “closed” diagram myself, and wouldn’t know what “vacuum” meant. A “loop” I would understand to be just a single circle rather than a more complicated diagram.

    • CommentRowNumber27.
    • CommentAuthorTodd_Trimble
    • CommentTimeNov 30th 2019

    I like “closed diagram” (this also meshes nicely with closed formulas in logic, if we interpret logical formulas in terms of string diagrams).

    I believe I’ve heard “islands” used.

    • CommentRowNumber28.
    • CommentAuthorUrs
    • CommentTimeNov 30th 2019

    Okay, thanks.