Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] A well-order on lists of natural numbers

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] A well-order on lists of natural numbers


Chronological Thread 
  • From: Dominique Larchey-Wendling <dominique.larchey-wendling AT loria.fr>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] A well-order on lists of natural numbers
  • Date: Fri, 26 Nov 2021 10:38:15 +0100 (CET)
  • Ironport-data: A9a23:NooMvqhVMoCoM78R0uQCnQ+KX161oRIKZh0ujC45NGQNrF6WrkVRnGMfCm2CP/2PZ2b9fd9xPd/io0hT6JXRxt42QQZlpXw8FHgiRejtVY3IdB+oV8+xBpSeFxw/t512huEtnanYd1eEzvuWGuWn/SYUOZ2gHOKmUbedYH4pHGeIdQ964f5ds75h6mJXqYPha++9kYuaT/z3YDdJ6RYsWo4nw/7rRCdUgRjHkGhwUmrSyhx8lAS2e3E9VPrzLEwqRpfyatE88uWSH44vwFwll1418SvBCvv9+lr6Wl8BWfvJIQ+UhyUQWq64gxEEqDZaPqQTbaBMLxYMzWzVxZYqlL2htrToIestFqHLneUbUgBFHmd6NLdN+LLWZGeyt8CXzkvJW3/r2fRnSk8sVWEd0rgtXzkfq6JwxDclK0rra/iN6Lm8U6xngtkpBNL6OZsW/HBm1zDQS/g8Ka0v6Y2iCcRwzjwrw9tSGuzTOIwYbyBuZVLOeXVy1p4sIMpWtI+VarPXKVW0Y255aUb6D6Y/AeCxPHXQ3ALpR+G3
  • Ironport-hdrordr: A9a23:+fY0ya+BPqQmjnw3m2huk+DEI+orL9Y04lQ7vn2ZKCYlEPBw+PrFoB1273/JYVUqKRIdcLm7UcHqfZrhz/9ICOEqU4tKNzOLhILHFuxfBV2L+VLdJxE=

Hi Ian,
Dominique: My initial thought was to first ask the community to see if this work had been done before, and if not then try to find a solution myself. But well, I don't think I can blame you for giving the solution straight away! 🙂 Thanks a lot for that, it is exactly what I was looking for.
Happy to help !! Lexicographic products are all over the place in the kind of work I
do so I was just remembering earlier work.

Actually, with the accumulated experience in different Coq projects, I have come
to the conclusion that choosing/writing/tailoring induction principles is a critical
activity to get clean and understandable Coq proofs.

Always pickup the most adequate induction principle for the proof you are considering.
For instance, if you do an induction on trees and apply the induction hypothesis to strict
sub-trees only (but not necessarily direct sub-trees), then write the corresponding induction
principle instead of doing an induction on the height or size of trees. Otherwise the proof
in which you use the induction is decorated with boring and distracting sub-proofs repeating
that sub-trees have lesser height.

So when I saw you searching for a specific inductive scheme, it somehow ring​ed a bell.

Best,

Dominique 



Archive powered by MHonArc 2.6.19+.

Top of Page