Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Example of terminating function that are not accepted by Coq

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Example of terminating function that are not accepted by Coq


Chronological Thread 
  • From: Klaus Ostermann <klaus.ostermann AT uni-tuebingen.de>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Example of terminating function that are not accepted by Coq
  • Date: Wed, 19 Dec 2018 15:34:11 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=klaus.ostermann AT uni-tuebingen.de; spf=Pass smtp.mailfrom=klaus.ostermann AT uni-tuebingen.de; spf=None smtp.helo=postmaster AT mx04.uni-tuebingen.de
  • Ironport-phdr: 9a23:pYG85RSZmR3UXpxXcfLyuBueAdpsv+yvbD5Q0YIujvd0So/mwa69YxyN2/xhgRfzUJnB7Loc0qyK6/CmATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfbB/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4qF2QxHqlSgHLSY0/nzJhMx+jKxVoxyvqBJwzIHWfI6YL+Bxcr/HcN4AWWZMUMRcWipcCY28dYsPCO8BMP5doYn5vVQOsAC+DhS1CuP01j9HmGX23agg3OQnFwHNwQstH9EKsHvOsdX1L70eUeeuzKnU0zrDdfZW1i376IjOaR0hvPeMXbNpfcrN1EkgCRjKjlSWqYzqITyV0P4BvHWF4Od5U++klm0pqxlprzSyyMohhZPFipwPxl3E7yl13ps5KNKgREN0YNOoCptduzuEO4Z2Qs4uWX9ktSg6x7AApJW1ZjIFyI49yB7ac/GHc5aH4hbkVOuJJDd5i25pdb2lixav90igy/TwVtWp0FlUtSVFk9/Mtn8T2BzV8MSIV+Vy8l+g2TaJyQ/T9vlJLV06mKfUMZIt3KQ8m5oJvUjdAyP7l136jKqMeUUl/uio5f7nYrLjppKENI90jhvxMrk1msClBuQ4KRQOUHaB+eS5zrLj+0v5Ta5Xjv0wk6nVqYzaJdkFqaGiAg9V1Ikj5Ai5Dzu8zdsXg2ELLEhZdxKfk4jpJ1bOLejkAve4mlSgiStkx/TbPrL6GZjNNXjCkLL5fbln8UJcyQwzzcpe551OEL0BLujzCQfNs4nTCQZ8OAipyc7mDs9838UQQzGhGKicZYDWuEKTrsU0P+SWYYYTvn6pKPws+uWoimQllEUYdK+v9YYRaTWkA/lsIkOWbHyqjtpXQjRChRY3UOG/0A7KajVUfXvnB/tttAF+M5qvCML4fq7ohbWA2CmhGZgPNjJbDFHJDWrlfYSCVPoKLi6fcJY4zm40EIO5Qopk7imA8RfgwuM3fPfS+2gEqJ/p1d566uuVmRxgrWUpXfTY6HmESiRPpk1NRzIy2/ok80ltkgvFzK55xuBFGNZS4fxEVEE2OMyEwg==
  • Openpgp: preference=signencrypt

Am 19.12.18 um 15:13 schrieb Xuanrui Qi:
It is well known and proven that total languages do not have self interpreters (because you can't prove a calculus's termination in itself),
I think the applicability of that result to Coq is not completely obvious. You could argue that, for an interpreter, you'd
need a meta-function "quote" that takes a term of type t to type Rep t (for some type constructor Rep", and a function
"eval : forall t, Rep t -> t" or something like that.

However, with that specification, choosing quote, Rep, and eval to all be identity functions would constitute a
(useless) interpreter of Coq in Coq. Obviously you want your representation of terms to be somehow more informative
than the term itself, but it is not clear what properties a proper representation of terms should have to "count"
as being a self-interpreter.

Klaus



Archive powered by MHonArc 2.6.18.

Top of Page