Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Primitive Projections and eta

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Primitive Projections and eta


Chronological Thread 
  • From: Ralf Jung <jung AT mpi-sws.org>
  • To: coq-club AT inria.fr
  • Subject: [Coq-Club] Primitive Projections and eta
  • Date: Tue, 6 Dec 2016 21:56:09 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=jung AT mpi-sws.org; spf=Pass smtp.mailfrom=jung AT mpi-sws.org; spf=None smtp.helo=postmaster AT hera.mpi-klsb.mpg.de
  • Ironport-phdr: 9a23:8y/KVxIT07L6VTo2RNmcpTZWNBhigK39O0sv0rFitYgRKPzxwZ3uMQTl6Ol3ixeRBMOAuqkC1rKd7f2ocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbQhFgDSwbalyIRmqognct8kbipZ+J6gszRfEvmFGcPlMy2NyIlKTkRf85sOu85Nm7i9dpfEv+dNeXKvjZ6g3QqBWAzogM2Au+c3krgLDQheV5nsdSWoZjBxFCBXY4R7gX5fxtiz6tvdh2CSfIMb7Q6w4VSik4qx2TxDllCkKOjw3/W3OlsB9g79QrBahqhBjxoLZZpyeOvhjcaPHZd4UW2pPUNtSWSJPDIyzYJcAAeUaMOZErYTwvUcCoQewCASuAu7k1z9GhmXx3a0/y+kvDRvJ3AguH9kTtHrUsdP1NKgPWu2yzqnI0DPDb/xN1Df48IjIcwktoeqCXLJra8bRzlMvFwzcg1iWtIfrMTSV1uEXvGia6eptTeOvi2g9qwFwuDej3MksipPPi4kIyV7E7T10zJs7KNC8UkJ3fNqpHIFNuy2AOIZ7RsUvSHxytikg0L0Jo5u7cTAKyJs5wx7fbOSKc4iW7RL5TumdOzJ4hGpkeL6mhBay9VOgxfbmWsmxyFZKoTBJncTSuXwV1hzT7NaISudl80u81zuC0xrf5vxALEwuiKbXMZEsz7oompoWq0vDHyv2mEvsjK+Rc0Up4uqo6/nhYrXpvZKcMpd0igDnPqQ1lM2/Gv40Mg8UX2iU4ei8zqHs/VXlQLVWif07irXWsJfDJcgCuqG5BxJV3Z045hakDzam1cwYkmMdIFJEfhKHlYnpNEvULPD2F/fsy2irxTxs3rXNOqDrKpTLNHnK1rn7Lphn7EsJ8gM3w5h9+pRbQuUDPfT8ckrptZnDEQR/NBa7lbW0QO5h358TDDrcSpSSN7nf5ALQ6w==

Hi all,

We started to play around with primitive projections a little in our
development, and if they work (which unfortunately still is a rather big
if), we could achieve some fairly significant performance improvements:
Coq 8.6 got >7% faster (that's total compilation time!) by switching the
record we use for sealing some of our core definitions to primitive
projections. That's pretty impressive!

One thing we couldn't figure out though is when we get eta conversion
for primitive projections. The aforementioned record used for sealing
does not have eta (according to About), while other records do. Are the
rules for when a primitive record gets eta written down anywhere? All I
could find in the documentation is the two paragraphs in
<https://coq.inria.fr/distrib/8.6beta1/refman/Reference-Manual004.html>,
which don't even mention that primitive projections have anything to do
with eta conversion.

Kind regards,
Ralf



Archive powered by MHonArc 2.6.18.

Top of Page