Skip to content
#

Coq

coq logo

Coq is a formal proof management system. It provides a formal language to write

mathematical definitions, executable algorithms and theorems together with an

environment for semi-interactive development of machine-checked proofs. Typical

applications include the certification of properties of programming languages,

the formalization of mathematics and teaching.

Here are 456 public repositories matching this topic...

CohenCyril
CohenCyril commented Nov 2, 2020

Description of the problem

The following code does not raise an error, and the behavior is undocumented.

Section Test.
Variables (b : bool) (n : nat) (All : unit).
Collection n := b.

Lemma foo : True.
Proof using n.
trivial.
Qed.

Lemma bar : True.
Proof using All.
trivial.
Qed.
End Test.

Check foo : bool -> True.
Check bar : bool -> nat -> unit -> True.

Created by Gérard Pierre Huet, Thierry Coquand

Released 1989

Latest release 2 days ago

Repository
coq/coq
Website
coq.inria.fr
Wikipedia
Wikipedia
You can’t perform that action at this time.