Skip to main content

Questions tagged [coq]

Coq is a formal proof management system, also called an interactive theorem prover. It is used to express mathematical assertions, mechanically check proofs of these assertions, find formal proofs, and extract certified programs.

Filter by
Sorted by
Tagged with
0 votes
1 answer
431 views

How bad is Coq proving both $T$ and $\lnot T$? [closed]

Question: How bad is Coq proving both $T$ and $\lnot T$? Can it be abused? Back in 2011 on the coq-club mailing list there was a thread: Is the Daniel Schepler's inconsistency real?. In the thread ...
joro's user avatar
  • 25.4k
12 votes
1 answer
791 views

Why does Coq restrict Inductive definitions, and how is this related to Inaccessible cardinals?

Coq lets you define an inductive type of the following form: Inductive Foo := | Base : Foo | Positive : (nat -> Foo) -> Foo. because the position of <...
Dan Arnon's user avatar
  • 121
18 votes
2 answers
1k views

Are we sure the calculus of inductive constructions and ZFC plus countably many inaccessible cardinals are equiconsistent?

This answer says, IIRC, the calculus of inductive constructions is equi-interpretable with ZFC plus countably many inaccessibles — see Benjamin Werner's "Sets in types, types in sets". (...
Hexirp's user avatar
  • 325
45 votes
2 answers
5k views

On proof-verification using Coq

So i recently learnt that there is now a certain software called ''Coq'' by which one can check the validity of mathematical proofs. My questions are: Are there limitations on the kinds of proofs ...
Software enthusiast's user avatar
5 votes
1 answer
1k views

Generalizing Big O notation to arbitrary vector spaces

I'm constructing a Coq library for Big-O notation. Naturally, I'd like it to be as general as possible. The Wikipedia page on Big-O notation says The generalization to functions taking values in ...
Langston's user avatar
  • 153
4 votes
2 answers
946 views

formalisation of Bourbaki, General Topology

Is there a formalisation of Bourbaki, General Topology book, particularly its first chapter? Are there formal proofs of elementary topology arguments such as a Hausdorff compact space is ...
user97621's user avatar
  • 113
33 votes
0 answers
2k views

Next steps on formal proof of classification of finite simple groups

While people are steaming ahead on finessing the proof of the classification of finite simple groups (CFSG), we have a formal proof in Coq of one of the first major components: the Feit-Thompson odd-...
David Roberts's user avatar
  • 35.4k
84 votes
3 answers
6k views

How do I verify the Coq proof of Feit-Thompson?

I probably don't have the appropriate background to even ask this question. I know next to nothing about formal or computer-aided proof, and very little even about group theory. And this question is ...
Nate Eldredge's user avatar
20 votes
1 answer
4k views

Where can I find Gonthier's Coq code proving the four color theorem?

In a 2008 article in the Notices, Georges Gonthier announced a computer-checked proof of the four color theorem using Coq: Gonthier, Georges. Formal proof—the four-color theorem. Notices Amer. ...
Nate Eldredge's user avatar
52 votes
3 answers
7k views

Function extensionality: does it make a difference? why would one keep it out of the axioms?

Yesterday I was shocked to discover that function extensionality (the statement that if two functions $f$ and $g$ on the same domain satisfy $f\left(x\right) = g\left(x\right)$ for all $x$ in the ...
darij grinberg's user avatar
43 votes
36 answers
6k views

Formalizations of category theory in proof assistants

What are the existing formalizations of category theory in proof assistants? I'm primarily interested in public-domain code implementing category theory in a proof assistant (Coq, Agda, Isabelle/HOL, ...
2 votes
2 answers
966 views

How to interpret conflicting formal proofs about "a mod 0 = ? "

The proof assistants Coq and Isabelle give conflicting formal proofs about $a \mod 0 \qquad \forall a \in \mathbb{Z}$. According to Coq $$ a \mod 0 = 0$$ and Isabelle proves $$ a \mod = a$$ ...
joro's user avatar
  • 25.4k
6 votes
0 answers
3k views

Why should I trust Coq when assumption-free proof of False in Coq exists? [closed]

Damien Pous announced code for assumption-free proof of False in Coq which means inconsistency in Coq (without using exploits, lol). Damien is critical of "fully certified decision procedure ...
joro's user avatar
  • 25.4k
18 votes
4 answers
4k views

Proof strength of Calculus of (Inductive) Constructions

This is a follow-on from this question, where I pondered the consistency strength of Coq. This was too broad a question, so here is one more focussed. Rather, two more focussed questions: I've read ...
David Roberts's user avatar
  • 35.4k
59 votes
8 answers
12k views

How true are theorems proved by Coq?

Less tongue in cheek, is it known what the relative consistency is for theorems proved with an automatic theorem prover? Of course this depends somewhat on what assumptions one makes with respect to ...
David Roberts's user avatar
  • 35.4k