Skip to Content.
Sympa Menu

ssreflect - Re: [ssreflect] MathComp/Ssreflect Tutorials?

Subject: Ssreflect Users Discussion List

List archive

Re: [ssreflect] MathComp/Ssreflect Tutorials?


Chronological Thread 
  • From: (Emilio Jesús Gallego Arias)
  • To: Christian Doczkal <>
  • Cc: "ssreflect\@msr-inria.inria.fr" <>
  • Subject: Re: [ssreflect] MathComp/Ssreflect Tutorials?
  • Date: Tue, 18 Jul 2017 12:40:07 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=Pass
  • Ironport-phdr: 9a23:sGpYKhZBKZvrCN+t5NKC2bP/LSx+4OfEezUN459isYplN5qZoMq5bnLW6fgltlLVR4KTs6sC0LuJ9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQtFiT6/bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjm58axlVAHnhzsGNz4h8WHYlMpwjL5AoBm8oxBz2pPYbJ2JOPZ7eK7WYNEUSndbXstJVyJPHJ6yb4wBD+QPP+lWrIfyqFQSohalGQmgGPnixiNUinLs36A31fkqHwHc3AwnGtIDqGrboc76NaoRTey51q7IzS/Mb/hL3Tvz543IchElofGNWrJ7bM7fxlc0FxvflVWbtI3rMCmR1uQJrWeb4O1gXv+zhm49qgF+uCOvysIqh4LUhYwV0kjJ+Th6zYs2P9G0VlB3bN++HJdNtSyWKpF6Tt4sTm12oCo3yL8LtYSmcCUEyZkr3R3SZvOdf4SW7B/vSeCcKipiin1/YrKwnROy/FCgyuLiUsm0105HryVGn9XQrHwN0AbT6sefRvt8+EeuxyqP2hjO5uxHIk04j7TXJ4Agz7Iqi5Yes1nPEjXrlEj4kqOabkAk9fKp6+TjbLXmvJicN4pshw7gKakvlc+yDfgiPggJRWib9vyw1Kf/8k3hXLVKkvo2n7HCsJDBP8QUuKC5AwtL3Yk/9xayFCym0dQdnXkfNl1JYhOHj47zO1HPOv/0F/m/g07/2AtsktvGJLz6HpTEKDDvl7zzfr95oxpXyBAy1sxe7pQSBrYKMvH6Xmf8ssedCg4+NUq62bC0Js9609YTcXLfWumeKqya8XKN5+YuJKGuaZSHo37SIvwh6vHpxVYjmFYGPPr6laALYWy1S6w1a36SZmDh15JYST8H
  • Organization: X80 Heavy Industries

Hi Christian,

Christian Doczkal
<>
writes:

> I would like to introduce a few colleagues to Coq/MathComp/Ssreflect and
> I'm looking for tutorials that I could use.
>
> I really like the JsCoq slides from the ITP 2016 Tutorial [1], but it
> seems these have fallen to some kind of bit-rot since then.
>
> In Lesson 1 (on Ubuntu 16.10+Chromium 59) I get various errors when
> trying to execute the search commands. Most often I get:
>>
>> Anomaly: Uncaught exception SyntaxError: Invalid regular expression:
> /maximum call stack/: Maximum call stack size exceeded. Please report.

I don't remember now if Chromium 59 was using the "ignition" js engine,
you may try to use the command line flag:

--js-flags="--harmony-tailcalls"

and see if that improves your problem, otherwise, enabling
chrome://flags/#enable-javascript-harmony may definitively help.

Let me know what the outcome was. Also, Firefox seems to work a bit
better some times.

>> Error: Unable to locate library all_algebra with prefix mathcomp.
>
> Is this some problem with my browser(s) or can this be remedied somehow?
> Failing that, what other Tutorials would you recommend to introduce
> people to MathComp?

I think this is a bug of the slides in that they don't enable the proper
package, try clicking on math-comp in the package manager (before
running any command) and that should work.

Most of these are problems of the jsCoq, unfortunately browser memory
performance has become a bit worse in the last Chrome releases.

Also, it would be good to update the jsCoq version used in the slides,
this is a trivial step.

I still believe that at some point the triple (Coq,js_of_ocaml,chrome)
will reach a state where it is feasible to use jsCoq seamlessly, however
it is not the case today.

E.



Archive powered by MHonArc 2.6.18.

Top of Page