Skip to Content.
Sympa Menu

coq-club - [Coq-Club] How to simplify / compute with a recursive "Function" definition

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] How to simplify / compute with a recursive "Function" definition


Chronological Thread 
  • From: Washington Ribeiro <wtonribeiro AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: [Coq-Club] How to simplify / compute with a recursive "Function" definition
  • Date: Fri, 4 Sep 2015 17:08:33 -0300
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=wtonribeiro AT gmail.com; spf=Pass smtp.mailfrom=wtonribeiro AT gmail.com; spf=None smtp.helo=postmaster AT mail-yk0-f181.google.com
  • Ironport-phdr: 9a23:DVAcDRArO8bFB7KlG/HSUyQJP3N1i/DPJgcQr6AfoPdwSP7/osbcNUDSrc9gkEXOFd2CrakU16yO7eu5BTFIyK3CmU5BWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4Ov7yUtaLyZ/ni6bqpdaKP1gArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIYTGZn9Kq8/VPlTCCksG2Ez/szi8xfZHiWV4X5JbWwNkhtODBTC6lnAX538szH9/r5ixC6cJ8z8QLEuXhyt6q5qTFnjjyJRZG1xy33elsEl1PETmxmmvREqm4M=

Dears,

I've defined a function with a specific measure by the "Function" style:

Function equiv_rec (T :  Context * (term * term ))
 {measure size_term_triple} : Prop :=

 match T with
...
 end.

I get a proof of the measure decreasing and so equiv_rec was defined as the adjacent lemmas:

equiv_rec_tcc is defined
equiv_rec_terminate is defined
equiv_rec_ind is defined
equiv_rec_rec is defined
equiv_rec_rect is defined
R_equiv_rec_correct is defined
R_equiv_rec_complete is defined
equiv_rec is defined
equiv_rec_equation is defined

But when I try do apply in the future lemmas some simple tactics like "simpl" or "compute" it doesn't work.

Someone can help me?

Best,
Washington Segundo



Archive powered by MHonArc 2.6.18.

Top of Page