coq
Controlling exportation of constructors in code extracted from Coq
I\'m looking at writing code in Coq and extracting this code for use in a large Haskell project.I want to build a single module in Coq, prove properties, then use Haskell\'s module system to prevent v[详细]
2023-04-05 16:04 分类:问答Discarding tautological premises in Coq
I have a hypothesis in the local context, let\'s call it H which is of the form true=true -> conclusion. Which tactic can I use to discard the p开发者_如何学Goremise and retain only the conclusion?[详细]
2023-04-01 01:27 分类:问答Searching through a list recursively in Coq
Im trying to search for an object in a list, and then perhaps return true if it is found; false otherwise.[详细]
2023-03-19 06:22 分类:问答Pattern matching not specialising types
I\'m playing around in Coq, trying to create a sorted list. I just wanted a function that takes a list [1,2,3,2,4] and would return something like Sorted [1,2,3,4] - i.e. taking out the bad parts, but[详细]
2023-03-07 15:17 分类:问答What means (a:b) c and [a:b] c in some Coq theories and where is it defined?
I have seen a very strange syntax:开发者_开发问答 (name:type1) type2 in type and [name:type] expr in expressions, looks like alternate syntax for Pi and Lambda, but I haven\'t found anything in docume[详细]
2023-02-26 05:27 分类:问答How to write Definitions without arguments in Coq?
I have the following Inductive type defined in Coq. Inductive natlist : Type := nil : natlist cons : nat -> natlist -> natlist.[详细]
2023-01-15 04:56 分类:问答What are the practical limitations of a non-turing complete language like Coq?
As there are non-Turing complete languages out there, and given I didn\'t study Comp Sci at university, could someone explain something that a Turing-incomplete language (like Coq) cannot do?[详细]
2023-01-11 13:20 分类:问答2022湖北省高考报名网址及入口 什么时候报名?
2021年11月18-20日,全国统一考试艺术类考生网上报名。2021年11月22-30日,普通类、体育类、技能类高考考生和高职院校考生网上报名。报名截止后不再进行补充报名。[详细]
2022-12-28 15:16 分类:问答Does A dataTable.Rows.Count Get Evaluated On Each Loop?
I just wonder if I do something like for (int i = 0; i < dataTable.Rows.Count; i++) Does array.Count get revaluated on each iteration?[详细]
2022-12-21 14:13 分类:问答