Discussion of Homotopy Type Theory and Univalent Foundations
 help / color / mirror / Atom feed
From: Favonia <fav...@gmail.com>
To: Thomas Streicher <stre...@mathematik.tu-darmstadt.de>,
	 Michael Shulman <shu...@sandiego.edu>
Cc: "HomotopyT...@googlegroups.com" <homotopyt...@googlegroups.com>,
	Jesper Cockx <jes...@sikanda.be>
Subject: Re: [HoTT] computing K
Date: Tue, 25 Apr 2017 14:10:48 +0000	[thread overview]
Message-ID: <CAN2iy-RxKSuZb_w7AhOmyuHozidFFqR8ePx3E+wmdxCb2Farcw@mail.gmail.com> (raw)
In-Reply-To: <20170425131743.GB30195@mathematik.tu-darmstadt.de>

[-- Attachment #1: Type: text/plain, Size: 2591 bytes --]

I believe Mike is talking about a restricted version of K which only
applies to types satisfying UIP, not all types. The question is whether a
"weak" K which might not compute can be "strictified" to another K which
does, at least in good models. By the way, my question about the restricted
K was due to Jesper's attempt to have Agda automatically detect types that
admit K (now temporarily disabled). -Favonia

On Tue, Apr 25, 2017 at 9:17 AM Thomas Streicher <
stre...@mathematik.tu-darmstadt.de> wrote:

> In lccc's (actually finite limits cats) there is no problem to have K.
> But K allows one to prove UIP which is in contradiction with UA. So we
> can't have K in all model cat's modelling intensioal TT.
>
> Thomas
>
> > Here is a little observation that may be of interest (thanks to
> > Favonia for bringing this question to my attention).
> >
> > The Axiom K that is provable using unrestricted Agda-style
> > pattern-matching has an extra property: it computes to refl on refl.
> > That is, if we define
> >
> > K: (A : Type) (x : A) (p : x == x) -> p == refl
> > K A x refl = refl
> >
> > then the equation "K A x refl = refl" holds definitionally.  As was
> > pointed out on the Agda mailing list a while ago, this might be
> > considered a problem if one wants to extend Agda's --without-K to
> > allow unrestricted pattern-matching when the types are automatically
> > provable to be hsets, since a general hset apparently need not admit a
> > K satisfying this *definitional* behavior.
> >
> > However (this is the perhaps-new observation), in good
> > model-categorical semantics, such a "computing K" *can* be constructed
> > for any hset.  Suppose we are in a model category whose cofibrations
> > are exactly the monomorphisms, like simplicial sets or any Cisinski
> > model category.  If A is an hset, then the map A -> Delta^*(PA) (which
> > type theoretically is A -> Sigma(x:A) (x=x)) is a weak equivalence.
> > But it is also a split monomorphism, hence a cofibration; and thus an
> > acyclic cofibration.  Therefore, we can define functions by induction
> > on loops in A that have definitionally computing behavior on refl,
> > which is exactly what unrestricted pattern-matching allows.
> >
> > Mike
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Homotopy Type Theory" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to HomotopyTypeThe...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

[-- Attachment #2: Type: text/html, Size: 3299 bytes --]

  reply	other threads:[~2017-04-25 14:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-25  9:46 Michael Shulman
2017-04-25 13:17 ` [HoTT] " Thomas Streicher
2017-04-25 14:10   ` Favonia [this message]
2017-04-25 22:05 ` Martin Escardo
     [not found] ` <f9cd4d85-a186-f228-cdc2-75ea4e434e0e@cs.bham.ac.uk>
2017-04-25 23:08   ` Michael Shulman
2017-04-26 20:40     ` Floris van Doorn
2017-04-26 21:33       ` Floris van Doorn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAN2iy-RxKSuZb_w7AhOmyuHozidFFqR8ePx3E+wmdxCb2Farcw@mail.gmail.com \
    --to="fav..."@gmail.com \
    --cc="homotopyt..."@googlegroups.com \
    --cc="jes..."@sikanda.be \
    --cc="shu..."@sandiego.edu \
    --cc="stre..."@mathematik.tu-darmstadt.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).