☰
Debian Codegraph
@
9.2.0+dfsg-4
/
/
test-suite
/
coqchk
/
primproj2.v
☽
☼
test-suite/coqchk/primproj2.v
code
plain
raw
LGPL-2.1
1999-2021 The Coq Development Team,; Institut National de Recherche en Informatique et en Automatique (INRIA),; Centre National de la Recherche Scientifique (CNRS),; Microsoft corporation; and contributors
debian/copyright
1
Set Primitive Projections.
2
3
Record Pack (A : Type) := pack { unpack : A }.
4
5
Definition p : Pack bool.
6
Proof.
7
refine (pack _ true).
8
Qed.
9
10
Definition boom : unpack bool p = let u := unpack _ in u p := eq_refl.