[Agda] Komencenta demando.
Thorsten Altenkirch
Thorsten.Altenkirch at nottingham.ac.uk
Thu Mar 3 17:10:54 CET 2016
Hi,
I think bit-merge (you just merge the binary coding) coding is easier to
prove correct then the cantor coding. One of my MSc students verified this
(and other isos) in Agda a while ago. I’ll ask him wether it is ok to
share his work here.
Cheers,
Thorsten
On 02/03/2016, 19:00, "agda-bounces at lists.chalmers.se on behalf of Matteo
Acerbi" <agda-bounces at lists.chalmers.se on behalf of
matteo.acerbi at gmail.com> wrote:
>On Wed, Mar 2, 2016 at 3:58 PM, Serge Leblanc <33dbqnxpy7if at gmail.com>
>wrote:
>> Dear all,
>>
>> I'm trying to prove bijection between ℕ × ℕ and ℕ. Due to (ℕ × ℕ) not
>> decrease, I fail to proof it.
>> [..]
>
>If you're interested, this is how I approached this exercise a while ago:
>
>https://gist.github.com/ma82/ceab499710fecf90eda2
>
>As the name suggests, I used the Bove-Capretta method.
>
>There surely are other approaches, also based on other pairing
>functions (e.g. pair :: Natural -> Natural -> Natural from
>http://math.andrej.com/2009/10/12/constructive-gem-double-exponentials/).
>
>Cheers,
>Matteo
>
>PS. I didn't check the file still works, I haven't had time to compile
>Agda in months.
>_______________________________________________
>Agda mailing list
>Agda at lists.chalmers.se
>https://lists.chalmers.se/mailman/listinfo/agda
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 send it back to me, and immediately delete it.
Please do not use, copy or disclose the information contained in this
message or in any attachment. Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.
This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.
More information about the Agda
mailing list