Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Dependent Type Theory vs. Set Theory: Unencoded (direct) vs. encoded (indirect) form of expression

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Dependent Type Theory vs. Set Theory: Unencoded (direct) vs. encoded (indirect) form of expression


Chronological Thread 
  • From: Ken Kubota <mail AT kenkubota.de>
  • To: metamath AT googlegroups.com
  • Cc: coq-club AT inria.fr
  • Subject: [Coq-Club] Dependent Type Theory vs. Set Theory: Unencoded (direct) vs. encoded (indirect) form of expression
  • Date: Mon, 24 Dec 2018 12:32:53 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=mail AT kenkubota.de; spf=Pass smtp.mailfrom=mail AT kenkubota.de; spf=None smtp.helo=postmaster AT plasma4.jpberlin.de
  • Ironport-phdr: 9a23:Yw/FyhxiW1XveU7XCy+O+j09IxM/srCxBDY+r6Qd0uoVKPad9pjvdHbS+e9qxAeQG9mDu7Qc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPYAhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb5Sq06WSm576dzVhDnlDsHOTA+8GHSkMNwjaRbqw+lqxFwx4PYZYeYP+d8cKzAZ9MXXXZOUclMWSJBAIyyYYgBD+QfM+hftITyvUcCrR6kCAmsGO/iyDlFjWL2060g1OQhFBnL0gk+ENIIrX/aqcj1O7wVUeCp1qbD0DLOb/ZM1jf87IjFaRMhru+KXbJzbMre0k4vFx/fgVmKtIPqISqY2+IQuGaV6OpgUPigi28hqwxprTivwcAsiobNho0L0FzL6SJ5wIMtKd2lTU50fMSoH4VNuCGHL4d2Q8UiQ3tpuCkg0LEGt4S7cDARyJQg2h7fceCIfJaG4hLkTuaRLil3iGhjeL2hmxa+6VWvyur9VsWu11ZKtCVFnsHLtnED0xzT7caHSv58/kenxzmPzR7T5fteLUAyi6XbN5gsyaMzmJoLqUnOHTP6lF/ogKKZa0ko4Oil5ub9brjoqJKQL4x5hh3kPqgzlMGzHf40PhUMUmWV4+iwybLu8VP/Tb5XlPM5iLPZv4rfJckDpq62HQtV0oE75hanCzepys8YnXwdI19KYh6HjZDpNErQL/DiCfe/glKsnC12yP/YJrHhA5PNIWbfkLr5frtx91RQxBQ8wNxC/Z5ZCrMMLOj9V0L/rNDYCwU2Mw2ww+bpEtV90YYeVHqKAqCDMaPStUSF5uExLOmKZ48VpS3yK/855/H0l3M2hEEScbGz3ZQLcHC4AuhmI0KBbHXwhdcBCH4GsRY6TOz3k1KPSiVTZna3X6Ik/D43EoOmDYHZRoCsmrONxim7HocFLl1AEU2GRHLhdoGYXKUJZT6bJ8Z9kn8ZU6O8QZQqzxCkuSf1zL1oKufb4CoFrYml399wtNDVjgw4oDxoE9yGgSbKQHtzg3sTATAx2697rAp2zVLE3e9/m+BfCMAA2vVSTw1vNYLA1/coTJf9QAXcZszPR1GhTdGrRzo2S5U+2dgTewF4Fsmrixnf33mWBOoQmqCCAZUo8orT2H/+I8ty0XHbzLJnhF4jEeVVMmjzpaN5vyvODYnVmg3Nkq+rcYwf0SjO6W2E0WPIsEwOA104arnMQX1KPhielt/+/E6XE+73WOYXdzBZwMvHEZNkL9jgjFFIXvDmYYiMYG+3mHq6AgqBgL+BPtOzJzctmR7FAU1BqDg9uG6cPFFiVCSspWHDBjtyHBTjbhG0qLQsmDaAVkYxijqyQQhh2r6yoEdHnfiVUPYagvQGoC0ssTF1GhCx0oCOBg==

Set theory *is* dependent set theory.

This is – as an answer to José's question "that matrices should be dependently typed" – incorrect.
He was asking this question since "Metamath does not use dependent type theory".

Many things can be expressed via the circumlocation of encoding.
But the concept of type theory is to express mathematical ideas naturally (*without* encoding).
Andrews: "allowing mathematical ideas to be expressed precisely with a minimum of circumlocutions"

The key concept of type theory is to represent such dependencies within the syntax (the grammar)
as part of the formal language instead of using artificial constructions such as encoding on top of an existing invariable syntax.
Andrews: "The discussion turns to finding as simple, natural, and expressive a formulation of type theory as possible."

For the same reason, I had argued similarly in the context of Coq in February 2017:
"A second aspect is the question of classical vs. constructive foundations. All 
constructive foundations, including Coq, use the encoding of proofs based on 
the Curry-Howard isomorphism. But the concept of expressiveness yields the 
_natural_ _expression_ of mathematics, hence the desire is not an _encoded_, but 
an _unencoded_ (direct) form of _expression_. With Q0/R0, one can express 
mathematical concepts very naturally."


Kind regards,

Ken Kubota

____________________________________________________

Am 23.12.2018 um 23:40 schrieb Mario Carneiro <di.gama AT gmail.com>:

Set theory *is* dependent set theory. There is no problem encoding dependent types in set theory, and matrix multiplication depends on all the dimensions of the arguments as well as the arguments themselves. A dependent pi type in metamath is df-ixp (the indeced cartesian product), and dependent sigma doesn't have a name but is idiomatically represented in theorems like eliunxp as 𝑥𝐴 ({𝑥} × 𝐵) .

On Sun, Dec 23, 2018 at 3:22 AM José Manuel Rodriguez Caballero <josephcmac AT gmail.com> wrote:
Hello,

There is an argument that matrices should be dependently typed, specially in the case of quantum programs: http://www.cs.umd.edu/~rrand/coqpl_2018.pdf

My question are: 

1) Do you agree with this argument?

2) How does Metamath deals with this problem, because as far as I know, Metamath does not use dependent type theory?

For further information, see section 4.7 in  Robert Rand's PhD thesis: http://www.cs.umd.edu/~rrand/thesis.pdf

Kind Regards,
José M.


--
You received this message because you are subscribed to the Google Groups "Metamath" group.
To unsubscribe from this group and stop receiving emails from it, send an email to metamath+unsubscribe AT googlegroups.com.
To post to this group, send email to metamath AT googlegroups.com.
Visit this group at https://groups.google.com/group/metamath.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Metamath" group.
To unsubscribe from this group and stop receiving emails from it, send an email to metamath+unsubscribe AT googlegroups.com.
To post to this group, send email to metamath AT googlegroups.com.
Visit this group at https://groups.google.com/group/metamath.
For more options, visit https://groups.google.com/d/optout.




Archive powered by MHonArc 2.6.18.

Top of Page