coq-club AT inria.fr
Subject: The Coq mailing list
List archive
Re: [Coq-Club] Grammatical motifs in lambda terms and lambda types - source for discovery of interesting theorems and Coq tactics?
Chronological Thread
- From: Jim Fehrle <jim.fehrle AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Grammatical motifs in lambda terms and lambda types - source for discovery of interesting theorems and Coq tactics?
- Date: Sun, 2 Feb 2020 19:35:36 -0800
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jim.fehrle AT gmail.com; spf=Pass smtp.mailfrom=jim.fehrle AT gmail.com; spf=None smtp.helo=postmaster AT mail-io1-f54.google.com
- Ironport-phdr: 9a23:0XXGuBArK2HOY5I+h5exUyQJP3N1i/DPJgcQr6AfoPdwSPT6pcbcNUDSrc9gkEXOFd2Cra4d16yK7eu9CSRAuc/H7ClZNsQUFlcssoY/p0QYGsmLCEn2frbBThcRO4B8bmJj5GyxKkNPGczzNBX4q3y26iMOSF2kbVImbuv6FZTPgMupyuu854PcYxlShDq6fLh+MAi6oR/eu8ULjoZuMKk8xxrGrnZIeOld2GdkKU6Okxrm6cq84ZBu/z5Mt/498sJLTLn3cbk/QbFEFjotLno75NfstRnNTAuP4mUTX2ALmRdWAAbL8Q/3UI7pviT1quRy1i+aPdbrTb8vQjSt871rSB7zhygZMTMy7XzahdZxjKJfpxKhugB/zovJa4ybKPZyYqXQds4cSGFcXMheSjZBD5uzYIsBDeUPPehWoYrgqVUQsRSzHhOjCP/1xzJSmnP6wa833uI8Gg/GxgwgGNcOvWzQotX0MacZTOC7w7fIzTXZa/NZxyr25Y/KchAgpPGAR7xwftTRyUk1EwPKkE6dqYPgPzyP1+QNt3KX4PZnVeKqkmMqrRx6rDaoxscpkIbJh4QVx0jK9CV4w4Y1JMW4R1Bmbt6lCpRcrSaaN5F5Qs86WGFopDw1xaEFuZGlcykF1JQnyATZa/yIbYeE+A7sVOGUITp+mXlre6q/ig6s/US8zuDwTMq53VZQoiZYk9TBt2oB2hzc58WBV/Bz5F2u2SyV2ADW8uxEIV47la7cK5M5x74/jJsTsUDaEi/3n0X6kbaadksk9+Wn8ejnbbLmppiTN49wlA7yKLghmsu6AeggMwgOWXaU+fik2bH94UH0RK9Gg/42n6XDrZzXJMUWqrS5DgJayooj7gywDzai0NQWh3kHK1dFdQqFj4joPlHCOv74Aum/g1S2lDdk2evLPrLkAprXL3jDlK3tcqp6605Z0AYz18xQ54pICrEdJ/L+QlP+tNvBDhMgLwO0x/vnB85m24MFWWOPB7eZP7nIvV+J4OIvOeiMa5UPtDbzMfh2r8Lp2HQ+gBoWebSj9ZoRcnGxWPp8cGuDZn+5oNYEWUkHvhA6QaS+ilyHFzBeZ2y2Uooz4zg6DMStCoKVFdPlu6CIwCruRs4eXWtBEF3ZSS65JbXBYO8FbWepGuEklzUFUba7TIp4jEOhsQb7z/xsKe+Go3RF56Km78B84qjorT939TFwCJ7AgWSETmUxn2RRAjFrgOZwpktyzlrF2q990aQBSY5joshRWwJ/DqbyivRgAomrCA3Ed9aNDl2hR4f+DA==
> Maybe Coq grammar can be used for generating interesting theorems
If you persue this, there is an internal tool doc_grammar that extracts the Coq grammar without the semantic actions, which may be easier to work with. Look at files fullGrammar and orderedGrammar. But it may need some adaptation for your case. There is some doc for the tool.
On Sun, Feb 2, 2020, 1:26 PM Alex Meyer <alex153 AT outlook.lv> wrote:
Coq (and Isabelle, Misar, Lean) can represent theorems as lambda types and their proofs as lambda terms (e.g. https://en.wikipedia.org/wiki/Curry%E2%80%93Howard_correspondence#The_normal_proof_of_(%CE%B2_%E2%86%92_%CE%B1)_%E2%86%92_(%CE%93_%E2%86%92_%CE%B2)_%E2%86%92_%CE%93_%E2%86%92_%CE%B1_in_natural_deduction_seen_as_a_%CE%BB-term ). Are there research efforts to enumarate all such lambda types and terms, and find interesting motifs in types (=interesting theorems) and in terms (=interesting tactics)? Maybe combinatorics on words can be of help here? Maybe combinatorics on words have been applied to the Coq types and terms? There is work of S. Colton in the notions of "interesting theorem" and also recursive mathematics experience that some axioms are very valuable, more valuable than other. Maybe there is grammatical approach for gaining insight and explanation into this. I have open question on stackexchange where I have provided further references https://math.stackexchange.com/questions/3532113/automated-discovery-of-interesting-theorems-by-searching-motifs-in-words-e-g-c .
Maybe Coq grammar can be used for generating interesting theorems (there is this buzz about natural language text generation from the neural networks in the machine learning community. the theorem generation in my question will be both rigorous and guided by the motifs - past successes) and for automated discovery of usable and valuable tactics from existing proofs.
I hope that this is not complete offtopic. I this is offtopic that feel free the delete it and I will not ask similar exploration qustion anymore.
A.
- [Coq-Club] Grammatical motifs in lambda terms and lambda types - source for discovery of interesting theorems and Coq tactics?, Alex Meyer, 02/02/2020
- Re: [Coq-Club] Grammatical motifs in lambda terms and lambda types - source for discovery of interesting theorems and Coq tactics?, Jim Fehrle, 02/03/2020
Archive powered by MHonArc 2.6.18.