我如何在coq中写一个类似于这个开关状态的开关状态(在铁锈中)?特别是,我很好奇如何合并coq中的分支以产生相同的输出,并通过一些默认实现耗尽其余的分支。type Voltages = u32; // in coq is similar to Definition Voltages := R.
type Timestamp = u32; // in coqconst TD: Timestamp
我要去找Syntax error 'Type' or 'Types' expected after 'Implicit'Set Implicit Arguments这是我的Coq版本:The Coq Proof Assistant, version 8.12.0 (July 2020)
compiled on Jul 26 20206:47:02 with OCaml 4