Discussion of Homotopy Type Theory and Univalent Foundations
 help / color / mirror / Atom feed
From: Nicolai Kraus <nicolai.kraus@gmail.com>
To: HomotopyTypeTheory@googlegroups.com
Subject: Re: [HoTT] two's complement integers
Date: Thu, 4 Mar 2021 23:16:30 +0000	[thread overview]
Message-ID: <58a0a515-d8fa-4eb2-9555-d3a41fdee728@gmail.com> (raw)
In-Reply-To: <CAOvivQwsn-MLHzw=W5wxZ49Bp+HS9nr261YQJLgQ9E60K2Pcmg@mail.gmail.com>

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

On 04/03/2021 22:05, Michael Shulman wrote:
> I thought for a little bit about whether there is an equivalent
> "lower" inductive version, but nothing immediately occurred to me.  Do
> you have a suggestion?

I'm not sure what the precise thing is that you're looking for because, 
without further specification, any standard definition of Z would 
qualify :-)
The HIT is neat, but wouldn't it in practice behave pretty similar to a 
standard representation via binary lists? E.g. something like Unit + 
Bool * List(Bool), where inl(*) is zero, the first Bool is the sign, and 
you add a 1 in front of the list in order to get a positive integer. 
What's the advantage of the HIT - maybe one can avoid case distinctions?
Nicolai

-- 
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 HomotopyTypeTheory+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/HomotopyTypeTheory/58a0a515-d8fa-4eb2-9555-d3a41fdee728%40gmail.com.

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

  parent reply	other threads:[~2021-03-04 23:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-04 20:43 Michael Shulman
2021-03-04 21:11 ` Martin Escardo
2021-03-04 22:05   ` Michael Shulman
2021-03-04 22:42     ` Martin Escardo
2021-03-04 23:16     ` Nicolai Kraus [this message]
2021-03-05  2:27       ` Michael Shulman
2021-03-05  3:02         ` Jason Gross
2021-03-05  4:41           ` Michael Shulman

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=58a0a515-d8fa-4eb2-9555-d3a41fdee728@gmail.com \
    --to=nicolai.kraus@gmail.com \
    --cc=HomotopyTypeTheory@googlegroups.com \
    /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).