coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Frédéric Blanqui <frederic.blanqui AT inria.fr>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] A well-order on lists of natural numbers
- Date: Fri, 26 Nov 2021 11:17:10 +0100
- Ironport-hdrordr: A9a23:u7rIlq4g4LO/XGxkGQPXwN3XdLJyesId70hD6qkRc31om6Oj/PxG8M5w6faWslgssRMb9exoUZPoKU80nqQb3WBlB8bBYOCQghrMEGgN1+bfKkXbak7DH7lmtZtdTw==
Hi. You could define your ordering by lexicographically combining
the order on length and the lexicographic ordering on lists of
fixed length. You can find those orderings and their
well-foundedness proofs in https://github.com/fblanqui/color/
(package coq-color on opam). See the files Util/Pair/PairLex.v and
Util/List/ListLex.v. Best regards, Frédéric.
Le 25/11/2021 à 08:10, Ian Shillito a
écrit :
Hi all,
Consider the "less than" relation << on lists of natural numbers defined by the following clauses (where l0 l1 : list nat):
- If (length l0) < (length l1), then (l0 << l1)
- If (length l0 = length l1 = n) for some (n : nat), then follow the usual lexicographic order on n-tuples.
I strongly believe that this is a well-order on lists of
natural numbers. I am interested in this property as it should
help reach a strong (transfinite?) induction principle like
the following:
Theorem
listnat_strong_inductionT:
forall P : list nat
-> Type,
(forall l0 : list
nat, (forall l1 : list nat, ((l1 << l0) -> P
l1)) -> P l0) ->
forall l : list nat,
P l.
Has
anyone ever tried to formalise such a relation? Any
reference, comment, or advice is welcome.
Best,
Ian
Shillito
- Re: [Coq-Club] A well-order on lists of natural numbers, (continued)
- Re: [Coq-Club] A well-order on lists of natural numbers, Dominique Larchey-Wendling, 11/25/2021
- Re: [Coq-Club] A well-order on lists of natural numbers, Vedran Čačić, 11/25/2021
- Re: [Coq-Club] A well-order on lists of natural numbers, Abhishek Anand, 11/25/2021
- Re: [Coq-Club] A well-order on lists of natural numbers, Ian Shillito, 11/26/2021
- Re: [Coq-Club] A well-order on lists of natural numbers, Dominique Larchey-Wendling, 11/26/2021
- Re: [Coq-Club] A well-order on lists of natural numbers, Jean Goubault-Larrecq, 11/26/2021
- Re: [Coq-Club] A well-order on lists of natural numbers, manoury, 11/26/2021
- Re: [Coq-Club] A well-order on lists of natural numbers, Ian Shillito, 11/29/2021
- Re: [Coq-Club] A well-order on lists of natural numbers, Daniel Schepler, 11/29/2021
- Re: [Coq-Club] A well-order on lists of natural numbers, Ian Shillito, 11/29/2021
- Re: [Coq-Club] A well-order on lists of natural numbers, Daniel Schepler, 11/29/2021
- Re: [Coq-Club] A well-order on lists of natural numbers, Ian Shillito, 11/26/2021
- Re: [Coq-Club] A well-order on lists of natural numbers, Frédéric Blanqui, 11/26/2021
Archive powered by MHonArc 2.6.19+.