Skip to Content.
Sympa Menu

ssreflect - Re: [ssreflect] Coq computing with sets...

Subject: Ssreflect Users Discussion List

List archive

Re: [ssreflect] Coq computing with sets...


Chronological Thread 
  • From: (Emilio Jesús Gallego Arias)
  • To: Georges Gonthier <>
  • Cc: Florent Hivert <>, "ssreflect\@msr-inria.inria.fr" <>
  • Subject: Re: [ssreflect] Coq computing with sets...
  • Date: Tue, 16 Feb 2016 10:44:56 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:2M2OVxxInvYye8/XCy+O+j09IxM/srCxBDY+r6Qd0eMQIJqq85mqBkHD//Il1AaPBtWEra4fwLKP+4nbGkU+or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6anHS+4HYoFwnlMkItf6KuStGU05/8j7n60qaQSjsLrQL1Wal1IhSyoFeZnegtqqwmFJwMzADUqGBDYeVcyDAgD1uSmxHh+pX4p8Y7oGx48sgs/M9YUKj8Y79wDfkBVGxnYCgJ45jEuB7ZQgaUrlQbVHkWkxdSS1zK6xfmXpb8qAP/t+Fn3zKdM9GwRrcxD2eM9aBuHRDhjCMKODkR+3vWzMF2l6dD5hy771xSxo/QYYbdFvdl7LiVUtoeQWdOWY54TS1IGcLvPMM0E+MdMLMA/MHGrFwUoE77XFH0CQ==
  • Organization: CRI ParisTech

Dear Georges,

thanks a lot for the explanation.

Georges Gonthier
<>
writes:

> The reason many mathematical definitions in mathcomp are opaque is
> that the heuristics implemented by the Coq type checker for comparing
> inferred and expected types tends to handle even moderately nested
> transparent definitions very poorly. Specifically, Coq uses a
> combination of lazy constant expansion and call-by-need head (weak)
> reduction.
[...]

I see this problem mentioned often,

- has any solution to this problem been proposed/researched? What would,
in your opinion, improve the situation?

- do other provers behave better in this aspect?

I hope these are no silly question, excuse my unfamiliarity with the
topic.

> Hence the compute in your proof attempts to create a huge term.

Jacques-Henri Jourdan has successfully used his memory profiler with
Coq, so it would be possible to have a bit fun profiling such diverging
computations; even if is is obvious that a huge term is created, the
profiling could reveal interesting.

Best regards,
Emilio



Archive powered by MHonArc 2.6.18.

Top of Page