coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: mukesh tiwari <mukeshtiwari.iiitm AT gmail.com>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] Well founded relation for computation termination.
- Date: Tue, 3 Feb 2015 19:24:40 +0530
Hello Everyone,
I have a computation f and domain ( a, b, c, d ) in which I start from d and move up to fixpoint ( a ). If I write this code in Coq
Fixpoint moveup ( f : nat -> nat ) ( n : nat ) :=
Coq will not accept it because it is not convinced about termination. One idea is certainly iterative function, pass a big number such that fixpoint is reached. (* Z.iter : Z -> forall A : Type, (A -> A) -> A -> A *). Other idea is pass this as a proof ( well_founded relation ) to computation.
Fix
: forall (A : Type) (R : A -> A -> Prop),
well_founded R ->
forall P : A -> Type,
(forall x : A, (forall y : A, R y x -> P y) -> P x) ->
forall x : A, P x
How to encode this as well_founded relation. Any paper, idea or related work will be great help.
Regards,
Mukesh Tiwari
- [Coq-Club] Well founded relation for computation termination., mukesh tiwari, 02/03/2015
- Re: [Coq-Club] Well founded relation for computation termination., Pierre Courtieu, 02/03/2015
- Re: [Coq-Club] Well founded relation for computation termination., mukesh tiwari, 02/04/2015
- Message not available
- Re: [Coq-Club] Well founded relation for computation termination., Julien Forest, 02/04/2015
- Re: [Coq-Club] Well founded relation for computation termination., mukesh tiwari, 02/04/2015
- Re: [Coq-Club] Well founded relation for computation termination., Julien Forest, 02/04/2015
- Message not available
- Re: [Coq-Club] Well founded relation for computation termination., mukesh tiwari, 02/04/2015
- Re: [Coq-Club] Well founded relation for computation termination., Pierre Courtieu, 02/03/2015
Archive powered by MHonArc 2.6.18.