File: grefclass.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-- 253 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
From HB Require Import structures.

Definition pred T := T -> bool.

HB.mixin Record isPredNat (f : pred nat) := {}.

HB.structure Definition PredNat := {f of isPredNat f}.

Section TestSort.
Variable p : PredNat.type.
Check p : pred nat.
End TestSort.