Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Grammatical motifs in lambda terms and lambda types - source for discovery of interesting theorems and Coq tactics?

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: Gabriel Scherer <gabriel.scherer AT gmail.com>
  • To: Coq Club <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: Mon, 3 Feb 2020 08:56:59 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=gabriel.scherer AT gmail.com; spf=Pass smtp.mailfrom=gabriel.scherer AT gmail.com; spf=None smtp.helo=postmaster AT mail-qt1-f181.google.com
  • Ironport-phdr: 9a23:LoXscBReoeKPBf+Ztz9/7ZZnNNpsv+yvbD5Q0YIujvd0So/mwa6zYB2N2/xhgRfzUJnB7Loc0qyK6vymBTJLuM7Q+DBaKdoQDkRD0Z1X1yUbQ+e9QXXhK/DrayFoVO9jb3RCu0+BDE5OBczlbEfTqHDhpRQbGxH4KBYnbr+tQt2agMu4zf299IPOaAtUmjW9falyLBKrpgnNq8Uam4RvJrs+xxfTrXZFeutayX50KV+Xgh3w4tu88IN5/ylfpv4s+dRMXbnmc6g9ULdVECkoP2cp6cPxqBLNVxGP5nwSUmUXlhpHHQ3I5wzkU5nyryX3qPNz1DGVMsPqQ780Xy+i77pwRx/zlCgHLT85/3rJhcF2kalWvQiupx17w47TfYGVKP9zdb7TcN8GWWZMWNtaWjdfCY2gcYQAE+sBPf5Zr4bjoVsOsQC+DhSoCO/21zNEmmP60ag83u88Ew/JwRYgEsoBv3Tartr7NKkcX+OowqfW0TrOdOlZ1Svn5YXSbhwtvfOBULRtesTR00kvEAbFg02Rp4P/JDyVzOUNvHaf7+F9SOygl24npB9rojex3Mcnl47Eho0PxV/f7yV5wZg6JdmiRE5gfdGkEIVftzuEOItsWc4iTGRotzw7yr0Co5K0YC8KyJE+yhPZdveJfY+I4hf5W+aQJzd1nG5leK+mixmv9kig0PH8Vsyp0FZMsyVJiMTDuW4V2xzV7ciIUP59/0a71TaIzQDT5flIIV0ylaraMpIh3qQwlpsNvkTZBCP5hVv5gLeKeUUk4Oeo7+Hnbav8pp+HLYN0kR/xP6IzkcK8GeQ1KhYCU3Sf9Oim17Du/Vf1TKhLg/EqiKXVrZPXKdkdq6WkGQFayJwj5Ay6Dzq+0NQXg30HLFVddRKClYfpOlXOLOnhDfejnligiTlry+3FM7H8GJnNIX/DkLDufbZ59UFQ0hY8zdda555MC7EBJuz8WlPpudDGEhM0Nxa4zuXnBdlny48TWH6DDrWEPK7RrFOE/ucvLPONZI8Rtjb9Mf8l5/v2gH82g1ASZrOp3ZoJZ3C8BPhmOFmWYXryjdcbD2gKpBEzTOPviFKYUD5TY2y+UL475jE+EI6mF5vMRpixgLyd2ye2BoFZZmdfClyVDXjoc5iEVOwXZSKJIs5hlyQEWqK7R48g0xGurg76xKB9Iura4C1L/a7kgfNy/qX4kQw4vWh/CN3Y2GWQRUl1mHkJTnk4xvYsj1Z6zwKs2KJigvFcXedY5/5TXx1yYZHVxfZ7BtS0QQnBc82EUn6pR9ynBXc6SddnkIxGWFp0B9j31kOL5CGtGbJA0uXTXMVooJKZ5GD4IoNG81iDzLMo1gB0Tc5GNGngjal6pVCKWtz51n6BnqPvTpwymS7A8GDZkziLtUBcFRdsCODLBCBGIETRqtv96wXJSLr8Ue12YDsE8taLL+5xUvOsiFxHQPn5P9GHOjC+nm6xAVCDwbbeNYc=

In addition to Jan's work, I would add references to:

- The work of Pierre Lescanne ( https://dblp.uni-trier.de/pers/hd/l/Lescanne:Pierre ) on combinatorics of various flavors of lambda-terms (counting and generation).
- The work of Noam Zeilberger on the structure families of linear lambda-terms and their correspondence to various families of planar graphs ( http://noamz.org/#recent_papers ).
- In terms of "interesting theorems" but following a very different approach, there is interesting work in our community on "Lemma Discovery" and "Theory Exploration" (generating candidate lemmas, using testing to make guesses at which may be true, trying to prove them, and then assess their usefulness to prove further lemmas). See for example the work of Moa Johansson http://www.cse.chalmers.se/~jomoa/

Of these three topics, I think that the last one is the least related to the approach you suggest (it is not based on the structures of types and terms), and the closest to the sort of applications you seem to have in mind (it is useful in practice to assist the user in developing theorems for their theory of interest).
 

On Mon, Feb 3, 2020 at 5:02 AM Jan Bessai <jan.bessai AT tu-dortmund.de> wrote:
Hi,

> 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.

Sorry for the commercial, but this sounds related to my thesis, where I
studied type inhabitation with combinatory logic and intersection types,
as well as its relation to abstract algebra (CFGs are a restricted form
of signatures):

https://eldorado.tu-dortmund.de/handle/2003/38387

Intersection types might be helpful with your task because they can
guide the search procedure with semantic types (you can literally
express that a piece of syntax also has type "Interesting"). The thesis
includes an extractable Coq implementation.

-- Jan




Archive powered by MHonArc 2.6.18.

Top of Page