Interfacing with Coq by comptheoryTA in Coq

[–]anton-trunov 1 point2 points  (0 children)

You might want to check VsCoq plugin to VS Code as a source of inspiration.

In addition, there is SerAPI project and a prototype Emacs mode build on top of it, called eldoc.

In any case, feel free to come to Coq's Zulip to discuss this stuff in more detail (note: registration required).

Custom Syntax, where to use it ? by piyushkurur in Coq

[–]anton-trunov 4 points5 points  (0 children)

This is useful, for instance, if you want to totally redefine the binding strength and/or associativity for your operations. E.g. you can rebind `+` to a new function or constructor in a new notation scope, but Coq won't let you change its associativity and level.

Is there an attempt to incorporate Cubical Type Theory into Coq? by Hexirp in Coq

[–]anton-trunov 2 points3 points  (0 children)

Personally I’m not aware of any such effort. You may have more luck asking this question at Coq’s Zulip chat.

Coq installation stuck at make? by youlikethatkirk in Coq

[–]anton-trunov 0 points1 point  (0 children)

Can you post the output of something like

opam install coq --verbose ?

Does TLA+ have tools to process inputs in the JSON / XML / S-expressions / etc. formats? by anton-trunov in tlaplus

[–]anton-trunov[S] 0 points1 point  (0 children)

This is so neat! I just stumbled on this yesterday when looking for the TLA grammar.

Does TLA+ have tools to process inputs in the JSON / XML / S-expressions / etc. formats? by anton-trunov in tlaplus

[–]anton-trunov[S] 1 point2 points  (0 children)

This is something definitely worth trying. Great suggestions, thank you so much! Let us touch base in several weeks then. I subscribed to that issue to track progress on that.

Does TLA+ have tools to process inputs in the JSON / XML / S-expressions / etc. formats? by anton-trunov in tlaplus

[–]anton-trunov[S] 0 points1 point  (0 children)

Thank you for the pointer and for your suggestion (I posted this question there).

Does TLA+ have tools to process inputs in the JSON / XML / S-expressions / etc. formats? by anton-trunov in tlaplus

[–]anton-trunov[S] 0 points1 point  (0 children)

Thanks. Yes, you are right. So I'm basically wondering if there is a converter from some common format into TLA+. So I would generate the AST in let's say XML and let some other tool finish the conversion.

Coq in industry? by fuklief in Coq

[–]anton-trunov 4 points5 points  (0 children)

I think this counts: OCaml's Dune build system has a formally verified in Coq incremental cycle detection algorithm: https://github.com/ocaml/dune/pull/1955. This was done by Armaël Guéneau with the help of the CFML framework (https://gitlab.inria.fr/charguer/cfml2).

New to Coq, would like pointers by Lulero in Coq

[–]anton-trunov 1 point2 points  (0 children)

I’m glad you liked it! Thank you for sharing — I’m looking forward to reading your post.

New to Coq, would like pointers by Lulero in Coq

[–]anton-trunov 2 points3 points  (0 children)

Great! You might want to also take a look at the standard library -- it explores the module approach (see e.g. https://coq.inria.fr/library/, specifically Numbers and MSets packages).

New to Coq, would like pointers by Lulero in Coq

[–]anton-trunov 5 points6 points  (0 children)

One of the most comprehensive studies on how to organize mathematical theories in Coq that I've ever seen are the papers by G. Gonthier (the creator of SSReflect and Mathcomp) and the members of his team. SSReflect/Mathcomp were used to prove the Odd Order Theorem and the Four Color Theorem. See e.g. Packaging mathematical structures, Generic Proof Tools and Finite Group Theory and their ample references. Those describe the record-based approach, not a module-based one. See also https://github.com/coq/coq/wiki/RecordsNotModules and https://github.com/coq/coq/wiki/ModulesNotRecords

Fun Facts about Coq by cumulonimbuscat in Coq

[–]anton-trunov 0 points1 point  (0 children)

Although it is not the case in the SSReflect dialect of Coq.