From mboxrd@z Thu Jan 1 00:00:00 1970 X-Received: by 2002:a65:5a8b:: with SMTP id c11mr12060717pgt.215.1589148520053; Sun, 10 May 2020 15:08:40 -0700 (PDT) X-BeenThere: homotopytypetheory@googlegroups.com Received: by 2002:a62:7c89:: with SMTP id x131ls3969641pfc.5.gmail; Sun, 10 May 2020 15:08:38 -0700 (PDT) X-Received: by 2002:a63:511d:: with SMTP id f29mr12434784pgb.212.1589148518590; Sun, 10 May 2020 15:08:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589148518; cv=none; d=google.com; s=arc-20160816; b=tF3d1XSV9VYJBVJ0FOWPjfQCuTjPEjIQxh7fvntty1Z7FjBePOUcqvMCTnwjIcvtKW WLuRHEvhbv+un969lF8vUY9MgLhGLZu11PaoyKtdxMad5dhS4/NXDX/kCRqAdTRpULh1 HQj9Qnmqj/SLrTG8ZXyybdurkmTYu78/61FL5Vs5gDBReuaWgzoXqPvVlUKbhPEmEkBw QKlNv2VUgOynEWMHhqdUdeV8oL4EPF3eNUqXqN+sI4jE1XKOOddHh19O+yM91eQeIbRX 1/JzH/mxUZHkNNO8B4miOElXZIbYbV62m5iL0dwpwyPE7goiTNkq1NoYyHLd410XJjh/ 77Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:ironport-sdr; bh=0a2dHRzVROgM1eBi2c7fGEIhxdQwOm/9J9qYYJ8OpBE=; b=DZ2q7CRYe3I5y2pHJVgOVekj95DsZw8S2IKNR6qmrSlEfA3NfshonAoYD9XJlfdAAC bmHFgKiGx/MmVtJVGodG7qxW6TVbUPF7C46vgz74fyR57g3psLLMidr8eDafbD6OC8l+ yn+yzP8Y0+xXGGoI6VRJ1lUztRXCWWbKnkwYHmu3hDc8tJvfkEjvbHuYJUvod+Ej3BJx GfwIXyYgcCt8Lm6QTSOfDDzdL9lQUhUNYSW6qCO1wLDEsAfO9Xk+QXAHdlOEw/OO6Swb IFjL9UGrzFpd/upkru4EHUQ+WCvLOFUDwyrwgrYlP+2P2I43J7StPv/JEKXQckwGafOk GjTw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of joyal...@uqam.ca designates 132.208.246.108 as permitted sender) smtp.mailfrom=joyal...@uqam.ca Return-Path: Received: from mail5.uqam.ca (vra-uqam.uqam.ca. [132.208.246.108]) by gmr-mx.google.com with ESMTP id g23si485209pgi.5.2020.05.10.15.08.38 for ; Sun, 10 May 2020 15:08:38 -0700 (PDT) Received-SPF: pass (google.com: domain of joyal...@uqam.ca designates 132.208.246.108 as permitted sender) client-ip=132.208.246.108; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of joyal...@uqam.ca designates 132.208.246.108 as permitted sender) smtp.mailfrom=joyal...@uqam.ca IronPort-SDR: Qxn1M3Wb01qh+Tw1hZP0m2rqfBGbkPd9PScUDpLnXgDogc6H6I1f4Rm8AVqfOgp3v0HsyTKidc 8+QZz0I0aRVK2msghtZbqmc/Sa3d29YU5qqzLTvIiajHnXY+EzCn+QzDRpz8vYQQNIstPGtPxD 3IH9vE7ds62XRSgISF+CV9utRVZnzIm2IdBEotDbdK3q1TxTYdfL7IfuwUJSsU/sH2buRMdT7x A1O92u5dzjYBS9FW7brUucOO1p+GNifHX2u5CgrX/s3H86nYWtVTYK9MUVDIAE8VocjdVPjkuL Wto= X-IronPort-AV: E=Sophos;i="5.73,377,1583211600"; d="scan'208";a="11999995" Received: from unknown (HELO Billet.gst.uqam.ca) ([132.208.216.73]) by mail7.uqam.ca with ESMTP; 10 May 2020 18:08:37 -0400 Received: from PLI.gst.uqam.ca ([169.254.3.153]) by Billet.gst.uqam.ca ([169.254.5.38]) with mapi id 14.03.0439.000; Sun, 10 May 2020 18:08:36 -0400 From: =?iso-8859-1?Q?Joyal=2C_Andr=E9?= To: Michael Shulman , Nicolai Kraus CC: Thomas Streicher , David Roberts , Thorsten Altenkirch , Steve Awodey , "homotopyt...@googlegroups.com" Subject: RE: [HoTT] Identity versus equality Thread-Topic: [HoTT] Identity versus equality Thread-Index: AQHWIrnt2rpL+UtjL0e4oihqoDCB+qibJxGOgACIG4CAAAS1AIAAPFAA//+/ZaSAAMfxgIAANUUAgAAO4LWAALJlgP//xKOFgABhQICAAHDSgIAAmhfJgAEWX4CAAC1BFIAAfoCA///K+0gANQPiAAAFH8CAAAJAFID//9Ys9w== Date: Sun, 10 May 2020 22:08:35 +0000 Message-ID: <8C57894C7413F04A98DDF5629FEC90B1652F579B@Pli.gst.uqam.ca> References: <67E9DCCA-F9CA-45B7-9AC8-E5A7E94FE9A9@nottingham.ac.uk> <20200507100930.GA9390@mathematik.tu-darmstadt.de> <8C57894C7413F04A98DDF5629FEC90B1652F5334@Pli.gst.uqam.ca> <8C57894C7413F04A98DDF5629FEC90B1652F53A3@Pli.gst.uqam.ca> <20200508064039.GC21473@mathematik.tu-darmstadt.de> <8C57894C7413F04A98DDF5629FEC90B1652F54CC@Pli.gst.uqam.ca> <20200509082829.GA8417@mathematik.tu-darmstadt.de> <8C57894C7413F04A98DDF5629FEC90B1652F55C8@Pli.gst.uqam.ca> <20200509184313.GB28841@mathematik.tu-darmstadt.de> <8C57894C7413F04A98DDF5629FEC90B1652F563A@Pli.gst.uqam.ca> , In-Reply-To: Accept-Language: en-US, en-CA Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [132.208.216.80] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Unfortunately, I must take a break from the present discussion. I would like to thank David, Jon, Micheal, Nicolai, Steve, Thomas, Thorsten= and Ulrik for expressing their view on the problems raised. I feel confident that we are collectively moving toward one or many solutio= na. Best, Andr=E9 ________________________________________ From: Michael Shulman [shu...@sandiego.edu] Sent: Sunday, May 10, 2020 4:22 PM To: Nicolai Kraus Cc: Joyal, Andr=E9; Thomas Streicher; David Roberts; Thorsten Altenkirch; S= teve Awodey; homotopyt...@googlegroups.com Subject: Re: [HoTT] Identity versus equality I'm not sure I understand the meanings of "deep" and "shallow" completely, but the dichotomy seems similar to what we sometimes call "analytic" and "synthetic". Any foundational theory only directly/synthetically represents a few concepts; all others have to be encoded into it "analytically". In ZFC, the synthetic objects are well-founded membership structures; in ETCS the synthetic objects are featureless point-sets and functions; in HoTT the synthetic objects are oo-groupoids. It seems reasonable to me to argue that whenever we use the fundamental objects of the framework we should treat them synthetically, but not expect any other structures to be synthetic. When working in ZFC, it would be perverse to constantly work with well-founded membership structures rather than simply use sets. And when working in HoTT, it would be perverse to work with oo-groupoids defined in terms of set rather than simply use types. But neither ZFC nor HoTT has a synthetic notion of "simplicial oo-groupoid" or "oo-category", so in both cases those structures have to be defined analytically -- the only difference is that the oo-groupoid "ingredients" are in ZFC themselves analytic whereas in HoTT those ingredients are synthetic. On Sun, May 10, 2020 at 12:18 PM Nicolai Kraus wrote: > > In the last paragraph of my message below, the words "deep" and "shallow"= have to be swapped. > > On Sun, May 10, 2020 at 5:51 PM Nicolai Kraus wrote= : >> >> Dear Andr=E9 and everyone, >> >> I feel it's worth pointing out that there are two strategies to express >> "everyday mathematics" in HoTT. In CS-speak, they would probably be >> called "shallow embedding" and "deep embedding". Shallow embedding is >> the "HoTT style", deep embedding is the "pre-HoTT type theory style". >> Shallow means that one uses that the host language shares structure with >> the object one wants to define, while deep means one doesn't. To explain >> what I mean, let's look at the type theoretic definition of a group (a >> 1-group, not a higher group). >> >> Definition using deep embedding: A group is a tuple >> (X,h,e,o,i,assoc,...), where >> X : Type -- carrier >> h : is-0-truncated(X) -- carrier is set >> e : X -- unit >> o : X * X -> X -- composition >> i : X -> X -- inverses >> assoc : (h o g) o f =3D h o (g o f) >> ... [and so on] >> >> Definition using shallow embedding: A group is a pointed connected 1-typ= e. >> >> Fortunately, these definitions are equivalent (via the Eilenberg-McLan >> spaces construction). But they behave differently when we want to work >> with them or change them. It's easy to change the second definition to >> define infinity groups instead of 1-groups (see e.g. arXiv:1802.04315 , >> arXiv:1805.02069, and Ulrik's comment). But it's unclear whether there >> is a nice way for the first definition. The second definition has better >> computational properties than the first. >> >> When you say this: >> >> > But I find it frustrating that I cant do my everyday mathematics with= it. >> > For example, I cannot say >> > >> > (1) Let X:\Delta^{op}---->Type be a simplicial type; >> >> You are referring to shallow embedding. In everyday mathematics, you >> don't say (1) either. You probably say (1) with "Type" replaced by "Set" >> or by "simplicial set". Both of these can be expressed straightforwardly >> in type theory using only (h-)sets (i.e. embedding deeply). >> >> We strive to use shallow embedding as often as possible for the reasons >> in the above example. But let's assume that we *can* say (1) in HoTT, >> using "Type", because we find some encoding that we're reasonably happy >> with; there's a question which I've asked myself before: >> >> Will we not destroy the advantages of deep (over shallow) embedding if >> we fall back to encodings (and thus destroy the main selling point of >> HoTT)? For me, the justification of still using deep embedding is that >> statements using encodings (e.g. "the universe is a higher category) >> might still imply statements which don't use encodings and are >> interesting. However, if we want to develop a theory of certain higher >> structures for it's own sake, then it's not so clear to me whether it's >> really better to use the HoTT-style deep embedding. >> >> Kind regards, >> Nicolai >> >> >> On 09/05/2020 21:18, Joyal, Andr=E9 wrote: >> > Dear Thomas, >> > >> > You wrote >> > >> > <> > for proving and not for computing. >> > But if you haven't mechanized PART of equational reasoning it would be >> > much much more painful than it still is. >> > But that is "only" a pragmatic issue.>> >> > >> > Type theory has very nice features. I wish they could be preserved an= d developped further. >> > But I find it frustrating that I cant do my everyday mathematics with = it. >> > For example, I cannot say >> > >> > (1) Let X:\Delta^{op}---->Type be a simplicial type; >> > (2) Let G be a type equipped with a group structure; >> > (3) Let BG be the classifying space of a group G; >> > (4) Let Gr be the category of groups; >> > (5) Let SType be the category of simplical types. >> > (6) Let Map(X,Y) be the simplicial types of maps X--->Y >> > between two simplicial types X and Y. >> > >> > It is crucial to have (1) >> > For example, a group could be defined to >> > be a simplicial object satisfying the Segal conditions. >> > The classifying space of a group is the colimit of this simplicial obj= ect. >> > The category of groups can be defined to be >> > a simplicial objects satisfiying the Rezk conditions (a complete Segal= space). >> > >> > Is there some aspects of type theory that we may give up as a price >> > for solving these problems ? >> > >> > >> > Best, >> > Andr=E9 >> > >> > ________________________________________ >> > From: Thomas Streicher [stre...@mathematik.tu-darmstadt.de] >> > Sent: Saturday, May 09, 2020 2:43 PM >> > To: Joyal, Andr=E9 >> > Cc: David Roberts; Thorsten Altenkirch; Michael Shulman; Steve Awodey;= homotopyt...@googlegroups.com >> > Subject: Re: [HoTT] Identity versus equality >> > >> > Dear Andr'e, >> > >> >> By the way, if type theory is not very effective in practice, why do = we insist that it should always compute? >> >> The dream of a formal system in which every proof leads to an actual = computation may be far off. >> >> Not that we should abandon it, new discoveries are always possible. >> >> Is there a version of type theory for proving and verifying, less >> >> for computing? >> > In my opinion the currenrly implemented type theories are essentially >> > for proving and not for computing. >> > But if you haven't mechanized PART of equational reasoning it would be >> > much much more painful than it still is. >> > But that is "only" a pragmatic issue. >> > >> >> The notations of type theory are very useful in homotopy theory. >> >> But the absence of simplicial types is a serious obstacle to applicat= ions. >> > In cubical type theory they sort of live well with cubes not being >> > fibrant... They have them as pretypes. But maybe I misunderstand... >> > >> > Thomas >> > >>