File: local_instance.v

package info (click to toggle)
coq-hierarchy-builder 1.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,988 kB
  • sloc: makefile: 109
file content (12 lines) | stat: -rw-r--r-- 286 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
From HB Require Import structures.

HB.mixin Record def A := { default : A }.
HB.structure Definition nonempty := { T of def T }.

Section Box.
  #[local] HB.instance Definition def_nat := def.Build nat 1.
  Check default : nat.
End Box.

#[fail, skip="8.11"]
HB.check (default : nat).