Skip to Content.
Sympa Menu

ssreflect - Re: [ssreflect] Coq 8.6 / Coq 8.7 Ssreflect regression

Subject: Ssreflect Users Discussion List

List archive

Re: [ssreflect] Coq 8.6 / Coq 8.7 Ssreflect regression


Chronological Thread 
  • From: Florent Hivert <>
  • To: Enrico Tassi <>
  • Cc:
  • Subject: Re: [ssreflect] Coq 8.6 / Coq 8.7 Ssreflect regression
  • Date: Fri, 15 Dec 2017 08:17:52 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:AXoDYRQhAmbnziLPWglkEZnPAtpsv+yvbD5Q0YIujvd0So/mwa69bRCN2/xhgRfzUJnB7Loc0qyK6/mmATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfa5+IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4rx1QxH0ligIKz858HnWisNuiqJbvAmhrAF7z4LNfY2ZKOZycqbbcNgHR2ROQ9xRWjRPDI28cYUBEukPPehXoIbhulQAohmxCge3CePzyTJEmmP60bEg3ug8FwzNwQwuH8gJsHTRtNj7NKMSUeevzKbWyzXDc+5d1zX86IjWbB8hu+2MVq93fMTRzUkvEBnFgUuWqYz5JT+b1OUNs3aF4Op6SeKikGonqxtwojS1yMcskJDEi4QIwV7K8iV5xZw6Jdy+SENjbt6kEYdQtyGHN4RtWM8tX2ZouCMixr0Co567fTIGyJo9xxPZdveJcJCI7wr+WOqPJTp0nm9pdbC/ihqo7EStyvfwW8ay3V1XtCRKiMPMuWoI1xHL6siIVP99/kC51DmR2AHT9vtIIUQularaMZIhzKQwmoISsUTFACD2hF37gLKIekgg4OSk9ubqb7X8qpOBN4J4kA7zPrwrmsOlAOQ4NgYOX3Kc+eS5zLDt/Un5QLJQjvIolKnZrIrWK8Yapq6nHQBVyJoj5g27Dze80dQUh3cHLEhddBKdk4fpI03OIOz/DfqnmFSsiy1ryO7IPr3lHJrCMmTDnaz6fbd97k5c0BA8wcpe55JSELEBIej8VlX/tNzCXVcFNFmZxfzmA9I16ooFQmPHVqKfKqLZthmU7/k0IsGNYpUUsXDzMa52yeTpiCoXnVgHcK+1lbsWdn2iArwyDUGee3fqnpEhEHkHpBYWSPbrzlOYB20AL02uVr4xs2loQLmtCp3OE8X02OSM

Dear Enrico,

On Fri, Dec 15, 2017 at 12:10:46AM +0100, Enrico Tassi wrote:
> Could you try passing to coqc the -noglob option?
> It is not solving the problem, but will probably make things more
> predictable.

$ make clean
$ make OTHERFLAGS=-noglob

That doesn't seems to change the behavior, ie:

* if implem.v.d is not present, Coq hangs eating slowly all the memory:

$ make OTHERFLAGS=-noglob
"coqdep" -c -R "theories" Combi -R "3rdparty/ALEA" ALEA
"theories/LRrule/implem.v" > "theories/LRrule/implem.v.d" || ( RV=$?; rm -f
"theories/LRrule/implem.v.d"; exit ${RV} )
"coqc" -q -R "theories" Combi -R "3rdparty/ALEA" ALEA -noglob
theories/LRrule/implem
File "./theories/LRrule/implem.v", line 16, characters 0-77:
Warning: Notation _ + _ was already used in scope nat_scope.
[notation-overridden,parsing]
[...] # A bunch of similar warnings


* if implem.v.d is present: Coq returns in a second with

$ make OTHERFLAGS=-noglob
"coqc" -q -R "theories" Combi -R "3rdparty/ALEA" ALEA -noglob
theories/LRrule/implem
[...] # same warning as before
File "./theories/LRrule/implem.v", line 127, characters 0-532:
Error: Stack overflow.

Best,

Florent





>
> > * clone the repository https://github.com/hivert/Coq-Combi
> > * and just type make.
> >
> > The compilation should hang on theories/LRrule/implem.v
> >
> > Fixpoint LRyamtab_list_rec innev inner outer sh0 row0 :=
> > if outer is out0 :: out then
> > let inn0 := head 0 inner in let inn := behead inner in
> > let rowres := yamtab_row innev (take (out0 - sh0) row0) in
> > let rows :=
> > flatten [seq yamtab_shift res.2 (head (size innev) res.1)
> > ((minn sh0 out0) - inn0) res.1
> > | res <- rowres ] in
> > flatten [seq [seq row.1 :: tab |
> > tab <- LRyamtab_list_rec row.2 inn out inn0 row.1] |
> > row <- rows]
> > else [:: [::]].
>
> I think you should open an issue at https://github.com/coq/coq the the
> instruction above.
>
> Best,
> --
> Enrico Tassi

--
Florent Hivert
---
Il y a trois sortes de gens dans le monde : ceux qui savent compter et
ceux qui ne savent pas.
There are three kinds of people in the world: those who can count,
and those who cannot.
---
Professeur, LRI, Univ. Paris Sud 11, CNRS.
Responsable Master 2 CCI
Bureau 33, Laboratoire de Recherche en Informatique (UMR CNRS 8623)
Bâtiment 650, Université Paris Sud 11, 91405 ORSAY CEDEX
Tél: 01-69-15-65-99
http://www.lri.fr/~hivert



Archive powered by MHonArc 2.6.18.

Top of Page