Discussion of Homotopy Type Theory and Univalent Foundations
 help / color / mirror / Atom feed
From: Thorsten Altenkirch <Thorsten....@nottingham.ac.uk>
To: Richard Williamson <rwilli...@gmail.com>,
	Andrej Bauer <andrej...@andrej.com>
Cc: Alexander Kurz <axh...@gmail.com>,
	"homotopyt...@googlegroups.com" <homotopyt...@googlegroups.com>
Subject: Re: [HoTT] Re: Where is the problem with initiality?
Date: Wed, 6 Jun 2018 15:05:10 +0000	[thread overview]
Message-ID: <D73DC276.AC2AA%psztxa@exmail.nottingham.ac.uk> (raw)
In-Reply-To: <20180605221223.GA3309@richard.richard>



On 06/06/2018, 00:12, "homotopyt...@googlegroups.com on behalf of
Richard Williamson" <homotopyt...@googlegroups.com on behalf of
rwilli...@gmail.com> wrote:

>Alexander is getting a fair bit of stick! I just wanted to add a
>note of support to one aspect of the point I think he is making:
>there is a reason that languages such as Python are widely used
>by perfectly competent programmers who fully understand the
>benefits of typing.

Actually I am teaching Python (by choice) hence I agree to a point.
However, first of all we can express "untyped" constructions in a typed
setting (e.g. an untyped object is a pair of a type code and an element of
the corresponding type). And second the untyped version is only the first
step before I understand what I am doing at which point I am able to make
the concepts involved more precise. In particular in a mathematical
development I would expect that the objects involved are understood and
hence can be given a specific type.

>
>I share the view that there has to be something rather more
>Python-like in syntax than the currently available syntaxes if
>one is to have any hope of having something usable in practise by
>people who just want to get on with the mathematics. I am not
>convinced that this is a purely engineering problem as opposed to
>a theoretical one.
>
>(Yes, Python is not untyped either, but I think the point
>stands).

Actually, Python is dynamically typed, which is why I always compare it to
set theory. Python has predicates to test wether an object belongs to an
arbitrary type. This corresponds to the element relation in set theory. In
contrast, strongly typed languages don't have predicates like this because
you know statically what the type of an object is. In the same way in Type
Theory typing is static hence it doesn't make sense to have an element
relation.

I would think that once I understand the concepts involved in my
construction I should be able to assign static types to them. That is
certainly the case in programming but even more so for mathematical
constructions. 


>
>On Tue, Jun 05, 2018 at 09:52:26AM +0200, Andrej Bauer wrote:
>> Dear Alexander,
>>
>>
>> On Wed, May 30, 2018 at 12:53 PM, Alexander Kurz <axh...@gmail.com>
>>wrote:
>> >
>> > It is crucial that informal mathematics is untyped. The untypedness
>>is what makes it flexible enough for practical purposes. Formalising
>>mathematics in a proof assistant is hard work. And to a large extent
>>this is due to the fact that everything has to be typed.
>> >
>> > If we ever want to get mathematicians to use proof assistants as
>>casually as they use latex, the problem of untyped vs typed mathematics
>>needs to be solved.
>>
>> I think you made there a coiple of intellectual jumps. In order for
>> your statements to have some weight, you need to consider the
>> following questions:
>>
>> (a) What if formalization of mathematics in existing proof assistants
>> is hard for some reason other than typedness?
>>
>> (b) Most proof assistants that have a large user base are typed. Is
>> this is a big conspiracy on part of the designers, or could it be
>> understood as evidence that typed proof assistants have a certain
>> advantage over the untyped ones?
>>
>> (c) You offer LaTeX as an example of good design. I beg to differ.
>>
>> (d) Informal mathematics is very obviously typed, as witnessed by the
>> fact that authors are always carefully explain the types of various
>> symbols they use (or rely on the culturally accepted notations).
>>
>> The Buffon needle example presents absolutely no obstacle to typing.
>> Perhaps you are mixing up *informal* nature of human mathematics with
>> untypedness? Formalizing Buffon's needle requires a great amount of
>> precision (what is a curve? what does it mean to "throw a needle"? how
>> do we cuunt crossings when there are infinitely many?) which is
>> unavoidable so long as we subbscribe to the mathematical method.
>> Typedness has nothing to do with this fact.
>>
>> With kind regards,
>>
>> Andrej
>>
>> --
>> 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.
>
>-- 
>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.




This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please contact the sender and delete the email and
attachment. 

Any views or opinions expressed by the author of this email do not
necessarily reflect the views of the University of Nottingham. Email
communications with the University of Nottingham may be monitored 
where permitted by law.





  reply	other threads:[~2018-06-06 15:05 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-22  5:46 Michael Shulman
2018-05-22 16:47 ` Ambrus Kaposi
2018-05-23 16:26 ` [HoTT] " Thorsten Altenkirch
2018-05-24  5:52   ` Michael Shulman
2018-05-24  8:11     ` Thorsten Altenkirch
2018-05-24  9:53       ` Ambrus Kaposi
2018-05-24 17:26         ` Michael Shulman
2018-05-26  9:21           ` Thomas Streicher
2018-05-26 11:47             ` Michael Shulman
2018-05-26 16:47               ` stre...
2018-05-27  5:14                 ` Bas Spitters
2018-05-28 22:39 ` Michael Shulman
2018-05-29  9:15   ` [HoTT] " Thorsten Altenkirch
2018-05-29 15:15     ` Michael Shulman
2018-05-30  9:33       ` Thomas Streicher
2018-05-30  9:37         ` Thorsten Altenkirch
2018-05-30 10:10           ` Thomas Streicher
2018-05-30 12:08             ` Thorsten Altenkirch
2018-05-30 13:40               ` Thomas Streicher
2018-05-30 14:38                 ` Thorsten Altenkirch
2018-05-30 10:53           ` Alexander Kurz
2018-05-30 12:05             ` Thorsten Altenkirch
2018-05-30 19:07               ` Michael Shulman
2018-05-31 10:06                 ` Thorsten Altenkirch
2018-05-31 11:05                   ` Michael Shulman
2018-05-31 19:02                     ` Alexander Kurz
2018-06-01  9:55                       ` Martin Escardo
2018-06-01 17:07                       ` Martín Hötzel Escardó
2018-06-01 17:43                         ` Eric Finster
2018-06-01 19:55                           ` Martín Hötzel Escardó
2018-06-01 20:59                             ` András Kovács
2018-06-01 21:06                               ` Martín Hötzel Escardó
2018-06-01 21:23                                 ` Michael Shulman
2018-06-01 21:53                                   ` Eric Finster
2018-06-01 22:09                                     ` Michael Shulman
2018-06-02 15:06                                       ` Eric Finster
2018-06-05 20:04                                         ` Michael Shulman
2018-06-02  5:13                                 ` Thomas Streicher
2018-06-01 21:52                               ` Jasper Hugunin
2018-06-01 22:00                                 ` Eric Finster
2018-06-01 21:27                           ` Matt Oliveri
2018-06-02  5:21                             ` Ambrus Kaposi
2018-06-02  6:01                               ` Thomas Streicher
2018-06-02 14:35                           ` Thorsten Altenkirch
2018-05-30 13:30             ` Jon Sterling
2018-06-05  7:52             ` Andrej Bauer
2018-06-05  8:37               ` David Roberts
2018-06-05  9:46                 ` Gabriel Scherer
2018-06-05 22:19                 ` Martín Hötzel Escardó
2018-06-05 22:54                   ` Martín Hötzel Escardó
2018-06-05 22:12               ` Richard Williamson
2018-06-06 15:05                 ` Thorsten Altenkirch [this message]
2018-06-06 19:25                   ` Richard Williamson
2018-05-29 14:00   ` Jon Sterling
2018-05-30 22:35     ` Michael Shulman
2018-05-31 10:48       ` Martín Hötzel Escardó
2018-05-31 11:09         ` 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=D73DC276.AC2AA%psztxa@exmail.nottingham.ac.uk \
    --to="thorsten...."@nottingham.ac.uk \
    --cc="andrej..."@andrej.com \
    --cc="axh..."@gmail.com \
    --cc="homotopyt..."@googlegroups.com \
    --cc="rwilli..."@gmail.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).