Programming in the Calculus of Inductive Constructions with Coq.

huangapple go评论50阅读模式
英文:

Programming in the Calculus of Inductive Constructions with Coq

问题

有时候我想编写接近裸骨CIC(归纳构造演算)的程序,以更好地理解内部运作。
然后,我需要自定义一些设置来更改Coq环境的默认行为,比如Set Printing Implicit

还有其他我可以做的吗?

英文:

Sometimes I want to write programs close to bare-bone CIC (Calculus of Inductive Constructions) to get a better grasp of the internal workings.
I then need to customize some settings to change the default behavior of the Coq environment, such as Set Printing Implicit.

Are there more that I can do?

答案1

得分: 2

如果你完全不想使用任何语法糖,你应该执行 Set Printing All

英文:

If you want no syntactic sugar at all you should do Set Printing All.

答案2

得分: 1

你可以使用-noinit选项启动Coq,这将避免加载Prelude,因此只要你不使用符号表示法,你就接近了裸的CIC演算,但截止到今天,没有办法禁用类型推断。

英文:

You can launch coq with the -noinit option, that will avoid loading the Prelude, so as long as you don't use notations, you are pretty close to the bare CIC calculus, but as of today there is not way to disable type-inference.

huangapple
  • 本文由 发表于 2023年6月29日 22:45:33
  • 转载请务必保留本文链接:https://go.coder-hub.com/76582177.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定