Debian Codegraph @

test-suite/coqchk/bug_8876.v

raw
1 (* -*- coq-prog-args: ("-noinit"); -*- *)
2 Require Import Corelib.Init.Notations.
3
4 Notation "x -> y" := (forall _ : x, y).
5
6 Inductive eq {A:Type} (a:A) : A -> Prop := eq_refl : eq a a.
7
8 Set Universe Polymorphism.
9 Set Polymorphic Inductive Cumulativity.
10 Set Printing Universes.
11
12 (* Constructors for an inductive with indices *)
13 Module WithIndex.
14 Inductive foo@{i} : (Prop -> Prop) -> Prop := mkfoo: foo (fun x => x).
15
16 Monomorphic Universes i j.
17 Monomorphic Constraint i < j.
18 Definition bar : eq mkfoo@{i} mkfoo@{j} := eq_refl _.
19 End WithIndex.