Skip to Content.
Sympa Menu

ssreflect - Re: [ssreflect] Running computations inside Coq

Subject: Ssreflect Users Discussion List

List archive

Re: [ssreflect] Running computations inside Coq


Chronological Thread 
  • From: Laurent Thery <>
  • To:
  • Subject: Re: [ssreflect] Running computations inside Coq
  • Date: Sat, 6 Feb 2016 12:14:07 +0100



On 02/06/2016 11:54 AM, Felipe Cerqueira wrote:
> Let l := [:: 1; 2; 3].
> Eval compute in (\sum_(x <- l) x).


Yep unfortunately for you the bigop operator is locked, in order to compute, you have to explicitly unlock it.

Lemma test: let: l := [:: 1; 2; 3] in \sum_(x <- l) x = 6)%N.
rewrite unlock.
compute.
by [].
Qed.



Archive powered by MHonArc 2.6.18.

Top of Page