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] Question about mutual inductive definition with fixpoint
- Date: Wed, 17 Feb 2016 08:01:53 +0100
Hello. Isn't possible to prove and use an appropriate induction principle for { T | term_is_correct T} with correct bindings inside of them?
Le 16/02/2016 18:38, Ilmārs Cīrulis a écrit :
// Somehow I wrote answer but it got lost and wasn't send.
Thank you, but this isn't good enough. If my idea isn't possible, then I will simply write inductive definition of Term, then Fixpoint on it (smth like term_is_correct) and use it inside type { T | term_is_correct T}.
But it would be unsatisfying for me. Because I need only correct Term instances (with correct bindings inside of them) and have no use for incorrect ones. :|
If such mutual definition - of an inductive type which uses (in definition) a fixpoint defined on it - isn't possible in Coq, I will, of course, accept it and use sigma type.
- [Coq-Club] Question about mutual inductive definition with fixpoint, Ilmārs Cīrulis, 02/15/2016
- Re: [Coq-Club] Question about mutual inductive definition with fixpoint, Ilmārs Cīrulis, 02/15/2016
- Re: [Coq-Club] Question about mutual inductive definition with fixpoint, Benoît Viguier, 02/15/2016
- Re: [Coq-Club] Question about mutual inductive definition with fixpoint, Ilmārs Cīrulis, 02/16/2016
- Re: [Coq-Club] Question about mutual inductive definition with fixpoint, roux cody, 02/17/2016
- Re: [Coq-Club] Question about mutual inductive definition with fixpoint, Frédéric Blanqui, 02/17/2016
- Re: [Coq-Club] Question about mutual inductive definition with fixpoint, Ilmārs Cīrulis, 02/16/2016
- Re: [Coq-Club] Question about mutual inductive definition with fixpoint, Benoît Viguier, 02/15/2016
- Re: [Coq-Club] Question about mutual inductive definition with fixpoint, Ilmārs Cīrulis, 02/15/2016
Archive powered by MHonArc 2.6.18.