Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] arg-min existential instantiation of an inequality

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] arg-min existential instantiation of an inequality


Chronological Thread 
  • From: David Asher <asher AT informatik.hu-berlin.de>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] arg-min existential instantiation of an inequality
  • Date: Wed, 16 Mar 2016 18:05:39 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=asher AT informatik.hu-berlin.de; spf=Pass smtp.mailfrom=asher AT informatik.hu-berlin.de; spf=None smtp.helo=postmaster AT mailout1.informatik.hu-berlin.de
  • Ironport-phdr: 9a23:UAlKQxxfszaaZarXCy+O+j09IxM/srCxBDY+r6Qd0e8eIJqq85mqBkHD//Il1AaPBtWLraoewLuK+4nbGkU+or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6anHS+4HYoFwnlMkItf6KuSt6U1578hrz60qaQSjsLrQL1Wal1IhSyoFeZnegtqqwmFJwMzADUqGBDYeVcyDAgD1uSmxHh+pX4p8Y7oGxmkql+rIsYDe26Ivx5HvRkC2EtNHlw78n2vzHCSxGO7z0SSDY4iB1NViTM8hD2Fr7qsibg/r50wymXJ+X3S74zQzGr86ZoDh/1zS0KLTo49ifbh5oj3+pgvBu9qkknkMbva4aPOa8jJq4=



On 03/16/2016 05:21 PM, Abhishek Anand wrote:
Your functions f and g have a finite domain. So you can write down a recursive function that computes f and g for all possible inputs and gives you the input you are after.

-- Abhishek
http://www.cs.cornell.edu/~aa755/ <http://www.cs.cornell.edu/%7Eaa755/>
Thank you for the hint. So you mean something like this?

Fixpoint get_arg_min
(n : nat)
(f : {m : nat | m < n} -> nat)
(g : {m : nat | m < n} -> nat) : list (nat * nat) :=
match n with
| O => nil
| S n' => ??
end.

And afterwards filtering applying two filters one that extracts the pairs, where left is smaller than the right and a filter that extracts the pair with the maximal left value? I see the point but I'm clueless, though, how to transform this into a lemma.

David.



Archive powered by MHonArc 2.6.18.

Top of Page