Debian Codegraph @

test-suite/bugs/HoTT_coq_035.v

raw
1 Require Import TestSuite.admit.
2 Fail Check Prop : Prop. (* Prop:Prop
3 : Prop *)
4 Fail Check Set : Prop. (* Set:Prop
5 : Prop *)
6 Fail Check ((bool -> Prop) : Prop). (* bool -> Prop:Prop
7 : Prop *)
8 Axiom proof_irrelevance : forall (P : Prop) (p1 p2 : P), p1 = p2.
9 Check ((True : Prop) : Set). (* (True:Prop):Set
10 : Set *)
11 Goal (forall (v : Type) (f1 f0 : v -> Prop),
12 @eq (v -> Prop) f0 f1).
13 intros.
14 Fail apply proof_irrelevance.
15 admit.
16 Defined. (* Unnamed_thm is defined *)
17 Set Printing Universes.
18 Check ((True : Prop) : Set). (* Toplevel input, characters 0-28:
19 Error: Universe inconsistency (cannot enforce Prop <= Set because Set
20 < Prop). *)